On Thu, Jan 26, 2017 at 04:48:14PM +0100, Paul Menzel wrote:
Dear SeaBIOS folks,
coreboot allows to prefix images to add different romstage, ramstage, and payloads, and depending on the behavior during boot, choose a certain one.
Commonly *normal* and *fallback* are used as prefixes, while the bootblock code loads the *normal* image first, but if there is a failure, commonly after three tries, boots the fallback image.
SeaBIOS takes runtime configuration values always from `etc/`. That way, only one configuration can be used for different coreboot builds.
What could be a solution for that problem? Also allow `fallback/etc/`, and `normal/etc`?
Alas, it seems there are several ways to implement fallback booting in coreboot - the other major method being via fmap. The normal/fallback thing was never implemented in SeaBIOS as it didn't seem it was that common in practice on coreboot. That may be different now.
-Kevin