Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: Tracquan on May 27, 2020, 03:16:46 AM

Title: TE0715-04 MAC Address
Post by: Tracquan on May 27, 2020, 03:16:46 AM
Hi,

We have several TE07150-04 SOMs.  Today, I ran U-boot on two the SOMs, then I did "printenv"; the reported ethaddr for both were 00:0a:35:00:1e:53.  Is this correct?  Can two or more SOMs have the same MAC.

Next, I did "i2c md 0x50 0.0 16" , I received 0x0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff.  I was expecting to see 00 0a 35 00 1e 53 or something different than "ff ff ... ".  What did you do wrong?
Title: Re: TE0715-04 MAC Address
Post by: JH on May 27, 2020, 09:42:57 AM
Hi,

default MAC address is set by your petalinux project (see general petalinux-config setup). So every board which use the same petalinux project has the same MAC.

Our 18.3 reference design use the eeprom mac (prebuilt boot.bin and image.ub are included):

https://wiki.trenz-electronic.de/display/PD/TE0715+Test+Board
here is what we have changed:
https://wiki.trenz-electronic.de/display/PD/TE0715+Test+Board#TE0715TestBoard-SoftwareDesign-PetaLinux

There will be a short print on uboot bootup which tell you that mac eeprom is used.

Procedure how to use eeprom mac has changed with 19.2 version of petalinux. Reference design update is planned, but I can't tell you any timeline.

br
John
Title: Re: TE0715-04 MAC Address
Post by: Tracquan on May 27, 2020, 11:00:06 PM
Thank you!  I used the 2018.3 prebuilt BOOT.bin and was able to get EEPROM MAC address from printenv ethaddr.