Page MenuHomeFreeBSD

Add per-soc options to allow custom kernels.
ClosedPublic

Authored by andrew on Aug 25 2015, 1:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 5:53 AM
Unknown Object (File)
Thu, Dec 12, 2:34 PM
Unknown Object (File)
Sun, Dec 1, 1:02 AM
Unknown Object (File)
Oct 27 2024, 2:29 PM
Unknown Object (File)
Oct 26 2024, 7:17 AM
Unknown Object (File)
Oct 26 2024, 7:16 AM
Unknown Object (File)
Oct 26 2024, 7:16 AM
Unknown Object (File)
Sep 19 2024, 1:15 AM
Subscribers

Details

Summary

This will allow us to have custom cut down kernels supporting just
a single SoC.

Diff Detail

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

Event Timeline

andrew retitled this revision from to Add per-soc options to allow custom kernels..
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: arm64, imp.
sys/conf/options.arm64
10 ↗(On Diff #8196)

I'm planning on adding an option for the HiSilicon hi6220 in the HiKey board to enable the custom drivers we will need there.

So when we have a networking card driver for Thunder and would like to disable it in the kernel configuration, we will need to disable all ThunderX drivers?

No more than you would any other device, you would define it in files.arm64 something like:

arm64/cavium/thunder_nic.c optional soc_cavm_thunderx thndr_nic

I moved the PCIe driver as I did because it's unlikely someone would be interested in pci on one SoC, but not on another.

imp edited edge metadata.

I like this.

This revision is now accepted and ready to land.Aug 25 2015, 7:35 PM
This revision was automatically updated to reflect the committed changes.