mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
64bd47fe58
Modify boot.cmd.in from recipe rpi-u-boot-scr to create uboot.env in the /boot partition when using U-Boot. This change is required to successfully run fw_printenv from the user space. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
5 lines
218 B
Plaintext
5 lines
218 B
Plaintext
fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
|
|
fatload mmc 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@
|
|
if test ! -e mmc 0:1 uboot.env; then saveenv; fi;
|
|
@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}
|