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>
This commit is contained in:
Yu Chien Peter Lin 2023-07-04 19:13:21 +08:00 committed by Leo Yu-Chi Liang
parent bc35b49a5c
commit 12f66e2197

View file

@ -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 */