Hello everyone,
I’m working on a project with a fresh Colibri iMX6DL module and using my own bootloader, not the one from Toradex. I want to read the MAC address directly from the memory by dumping the memory region or possibly through JTAG. I’ve been using the md
command to read the memory, but it’s only returning null values.
I’ve tried reading the Config Block from the eMMC memory with this md
command:
md 0x00000000 0x200
But the output looks like this, showing only zeros:
00000000: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000010: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000020: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000030: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000040: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000050: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000060: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000070: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000080: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
00000090: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
000000a0: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
000000b0: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
000000c0: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
000000d0: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
000000e0: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
000000f0: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx ................
...
I think I might be reading the wrong memory region or the MAC address might be stored elsewhere. Does anyone know where exactly the MAC address is located in the Config Block on a fresh Colibri iMX6DL module? I’ve heard it’s stored in the eMMC Config Block, but I’m not sure which address I should be reading.
Since I’m not using the Toradex bootloader. Alternatively, I might also be able to read the MAC address via JTAG, if anyone has experience doing this. Any help or suggestions would be really appreciated!
Thanks in advance!
Best regards,
Andreas