Commit 69bc87c
committed
raspberry-pi: add structuredExtraConfig for vendor kernel
Override nixpkgs common-config.nix defaults that conflict with RPi
vendor defconfigs (bcmrpi/bcm2709/bcm2711/bcm2712):
- NR_CPUS: 4 (nixpkgs sets 384; RPi has 4 cores)
- CMA_SIZE_MBYTES: 5 (nixpkgs sets 32; vendor default is 5)
- PREEMPT/PREEMPT_VOLUNTARY: full preempt per vendor defconfig (Pi 3+ only;
arm32 defconfigs use voluntary preempt which matches nixpkgs default)
- NFS root boot: NFS_FS, NFS_V4, ROOT_NFS, IP_PNP, IP_PNP_DHCP, IP_PNP_RARP
- NET_CLS_BPF, NLS_CODEPAGE_437: built-in instead of module
- FB_SIMPLE: simple framebuffer
Ref: https://github.com/raspberrypi/linux/tree/rpi-6.12.y/arch/arm64/configs1 parent 2096f3f commit 69bc87c
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
53 | 86 | | |
54 | 87 | | |
55 | 88 | | |
| |||
0 commit comments