summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-03-16 17:37:56 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-03-16 17:37:56 +0000
commit365621de183b2d5739b58f4ee0a78ef87fffcdf2 (patch)
treeb1f62b2badb7609a762e3968e43fa66b306724bd
parent3018791610e7272f2e35f7e1da61fd9d74cce2ee (diff)
model.lds.S: Move initrd address up to allow for large kernelsHEADmaster
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 <peter.maydell@linaro.org>
-rw-r--r--model.lds.S2
1 files changed, 1 insertions, 1 deletions
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 }