Page MenuHomeFreeBSD

Import Mediatek/Ralink kernel configs
ClosedPublic

Authored by sgalabov on Apr 15 2016, 2:06 PM.
Tags
Referenced Files
Unknown Object (File)
Mar 23 2024, 1:53 AM
Unknown Object (File)
Mar 22 2024, 10:00 AM
Unknown Object (File)
Dec 22 2023, 9:39 PM
Unknown Object (File)
Nov 11 2023, 2:35 PM
Unknown Object (File)
Nov 3 2023, 8:47 PM
Unknown Object (File)
Oct 10 2023, 1:35 PM
Unknown Object (File)
May 4 2023, 2:48 PM
Unknown Object (File)
Jan 3 2023, 4:16 PM
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.