rpi-400: try to boot via EDK2

however, my build of edk2 seems broken. drop the prebuilt RPI_EFI.fd into the resulting image, and it works ...
This commit is contained in:
2025-08-31 08:58:43 +00:00
parent 11293a4d0a
commit 176ef307b2

View File

@@ -7,6 +7,13 @@ in
sane.hal.rpi-400.enable = lib.mkEnableOption "Raspberry Pi 400 hardware support"; sane.hal.rpi-400.enable = lib.mkEnableOption "Raspberry Pi 400 hardware support";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
sane.image.extraBootFiles = [ pkgs.bootpart-u-boot-rpi-aarch64 ]; sane.image.extraBootFiles = [
# rpi bootrom -> edk2 -> systemd-boot
# edk2 exists here to provide the base UEFI environment which systemd-boot expects
pkgs.bootpart-edk2-rpi
pkgs.bootpart-systemd-boot
];
#v used by systemd-boot
hardware.deviceTree.name = "broadcom/bcm2711-rpi-400.dtb";
}; };
} }