[LinuxBIOS] V3 fallback, failover, and the normal boot flag.

Stefan Reinauer stepan at coresystems.de
Wed Jul 18 11:27:43 CEST 2007


* Peter Stuge <peter at stuge.se> [070718 03:05]:
> > But since many payloads don't do this correctly, should this be a
> > config option?
> 
> Not payload, the OS. Maybe even the application. I say teach lxbios
> how to set the completed flag if it doesn't already know and move the
> problem to where it belongs - userspace and init scripts.
 
Yes, the OS should set it. So we should add an option to lxbios 
lxbios --set-boot-complete or something.
 
> > So let's use our modules and try to emulate a normal/fallback
> > behavior for now.
> 
> That feels broken, I'd rather have LB boot fallback forever.

Ok. This makes sense to some extent.

> Also re CMOS checksum, I would like if LB could avoid clobbering the
> CMOS, for when switching back and forth with another BIOS.

lxbios can back up the cmos for you. So when you call flashrom, you
should also call lxbios to put the cmos values for your bios in place.

It would be nice if flashrom could call lxbios externally to
automatically do that, or to have a wrapper script. 

One of my customers uses 2 small scripts

switch_to_linuxbios.sh
switch_to_legacybios.sh

that flash a fiven bios image and write the according cmos contents to
it.


> Writing LB CMOS bytes would be done after the final switch.

Final switch?


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list