[SeaBIOS] [PATCH] README: document which config options to use

Laszlo Ersek lersek at redhat.com
Thu Mar 21 13:22:33 CET 2013


On 03/21/13 13:03, 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 at redhat.com>
> ---
>  README | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/README b/README
> index a87a0ad..380fc80 100644
> --- a/README
> +++ b/README
> @@ -4,6 +4,12 @@ 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.
>  
> +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 roms/config.seabios seabios/.config
> +and then run make with this configuration:
> +	make -C seabios olddefconfig

The "seabios" word in the commands refers to whichever directory the
seabios project has been cloned / checked out / extracted, doesn't it?
For a second the cp command looked as if I should be able to find a
seabios subdir (beside the roms subdir) in qemu. What about

> +	cp roms/config.seabios $SEABIOS_DIR/.config

> +	make -C $SEABIOS_DIR olddefconfig

(BTW, good to know! :))

Thanks
Laszlo



More information about the SeaBIOS mailing list