Reading MAC address during flash / recovery mode (eeprom info?)

Is it possible to fetch the MAC address of the Xavier ethernet port while flashing (i.e. while the Xavier is in recovery mode)?

On the TX2 we would dump the eeprom info like so:

./tegraflash.py --chip 0x18 --cmd "dump eeprom boardinfo test.bin"  --applet mb1_recovery_prod.bin

And then retrieve the required info using chkbdinfo. Unfortunately, it does not appear to be possible to dump said eeprom info from Xavier? Or am I wrong?

Thank you for any help.

hello logidelic,

are you simply want to read MAC address from EEPROM?
could you please check it via i2cdump,
for example,

$ sudo i2cdump -y 0 0x50

you may also refer to Jetson Module EEPROM Layout for bytes descriptions.
thanks

Thanks for the response Jerry. My understanding is that ic2dump needs to be run on the Xavier itself, is that right?

What I’m wanting is to be able to read the MAC address using the host machine when it is connected to a Xavier in Recovery mode (i.e. during the flashing process).

Thank you!

hello logidelic,

could you please share your use-case about reading MAC address in forced-recovery mode?

please refer to below steps to dump eeprom with tegraflash.py

$ sudo ./tegraflash.py --chip 0x19 --applet "mb1_t194_prod.bin" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo temp.bin"

I’ve verified above commands works from my side.

$ ./chkbdinfo -g temp.bin 
00:04:4B:AF:62:04 

ubuntu@ubuntu:~$ ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether <b>00:04:4b:af:62:04</b>  txqueuelen 1000  (Ethernet)