mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
rpi-u-boot-scr: Create uboot.env via boot.cmd.in
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>
This commit is contained in:
parent
a6f1233d52
commit
64bd47fe58
|
@ -1,3 +1,4 @@
|
||||||
fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
|
fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
|
||||||
fatload mmc 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@
|
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}
|
@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user