Page MenuHomeFreeBSD

Import Mediatek/Ralink kernel configs
ClosedPublic

Authored by sgalabov on Apr 15 2016, 2:06 PM.
Tags
Referenced Files
Unknown Object (File)
Sun, Nov 24, 8:33 PM
Unknown Object (File)
Nov 16 2024, 4:03 PM
Unknown Object (File)
Nov 10 2024, 10:45 PM
Unknown Object (File)
Nov 10 2024, 10:08 PM
Unknown Object (File)
Nov 10 2024, 9:36 PM
Unknown Object (File)
Nov 10 2024, 7:01 PM
Unknown Object (File)
Nov 10 2024, 3:43 PM
Unknown Object (File)
Oct 2 2024, 8:31 AM
Subscribers

Details

Summary

In order to build a kernel with one of these configs the user should do the following:

  1. Give the appropriate board dts file to be used by either:

1.1. edit the SoC kernel config required (e.g., MT7620A_FDT) and include the required FDT_DTS_FILE makeoption; or
1.2. simply supply FDT_DTS_FILE="xx.dts" on the command line when building the kernel
Of course, the user can also create a completely new kernel config to match the desired board and include the SoC kernel config from within it.

  1. If required, edit the MEDIATEK config file, which includes optional drivers and comment out the unneeded ones.

2.1. this would only make sense if kernel size is a concern. Even if we build the kernel with all drivers, if we lzma it and package it as a uImage, its size is still around 1.1MiB.

The user will have to choose a dts file (or create a new one) from sys/gnu/dts/mips , where all Mediatek/Ralink dts files will be imported via a later revision.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sgalabov retitled this revision from to Import Mediatek/Ralink kernel configs.
sgalabov updated this object.
sgalabov edited the test plan for this revision. (Show Details)
sgalabov added a reviewer: adrian.
sgalabov set the repository for this revision to rS FreeBSD src repository - subversion.
sgalabov added a project: MIPS.
adrian edited edge metadata.
This revision is now accepted and ready to land.Apr 15 2016, 3:00 PM
This revision was automatically updated to reflect the committed changes.