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

David Woodhouse dwmw2 at infradead.org
Thu Jan 30 15:43:50 CET 2014


On Thu, 2014-01-30 at 13:27 +0000, The Gluglug 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?

For some chips/chipsets it already works. They would be MTD devices. And
you can then use a flash file system on (part of) them, if they're big
enough, etc.

-- 
dwmw2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20140130/1123c6a7/attachment.bin>


More information about the flashrom mailing list