]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ae350: Add missing env variables for booti
authorYu Chien Peter Lin <peterlin@andestech.com>
Tue, 4 Jul 2023 11:13:21 +0000 (19:13 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
The 'booti' command is unable to boot Image.gz due to the absence
of required environment variables 'kernel_comp_addr_r' and
'kernel_comp_size'.

This commit adds these variables and reorganizes the memory layout
to prevent any overlap between binaries and files.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
include/configs/ae350.h

index b566ecf296ffbaea42f56242efb6b95d9bd04730..23e4801379dece8fcf02deec13adb3ee726db4b7 100644 (file)
 #include <config_distro_bootcmd.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
-                               "kernel_addr_r=0x00080000\0" \
-                               "pxefile_addr_r=0x01f00000\0" \
-                               "scriptaddr=0x01f00000\0" \
-                               "fdt_addr_r=0x02000000\0" \
-                               "ramdisk_addr_r=0x02800000\0" \
+                               "fdt_high=0xffffffffffffffff\0" \
+                               "initrd_high=0xffffffffffffffff\0" \
+                               "kernel_addr_r=0x00600000\0" \
+                               "kernel_comp_addr_r=0x04600000\0" \
+                               "kernel_comp_size=0x04000000\0" \
+                               "pxefile_addr_r=0x08600000\0" \
+                               "scriptaddr=0x08700000\0" \
+                               "fdt_addr_r=0x08800000\0" \
+                               "ramdisk_addr_r=0x08900000\0" \
                                BOOTENV
 
 #endif /* __CONFIG_H */