I was bothered by having to read all the contents of an empty flash
before programming just a boot loader to it. It's particularly long
when using a buspirate board. I looked into the code to see how to
bypass this and discovered it was already planned but not implemented
due to the (presumably) complex API of the doit() function.
I took a different route : I'm using 3 different write levels in write_it:
- normal write (read first)
- trusted write (no need to read but still erase)
- fully trusted write (flash assumed to be clean)
These ones are set using a new "-t" flag for which I have even updated
the man page and indicated that it's not recommended.
It worked well for me so I'm sending the patches assuming they'll be
useful for someone else.
BTW, to give you a bit more context, I was writing a 8MB flash to upgrade
a small router from its 4MB one, so I just had to add 4MB of \xff after the
existing image before flashing it.
Lately I have tried
> flashrom -p internal:laptop=force_I_want_a_brick --read Xi3650.rom
on my Fujitsu Siemens Amilo Xi 3650 laptop and it has worked quite well.
Found chipset "Intel ICH9M-E".
Found Winbond flash chip "W25X16" (2048 kB, SPI) at physical address
> sha256sum Xi3650.rom
BIOS (according to dmidecode) is
Release Date: 04/15/2010
I would love to see it under 'supported boards' in the future.
More information can be found in the attachements.
This is a small Atom-based media center from 2009. The board name is
AMCP7AION-HT. I have successfully updated from the initial 1.00 to the
last (and latest) version 1.20 and will add it myself to the wiki. ;)
The -BD suffix is only indicating that there is a blueray player in the
case. The mainboard and firmware is probably the same.
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
The Supermicro X7DWT motherboard is not listed on the flashrom supported
hardware page, and the SST49LF016C chip has an "?" for erase and write
status. I successfully reflashed the chip using flashrom, and thought I
would send you a note so you can update the supported hardware list, if you
This board(s) was in a Dell C6100 XS23-SB.