On Thu, Oct 01, 2009 at 09:09:50AM +0200, Patrick Georgi wrote:
My plan for it, pending any better solution:
- unify the decision stuff into a single place
- move everything but the decision stuff out of the bootblock (so it essentially becomes immutable across updates)
- extend kconfig so it knows how to update existing images (by adding new files)
- somehow make flashrom smart enough to safely update the flash
Thanks - that sounds like a big improvement.
Open issues are: We need early rom mapping and CMOS access for all boards. So far, only the boards with failover layout are somewhat guaranteed to have code for that.
Proprietary BIOS have a cmos variable for a similar purpose - 0x0f (RESET CODE). Coreboot could probably use the same variable - defining one variable for all boards is probably simpler than having to define it on every board.
-Kevin