summaryrefslogtreecommitdiff
path: root/include/configs/colibri_imx6.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-06-08 19:32:41 -0700
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-22 14:36:41 +0200
commit7bf0f5d1e202cbca1facfbbf8bd118a819eb87a3 (patch)
tree72498b644ba9b0d8b7b2341bb315766ed74ac860 /include/configs/colibri_imx6.h
parent39b4cb3d7490cf48263b3e0cb49b87d960059d78 (diff)
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 <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/configs/colibri_imx6.h')
-rw-r--r--include/configs/colibri_imx6.h4
1 files changed, 3 insertions, 1 deletions
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 \