diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-03-21 13:58:12 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-09-23 19:10:43 +0300 |
commit | d15a0bf4d9bc5926f4dbee86f21007717c16b7d6 (patch) | |
tree | 370d2708fb72e2746d6aa3e87fa2174d1e888de5 | |
parent | a15f2bd3204963e60e7f9666a0d7330ff1364638 (diff) | |
download | seabios-d15a0bf4d9bc5926f4dbee86f21007717c16b7d6.tar.gz |
README: document which config options to use
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@redhat.com>
-rw-r--r-- | README | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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 +this configuration: + + make olddefconfig + +The resulting file "out/bios.bin" contains the processed bios image. Testing of images: |