1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-28 03:18:21 +01:00
meta-rpi-diya/recipes-bsp/rpi-u-boot-scr/files/usb-boot.cmd.in

4 lines
217 B
Batchfile
Raw Normal View History

2021-12-17 20:30:04 +01:00
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}