VGA bootsplash isn't displayed because video mode is set
which clears the display. Video mode has already been set
by some VGA BIOS. User can choose by config option to disable
setting of VGA video mode by seabios
(CONFIG_BOOT_SET_VIDEO_MODE).
Works well under QEMU/KVM with VGA BIOS and seabios.
Default behaviour is the same as before where VGA mode is
set by seabios.
Signed-off-by: Gerhard Wiesinger <lists(a)wiesinger.com>
---
src/Kconfig | 5 +++++
src/bootsplash.c | 13 ++++++++-----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index 250663a..08325cc 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -52,6 +52,11 @@ menu "General Features"
default y
help
Support showing a graphical boot splash screen.
+ config BOOT_SET_VIDEO_MODE
+ bool "Set video mode on initialization"
+ default y
+ help
+ Option should not be set when the VGA init string should be displayed.
config BOOTORDER
depends on BOOT
bool "Boot ordering"
diff --git a/src/bootsplash.c b/src/bootsplash.c
index 76b72c1..09ad0a1 100644
--- a/src/bootsplash.c
+++ b/src/bootsplash.c
@@ -38,12 +38,15 @@ void
enable_vga_console(void)
{
dprintf(1, "Turning on vga text mode console\n");
- struct bregs br;
- /* Enable VGA text mode */
- memset(&br, 0, sizeof(br));
- br.ax = 0x0003;
- call16_int10(&br);
+ if (CONFIG_BOOT_SET_VIDEO_MODE) {
+ struct bregs br;
+
+ /* Enable VGA text mode */
+ memset(&br, 0, sizeof(br));
+ br.ax = 0x0003;
+ call16_int10(&br);
+ }
// Write to screen.
printf("SeaBIOS (version %s)\n\n", VERSION);
--
1.7.7.6
Hello happy people,
I'm back from a two day goose-chase where I was wondering
very much why my VMs don't boot.
https://www.redhat.com/archives/libvirt-users/2012-February/msg00106.html
In that process I upgraded my entire stack (libvirt, qemu,
seabios) but found that the boot hung at SeaBIOS trying to
boot from ROM.
After stepping through all the arguments libvirt supplied
to I found that my <memory>2048</memory> the qemu argument
-m 2 (megs) -- which wasn't quite enough. (Similarly, my
previously supplied <memory>20480</memory> weren't too much
they too were too little to boot a Linux kernel).
I've already talked to the libvirt folks, and they'll try
to get in a feature to supply a <memory unit="M"> or similar.
Now I'd like to ask you guys if you could print the amount
of RAM available -- like most other BIOSes out there already
do - it would be extremely helpful to aid troubleshooting.
Thank you very much in advance.
So long,
i
--
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic(a)brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE
Christian Gmeiner wrote:
> ping
I think the ball is in your corner. Experiment further with the
various options for graphics drivers, which can run either directly
as payloads or as part of something after the payload.
When you find one which works, then compare that with the SeaVGABIOS
which doesn't work for you, and send a patch. :)
//Peter
ping
--
Christian Gmeiner, MSc
Am 21. Februar 2012 09:17 schrieb Christian Gmeiner
<christian.gmeiner(a)gmail.com>:
> 2012/2/21 Nils <njacobs8(a)adsltotaal.nl>:
>> Op maandag 20-02-2012 om 18:54 uur [tijdzone +0100], schreef Christian
>> Gmeiner:
>>> 2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
>>> > 2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
>>> >> 2012/2/20 Kevin O'Connor <kevin(a)koconnor.net>:
>>> >>> On Mon, Feb 20, 2012 at 02:39:27PM +0100, Christian Gmeiner wrote:
>>> >>>> Hi all,
>>> >>>>
>>> >>>> I am trying my luck with coreboot and seabios to get VGA working on an LX800
>>> >>>> platform. At the moment I am not sure what options I need to enable in coreboot
>>> >>>> and seabios to enable VGA.
>>> >>>
>>> >>> Nils recently reported success using the SeaVGABIOS on his Geode GX2
>>> >>> based machine. I don't think anyone has tried recently on the Geode
>>> >>> LX.
>>> >>>
>>> >>>> Coreboot does its jobs and starts SeaBIOS, but VGA seems not to work.
>>> >>>>
>>> >>>> thanks for every hint
>>> >>>
>>> >>> Please send the coreboot plus seabios log (with debugging set to 8) to
>>> >>> the mail list.
>>> >>
>>> >> Here it is http://nopaste.info/10545252c4.html
>>> >>
>>> >
>>> > After some tipps on irc I get this results:
>>> > http://nopaste.info/f22222d6d8.html
>>
>> It is not clear to me if you get some text on your screen now that vga
>> bios loading is working.
>
> It does not work.. any hints how to debug it. I can say, that linux lxfb works.
>
>>
>> For your boot problem you could try enabling CONFIG_ATA_DMA if i
>> remember correct it doesn't boot without it on my target also.( i always
>> set it)
>
> On some of your devices UDMA is broken due some wrong schematics. So I
> enabled PIO32
>
> Greets
> --
> Christian Gmeiner, MSc
Hi,
The effort to add support for 64bit pci bars to qemu seems to have
stalled somehow. Lets resume it ;)
Here is a patch collection, largely rewritten from scratch, which
improves seabios 64bit support. One big patch (#3) adds 64bit math
everythere. The other big patch (#5) adds support for ressource
allocation above 4G. The remaining patches carry bugfixes and little
bits such as support for printing 64bit hex numbers.
cheers,
Gerd
Gerd Hoffmann (5):
64bit hex printf support
pci: split device discovery into multiple steps
pci: 64bit support.
pci: bridges can have two regions too
pci: add prefmem64 region type.
src/acpi-dsdt.dsl | 7 ++
src/config.h | 2 +
src/output.c | 32 ++++++--
src/pci.h | 14 ++-
src/pciinit.c | 245 +++++++++++++++++++++++++++++++++++++----------------
5 files changed, 217 insertions(+), 83 deletions(-)
Op maandag 20-02-2012 om 18:54 uur [tijdzone +0100], schreef Christian
Gmeiner:
> 2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
> > 2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
> >> 2012/2/20 Kevin O'Connor <kevin(a)koconnor.net>:
> >>> On Mon, Feb 20, 2012 at 02:39:27PM +0100, Christian Gmeiner wrote:
> >>>> Hi all,
> >>>>
> >>>> I am trying my luck with coreboot and seabios to get VGA working on an LX800
> >>>> platform. At the moment I am not sure what options I need to enable in coreboot
> >>>> and seabios to enable VGA.
> >>>
> >>> Nils recently reported success using the SeaVGABIOS on his Geode GX2
> >>> based machine. I don't think anyone has tried recently on the Geode
> >>> LX.
> >>>
> >>>> Coreboot does its jobs and starts SeaBIOS, but VGA seems not to work.
> >>>>
> >>>> thanks for every hint
> >>>
> >>> Please send the coreboot plus seabios log (with debugging set to 8) to
> >>> the mail list.
> >>
> >> Here it is http://nopaste.info/10545252c4.html
> >>
> >
> > After some tipps on irc I get this results:
> > http://nopaste.info/f22222d6d8.html
It is not clear to me if you get some text on your screen now that vga
bios loading is working.
For your boot problem you could try enabling CONFIG_ATA_DMA if i
remember correct it doesn't boot without it on my target also.( i always
set it)
Greetings, Nils.
2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
> 2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
>> 2012/2/20 Kevin O'Connor <kevin(a)koconnor.net>:
>>> On Mon, Feb 20, 2012 at 02:39:27PM +0100, Christian Gmeiner wrote:
>>>> Hi all,
>>>>
>>>> I am trying my luck with coreboot and seabios to get VGA working on an LX800
>>>> platform. At the moment I am not sure what options I need to enable in coreboot
>>>> and seabios to enable VGA.
>>>
>>> Nils recently reported success using the SeaVGABIOS on his Geode GX2
>>> based machine. I don't think anyone has tried recently on the Geode
>>> LX.
>>>
>>>> Coreboot does its jobs and starts SeaBIOS, but VGA seems not to work.
>>>>
>>>> thanks for every hint
>>>
>>> Please send the coreboot plus seabios log (with debugging set to 8) to
>>> the mail list.
>>
>> Here it is http://nopaste.info/10545252c4.html
>>
>
> After some tipps on irc I get this results:
> http://nopaste.info/f22222d6d8.html
>
And here are my used config files
Greets,
--
Christian Gmeiner, MSc
2012/2/20 Christian Gmeiner <christian.gmeiner(a)gmail.com>:
> 2012/2/20 Kevin O'Connor <kevin(a)koconnor.net>:
>> On Mon, Feb 20, 2012 at 02:39:27PM +0100, Christian Gmeiner wrote:
>>> Hi all,
>>>
>>> I am trying my luck with coreboot and seabios to get VGA working on an LX800
>>> platform. At the moment I am not sure what options I need to enable in coreboot
>>> and seabios to enable VGA.
>>
>> Nils recently reported success using the SeaVGABIOS on his Geode GX2
>> based machine. I don't think anyone has tried recently on the Geode
>> LX.
>>
>>> Coreboot does its jobs and starts SeaBIOS, but VGA seems not to work.
>>>
>>> thanks for every hint
>>
>> Please send the coreboot plus seabios log (with debugging set to 8) to
>> the mail list.
>
> Here it is http://nopaste.info/10545252c4.html
>
After some tipps on irc I get this results:
http://nopaste.info/f22222d6d8.html
Greets,
--
Christian Gmeiner, MSc
On Mon, Feb 20, 2012 at 02:39:27PM +0100, Christian Gmeiner wrote:
> Hi all,
>
> I am trying my luck with coreboot and seabios to get VGA working on an LX800
> platform. At the moment I am not sure what options I need to enable in coreboot
> and seabios to enable VGA.
Nils recently reported success using the SeaVGABIOS on his Geode GX2
based machine. I don't think anyone has tried recently on the Geode
LX.
> Coreboot does its jobs and starts SeaBIOS, but VGA seems not to work.
>
> thanks for every hint
Please send the coreboot plus seabios log (with debugging set to 8) to
the mail list.
-Kevin