Yiping,
Is there a guide to do either or both of the workaround options you listed above? I have not been able to find anything.
I have tried to program the i2c eeprom using u-boot commands like the following:
=> i2c read 0x50 0.2 0x50 0x100000
=> md.b 0x100000 0x50
00100000: aa 55 aa 55 01 0e 01 00 14 0e 00 18 0c 00 0f 0a .U.U............
00100010: 00 00 00 00 00 00 00 00 1a 49 00 00 00 00 20 00 .........I.... .
00100020: 08 40 00 00 a9 00 00 00 0e 00 00 00 00 00 00 00 .@..............
00100030: 00 00 00 00 00 03 80 00 00 00 00 00 00 00 00 20 ...............
00100040: 00 00 00 00 00 00 60 09 09 4a 80 0c 00 00 10 13 ......`..J......
=> tftpboot 0x100000 rcw_2sgmii_2xaui_1600mhz_1866ddr.bin
Using FM1@DTSEC5 device
TFTP from server 192.168.5.20; our IP address is 192.168.5.100
Filename 'rcw_2sgmii_2xaui_1600mhz_1866ddr.bin'.
Load address: 0x100000
Loading: #
0 Bytes/s
done
Bytes transferred = 80 (50 hex)
=> md.b 0x100000 $filesize
00100000: aa 55 aa 55 01 0e 01 00 14 0e 00 18 0f 00 12 18 .U.U............
00100010: 00 00 00 00 00 00 00 00 54 98 00 00 90 00 a0 00 ........T.......
00100020: fc 02 50 00 a9 00 00 00 01 00 00 00 00 00 00 00 ..P.............
00100030: 00 00 00 00 00 01 b1 f8 00 00 00 00 14 00 00 20 ...............
00100040: 00 00 00 00 00 00 00 11 08 13 80 40 59 8f 92 8d ...........@Y...
=> i2c write $fileaddr 0x50 0.2 $filesize
=> i2c read 0x50 0.2 0x50 0x100000
=> md.b 0x100000 $filesize
00100000: aa 55 aa 55 01 0e 01 00 14 0e 00 18 0c 00 0f 0a .U.U............
00100010: 00 00 00 00 00 00 00 00 1a 49 00 00 00 00 20 00 .........I.... .
00100020: 08 40 00 00 a9 00 00 00 0e 00 00 00 00 00 00 00 .@..............
00100030: 00 00 00 00 00 03 80 00 00 00 00 00 00 00 00 20 ...............
00100040: 00 00 00 00 00 00 60 09 09 4a 80 0c 00 00 10 13 ......`..J......
=>
As you see, the EEPROM is apparently write-protected. How do I remove and restore the write protection?
Thanks.
--ken