Use the following U-Boot commands:
Syntax:
setenv ethact <ethx>
setenv eth<x>addr<mac-address>
saveenv
Example:
IWG35M> setenv ethact eth1
IWG35M> setenv eth1addr xx:xx:xx:xx:xx:xx
IWG35M> saveenv
Alternatively, the MAC address can be assigned in the Linux kernel using the following commands:
Syntax:
ifconfig <ethx> down
ifconfig <ethx> hw ether<mac-address>up
But when eMMC is formatted & reprogrammed, the saved MAC address via environment will also be lost & hardcoded MAC will be set. Then need to use the same commands again.
For further product inquiries, please get in touch with our sales team at mktg@iwave-global.com
Please find the detailed product information here:
Zynq™ UltraScale+™ ZU19/ZU17/ZU11 MPSoC System on Module