On 28.11.2007 23:15, Andreas B. Mundt wrote: > On Wed, Nov 28, 2007 at 12:57:01AM +0100, Carl-Daniel Hailfinger wrote: > >> On 23.11.2007 20:31, Andreas B. Mundt wrote: >> >>>>> Does flashrom -r actually return a file of all 0xFFs after the erase? >>>>> >>>>> >>>>> >>>> In fact it does not. Most of the file looks as if it is still the >>>> linuxbios.rom. >>>> >>>> >>>> >>> For me, writing seems to work only from address 0x000f0000 upwards. >>> This is part of the ROM content read after writing 1M of zeros (prior >>> to the zero-writing, LB was on the chip): >>> >>> 000eff10: 80f9 1a76 0d0f b6c9 b301 83e9 08d3 e383 ...v............ >>> 000eff20: cb01 8a47 0131 d23c 0188 856f ffff ff76 ...G.1.<...o...v >>> 000eff30: 110f b68d 5fff ffff b201 83e9 08d3 e283 ...._........... >>> 000eff40: ca01 80bd 5eff ffff 0074 1289 d801 db83 ....^....t...... >>> 000eff50: e001 09c3 89d0 83e0 0101 d209 c281 e201 ................ >>> 000eff60: 00f8 1f8b 8d58 ffff ff89 de89 9560 ffff .....X.......`.. >>> 000eff70: ff8b 9538 ffff ff81 e601 00f8 1f8d 04cd ...8............ >>> 000eff80: 4000 0000 b9f8 0c00 008b 520c c1ea 0409 @.........R..... >>> 000eff90: d025 fcff ff7f 8995 64ff ffff 0d00 0000 .%......d....... >>> 000effa0: 8089 caef 89f0 b2fc ef8b 9d58 ffff ff89 ...........X.... >>> 000effb0: ca01 db8d 049d 4400 0000 0b85 64ff ffff ......D.....d... >>> 000effc0: 25fc ffff 7f0d 0000 0080 ef8b 8560 ffff %............`.. >>> 000effd0: ffb2 fcef 80bd 6fff ffff 0475 428d 049d ......o....uB... >>> 000effe0: 5000 0000 89ca 0b85 64ff ffff 25fc ffff P.......d...%... >>> 000efff0: 7f0d 0000 0080 ef89 f0b2 fcef 8d04 9d54 ...............T >>> 000f0000: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> 000f00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ >>> >>> This is the same part afer erase: >>> >>> 000eff10: 80f9 1a76 0d0f b6c9 b301 83e9 08d3 e383 ...v............ >>> 000eff20: cb01 8a47 0131 d23c 0188 856f ffff ff76 ...G.1.<...o...v >>> 000eff30: 110f b68d 5fff ffff b201 83e9 08d3 e283 ...._........... >>> 000eff40: ca01 80bd 5eff ffff 0074 1289 d801 db83 ....^....t...... >>> 000eff50: e001 09c3 89d0 83e0 0101 d209 c281 e201 ................ >>> 000eff60: 00f8 1f8b 8d58 ffff ff89 de89 9560 ffff .....X.......`.. >>> 000eff70: ff8b 9538 ffff ff81 e601 00f8 1f8d 04cd ...8............ >>> 000eff80: 4000 0000 b9f8 0c00 008b 520c c1ea 0409 @.........R..... >>> 000eff90: d025 fcff ff7f 8995 64ff ffff 0d00 0000 .%......d....... >>> 000effa0: 8089 caef 89f0 b2fc ef8b 9d58 ffff ff89 ...........X.... >>> 000effb0: ca01 db8d 049d 4400 0000 0b85 64ff ffff ......D.....d... >>> 000effc0: 25fc ffff 7f0d 0000 0080 ef8b 8560 ffff %............`.. >>> 000effd0: ffb2 fcef 80bd 6fff ffff 0475 428d 049d ......o....uB... >>> 000effe0: 5000 0000 89ca 0b85 64ff ffff 25fc ffff P.......d...%... >>> 000efff0: 7f0d 0000 0080 ef89 f0b2 fcef 8d04 9d54 ...............T >>> 000f0000: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0010: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0020: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0030: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0040: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0050: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0060: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0070: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0080: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f0090: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f00a0: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f00b0: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f00c0: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> 000f00d0: ffff ffff ffff ffff ffff ffff ffff ffff ................ >>> >>> The flashing speed seems to be rather slow compared to >>> flashing speed after booting with proprietary BIOS. At block 0x000f0000 >>> the speed suddenly increases dramatically. >>> >>> With proprietary BIOS anything seems to work so far :-( >>> >>> >> Is that still the case? This observation may be the key to understand >> what's going on. >> >> > > I verified the above again, it is still absolutely correct on my board: > Erasing and writing works fine starting from 0x000f0000, but up > to this address nothing happens at all. >
OK, then we probably have either partial chip protection (by setting some bits in the chip) or partial mapping. Regards, Carl-Daniel -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios