[U-Boot-Users] PATCH : Allow dhcp to get IP address from and keep other env data .

Wolfgang Denk wd at denx.de
Wed Jul 30 16:20:44 CEST 2003


Dear Richard,

in message <FD2AC9A020DDD51194710008C7089B200BEE2231 at dlee17.itg.ti.com> you wrote:
> 
> So, the patch I applied allows me to use the global dhcp server which I can
> ONLY ask address of, to give a valid address, and my environment variables
> allow resolution of my tftpserver and bootfile name.  and all in one
> command.

OK, but this does not answer my question:

> If I understand you correctly, you want to use DHCP to configure  the
> network  interface, yet download by TFTP from a different server. Did
> you thy something like this:
> 
> 	=> setenv my_bootfile "/tftpboot/foo"
> 	=> setenv my_tftpserver XXX.XXX.XXX.XXX
> 	=> saveenv
> 
> 	=> setenv autoload no
> 	=> dhcp
> 	=> setenv serverip $(my_tftpserver)
> 	=> tftp 200000 $(my_bootfile)

Doesn't this work for you?


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Unsichtbar macht sich die Dummheit, indem sie immer  größere  Ausmaße
annimmt.                             -- Bertold Brecht: Der Tui-Roman




More information about the U-Boot mailing list