Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: hchenji on December 07, 2020, 08:05:41 PM

Title: TE0726-3M eth0 mac address is not persistent (zynqberry)
Post by: hchenji on December 07, 2020, 08:05:41 PM
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.
Title: Re: TE0726-3M eth0 mac address is not persistent (zynqberry)
Post by: hchenji on December 09, 2020, 12:22:16 AM
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
Title: Re: TE0726-3M eth0 mac address is not persistent (zynqberry)
Post by: JH on January 06, 2021, 08:32:46 AM
Hi,
we didn't set mac address on zynqberry default.
thanks for this notes with the procedure.
br
John