Hi,
On Mon, 21 Oct 2013 18:14:38 +0200 Laurent Lesage laurent@2lconsult.be wrote:
- is it possible to flash the BIOS without locking the board, i.e.,
is it always possible to recover a working bios if flashing process failed, or experimental BIOS is not working as expected. In that sense, are there boards to avoid?
I'm working on that [1][2]. But my approach is to delegate the decision of telling coreboot that the computer booted fine, to something running after coreboot. (I'm interested in making it as late as possible, like in the last init or systemd init scritp/unit).
Else src/lib/fallback_boot.c implements it by telling coreboot that it booted fine in the ramstage.
Another way would be to do it in the payload, nvramcui[3] can manipulate the nvram, and it's a payload.
References: [1]http://review.coreboot.org/#/q/status:open+project:coreboot+branch:master+to... [2]http://www.coreboot.org/Fallback_mechanism#New_Howto_.28depends_on_code_that... [3]http://review.coreboot.org/gitweb?p=coreboot.git;a=tree;f=payloads/nvramcui;...
Denis