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

Woodruff, Richard r-woodruff2 at ti.com
Wed Jul 30 01:40:22 CEST 2003


Hello,

This small patch adds the conditional DHCP_IP_ADDR_ONLY .  This allows
someone to use the dhcp command to load a file on a network where you DON'T
have access to the dhcp server, but would like to use it to have fast
downloads of development kernels or other files.

Prior to this patch the the reply packet would trash your environment
settings for bootfile and serverip will not be used when issuing the dhcp
command.  By adding the CFG_DHCP_CMD, along with DHCP_IP_ADDR_ONLY in your
board config file you can use your company network server to get your file.
The ip,gateway,netmask still are gotten from the dhcp reply.

Regards,

Richard W.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp.diff
Type: application/octet-stream
Size: 1184 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030729/3472fd08/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp.changelog
Type: application/octet-stream
Size: 98 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030729/3472fd08/attachment-0001.obj 


More information about the U-Boot mailing list