qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Enable SeaBIOS bootsplash in qemu
@ 2010-08-01 19:42 Kevin O'Connor
  2010-08-01 19:44 ` [Qemu-devel] [PATCH][QEMU] Load "bootsplash.jpg" if present Kevin O'Connor
  2010-08-01 19:45 ` [Qemu-devel] [PATCH][SEABIOS] Allow qemu to use bootsplash code via fwcfg interface Kevin O'Connor
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin O'Connor @ 2010-08-01 19:42 UTC (permalink / raw)
  To: seabios, qemu-devel

These two patches enable qemu to use the recently added SeaBIOS
bootsplash code.  The first patch is for SeaBIOS - it enables finding
the "bootsplash.jpg" file from either CBFS (on coreboot) or fw_cfg (on
QEMU).  The second patch is for qemu - it enables loading a
"bootsplash.jpg" file into fw_cfg from the bios roms directory if the
file is present.

Some notes:

This uses the qemu "rom" interface for loading the jpeg file.  It
seems to work, but I'm not sure if this is strictly correct.

The jpeg viewer in SeaBIOS will look at the image size and try to find
a vesa graphics mode that supports that size.  So, choose images that
are exactly 640x480, 1024x768, etc.  Also, the SeaBIOS viewer has
stripped down support for jpegs - not all valid jpegs will work.  Some
quick tests with the netpbm tools worked okay for me.

SeaBIOS only shows the bootsplash during the interval between vgabios
init and OS execution.  This is generally too short a time to be seen.
Add "-menu boot=on" to the qemu command line to have it shown longer.

Unfortunately, the vgabios doesn't support writing text to the screen
while in a vesa video mode.  So, this means that if a user selects F12
for the boot menu, they can't actually see the boot menu.  This will
need to be fixed in SeaBIOS in a follow up patch.

-Kevin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-01 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-01 19:42 [Qemu-devel] [PATCH] Enable SeaBIOS bootsplash in qemu Kevin O'Connor
2010-08-01 19:44 ` [Qemu-devel] [PATCH][QEMU] Load "bootsplash.jpg" if present Kevin O'Connor
2010-08-01 19:45 ` [Qemu-devel] [PATCH][SEABIOS] Allow qemu to use bootsplash code via fwcfg interface Kevin O'Connor

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).