From patchwork Fri Feb 21 01:26:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tan, Ley Foon" X-Patchwork-Id: 236663 List-Id: U-Boot discussion From: ley.foon.tan at intel.com (Ley Foon Tan) Date: Fri, 21 Feb 2020 09:26:09 +0800 Subject: [PATCH] configs: socfpga: cyclone5: Enable CONFIG_NET_RANDOM_ETHADDR Message-ID: <20200221012609.5189-1-ley.foon.tan@intel.com> Enable random ethaddr CONFIG_NET_RANDOM_ETHADDR for Cyclone 5. 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. Fix issue below: => setenv ethaddr 00:07:ed:00:64:04 => setenv ethaddr1 00:07:ed:00:78:04 => setenv ethaddr2 00:07:ed:00:8c:04 => dhcp mdio_register: non unique device name 'ethernet at ff702000' mdio_register: non unique device name 'ethernet at ff702000' mdio_register: non unique device name 'ethernet at ff702000' mdio_register: non unique device name 'ethernet at ff702000' No ethernet found. Signed-off-by: Ley Foon Tan --- configs/socfpga_cyclone5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig index b6220e4ae8..9021703e38 100644 --- a/configs/socfpga_cyclone5_defconfig +++ b/configs/socfpga_cyclone5_defconfig @@ -37,6 +37,7 @@ CONFIG_CMD_UBI=y CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socdk" CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_DFU_MMC=y CONFIG_DWAPB_GPIO=y