From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46719 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Og09W-00077R-O9 for qemu-devel@nongnu.org; Mon, 02 Aug 2010 14:54:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Og09V-0002jn-7Z for qemu-devel@nongnu.org; Mon, 02 Aug 2010 14:54:22 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:34422) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og09Q-0002i1-1E for qemu-devel@nongnu.org; Mon, 02 Aug 2010 14:54:21 -0400 Received: by ywt2 with SMTP id 2so1509530ywt.4 for ; Mon, 02 Aug 2010 11:54:12 -0700 (PDT) Message-ID: <4C57144B.3040303@codemonkey.ws> Date: Mon, 02 Aug 2010 13:54:03 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCHv3] Load "bootsplash.jpg" if present References: <20100802161157.GA11743@morn.localdomain> <4C56F35D.6020708@codemonkey.ws> <20100802164752.GA13438@morn.localdomain> <4C56F7C6.8040204@codemonkey.ws> <20100802181053.GA17471@morn.localdomain> In-Reply-To: <20100802181053.GA17471@morn.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: seabios@seabios.org, qemu-devel@nongnu.org On 08/02/2010 01:10 PM, Kevin O'Connor wrote: > On Mon, Aug 02, 2010 at 11:52:22AM -0500, Anthony Liguori wrote: > >> BTW, we need to document somewhere any assumptions SeaBIOS has about >> the JPEG. I see that it expects a 1024x768 image. Any additional >> restrictions on the jpeg image? >> > I listed some notes in a previous email: > Right, we need this in either docs/seabios.txt in qemu.git or in a file in seabios.git I think. Regards, Anthony Liguori >>> 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 >