Variable MAC Address
The MAC address of a SoC board is set inside Petalinux configuration and fixed during build. This means that all boards will have the same address. The network can get confused by this and refuse to assign IP addresses to duplicated devices.
Ideally we would set the MAC address of each SoC board inside EEPROM using the ethaddr
variable. The MAC address will then be independent of the firmware used. This was possible with Petalinux 2020.1 via a command inside u-boot. However this variable is protected starting with 2021.1. We need to find a way to override this protection.
We should avoid building separate images for different MAC addresses to remove the need for tracking multiple images.
This mainly is a problem for LBL, where we have multiple test setups running in parallel.