[LinuxBIOS] [PATCH][LAR] New LAR access functions

Peter Stuge peter at stuge.se
Thu Jul 12 03:05:50 CEST 2007

On Thu, Jul 12, 2007 at 02:16:21AM +0200, Segher Boessenkool wrote:
> > 1 means combining flashrom and lar somehow.. Thoughts?
> I think the boot block should be outside of the LAR completely.

Hmm. Interesting!

> A normal LinuxBIOS upgrade shouldn't touch the bootblock;

I agree. That's why lar should know about flash chip sector sizes.

And/or flashrom about larballs.

The idea is to rearrange the files in the larball apropriately for
the current flash chip before writing.

> that way, recovery code in there can help the user load a working
> image into flash after some screw-up, over a serial port or
> whatever.
> This also handily solves the current problem :-)

But it creates another quite real problem for the first upgrade to LB
where we need to distribute the bootblock separately. I think that's
a _really_ undesirable scenario. :\ Especially since it will be the
common case for some time still.

One file is no file, two files are two files too many. ;)


More information about the coreboot mailing list