All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] CONFIG_SERVERIP
@ 2009-03-25 15:20 E Robertson
  2009-03-25 16:23 ` Jerry Van Baren
  2009-03-25 19:11 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: E Robertson @ 2009-03-25 15:20 UTC (permalink / raw)
  To: u-boot

Hi all,
In the current git source, I have the serverip config set but tftp
complains about serverip not being set.
I didn't see any changes to the source here. Am I missing something?

>printenv
baudrate=115200
ipaddr=192.168.0.200
serverip=192.168.0.100
gatewayip=192.168.0.1
netmask=255.255.255.0
hostname="Vincy"
ethaddr=00:07:A6:00:6A:E6
bootdelay=5
bootargs=
bootcmd=
ethact=macb0

Environment size: 247/16380 bytes
OmniTouch> tftp
link up, 100Mbps full-duplex (lpa: 0x41e1)
*** ERROR: `serverip' not set

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

* [U-Boot] CONFIG_SERVERIP
  2009-03-25 15:20 [U-Boot] CONFIG_SERVERIP E Robertson
@ 2009-03-25 16:23 ` Jerry Van Baren
  2009-03-25 19:11 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Jerry Van Baren @ 2009-03-25 16:23 UTC (permalink / raw)
  To: u-boot

E Robertson wrote:
> Hi all,
> In the current git source, I have the serverip config set but tftp
> complains about serverip not being set.
> I didn't see any changes to the source here. Am I missing something?
> 
>> printenv
> baudrate=115200
> ipaddr=192.168.0.200
> serverip=192.168.0.100
> gatewayip=192.168.0.1
> netmask=255.255.255.0
> hostname="Vincy"
> ethaddr=00:07:A6:00:6A:E6
> bootdelay=5
> bootargs=
> bootcmd=
> ethact=macb0
> 
> Environment size: 247/16380 bytes
> OmniTouch> tftp
> link up, 100Mbps full-duplex (lpa: 0x41e1)
> *** ERROR: `serverip' not set

What is "serverip" set *after* running "tftp"?  Is the "tftp" command 
trashing serverip?  Is "tftp" doing a DHCP/BOOTP operation to your DHCP 
server and getting an invalid server IP?

Disclaimer: I don't know off-hand if tftpboot does a DHCP operation.  I 
get confused by the bootp, dhcp, and tftpboot commands - they are all 
the same but different.

Best regards,
gvb

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

* [U-Boot] CONFIG_SERVERIP
  2009-03-25 15:20 [U-Boot] CONFIG_SERVERIP E Robertson
  2009-03-25 16:23 ` Jerry Van Baren
@ 2009-03-25 19:11 ` Wolfgang Denk
  2009-03-25 20:33   ` E Robertson
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-03-25 19:11 UTC (permalink / raw)
  To: u-boot

Dear E Robertson,

In message <3972542e0903250820w31586c26ke97d793083c5e8a2@mail.gmail.com> you wrote:
>
> In the current git source, I have the serverip config set but tftp
> complains about serverip not being set.
> I didn't see any changes to the source here. Am I missing something?

You have some serious misconfigurations in your default environment. I
recommend only to add things there when you really know what you are
doing.

> >printenv
> baudrate=115200
> ipaddr=192.168.0.200
> serverip=192.168.0.100
> gatewayip=192.168.0.1
> netmask=255.255.255.0
> hostname="Vincy"

There should not be any apostrophes in the value.

> ethaddr=00:07:A6:00:6A:E6
> bootdelay=5
> bootargs=
> bootcmd=

Here you have created a strange problem which most probably confuses
U-Boot. Make sure to fix these "empty" values.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The only perfect science is hind-sight.

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

* [U-Boot] CONFIG_SERVERIP
  2009-03-25 19:11 ` Wolfgang Denk
@ 2009-03-25 20:33   ` E Robertson
  0 siblings, 0 replies; 4+ messages in thread
From: E Robertson @ 2009-03-25 20:33 UTC (permalink / raw)
  To: u-boot

On Wed, Mar 25, 2009 at 2:11 PM, Wolfgang Denk <wd@denx.de> wrote:
> Dear E Robertson,
>
> In message <3972542e0903250820w31586c26ke97d793083c5e8a2@mail.gmail.com> you wrote:
>>
>> In the current git source, I have the serverip config set but tftp
>> complains about serverip not being set.
>> I didn't see any changes to the source here. Am I missing something?
>
> You have some serious misconfigurations in your default environment. I
> recommend only to add things there when you really know what you are
> doing.
>
>> >printenv
>> baudrate=115200
>> ipaddr=192.168.0.200
>> serverip=192.168.0.100
>> gatewayip=192.168.0.1
>> netmask=255.255.255.0
>> hostname="Vincy"
>
> There should not be any apostrophes in the value.

That seemed to be the problem. Don't know where that came from.

Thanks.

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

end of thread, other threads:[~2009-03-25 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 15:20 [U-Boot] CONFIG_SERVERIP E Robertson
2009-03-25 16:23 ` Jerry Van Baren
2009-03-25 19:11 ` Wolfgang Denk
2009-03-25 20:33   ` E Robertson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.