[PATCH] socfpga_de0_nano_soc: enable CONFIG_NET_RANDOM_ETHADDR

Srinuvasan A Srinuvasan_A at mentor.com
Thu Jun 17 06:49:07 CEST 2021


Ethernet failed to work if ethaddr is empty when Ethernet driver is probed.
Setting ethaddr in Uboot command prompt can't solve this.
Enable random ethaddr to solve it

Signed-off-by: Srinuvasan A <Srinuvasan_A at mentor.com>
---
 configs/socfpga_de0_nano_soc_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig
index 53efc9f5bd..a3d26b6ad0 100644
--- a/configs/socfpga_de0_nano_soc_defconfig
+++ b/configs/socfpga_de0_nano_soc_defconfig
@@ -63,4 +63,5 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_USB_GADGET_DWC2_OTG=y
 CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_NET_RANDOM_ETHADDR=y
 # CONFIG_SPL_WDT is not set
-- 
2.25.1



More information about the U-Boot mailing list