Re: [PATCH 1/1] riscv: dts: spacemit: set ETH MAC from eeprom for OrangePi
From: Chukun Pan
Date: Tue Sep 22 2026 - 02:55:01 EST
Hi,
> Could you point me where the u-boot patching the MAC address?
> I'm not fully aware of this problem..
This is handled by U-Boot's fdt_fixup_ethernet() function:
https://github.com/u-boot/u-boot/blob/main/boot/fdt_support.c#L639
do_bootm_linux()
|
boot_prep_linux()
|
image_setup_linux()
|
image_setup_libfdt()
|
fdt_fixup_ethernet()
Thanks,
Chukun