From: Serge Hallyn <serge.hallyn@canonical.com>
To: qemu-devel@nongnu.org
Cc: "Loïc Minier" <loic.minier@ubuntu.com>, kvm@vger.kernel.org
Subject: [Qemu-devel] [PATCH] arm: higher initrd load addr
Date: Thu, 12 Aug 2010 10:11:16 -0400 [thread overview]
Message-ID: <20100812141116.GA2481@vostro2> (raw)
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 <loic.minier@ubuntu.com>
Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com>
---
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
reply other threads:[~2010-08-12 14:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100812141116.GA2481@vostro2 \
--to=serge.hallyn@canonical.com \
--cc=kvm@vger.kernel.org \
--cc=loic.minier@ubuntu.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).