On 03/21/13 13:30, Michael S. Tsirkin wrote:
In the interim of moving ACPI tables out of
seabios, developers should get the config from
QEMU tree to keep things in sync.
Signed-off-by: Michael S. Tsirkin <mst(a)redhat.com>
README | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/README b/README
index a87a0ad..c6a2ee4 100644
@@ -1,9 +1,21 @@
This code implements an X86 legacy bios. It is intended to be
compiled using standard gnu tools (eg, gas and gcc).
-To build, one should be able to run "make" in the main directory. The
-resulting file "out/bios.bin" contains the processed bios image.
+To build, one should be able to run "make" in the main directory.
+QEMU might only need a part of the BIOS binary, and different QEMU versions
+might need different seabios configurations to work well. To build
+a bios for qemu, one needs to copy the config file from qemu source tree:
+ cp $QEMU_DIR/roms/config.seabios $SEABIOS_DIR/.config
+(where $QEMU_DIR is the qemu source directory, $SEABIOS_DIR points to the
+seabios build directory); and then run make in the seabios main directory with
+ make olddefconfig
+The resulting file "out/bios.bin" contains the processed bios image.
Testing of images:
Reviewed-by: Laszlo Ersek <lersek(a)redhat.com>
(I'll unavoidably test this anyway.)
Thanks for the heads-up again!