On Fri, Oct 13, 2006 at 09:32:12PM +0200, Stefan Reinauer wrote:
- Ward Vandewege ward@gnu.org [061013 20:37]:
Pm49FL004 found at physical address: 0xfff80000 Flash part is Pm49FL004 (512 KB) Flash image seems to be a legacy BIOS. Disabling checks. Programming Page: 0007 at address: 0x00070000 Verifying flash address: 0x00000008 - FAILED
oh right after 8 bytes... thats wild, it did not really get far.
Tried it a couple of times, same problem each time.
ok, some timing problem in the code, almost sure. I remember the same code worked fine with my PMC4 bios savior...
It works fine with our bios savior in the tyan boards.
Can you also try and check whether there's something else then 0xff in the addresses that failed?
How do I do that?
flashrom -r failed_bios.rom xxd -g1 failed_bios.rom|head -10
Ah, ok, of course. Here is the image I'm trying to burn back to the bios savior:
# 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.
Thanks, Ward.