From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59890 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OjYVW-00035E-Eh for qemu-devel@nongnu.org; Thu, 12 Aug 2010 10:12:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OjYVN-0001DE-R1 for qemu-devel@nongnu.org; Thu, 12 Aug 2010 10:11:38 -0400 Received: from adelie.canonical.com ([91.189.90.139]:41262) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OjYVN-0001D6-Mv for qemu-devel@nongnu.org; Thu, 12 Aug 2010 10:11:37 -0400 Date: Thu, 12 Aug 2010 10:11:16 -0400 From: Serge Hallyn Message-ID: <20100812141116.GA2481@vostro2> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] arm: higher initrd load addr List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?iso-8859-1?Q?Lo=EFc?= Minier , kvm@vger.kernel.org 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ïc 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 @@ #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[] = { -- 1.7.1