[PATCH] rockchip: board: assign up to 3 static Ethernet MAC addresses

MichaIng micha at dietpi.com
Sat Sep 13 01:36:57 CEST 2025


Hi Jonas,

 > I cannot find any rockchip board in U-Boot or Linux that currently use
 > a ethernet2 alias, have you sent a Linux patch that I have missed?
 >
 > The addition of eth1addr was done because there are and was in-tree
 > boards that have use for both ethaddr and eth1addr.
 >
 > Suggest you send a Linux patch that adds or updates a rockchip dts to
 > include an ethernet2 alias before this is applied.

sorry I missed your message that time. I thought about the chicken&egg 
issue with the aliases being defined in Linux and used in U-Boot, and 
chose to offer the patch for U-Boot first, since the aliases can be 
defined in Linux via device tree overlays, without touching sources and 
recompiling the kernel.

I will offer a patch to Linux then, hope the reaction is not similar 
there like "why should we define aliases which are not used by anything?" :)

Maybe this is the common order, and certainly has the benefit that you 
can sync the aliases back into U-Boot device trees, so those benefit 
from the same static MAC addresses, in case they are really applied to 
U-Boot device tree aliases as well.

I'll keep you updated regarding Linux patch.

Best regards,
Micha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x0442B9ADE65643FE.asc
Type: application/pgp-keys
Size: 9878 bytes
Desc: OpenPGP public key
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250913/7cffb429/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250913/7cffb429/attachment.sig>


More information about the U-Boot mailing list