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 <peter...@andestech.com>
---
 include/configs/ae350.h | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/include/configs/ae350.h b/include/configs/ae350.h
index b566ecf296f..23e4801379d 100644
--- a/include/configs/ae350.h
+++ b/include/configs/ae350.h
@@ -83,11 +83,15 @@
 #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 */
-- 
2.34.1

Reply via email to