1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-28 11:28:22 +01:00
meta-rpi-diya/recipes-bsp/rpi-u-boot-scr/files/usb-boot.cmd.in
2021-12-17 20:30:04 +01:00

4 lines
217 B
Batchfile

fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
fatload usb 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@
if test ! -e usb 0:1 uboot.env; then saveenv; fi;
@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}