public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR
@ 2020-01-09 14:07 Fabio Estevam
  2020-01-15 12:46 ` sbabic at denx.de
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2020-01-09 14:07 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR
  2020-01-09 14:07 [PATCH] imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR Fabio Estevam
@ 2020-01-15 12:46 ` sbabic at denx.de
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic at denx.de @ 2020-01-15 12:46 UTC (permalink / raw)
  To: u-boot

> 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@gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-15 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-09 14:07 [PATCH] imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR Fabio Estevam
2020-01-15 12:46 ` sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox