From 756ba3b0127fea2bfb538d256c76f19aec126732 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 19 Apr 2011 16:32:34 +0100 Subject: [PATCH] hw/arm_boot.c: move initrd load address up to accommodate large kernels Newer kernels are large enough that they can overlap the address where qemu places the initrd. Move the initrd up so that there is enough space for the kernel again. Unfortunately it's not possible to automatically determine the size of the kernel if it is compressed, so this is the best we can do. Signed-off-by: Peter Maydell Signed-off-by: Aurelien Jarno --- hw/arm_boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm_boot.c b/hw/arm_boot.c index 41e99d1332..bfac982e65 100644 --- a/hw/arm_boot.c +++ b/hw/arm_boot.c @@ -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[] = { -- 2.11.4.GIT