crappy: fix u-boot boot order to include usb

This commit is contained in:
Colin 2024-06-10 06:07:53 +00:00
parent b828edf3c7
commit 170d36fc05

View File

@ -164,6 +164,10 @@ in
"u-boot-nodtb.bin"
"u-boot.sym"
];
# CONFIG_BOOTCOMMAND: autoboot from usb, and fix the ordering so that it happens before the internal memory (mmc0)
extraConfig = ''
CONFIG_BOOTCOMMAND="env set bootcmd_usb0 \"devnum=0; run usb_boot\"; env set boot_targets \"usb0 mmc2 mmc1 mmc0\"; run distro_bootcmd"
'';
};
system.build.platformPartition = pkgs.runCommandLocal "kernel-partition" {