]> git.baikalelectronics.ru Git - uboot.git/commit
apalis-imx8: update env memory layout
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 16 Jan 2023 19:05:09 +0000 (20:05 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 20:08:30 +0000 (21:08 +0100)
commitbf1c94c46d7152ef13323e04872a6a5bcbff9391
treea9a067b1c8024e67146884ee33ac66ac70218e4d
parentb110f15bfff2eb61c0df7fec25a6a1bcdfad2b30
apalis-imx8: update env memory layout

Update the distro config env memory layout for the Apalis iMX8 aka
QuadMax:

- kernel_comp_addr_r=0xf0000000 temporary area for uncompressing (ie FIT
  images or Image.gz booted using booti)
- kernel_comp_size=0x08000000
- loadaddr=0x95400000 avoiding any reserved areas located before that
- fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel
- scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt
- ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script

Basic idea of memory layout taken from commit 44d31a94bdd6
("imx8m{m,n}_venice: update env memory layout"). However, moved past
any reserved areas to avoid any kind of conflicts.

Note that for our regular BSP Layers and Reference Images for Yocto
Project an updated distro boot script is required (see
meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot).

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
configs/apalis-imx8_defconfig
include/configs/apalis-imx8.h