aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadan Srinivas <madans@ti.com>2017-07-17 13:01:36 -0500
committerTom Rini <trini@konsulko.com>2017-07-26 11:26:51 -0400
commit1a7c159a8dfa460395ee33e9ed7621a4808ac27a (patch)
tree9d0be5efeee91b6e2edcbff013716e215a0b57cb
parent1d73ce6f68f2799735d65448f8211de3f83110fd (diff)
configs: ti: armv7: Fixes bug in fit_loadaddr for ramfs boot
The load address of ramdisk, rdaddr is 0x88080000 and fit_loadaddr is defined as 0x88000000. This leaves only 512Kbytes for the fit image. When the FIT images are larger than this, it will overwite the ramdisk and cause the boot to fail. For eg, The K2 HS fit images are a few MB and end up overwriting the ramdsk. This patch moves the fit_loadaddr to 0x87000000, leaving a 16MB window for the fit image. This memory can be reclaimed once the kernel starts running. Signed-off-by: Madan Srinivas <madans@ti.com>
-rw-r--r--include/configs/ti_armv7_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index a94748c35d..ccd7cd72d2 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -53,7 +53,7 @@
#define DEFAULT_FIT_TI_ARGS \
"boot_fit=0\0" \
- "fit_loadaddr=0x88000000\0" \
+ "fit_loadaddr=0x87000000\0" \
"fit_bootfile=fitImage\0" \
"update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}\0" \
"loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \