[U-Boot] [PATCH] tools: fix FIT image with ramdisk
Stefano Babic
sbabic at denx.de
Fri Jul 12 15:09:23 CEST 2013
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 at 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
More information about the U-Boot
mailing list