[U-Boot-Users] Can DHCP be used for TFTP booting?
Wolfgang Denk
wd at denx.de
Wed Jan 16 09:33:12 CET 2008
In message <478D8A86.70509 at gmail.com> you wrote:
>
> This #define fills in the 'bootargs' environment variable if it is not
> set. Read the following file found in Linux kernel source:
> Documentation/nfsroot.txt. I think "ip=dhcp" is right, but don't quote
No, it makes no sense to use that with U-Boot. When you use the dhcp
command in U-Boot to determine the IP configuration and to download
the kernel image, then it makes litte sense to repeat the (slow) DHCP
procedure in LInux. Normally you just pass the already known
paramters to the Linux kernel, as described in the Manual, section
7.3. Boot Arguments Unleashed, see
http://www.denx.de/wiki/view/DULG/LinuxBootArgs
> Please have a look in the U-boot source file net/bootp.c. It may give
> you some insight into which environment variables are used and how.
And, of course, reading the Fine Manual will definitely answer some of
these questions.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Buy land. They've stopped making it." - Mark Twain
More information about the U-Boot
mailing list