public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] imx: missing CONFIG_NET after consolidation patches
@ 2015-05-27  9:29 Stefano Babic
  2015-05-28  5:28 ` Heiko Schocher
  2015-05-28 17:53 ` Joe Hershberger
  0 siblings, 2 replies; 14+ messages in thread
From: Stefano Babic @ 2015-05-27  9:29 UTC (permalink / raw)
  To: u-boot

commit fd3056337e6fcc140f400e11edd33f6f1cb37de1
"Use env callbacks for net variables" has a side effect
on i.MX6 boards because they do not set CONFIG_NET:
the ip address results not set, but it is stored
in the environment.

=> pri ipaddr
ipaddr=192.168.178.66
=> ping 192.168.178.1
*** ERROR: `ipaddr' not set
ping failed; host 192.168.178.1 is not alive

Setting CONFIG_NET solves this issue.

Reported-by: Heiko Schoker <hs@denx.de>
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 include/configs/mx6_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index 233c6d2..3d859cf 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -105,4 +105,7 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_FSL_USDHC
 
+/* NET */
+#define CONFIG_NET
+
 #endif
-- 
1.9.1

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

end of thread, other threads:[~2015-06-02  0:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27  9:29 [U-Boot] [PATCH] imx: missing CONFIG_NET after consolidation patches Stefano Babic
2015-05-28  5:28 ` Heiko Schocher
2015-05-28 17:53 ` Joe Hershberger
2015-05-29  2:33   ` Bin Meng
2015-05-29  5:19     ` Heiko Schocher
2015-05-29  7:16       ` Bin Meng
2015-05-29  7:43         ` Joe Hershberger
2015-06-01 17:14           ` Simon Glass
2015-06-01 17:17             ` Joe Hershberger
2015-06-02  0:41             ` Bin Meng
2015-05-29  5:28   ` Heiko Schocher
2015-05-29  6:09     ` Joe Hershberger
2015-05-29  6:15       ` Heiko Schocher
2015-05-29  7:31       ` Stefano Babic

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