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

Patrick Georgi Patrick.Georgi at secunet.com
Thu Jan 13 11:10:45 CET 2011


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20110113-2-init-cmos-from-defaults-file-if-chksum-fails.diff
Type: text/x-patch
Size: 6931 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110113/39b9f9c2/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110113/39b9f9c2/attachment.sig>

More information about the coreboot mailing list