News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0726-3M eth0 mac address is not persistent (zynqberry)

Started by hchenji, December 07, 2020, 08:05:41 PM

Previous topic - Next topic

hchenji

Using 2019.2 release of test_board reference design. eth0 mac address keeps on changing every time I reboot the board. What should I do to make it stick? I tried setting ethaddr in u-boot, but no luck.

hchenji

Figured it out, you can just program the EEPROM like this. It was returning all 0xff until I programmed it.


ethtool -E eth0 magic 0x9500 offset 1 length 1 value 0x92 
ethtool -E eth0 magic 0x9500 offset 2 length 1 value 0x8c
ethtool -E eth0 magic 0x9500 offset 3 length 1 value 0x96
ethtool -E eth0 magic 0x9500 offset 4 length 1 value 0x79
ethtool -E eth0 magic 0x9500 offset 5 length 1 value 0x43
ethtool -E eth0 magic 0x9500 offset 6 length 1 value 0x7A

JH

Hi,
we didn't set mac address on zynqberry default.
thanks for this notes with the procedure.
br
John