Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: bigguiness on May 07, 2022, 12:40:02 AM

Title: TE-0720 EUI-48/64 Unique ID
Post by: bigguiness on May 07, 2022, 12:40:02 AM
Hello,

Is it possible to read the EUI-48/64 Unique ID on a TE-0720 board from Linux?

What is the size of the Unique ID?

Thanks
Title: Re: TE-0720 EUI-48/64 Unique ID
Post by: JH on May 09, 2022, 06:54:35 AM
Hello,
we have implemented they why to read EEPROM MAC on our reference design.
This will be done over MDIO interface of the CPLD.
1. FSBL Read MAC over MDIO interface
2.Uboot set MAC Register for linux
3.Linux use this MAC

See  reference design.
Download:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Download
Reference to FSBL source code:
ttps://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-Application
CPLD Description:
https://wiki.trenz-electronic.de/display/PD/TE0720+CPLD#TE0720CPLD-ReadingMACaddress
Uboot changes:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-U-Boot

QuoteWhat is the size of the Unique ID?
what did you mean?
We use 11AA02E48
https://www.mouser.de/datasheet/2/268/11AA02E48-11AA02E64-2K-UNIO-Serial-EEPROMs-Data-Sh-1360722.pdf
Page 17ff
so 48bit
br
John
Title: Re: TE-0720 EUI-48/64 Unique ID
Post by: bigguiness on May 09, 2022, 06:25:06 PM
John,

Thanks for the information and links. I will review them.

As far as the size of the Unique ID. 48-bit is what I needed to know. I have a need for a 64-bit value but the 11AA02E48 shows how to create an EUI-64 from the EUI-48.

Thanks,
Hartley