[PATCH] imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR

Fabio Estevam festevam at gmail.com
Thu Jan 9 15:07:23 CET 2020


Some i.MX8QXP MEK boards do not have MAC address stored
and hang during eth driver probe:

Error: ethernet at 5b040000 address not set.

(Board hangs)

To fix this problem select CONFIG_NET_RANDOM_ETHADDR so that
a valid MAC address can be used in such case.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 configs/imx8qxp_mek_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig
index 35699316de..e1d87d6ce2 100644
--- a/configs/imx8qxp_mek_defconfig
+++ b/configs/imx8qxp_mek_defconfig
@@ -47,6 +47,7 @@ CONFIG_SPL_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qxp-mek"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_IMX8=y
-- 
2.17.1



More information about the U-Boot mailing list