From mboxrd@z Thu Jan 1 00:00:00 1970 From: Serge Hallyn Subject: [PATCH] arm: higher initrd load addr Date: Thu, 12 Aug 2010 10:11:16 -0400 Message-ID: <20100812141116.GA2481@vostro2> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, =?iso-8859-1?Q?Lo=EFc?= Minier To: qemu-devel@nongnu.org Return-path: Received: from adelie.canonical.com ([91.189.90.139]:38542 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753693Ab0HLOLh (ORCPT ); Thu, 12 Aug 2010 10:11:37 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: 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. Signed-off-by: Lo=EFc Minier Signed-off-by: Serge E. Hallyn --- hw/arm_boot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/arm_boot.c b/hw/arm_boot.c index 620550b..c48c7a2 100644 --- a/hw/arm_boot.c +++ b/hw/arm_boot.c @@ -15,7 +15,7 @@ =20 #define KERNEL_ARGS_ADDR 0x100 #define KERNEL_LOAD_ADDR 0x00010000 -#define INITRD_LOAD_ADDR 0x00800000 +#define INITRD_LOAD_ADDR 0x00d00000 =20 /* The worlds second smallest bootloader. Set r0-r2, then jump to ker= nel. */ static uint32_t bootloader[] =3D { --=20 1.7.1