[coreboot] [PATCH]Remove non-CBFS

Peter Stuge peter at stuge.se
Thu Oct 1 02:05:55 CEST 2009


Kevin O'Connor wrote:
> As an aside, to protect against a power failure, flashrom is going
> to need to know that it shouldn't reflash the "fallback" parts of
> the image.

Yes. flashrom should know CBFS.



> truly break up the fallback and normal parts.

I see a few problem with normal and fallback as they have been in v2
previously;

It was not well understood how to produce them. It was not well
understood how they were combined. And finally it was not well
understood how one of the two were selected.

CBFS and Kconfig fixes the hard parts; the first two.

I see cbfstool being a crucial part of safe updates. Initially
cbfstool might have to be run manually (or even just flashrom) but
we should look into how Kconfig and the build system can take an
existing CBFS as input, and only build/replace the normal part.


> In particular, I'd like to be able to go into my "normal"
> directory and run "svn up", "make", and then "flashrom" - and be
> fairly confident that I didn't just blow up my image.

Two directories strikes me as pretty complicated but I do get your
point - it should be really easy to rebuild and flash normal, without
touching anything else.


//Peter




More information about the coreboot mailing list