How to permanently change mac address in jetson xavier nx?

Hi, all

1: Jetpack4.5_R32.5.0, in our custom board, RTL8111G NIC connected to NX model’s pcie1,
2:when I change MAC address in /etc/network/interfaces.d/eth1, there ard some problem such as devices take 5 minitus 3 seconds into system.
3: Finally, we should write mac address into eeprom.
So. how to write mac address into eeprom in jetson xavier nx.

All best regards!

There is a vendor specific field inside the eeprom. You can use i2c tool to modify the content of that field and next boot will change the mac addr.

Please be careful that you have to modify the last checksum bit 255 when you change anything in eeprom.
Otherwise, the board cannot boot and flash.

If you don’t understand what this means, please ask first. This is very important. If you do it wrong, then your module will not work.