[coreboot] [PATCH]Initialize CMOS from CBFS if checksum is incorrect

Stefan Reinauer stepan at coreboot.org
Thu Jan 13 20:16:01 CET 2011


* Patrick Georgi <Patrick.Georgi at secunet.com> [110113 11:10]:
> Hi,
> 
> attached patch provides a way to initialize the CMOS if the checksum
> test failed. For this to work, a CMOS dump must be stored as
> "cmos.default" (filetype "cmos default") in CBFS.
> After CMOS is rewritten, the system is rebooted to ensure that all parts
> of coreboot run with the new (working) configuration.
> 
> For a couple of boards, a "cmos_defaults_loaded" field is added to
> cmos.layout. This can be used to tell the system that defaults were
> applied by setting this flag in cmos.default and parsing/resetting it in
> the system.
> 
> Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>

Acked-by: Stefan Reinauer <stepan at coreboot.org>





More information about the coreboot mailing list