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.
Solved! Go to Solution.
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.
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.
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`.