Hi,
I am trying to access EEPROM at u-boot level on my customized #ls1043a board#, it seems that I can only read the #EEPROM# for the first 16 bytes, after that, all reading return 0xFF. See following screen capture from conso
Same issue if I read the eeprom with code, except it can read up to 64 bytes, any extra reading returns 0xFF (even I repeat reading with same address offset). Our application can access EEPROM without any issue with at24 driver.
Does NXP have any eeprom driver at u-boot level to access I2C? Like the at24.c at Linux kernel level. I track down which driver is called when EEPROM was accessed on my board, found that the driver currently being used is drivers/i2c/i2c_uclass.c. Wonder if this is the right one for ls1043a.
Anyone had idea or solution for this? thanks in advance.
Yes,but I checked the command in LS1043ARDB, could read out the board ID and MAC address and so on.
=> i2c probe
Valid chip addresses: 00 08 40 4C 52 53 68 69
=> i2c md 0x53 0x0 0x100
0000: 4e 58 49 44 54 52 31 35 33 34 30 30 39 36 00 00 NXIDTR15340096..
0010: 31 2e 30 00 00 15 09 09 10 35 04 ff 00 00 00 01 1.0......5......
0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0040: 07 ff 00 04 9f 03 dd 26 00 04 9f 03 dd 27 00 04 .......&.....'..
0050: 9f 03 dd 28 00 04 9f 03 dd 29 00 04 9f 03 dd 2a ...(.....).....*
0060: 00 04 9f 03 dd 2b 00 04 9f 03 dd 2d ff ff ff ff .....+.....-....
0070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00f0: ff ff ff ff ff ff ff ff ff ff ff ff 2c cf bd 76 ............,..v