[RFC PATCH net-next] net: stmmac: Preserve bootloader MAC address across unconditional reset

Lad, Prabhakar prabhakar.csengg at gmail.com
Tue Jan 27 07:54:57 PST 2026


Hi Geert,

On Tue, Jan 27, 2026 at 1:57 PM Geert Uytterhoeven <geert at linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Tue, 27 Jan 2026 at 14:39, Lad, Prabhakar <prabhakar.csengg at gmail.com> wrote:
> > On Mon, Jan 26, 2026 at 6:11 PM Russell King (Oracle)
> > <linux at armlinux.org.uk> wrote:
> > > On Mon, Jan 26, 2026 at 05:25:03PM +0000, Prabhakar wrote:
> > > where "local-mac-address" states the MAC address to be used for eth0,
> > > as specified by the boot loader.
> > >
> > Thanks for the pointer, I will use the above-mentioned method with
> > which we won't be needing this patch on the RZ/T2H platform.
>
> This should already work out-of-the-box, as
> arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi already has:
>
>     aliases {
>             ethernet3 = &gmac1;
>             ethernet2 = &gmac2;
>
> So just make sure to set the "eth2addr" and "eth3addr" environment
> variables in U-Boot.
>
Agreed, it was just that the aliases in Linux and u-boot didn't match
up (Ive notified the BSP team to update it accordingly).

Cheers,
Prabhakar



More information about the linux-arm-kernel mailing list