From: Paolo Bonzini <pbonzini@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] roms: build two seabios binaries
Date: Mon, 30 Sep 2013 13:12:12 +0200 [thread overview]
Message-ID: <52495C8C.3060704@redhat.com> (raw)
In-Reply-To: <1380538019-9091-2-git-send-email-kraxel@redhat.com>
Il 30/09/2013 12:46, Gerd Hoffmann ha scritto:
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> roms/Makefile | 7 ++++---
> roms/config.seabios | 1 -
> roms/config.seabios-128k | 5 +++++
> roms/config.seabios-256k | 3 +++
> 4 files changed, 12 insertions(+), 4 deletions(-)
> delete mode 100644 roms/config.seabios
> create mode 100644 roms/config.seabios-128k
> create mode 100644 roms/config.seabios-256k
>
> diff --git a/roms/Makefile b/roms/Makefile
> index 10d5a65..1d84230 100644
> --- a/roms/Makefile
> +++ b/roms/Makefile
> @@ -56,9 +56,10 @@ default:
> @echo " the EfiRom utility from edk2 / tianocore)"
> @echo " slof -- update slof.bin"
>
> -bios: build-seabios-config-seabios
> - cp seabios/builds/seabios/bios.bin ../pc-bios/bios.bin
> - cp seabios/builds/seabios/*dsdt.aml ../pc-bios/
> +bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k
> + cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios-128k.bin
> + cp seabios/builds/seabios-256k/bios.bin ../pc-bios/bios-256k.bin
> + cp seabios/builds/seabios-256k/src/fw/*dsdt.aml ../pc-bios/
>
> seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))
>
> diff --git a/roms/config.seabios b/roms/config.seabios
> deleted file mode 100644
> index c373b87..0000000
> --- a/roms/config.seabios
> +++ /dev/null
> @@ -1 +0,0 @@
> -# empty, default config works for us
> diff --git a/roms/config.seabios-128k b/roms/config.seabios-128k
> new file mode 100644
> index 0000000..23ca812
> --- /dev/null
> +++ b/roms/config.seabios-128k
> @@ -0,0 +1,5 @@
> +# for qemu machine types 1.6 + older
> +# need to turn off features (xhci) to make it fit into 128k
> +CONFIG_QEMU=y
> +CONFIG_ROM_SIZE=128
> +CONFIG_USB_XHCI=n
Is it enough to disable Xen or perhaps OHCI?
> diff --git a/roms/config.seabios-256k b/roms/config.seabios-256k
> new file mode 100644
> index 0000000..cc37a78
> --- /dev/null
> +++ b/roms/config.seabios-256k
> @@ -0,0 +1,3 @@
> +# for qemu machine types 1.7 + newer
> +CONFIG_QEMU=y
> +CONFIG_ROM_SIZE=256
Is there already an option to remove ACPI tables generation? Should it
be enabled for 1.7, irrespective of the 128k->256k switch?
Paolo
next prev parent reply other threads:[~2013-09-30 11:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-30 10:46 [Qemu-devel] [RfC PATCH 0/2] seabios: going to 256k size Gerd Hoffmann
2013-09-30 10:46 ` [Qemu-devel] [PATCH 1/2] roms: build two seabios binaries Gerd Hoffmann
2013-09-30 11:12 ` Paolo Bonzini [this message]
2013-09-30 13:44 ` Gerd Hoffmann
2013-09-30 14:01 ` Paolo Bonzini
2013-09-30 10:46 ` [Qemu-devel] [PATCH 2/2] machine type dependant bios Gerd Hoffmann
2013-09-30 22:08 ` Anthony Liguori
2013-09-30 22:43 ` Paolo Bonzini
2013-09-30 22:57 ` Anthony Liguori
2013-10-01 6:27 ` Paolo Bonzini
2013-10-01 15:38 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52495C8C.3060704@redhat.com \
--to=pbonzini@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).