Hi folks,
We have custom Am335x board with eeprom.We want to shape our eeprom like BeagleBone (I mean name,version,serial etc...).
I tried with U-Boot using I2C commands.You can see my logs below. Firstly i read my eeprom, then i tried to write byte by btye.Then i read again but nth happened.Then i tried to fill with 0xAA again it didnt succeed. How do you do it? By the way,I ported and used U-Boot 2011.09 for this purpose.I used i2c-tool over Linux but it says UU which means driver is used by Linux and it doesnt let me dump or anything else.
What do you suggest to move on?
Regards,
Buğra
U-Boot# i2c probe
Valid chip addresses: 24 48 4F 50 51
U-Boot# i2c dev 1
Setting bus to 1
U-Boot# i2c dev 0
Setting bus to 0
U-Boot# i2c md 0x50 0 0x10
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
U-Boot# i2c mm 0x50 0
00000000: ff ? AA
00000001: ff ? BB
00000002: ff ? CC
00000003: ff ? DD
00000004: ff ? U-Boot# <INTERRUPT>
U-Boot# <INTERRUPT>
U-Boot#
U-Boot#
U-Boot# i2c md 0x50 0 0x10
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
U-Boot#
U-Boot# i2c mw 0x50 0 0x10 0xAA
U-Boot# i2c md 0x50 0 0x10
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
U-Boot# i2c md 0x50 0 0x10
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................