raspberry-pi/5: add macb module if netboot

This module is required to have Ethernet in initial RAM disk.
This commit is contained in:
Issam E. Maghni committed 2026-02-28 14:01:28 -05:00
1 parent 011660e3f7
commit 34360c4c63
1 file changed
+2 -1
+2 -1
View File
@@ -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";