There are several ways to configure the MAC address ..?
Thank you for contacting NXP support!
I attached for you 2 logs for mac configuration.
Inside the log called "unconfigured mac" you can see what happens when you can boot a board on LS1043 with an unconfigured MAC and how dissapear the ethernet port on tiny linux.
And then you have another log called "configured mac" inside that log, you can see how to set a mac address on U-Boot and how to corroborate under tiny Linux with ping and ifconfig.
I2C EEPROM
What needs to be modified to configure the MAC address..?
You can do something like
&i2c0 {
eeprom@54 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "atmel,24c02";
reg = <0x54>;
size = <256>;
pagesize = <4>;
eth3_address: addr@32 {
reg = <32 6>;
};
};
and then later on
&fman0 {
enet3: ethernet@e4000 {
nvmem-cells = <ð3_address>;
nvmem-cell-names = "mac-address";
};
};
You will need to enable CONFIG_NVMEM in Linux and U-Boot for this to work.
Is not possible to boot from the i2c eeprom but, I think it is possible to save those configurations on the i2c eeprom and take the values and put that values on U-Boot.
If you want to do that, download the components of U-Boot and then you can program after the boot sequence the reading of the i2c eeprom and configure the mac address and then compile the U-Boot and run the bootloader on your Layerscape