This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM623: Ethernet random MAC address question.

Part Number: AM623

Hi Expert,

We are using AM623 to make our PCBA with two DP83867IRRGZ to support dual LAN ports. When I try to read MAC address from /sys/class/net/ethx/address, I find MAC address of eth0 is a real address with prefix 1c:63:49(MAC address from TI). But eth1 do not a real mac address, it is a random MAC address. How do I read a correct MAC address of eth1? or AM623 only have 1 real MAC address?

Best regards,

Neil

  • Hi,

    With a custom board you are responsible for getting the MAC addresses in addition to the one that comes with the device. I don't have an EVM accessible at the moment so I can't confirm directly, but TI EVMs for example you should see with the ifconfig command non-sequential MAC address between eth0 and eth1. The reason for this is that they come from two different pools, one from Silicon production test time and the other from the EVM vendor that we use. 

    The reason you are getting a random address is that the u-boot code will assign one as it prepares to boot to the kernel if it can't read one from the eeprom that are on TI boards. 

    Best Regards,

    Schuyler