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

Richard Smith smithbone at gmail.com
Fri Jun 12 19:16:21 CEST 2009


Carl-Daniel Hailfinger wrote:

> 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.
Nice.  Guess that road is started.

> 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).

Isn't a lot of that already on its way with the refactoring you have 
been doing?  Perhaps you could do it in stages?


> 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.

Perhaps nothing but I haven't had a chance to use flashrom in my daily 
routine yet because I use the cheetah and 4232H support only just 
started working.  After I use it I can report back.

(is the cheetah stuff at a testable level yet?)

I'm more thinking about the future where the feature set would grow 
based on the features of a specific programmer or something that a 
non-coreboot user would need.

-- 
Richard A. Smith
smithbone at gmail.com





More information about the coreboot mailing list