configs: ls1088aqds: add COMMON_ENV to fix distroboot
authorBiwen Li <biwen.li@nxp.com>
Thu, 10 Dec 2020 03:02:47 +0000 (11:02 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 8 Feb 2021 08:31:14 +0000 (14:01 +0530)
commit166e40bda614a212e6bfeeabb390c4827c1607ff
tree3a00e10da0d67d4707ad8e043fb559b67c0672c4
parent64a0fb4cc35ced6ac83e4177889501782b51891d
configs: ls1088aqds: add COMMON_ENV to fix distroboot

Add COMMON_ENV(kernelheader_addr_r, fdtheader_addr_r,
kernel_addr_r, fdt_addr_r, load_addr)
to fix a bug that failed to boot to ubuntu
Failed log as follows,
## Executing script at 80000000
load - load binary file from a filesystemUsage:
load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
    - Load binary file filename from partition part on device
       type interface instance dev to address addr in memory.
      bytes gives the size to load in bytes.
      If bytes is 0 or omitted, the file is read until the end.
      pos gives the file byte position to start reading from.
      If pos is 0 or omitted, the file is read from the start.
...
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...

Signed-off-by: Biwen Li <biwen.li@nxp.com>
[Updated description]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/ls1088aqds.h