raspberry-pi/5: add macb module if netboot
This module is required to have Ethernet in initial RAM disk.
This commit is contained in:
parent
011660e3f7
commit
34360c4c63
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ in
|
|||
++ lib.optional (linuxVariant == "linux") "rp1_pci"
|
||||
++ lib.optional (linuxVariant == "linux-rpi") "rp1"
|
||||
# CONFIG_PINCTRL_RP1 is not a tristate in RPi's fork.
|
||||
++ lib.optional (linuxVariant == "linux") "pinctrl-rp1";
|
||||
++ lib.optional (linuxVariant == "linux") "pinctrl-rp1"
|
||||
++ lib.optional config.boot.initrd.network.enable "macb";
|
||||
};
|
||||
|
||||
hardware.deviceTree.filter = lib.mkDefault "bcm2712*-rpi-*.dtb";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue