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

TE0715-04 MAC Address

Started by Tracquan, May 27, 2020, 03:16:46 AM

Previous topic - Next topic

Tracquan

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?

JH

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

Tracquan

Thank you!  I used the 2018.3 prebuilt BOOT.bin and was able to get EEPROM MAC address from printenv ethaddr.