[coreboot] [PATCH] flashrom: Support only one operation at a time

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Jun 12 18:27:08 CEST 2009

On 12.06.2009 18:06, Richard Smith wrote:
> If flashrom is going to make a serious effort to branch out into
> supporting external programmers then I think its time to refactor the
> core code into libflashrom and provide separate UI's for the different
> needs.

We already support three external programmers, one of them SPI. I think
that counts as a serious effort. With the FT2232, we'll have four.

The libflashrom idea has been mentioned repeatedly in the last few
years. Those who proposed it either didn't have the time or skills to
transform the core code into flashrom and still have a working flashrom
binary (on top of libflashrom).

> The workflow of flashrom to flash coreboot ont the chip on your
> motherboard is different from the workflow/feature needs of a general
> purpose external programmer.
> An attempt to find a single UI that works for both is going to result
> in one that only does a half-ass job at either one.

What's wrong with the one-operation-at-a-time UI we have now? It is
definitely wrappable in a bash script for any advanced stuff. You seem
to be unhappy with it and I'd like to understand why.



More information about the coreboot mailing list