public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] tools: fix FIT image with ramdisk
@ 2013-07-12 13:09 Stefano Babic
  2013-07-12 13:20 ` Albert ARIBAUD
  2013-07-12 21:24 ` Tom Rini
  0 siblings, 2 replies; 14+ messages in thread
From: Stefano Babic @ 2013-07-12 13:09 UTC (permalink / raw)
  To: u-boot

Booting a FIT image containing a ramdisk,
the ramdisk is loaded at address 0x0 that causes
bus errors for architectures that do not have
RAM starting at address zero.

Signed-off-by: Stefano Babic <sbabic@denx.de>

---
 common/image.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/image.c b/common/image.c
index 1be384f..08f712a 100644
--- a/common/image.c
+++ b/common/image.c
@@ -910,7 +910,7 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
 					fit_uname_config, arch,
 					IH_TYPE_RAMDISK,
 					BOOTSTAGE_ID_FIT_RD_START,
-					FIT_LOAD_REQUIRED, &rd_data, &rd_len);
+					FIT_LOAD_IGNORED, &rd_data, &rd_len);
 			if (rd_noffset < 0)
 				return 1;
 
-- 
1.7.9.5

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

end of thread, other threads:[~2013-08-13 13:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 13:09 [U-Boot] [PATCH] tools: fix FIT image with ramdisk Stefano Babic
2013-07-12 13:20 ` Albert ARIBAUD
2013-07-12 21:24 ` Tom Rini
2013-07-13  7:17   ` Albert ARIBAUD
2013-07-13  9:33   ` Stefano Babic
2013-07-13 11:21   ` Wolfgang Denk
2013-07-13 20:02     ` Tom Rini
2013-07-14  2:26     ` Stephen Warren
2013-07-14  2:55       ` Tom Rini
2013-07-20 22:06         ` Simon Glass
2013-07-20 22:38           ` Tom Rini
2013-07-20 23:29             ` Simon Glass
2013-07-20 23:36               ` Tom Rini
2013-08-13 13:53                 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox