Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-23 Thread dh
On Mon, 19 Mar 2018 21:24:50 + (UTC) Duncan Hare wrote: Joe My approach with the bootp options was a submenu in the net/Kconfig file. coupled with imply directives as suggested in defaults_distro_config. However: The "if NET" directive in net/kconfig precludes

Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-19 Thread Joe Hershberger
Hi Duncan, On Sun, Mar 18, 2018 at 3:01 PM, Duncan Hare wrote: > Cause: u-boot/Kconfig DISTRO_DEFAULTS missing variables in Kconfig files > > u-boot/ config DISTRO_DEFAULTS contains these directives: > > select HUSH_PARSER > select BOOTP_BOOTPATH if NET &&

[U-Boot] dhcp command not populating dnsip environment variable

2018-03-18 Thread Duncan Hare
Cause: u-boot/Kconfig DISTRO_DEFAULTS missing variables in Kconfig files u-boot/ config DISTRO_DEFAULTS contains these directives: select HUSH_PARSER select BOOTP_BOOTPATH if NET && CMD_NET select BOOTP_DNS if NET && CMD_NET select BOOTP_GATEWAY if NET && CMD_NET

Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-16 Thread Joe Hershberger
Hi Duncan, On Fri, Mar 16, 2018 at 12:18 PM, Duncan Hare wrote: > > > On Thu, Mar 15, 2018 at 3:25 PM, Duncan Hare wrote: >> In the latest version of u-boot, the dhcp command appears not to >> populate the environment variable dnsip. This used to be the

Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-16 Thread Duncan Hare
  On Thu, Mar 15, 2018 at 3:25 PM, Duncan Hare wrote: > In the latest version of u-boot, the dhcp command appears not to > populate the environment variable dnsip. This used to be the behaviour.  ___ The bootp.c code was changed with

Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-15 Thread Duncan Hare
From: Joe Hershberger <joe.hershber...@ni.com> To: Duncan Hare <d...@synoia.com> Cc: u-boot <u-boot@lists.denx.de>; Joe Hershberger <joe.hershber...@ni.com> Sent: Thursday, March 15, 2018 1:29 PM Subject: Re: [U-Boot] dhcp command not populating dnsip environment

Re: [U-Boot] dhcp command not populating dnsip environment variable

2018-03-15 Thread Joe Hershberger
On Thu, Mar 15, 2018 at 3:25 PM, Duncan Hare wrote: > In the latest version of u-boot, the dhcp command appears not to > populate the environment variable dnsip. This used to be the behaviour. Is it possible that your DHCP server isn't sending it? It seems like the code isn't

[U-Boot] dhcp command not populating dnsip environment variable

2018-03-15 Thread Duncan Hare
In the latest version of u-boot, the dhcp command appears not to populate the environment variable dnsip. This used to be the behaviour. The dns command works, if dnsip is populated manually. Is the a Kconfig variable controlling this? Or is there a new environment variable? Thanks Duncan Hare