[LinuxBIOS] Adding STMicroelectronics and Atmel 256k parts to FlashRom?
roger at eskimo.com
Fri Apr 20 23:24:15 CEST 2007
On Fri, 2007-04-20 at 11:11 +0200, Uwe Hermann wrote:
> On Thu, Apr 19, 2007 at 06:17:10PM -0700, roger wrote:
> > Is it possible to add these parts to FlashRom?
> > Atmel AT29C020 256k
Read & Write seems ok for this Atmel. I've checked using a factory
bios.bin and also writing a linuxbios.rom file. Boots with flashing
with a factory bios.bin. So this chip is probably well tested here. :-)
> > STMicroelectronics M29F002 256k
Problematic. I see the patch provides addresses for this chip instead
of using the jedec_probe for probe/read/write functions.
Altering the addresses for teh MDF002* chips to use the jedec_probe
functions seems to work.
I have test read the MDF002T chip here. I don't want to write to it
because it's the chip that came with this board.
On a side note, both of these chips, I do
# ./flashrom -r test.bin
# diff /dev/mtd0ro ./test.bin
# cmp /dev/mtd0ro ./test.bin
Both tests state the files differ or EOF.
But if I do:
# dd if=/dev/mtd0ro of=./test.bin
#diff /dev/mtd0ro ./test.bin
diff states the files are the same.
<shrugs> I'm probably doing something wrong here. :-/
> Sure, please try attached patch and report whether it works (if so,
> please send an Acked-By).
Add my patch.
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61
Fri Apr 20 14:23:49 PDT 2007
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the coreboot