bootp
A bit more info --
it looks like the correct file name is sent in the dhcp request, but then u-boot switches to tftp mode with the incorrect file name in the request.
I have placed the capture file here:
http://www.lambdaaccess.com/u-boot.libpcap
thanks again for your help.
Quoted 7 lines
I captured some packets using ethereal and I see the request to the bootp server contains the wrong file name. The reply from the server matches the request.
Here is the output from U-boot in the 3 cases I described:
(1) Environment variable bootfile = zImage, try to load some other
file:
Quoted 44 lines
u-boot> bootp 100000 10got.img
BOOTP broadcast 1
DHCP client bound to address 192.168.0.43 TftpStart(zImage:192.168.0.1)
TFTP from server 192.168.0.1; our IP address is 192.168.0.43 Filename 'zImage'.
Load address:0x100000
Loading:
###################################################################################################################done
Bytes transferred = 585718 (8eff6 hex)
u-boot>(2) no bootfile env variable
u-boot> bootp 100000 10got.img
BOOTP broadcast 1
DHCP client bound to address 192.168.0.43 TftpStart(no bootfile:192.168.0.1)
*** Warning: no boot file name; using '2B00A8C0.img' TFTP from server 192.168.0.1; our IP address is 192.168.0.43 Filename '2B00A8C0.img'.
Load address:0x100000
Loading: *
TFTP error: 'File not found' (1)
Starting again(3) tftpboot command
u-boot> tftpboot 100000 10got.img TftpStart(zImage:192.168.0.1)
TFTP from server 192.168.0.1; our IP address is 192.168.0.44 Filename '10got.img'.
Load address:0x100000
Loading: #
done
Bytes transferred = 921 (399 hex)
u-boot>
Quoted 6 lines
Quoted 1 line
In message <[email protected]> you
Quoted 4 lines · wrote:
Quoted 4 lines
I'm using u-boot 1.0.0 on a xilinx embedded ppc 405 and I see the follow unexplained behavior:
if I do a bootp <address> <filename> it always bootp's the
filename
Quoted 1 line
Quoted 1 line
Quoted 1 line
stored in environment variable bootfile rather than the filename
I
Quoted 1 line
Quoted 1 line
Quoted 1 line
specify in the command line. If I have no bootfile env variable
it
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
tries to bootp a garbage file name.
What does the reply packet sent by your BOOTP server contain
exactly?
Quoted 7 lines
Quoted 7 lines
Best regards,
Wolfgang Denk
Signature · 1 line
Software Engineering: Embedded and Realtime Systems, Embedded
Linux
Quoted 1 line
Quoted 1 line
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email:
wd at denx.de
Quoted 29 lines
Quoted 14 lines
If God had a beard, he'd be a UNIX programmer.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users