Skip to contentSkip to conversation

arm: higher initrd load addr

PATCH New Serge Hallyn 1 participant 1 message Aug 12, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: higher initrd load addr

set INITRD_LOAD_ADDR to 0x00d00000 instead of 0x00800000 as to leave enough room for vmlinuz + its decompressed counterpart.

It has been mentioned that a better fix might be to peek into the vmlinux for the real size estimate, but as I'm not sure whether we'd want to do that peeking here I'm posting this version first for comment.

---
 hw/arm_boot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/arm_boot.c +1 -1
index 620550b..c48c7a2 100644
@@ -15,7 +15,7 @@
 
 #define KERNEL_ARGS_ADDR 0x100
 #define KERNEL_LOAD_ADDR 0x00010000
-#define INITRD_LOAD_ADDR 0x00800000
+#define INITRD_LOAD_ADDR 0x00d00000
 
 /* The worlds second smallest bootloader.  Set r0-r2, then jump to kernel.  */
 static uint32_t bootloader[] = {
Signature · 1 line
1.7.1