From 365621de183b2d5739b58f4ee0a78ef87fffcdf2 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 16 Mar 2012 17:37:56 +0000 Subject: model.lds.S: Move initrd address up to allow for large kernels Move the start address of the initrd up to kernel start + 0xd00000, so that we can handle large kernels (eg Android) without them overlapping with the initrd. 0xd00000 is the offset QEMU uses in its internal ARM bootloader so should be sufficient. Signed-off-by: Peter Maydell --- model.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.lds.S b/model.lds.S index fca017b..e6bf960 100644 --- a/model.lds.S +++ b/model.lds.S @@ -42,7 +42,7 @@ SECTIONS .kernel : { ./uImage } #endif - . = PHYS_OFFSET + 0x00800000; + . = PHYS_OFFSET + 0x00d00000; filesystem = .; #if defined(USE_INITRD) && !defined(SEMIHOSTING) .filesystem : { ./filesystem.cpio.gz } -- cgit v1.2.3