qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Qemu] [PATCH] Allow booting large Coreboot image as BIOS


From: Ed Swierk
Subject: [Qemu-devel] [Qemu] [PATCH] Allow booting large Coreboot image as BIOS
Date: Tue, 18 May 2010 23:45:05 -0700

When I build a 1024-kB Coreboot image (emulation/qemu-x86 mainboard),
qemu goes into a loop, resetting just after the "Jumping to boot code"
message.  This can be avoided by removing the "| IO_MEM_ROM" from the
call to cpu_register_physical_memory(0x100000 - isa_bios_size, ...)
call in pc_memory_init().

The next problem I hit is the complaint "ERROR: No valid CBFS header
found!  Maybe the ROM isn't entirely mapped yet?".  I can work around
this by allocating a separate chunk of RAM for the top 128 kB of the
BIOS image in ISA space and copying it rather than mapping it from the
full ROM image.

Both of these changes are the result of random hacking rather than any
real understanding of the issues involved.  I'd appreciate any better
ideas.

Signed-off-by: Ed Swierk <address@hidden>
---
 hw/pc.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Attachment: 0001-Current-qemu-has-problems-booting-with-Coreboot-in-p.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]