From 7bf0f5d1e202cbca1facfbbf8bd118a819eb87a3 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 8 Jun 2016 19:32:41 -0700 Subject: colibri_vf/imx6/7 apalis_imx6: synchronize/improve memory options Synchronize initramfs related configuration options and improve memory layout. The memory layout with an offset of 16MiB allows to boot bigger kernels. With AUTO_ZRELADDR, which is pretty much the standard nowadays, the kernel relacates itself to PC masked with 0xf8000000 plus a text offset of 0x8000 (hence 0x80008000 for Vybrid/i.MX 7 or 0x10008000 for i.MX 6). To avoid that the kernel overwrites itself during uncompress, move the kernel further away from its decompressed location. With a 16MiB offset from the start of memory and a 16MiB distance to the device-tree, we allow kernel up to ~16MiB. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- include/configs/colibri_imx6.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/configs/colibri_imx6.h') diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index baeaf1f859..f33488bd8d 100644 --- a/include/configs/colibri_imx6.h +++ b/include/configs/colibri_imx6.h @@ -207,7 +207,9 @@ #define MEM_LAYOUT_ENV_SETTINGS \ "fdt_addr_r=0x12000000\0" \ - "kernel_addr_r=0x10800000\0" \ + "fdt_high=0xffffffff\0" \ + "initrd_high=0xffffffff\0" \ + "kernel_addr_r=0x11000000\0" \ "ramdisk_addr_r=0x12100000\0" #define NFS_BOOTCMD \ -- cgit v1.2.3