[flashrom] idea: make flashrom a "driver" in linux kernel

The Gluglug info at gluglug.org.uk
Thu Jan 30 15:21:24 CET 2014


Thanks. I'll take a look.

As far as syntax is concerned it would not yield much benefit.
I considered that this would be a bit more "standard" (everything is a 
file mentality).

On 30/01/14 14:20, Stefan Tauner wrote:
> On Thu, 30 Jan 2014 13:27:39 +0000
> The Gluglug <info at gluglug.org.uk> wrote:
>
>> Basically,
>>
>> /dev/spi
>> This would be your flash chip, enumerated using flashrom.
>>
>> flashrom -r equivalent:
>> dd if=/dev/spi of=dump.rom
>>
>> flashrom -w eqivalent:
>> dd if=coreboot.rom of=/dev/spi
>>
>> Where SPI is the internal SPI chip on your motherboard.
>> If (using flashrom as the backend) the linux kernel supports your flash
>> chip, you could just use dd.
>>
>> What does the community think of this idea?
> IMHO we are the wrong guys to ask this actually, and I predict the Linux
> guys to be not very ambiguous (understatement) about it.
>  From flashrom's perspective it does not make too much sense because we
> have to implement it anyway (for all other OSes).
> The main question for me is: what would you gain? dd syntax isnt really
> that much more comfortable than ours IMO :)
>
> PS: There are probably more answers to this or similar questions in the
> mailing list archive...
>





More information about the flashrom mailing list