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, Oct 26, 7:17 AM
Unknown Object (File)
Sat, Oct 26, 7:16 AM
Unknown Object (File)
Sat, Oct 26, 7:16 AM
Unknown Object (File)
Sep 19 2024, 1:15 AM
Unknown Object (File)
Sep 19 2024, 1:15 AM
Unknown Object (File)
Sep 19 2024, 1:14 AM
Unknown Object (File)
Sep 19 2024, 1:03 AM
Unknown Object (File)
Sep 16 2024, 2:27 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 Passed
Unit
No Test Coverage
Build Status
Buildable 230
Build 230: arc lint + arc unit

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

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.