[LS1046A] Where MAC addresses are stored?

cancel
Showing results for 
Search instead for 
Did you mean: 

[LS1046A] Where MAC addresses are stored?

Jump to solution
448 Views
lukasz_laguna
Contributor II

Hello,
We're wondering where LS1046A storing the MAC addresses. For example on i.MX6 there were fuses, but we can't find anything similar to that on LS1046.

On reference boards LS1046ARDB, MAC addresses surely are stored somewhere, U-Boot gets proper values (the same as on stickers), but we can't find where they come from.

We checked content of MAC_ADDR_0, MAC_ADDR_1, etc. (Table 6-4. Module Memory Map of DPAA Reference Manual) on reference board, but there was no value similar to MAC address. The memory addresses on which we based are:


* CCSR: 0x1000000
* FMAN: 0x1A00000
* EMAC1: 0xE0000 (we also tried with other controllers)
* MAC_ADDR_0: 0x00C (we also tried with other registers)

Could someone help us with that? Thanks.

1 Solution
262 Views
alexander_yakov
NXP TechSupport
NXP TechSupport

LS1046A does not have fuses for MAC address. In the LS1046ARDB board MAC addresses are stored in external EEPROM connected via I2C interface. Please look board Reference Manual, Table 2-12 for details.

View solution in original post

2 Replies
263 Views
alexander_yakov
NXP TechSupport
NXP TechSupport

LS1046A does not have fuses for MAC address. In the LS1046ARDB board MAC addresses are stored in external EEPROM connected via I2C interface. Please look board Reference Manual, Table 2-12 for details.

View solution in original post

262 Views
lukasz_laguna
Contributor II

alexander.yakovlev, thank you for your help.

If anyone wonder where MACs are read from the EEPROM in U-Boot, there is a function mac_read_from eeprom() in board/freescale/common/sys eeprom.c. I2C address of EEPROM memory is defined as `CONFIG_SYS_I2C_EEPROM_ADDR`.