diff options
author | Yu Chien Peter Lin <peterlin@andestech.com> | 2023-07-04 19:13:21 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-07-06 17:28:08 +0800 |
commit | 12f66e2197c59e500d1e2ee359bb2ce22d748290 (patch) | |
tree | c7fd1e9c9d43d0bca6fdcd00b63ddafd523cb33a | |
parent | bc35b49a5c12891d969e28dbf29024ca664dea8b (diff) | |
download | u-boot-12f66e2197c59e500d1e2ee359bb2ce22d748290.zip u-boot-12f66e2197c59e500d1e2ee359bb2ce22d748290.tar.gz u-boot-12f66e2197c59e500d1e2ee359bb2ce22d748290.tar.bz2 |
board: ae350: Add missing env variables for booti
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>
-rw-r--r-- | include/configs/ae350.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/configs/ae350.h b/include/configs/ae350.h index b566ecf..23e4801 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 */ |