[U-Boot] [PATCH] imx: missing CONFIG_NET after consolidation patches
Heiko Schocher
hs at denx.de
Thu May 28 07:28:40 CEST 2015
Hello Stefano,
Am 27.05.2015 11:29, schrieb Stefano Babic:
> 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 at denx.de>
s/ok/och ;-)
> Signed-off-by: Stefano Babic <sbabic at denx.de>
> ---
> include/configs/mx6_common.h | 3 +++
> 1 file changed, 3 insertions(+)
Thanks!
bye,
Heiko
>
> 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
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list