All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: higher initrd load addr
@ 2010-08-12 14:11 ` Serge Hallyn
  0 siblings, 0 replies; 2+ messages in thread
From: Serge Hallyn @ 2010-08-12 14:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm, Loïc Minier

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Qemu-devel] [PATCH] arm: higher initrd load addr
@ 2010-08-12 14:11 ` Serge Hallyn
  0 siblings, 0 replies; 2+ messages in thread
From: Serge Hallyn @ 2010-08-12 14:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: Loïc Minier, kvm

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-12 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-12 14:11 [PATCH] arm: higher initrd load addr Serge Hallyn
2010-08-12 14:11 ` [Qemu-devel] " Serge Hallyn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.