imx8x: Better use of U-Boot env variable for boot
authorDaniel Schwyn <daniel.schwyn@inf.ethz.ch>
Tue, 17 Dec 2019 10:02:01 +0000 (11:02 +0100)
committerDaniel Schwyn <daniel.schwyn@inf.ethz.ch>
Wed, 18 Mar 2020 14:15:02 +0000 (15:15 +0100)
Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>

tools/imx8x/aux-bf-boot/boot.cmd
tools/imx8x/aux-bf-boot/boot.scr
tools/imx8x/aux-bf-boot/uuu.auto

index 94ad375..660c124 100644 (file)
@@ -1 +1 @@
-bootefi 0x90000000
+bootefi $loadaddr
index 0fcd896..5a9df43 100644 (file)
Binary files a/tools/imx8x/aux-bf-boot/boot.scr and b/tools/imx8x/aux-bf-boot/boot.scr differ
index 95c4b7e..7c603bb 100644 (file)
@@ -1,9 +1,9 @@
 uuu_version 1.2.91
 
 CFG: FB: -vid 0x0525 -pid 0x4026
-FB: ucmd setenv fastboot_buffer 0x82e00000
+FB: ucmd setenv fastboot_buffer $scriptaddr
 FB: download -f boot.scr
-FB: ucmd setenv fastboot_buffer 0x90000000
+FB: ucmd setenv fastboot_buffer $loadaddr
 FB: download -f image.efi
-FB: acmd source 0x82e00000
+FB: acmd source $scriptaddr
 FB: done