I'm not proficient in programming and have used before available information about flashing bios chips. I have flashed SPI bios using flashrom and RPI. Now I need to flash LPC chip - SST49LF080A. I don't have access to programmer that can program this chip but i was wandering what needs to be done to enable raspberry pi to flash this type of chips.
I have seen programmer using Atmel chip so i wanted to know if something can be changed on raspberry pi side to enable LPC flashing (or parallel for that matter).
I'm willing to experiment with raspberry pi and LPC / parallel chips.
As requested by flashrom note, here are the logs for probe, erase, read and write operations I successfully performed on a Micron/Numonyx/ST flash chip "N25Q064A11E" through a FT4232H MiniModule.
Thanks for the tool.
Hi, i just flashed the bios on the aforesaid motherboard using flashrom,
it worked well and the process of erasing/writing seemed to
be a lot faster than the dos/(flashutil.exe) in a floppy that i used up by now.
The flash is a EON EN29F002NT. I'm attaching the log as proof.
Hello there :),
is it possible to flash an BIOS Chip (Board: MS 7502 v 1.2 with the BIOS
W7502IM710C) over the JSPI Port with a Raspberry Pi? My BIOS Update went
wrong and the bootblock is not working.. I did not find the Board in the
supported Hardware of flashrom :(
I just wanted to report that all operations (read/erase/write) work fine
I may run an old version, but I saw there is a "?" in the table on your
website for "write" on this chip.
# ../flashrom-0.9.2/flashrom -w build/coreboot.rom
flashrom v0.9.2-r1001 on Linux 3.4.63-2.44-desktop (x86_64), built with
libpci 2.2.3, GCC 4.1.2 20080704 (Red Hat 4.1.2-46)
flashrom is free software, get the source code at http://www.flashrom.org
coreboot table found at 0xbffee000.
Found chipset "AMD AMD8111", enabling flash write... OK.
This chipset supports the following protocols: Non-SPI.
Calibrating delay loop... OK.
Found chip "SST SST49LF040" (512 KB, LPC) at physical address 0xfff80000.
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom(a)flashrom.org if any of the above
work correctly for you with this flash part. Please include the flashrom
output with the additional -V option for all operations you tested (-V, -Vr,
-Vw, -VE), and mention which mainboard or programmer you tested.
Thanks for your help!
Writing flash chip... Erasing flash chip... SUCCESS.
Programming page: DONE!ss: 0x0007f000
Verifying flash... VERIFIED.
So, after realizing that the MX25L256 was the wrong chip, I've obtained
a few of the correct chips (MX25L12845EMI-10G). These are detected by
flashrom, but writes are failing.
Verifying flash... FAILED at 0x00000002! Expected=0x55, Found=0x75,
failed byte count from 0x00000000-0x00ffffff: 0x3e5cb3
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org, thanks!
This is using a raspberry pi as a programmer, and:
./flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=32000 -w
../flashrom/ipmi/SMT_313.bin -o debug1
-rw-r--r-- 1 root root 16777216 Jan 2 19:10 ../flashrom/ipmi/SMT_313.bin
Any suggestions here? -o debug1 is attached