All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] configs: ti: Move FIT image load address to avoid overwrite
@ 2019-03-26 15:12 Andrew F. Davis
  2019-03-26 16:21 ` Tom Rini
  2019-03-29 20:24 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew F. Davis @ 2019-03-26 15:12 UTC (permalink / raw)
  To: u-boot

The FIT image is loaded to 0x8700_0000 followed by extracting from that
several large images also into the 0x8x00_0000 range. Large images
can end up overwriting the FIT image as it is being extracted from.
Move the FIT load address clear out to 0x9000_0000, this will require
a board to have at least 256MB of DRAM, if less then more careful
planning will be required for that platform.

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 include/configs/ti_armv7_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 1e2a62dd6f..828fb1b2a5 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -52,7 +52,7 @@
 
 #define DEFAULT_FIT_TI_ARGS \
 	"boot_fit=0\0" \
-	"fit_loadaddr=0x87000000\0" \
+	"fit_loadaddr=0x90000000\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" \
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-29 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 15:12 [U-Boot] [PATCH] configs: ti: Move FIT image load address to avoid overwrite Andrew F. Davis
2019-03-26 16:21 ` Tom Rini
2019-03-26 16:31   ` Andrew F. Davis
2019-03-29 20:24 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.