[LinuxBIOS] Adding STMicroelectronics and Atmel 256k parts to FlashRom?
roger
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
or
# 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.
--
Roger
http://www.eskimo.com/~roger/index.html
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...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070420/178c31bd/attachment.sig>
More information about the coreboot
mailing list