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.

Location to Store Custom mac address for AM335X

Hi,

I am using AM335X processor to develop a custom board. On the custom board, I dont have Ethernet and only supports NAND Flash memory.


If i am supposed to write/store MAC address in AM335X, please provide me the steps.

Also, please give me ideas on how to access the same when we run uboot and kernel

  • Hi Suresh,

    The AM335X processor itself has no internal location where you can store custom MAC addresses. Factory programmed inside the processor there are two unique MAC addresses, which are the lowest and highest MAC address for the particular device. On runtime these are copied by software from the MAC_ID[1:0]_LO / MAC_ID[1:0]_HI registers to the P[2:1]_SA_LO / P[2:1]_SA_HI registers.

    Custom MAC addresses are usually stored in an external I2C EEPROM. Software can be modified to read them and copy them instead of the factory programmed ones to the P[2:1]_SA_LO / P[2:1]_SA_HI registers.

  • However I now see that you posted that you don't have Ethernet on board. Then the above procedure is unnecessary.