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

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Thu Jan 30 15:20:22 CET 2014


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

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list