TQ-Systems stores the the module specific data (MAC address on the module eeprom).
The data is stored at the following offsets:
^ ^
==== U-Boot ====
++++ TQMLS10xxA |
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x50 0x00 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 4d 56 2c ff ff ff ff ff ff ff ff ff ff ...MV,..........
0030: 37 33 34 31 37 33 35 35 ff ff ff ff ff ff ff ff 73417355........
0040: 54 51 4d 4c 53 31 30 38 38 41 2d 50 31 2e 30 32 TQMLS1088A-P1.02
0050: 30 31 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 01..............
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMLS102xA |
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x50 0x00 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 4c 17 ce ff ff ff ff ff ff ff ff ff ff ...L............
0030: 37 33 31 39 33 36 34 35 ff ff ff ff ff ff ff ff 73193645........
0040: 54 51 4d 4c 53 31 30 32 38 41 2d 50 31 2e 30 31 TQMLS1028A-P1.01
0050: 30 34 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 04..............
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMa57xx |
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x57 0x00 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 4f f9 5c ff ff ff ff ff ff ff ff ff ff ...O.\..........
0030: 37 33 39 39 33 39 32 33 ff ff ff ff ff ff ff ff 73993923........
0040: 54 51 4d 61 35 37 32 38 2d 41 41 2e 30 31 30 32 TQMa5728-AA.0102
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMa8Xx(S) |
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x53 0x00 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 4f b9 b9 ff ff ff ff ff ff ff ff ff ff ...O............
0030: 37 33 39 31 35 35 31 30 ff ff ff ff ff ff ff ff 73915510........
0040: 54 51 4d 61 38 58 51 50 2d 50 31 2e 30 32 30 31 TQMa8XQP-P1.0201
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMa8Mx |
Command example to read out manufacturer eeprom of the module:
u-boot=> i2c md 0x53 0x00 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 2f 32 67 ff ff ff ff ff ff ff ff ff ff .../2g..........
0030: 30 33 30 39 33 30 39 35 ff ff ff ff ff ff ff ff 03093095........
0040: 54 51 4d 61 38 4d 51 2d 50 31 2e 30 32 30 30 00 TQMa8MQ-P1.0200.
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMa7x|
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x50 0x00.2 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 3f 22 47 ff ff ff ff ff ff ff ff ff ff ...?"G..........
0030: 37 30 39 37 33 34 32 36 ff ff ff ff ff ff ff ff 70973426........
0040: 54 51 4d 61 37 44 2d 41 41 2e 30 31 30 32 ff ff TQMa7D-AA.0102..
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMa6x |
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x50 0x00.2 0x100
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 49 7c 34 ff ff ff ff ff ff ff ff ff ff ...I|4..........
0030: 37 32 37 39 30 37 39 34 ff ff ff ff ff ff ff ff 72790794........
0040: 54 51 4d 61 36 51 2d 41 42 2e 30 34 30 31 ff ff TQMa6Q-AB.0401..
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
++++ TQMa6ULx(L)|
Command example to read out manufacturer eeprom of the module:
=> i2c md 0x50 0x00.2 0x70
0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0020: 00 d0 93 4b a5 29 ff ff ff ff ff ff ff ff ff ff ...K.)..........
0030: 37 33 31 31 39 39 33 35 ff ff ff ff ff ff ff ff 73119935........
0040: 54 51 4d 61 36 55 4c 32 2d 41 42 2e 30 33 30 31 TQMa6UL2-AB.0301
0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
++++
==== Linux ====
++++ TQMLS10xxA |
Command example to dump manufacturer eeprom of the module:
root@tqmls1088a-mbls10xxa:~# find / -name "*eeprom*"
/sys/devices/platform/soc/2180000.i2c/i2c-0/0-0050/eeprom
root@tqmls1088a-mbls10xxa:~#
root@tqmls1088a-mbls10xxa:~# hexdump -C /sys/devices/platform/soc/2180000.i2c/i2c-0/0-0050/eeprom
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000020 00 d0 93 4d 56 2c ff ff ff ff ff ff ff ff ff ff |...MV,..........|
00000030 37 33 34 31 37 33 35 35 ff ff ff ff ff ff ff ff |73417355........|
00000040 54 51 4d 4c 53 31 30 38 38 41 2d 50 31 2e 30 32 |TQMLS1088A-P1.02|
00000050 30 31 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |01..............|
00000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000100
root@tqmls1088a-mbls10xxa:~#
++++
++++ TQMLS102xA |
root@tqmls1028a-mbls1028a:~# find / -name "*eeprom*"
/sys/devices/platform/soc/2000000.i2c/i2c-0/0-0050/eeprom
/sys/devices/platform/soc/2000000.i2c/i2c-0/0-0057/eeprom
/usr/bin/pqt/testcases/eeprom
/usr/bin/pqt/testcases/eeprom/eeprom.sh
root@tqmls1028a-mbls1028a:~# hexdump -C /sys/devices/platform/soc/2000000.i2c/i2c-0/0-0050/eeprom
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000020 00 d0 93 4c 17 ce ff ff ff ff ff ff ff ff ff ff |...L............|
00000030 37 33 31 39 33 36 34 35 ff ff ff ff ff ff ff ff |73193645........|
00000040 54 51 4d 4c 53 31 30 32 38 41 2d 50 31 2e 30 31 |TQMLS1028A-P1.01|
00000050 30 34 ff ff ff ff ff ff ff ff ff ff ff ff ff ff |04..............|
00000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000100
root@tqmls1028a-mbls1028a:~#
++++
++++ TQMa8Xx(S) |
root@tqma8xqp-mba8xx:~# find / -name "*eeprom*"
/sys/devices/platform/bus@5a000000/5a810000.i2c/i2c-16/16-0054/eeprom
/sys/devices/platform/bus@5a000000/5a810000.i2c/i2c-16/16-0057/eeprom
/sys/devices/platform/bus@5a000000/5a810000.i2c/i2c-16/16-0053/eeprom
/sys/firmware/devicetree/base/bus@5a000000/i2c@5a810000/eeprom@54
/sys/firmware/devicetree/base/bus@5a000000/i2c@5a810000/temperature-sensor-eeprom@1b
/sys/firmware/devicetree/base/bus@5a000000/i2c@5a810000/eeprom@57
/sys/firmware/devicetree/base/bus@5a000000/i2c@5a810000/eeprom@53
/sys/firmware/devicetree/base/bus@5a000000/i2c@5a810000/temperature-sensor-eeprom@1c
/lib/modules/5.4.3/kernel/drivers/misc/eeprom
root@tqma8xqp-mba8xx:~# hexdump -C /sys/devices/platform/bus@5a000000/5a810000.i
2c/i2c-16/16-0053/eeprom
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000020 00 d0 93 4f b9 b9 ff ff ff ff ff ff ff ff ff ff |...O............|
00000030 37 33 39 31 35 35 31 30 ff ff ff ff ff ff ff ff |73915510........|
00000040 54 51 4d 61 38 58 51 50 2d 50 31 2e 30 32 30 31 |TQMa8XQP-P1.0201|
00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000100
root@tqma8xqp-mba8xx:~#
++++
++++ TQMa8Mx |
++++
++++ TQMa7x|
++++
++++ TQMa6x |
root@MBa6x:~ find / -name "*eeprom*"
/sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0050/eeprom
/sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0057/eeprom
root@MBa6x:~ hexdump -C /sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0
/0-0050/eeprom
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000020 00 d0 93 49 7c 34 ff ff ff ff ff ff ff ff ff ff |...I|4..........|
00000030 37 32 37 39 30 37 39 34 ff ff ff ff ff ff ff ff |72790794........|
00000040 54 51 4d 61 36 51 2d 41 42 2e 30 34 30 31 ff ff |TQMa6Q-AB.0401..|
00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00002000
root@MBa6x:~
++++
++++ TQMa6ULx(L)|
root@MBa6ULx:~ find / -name "*eeprom*"
/sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0050/eeprom
/sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-0057/eeprom
root@MBa6ULx:~ hexdump -C /sys/devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0
/0-0050/eeprom
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000020 00 d0 93 4b a5 29 ff ff ff ff ff ff ff ff ff ff |...K.)..........|
00000030 37 33 31 31 39 39 33 35 ff ff ff ff ff ff ff ff |73119935........|
00000040 54 51 4d 61 36 55 4c 32 2d 41 42 2e 30 33 30 31 |TQMa6UL2-AB.0301|
00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00002000
root@MBa6ULx:~
++++