Code: Select all
flashrom -p linux_spi:dev=/dev/spidevX.Y
For 24xx16 devices and smaller, i2c-tools & smbus are more than adequate.jdiego wrote:Is this flashrom tool able to program normal EEPROMs like 24LCxx in buses like SPI, I2C and Microwire ??
I know this is a old thread, but I would to know if this utility can read/program microwire EEPROMS such as 93C46/56/66 family.carldani wrote:Given the abundance of GPIOs at 3.3V, using the Raspberry Pi as programmer for Flash EEPROMs (commonly used as BIOS chips) would be awesome.
Pretty much all flash chips (Parallel/FWH/LPC/SPI interfaces) nowadays use 3.3V, so you'd just need a Raspberry Pi to recover from a failed BIOS/EFI/PXE/firmware/whatever update or to write a new image to such a flash chip. (Please note that I'm not talking about flash chips used in SSDs or USB pen drives, those are way more complicated to work with.)
The open source flashrom tool at http://flashrom.org/ is a perfect match for this task. It can use GPIO interfaces to bitbang a SPI bus/interface, or if you already have a Linux SPI driver in your kernel, it can use that driver. That alone would handle almost all flash chips on very recent x86 mainboards. Support for older LPC/FWH/Parallel type flash chips is available as well, but the bitbanging variants of those buses are fairly experimental.
If anyone with access to a beta board is willing to test how well flashrom works, I will help you to get it running and to test it.
Disclaimer: I'm the maintainer of flashrom, and I have written flashrom drivers for various pieces of hardware in the past (Bus Pirate etc.). I don't have any commercial interest in flashrom, it is a hobby for me.
Users browsing this forum: No registered users and 4 guests