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

Hi Wolfgang,
Yes, this does work. I hadn't considered this sequence. In some sense it's as much a workaround as a valid solution. The flexibility of having a shell like interpreter goes a long way. I will likely stick with my code to keeps the steps down.
Best Regards,
Richard W.
-----Original Message----- From: Wolfgang Denk [mailto:wd@denx.de]
=> 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?

In message FD2AC9A020DDD51194710008C7089B200BEE2232@dlee17.itg.ti.com you wrote:
Yes, this does work. I hadn't considered this sequence. In some sense it's as much a workaround as a valid solution. The flexibility of having a shell like interpreter goes a long way. I will likely stick with my code to keeps the steps down.
I'm not sure what standard behaviour for DHCP requires - for now, I think I will not change the code. Is this OK with you?
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
Woodruff, Richard