On Fri, Oct 13, 2006 at 11:58:25PM +0200, Stefan Reinauer wrote:
- Ward Vandewege ward@gnu.org [061013 23:10]:
# xxd -g1 orig.img |head -n10 0000000: ff ff ff ff ff ff ff ff 8c a5 02 00 96 fb 3e 2f ..............>/ 0000010: 10 00 5a aa ff ff 1b 00 00 00 00 00 89 a5 02 00 ..Z............. 0000020: 1f 58 05 00 2d c8 8d de fd d6 24 ae d7 fd fb 7b .X..-.....$....{ 0000030: cc 33 30 c0 73 31 55 15 69 01 a2 ca e4 b6 42 12 .30.s1U.i.....B. 0000040: cd 18 b0 a8 0a ac b6 06 2a e0 08 01 4b f9 ab 95 ........*...K... 0000050: 71 73 37 b1 aa a9 d9 0a 29 9b 67 8f 29 aa e5 c5 qs7.....).g.)... 0000060: f7 8a b5 ce 35 72 e7 b9 29 30 05 26 0e c4 05 39 ....5r..)0.&...9 0000070: 48 2b ce 45 37 38 88 91 7e cb 62 a4 b4 00 04 6f H+.E78..~.b....o 0000080: ff f6 f0 1a bd f7 9c be ef 75 dd 77 dd 6b bd d6 .........u.w.k.. 0000090: bd ef 83 de fd ae eb 5f 6b bd fb c5 fb c5 ef 97 ......._k.......
So; first 8 bytes are all ff.
can you try to erase the chip, read it and see if its all FF?
something like:
flashrom -e flashrom -r tmp.out xxd -g1 tmp.out|cut -c9- |sort -u
should not spit out more than a line of ff ff ff ff ...
It looks like the erase simply did not work (note that this chip contains an old tyan s2882 image) - the image I read out after the erase is identical to what I read out before the erase:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 95 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 01 02 03 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 01 aa 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 50 00 df .............P.. 00 00 00 00 00 00 00 00 00 00 c0 00 11 22 10 00 .............".. 00 00 00 00 00 00 00 00 00 00 e9 93 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 c8 00 11 22 10 00 00 ............"... 00 00 00 00 00 00 00 00 01 02 03 04 05 06 07 00 ................ 00 00 00 00 00 00 00 00 08 0a 41 4d 49 42 49 4f ..........AMIBIO 00 00 00 00 00 00 00 00 10 02 00 00 01 aa aa aa ................ 00 00 00 00 00 00 00 00 20 00 90 03 0f 93 00 00 ........ ....... 00 00 00 00 00 00 00 00 48 00 00 00 00 aa aa aa ........H....... 00 00 00 00 00 00 00 00 4a 00 00 00 00 aa aa aa ........J....... 00 00 00 00 00 00 00 00 50 01 00 00 00 aa aa aa ........P....... 00 00 00 00 00 00 00 00 50 50 74 22 10 00 00 00 ........PPt".... 00 00 00 00 00 00 00 00 ff ff ff ff 78 56 00 00 ............xV.. 00 00 00 00 00 00 00 01 02 03 00 00 00 00 ff ff ................ 00 00 00 00 00 00 00 f9 a6 e6 00 00 06 00 46 2d ..............F- 00 00 00 00 00 00 01 02 03 00 00 00 00 01 54 89 ..............T. 00 00 00 00 00 00 03 52 52 43 43 48 48 00 00 00 .......RRCCHH... 00 00 00 00 00 00 0c f2 5c f3 45 f5 6f a7 f5 99 .........E.o...
...
The verbose output from the erase is:
# ./flashrom -E -V Calibrating delay loop... Setting up microsecond timing loop 601M loops per second ok No LinuxBIOS table found. Enabling flash write on NVidia MCP51...OK Trying Am29F040B, 512 KB probe_29f040b: id1 0xff, id2 0xff Trying Am29F016D, 2048 KB probe_29f040b: id1 0xff, id2 0xff Trying At29C040A, 512 KB probe_jedec: id1 0x9d, id2 0x6e Trying Mx29f002, 256 KB probe_29f002: id1 0x9d, id2 0x6e Trying SST29EE020A, 256 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST28SF040A, 512 KB probe_28sf040: id1 0xff, id2 0xff Trying SST39SF010A, 128 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST39SF020A, 256 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST39SF040, 512 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST39VF020, 256 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF040B, 512 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF040, 512 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF020A, 256 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF080A, 1024 KB probe_jedec: id1 0xff, id2 0xff Trying SST49LF002A/B, 256 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF003A/B, 384 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF004A/B, 512 KB probe_jedec: id1 0x9d, id2 0x6e Trying SST49LF008A, 1024 KB probe_jedec: id1 0xff, id2 0xff Trying Pm49FL002, 256 KB probe_jedec: id1 0x9d, id2 0x6e Trying Pm49FL004, 512 KB probe_jedec: id1 0x9d, id2 0x6e Pm49FL004 found at physical address: 0xfff80000 Flash part is Pm49FL004 (512 KB) Erasing flash chip
Thanks, Ward.