[U-Boot-Users] Bootp/Arp process

We customized the uboot for our board (8260 based) and need some help here. The following is the output from the minicom: ====================================== U-Boot 0.3.0 (Jun 1 2003 - 19:49:05)
MPC8260 Reset Status: External Soft, External Hard
MPC8260 Clock Configuration - Bus-to-Core Mult 2.5x, VCO Div 2, 60x Bus Freq 40-120, Core Freq 100-240 - dfbrg 1, corecnf 0x06, busdf 3, cpmdf 1, plldf 0, pllmf 1 - vco_out 264000000, scc_clk 66000000, brg_clk 16500000 - cpu_clk 165000000, cpm_clk 132000000, bus_clk 66000000
CPU: MPC8260 (Rev 01, Mask A.1 1K22A-XC) at 165 MHz Board: HDR Modem Card I2C: ready DRAM: 64 MB Top of RAM usable for U-Boot at: 04000000 Reserving 256k for U-Boot at: 03fc0000 Reserving 128k for malloc() at: 03fa0000 Reserving 76 Bytes for Board Info at: 03f9ffb4 Reserving 68 Bytes for Global Data at: 03f9ff70 Stack Pointer at: 03f9ff58 New Stack Pointer is: 03f9ff58 Now running in RAM - U-Boot at: 03fc0000 FLASH: 1 MB In: serial Out: serial Err: serial U-Boot relocated to 03fc0000 Net: FCC3 ETHERNET ### main_loop entered: bootdelay=10
### main_loop: bootcmd="version;echo;bootp;setenv bootargs root=/dev/nfs rw nfs" Autobooting in 10 seconds, press " x" to stop
U-Boot 0.3.0 (Jun 1 2003 - 19:49:05)
Trying FCC3 ETHERNET BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5
Retry count exceeded; starting again Trying FCC3 ETHERNET BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5
Retry count exceeded; starting again Trying FCC3 ETHERNET BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 [continue ........]
We use tcpdump to trace the packets as following: Is Uboot trying to do ftp now? We do have the tftp deamon running. Starngely, after these packets, tcpdump does not receive anything anymore?? ====================== [root@ohm2-cx etc]# tcpdump -i eth1 -s 200 -n -x tcpdump: listening on eth1 10:17:05.789993 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x721dffff [|bootp] (DF) 4500 0240 8de3 4000 2011 caca 0000 0000 ffff ffff 0044 0043 022c 8397 0101 0600 721d ffff 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00a0 c600 c741 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 10:17:05.790656 10.1.0.2.bootps > 255.255.255.255.bootpc: xid:0x721dffff Y:10.1.0.3 S:10.1.0.2 ether 0:a0:c6:0:c7:41 file "/tftpboot/zImage.embedded" [|bootp] (DF) 4500 0148 0000 4000 4011 2fa3 0a01 0002 ffff ffff 0043 0044 0134 4cc7 0201 0600 721d ffff 0000 0000 0000 0000 0a01 0003 0a01 0002 0000 0000 00a0 c600 c741 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 2f74 6674 7062 6f6f 742f 7a49 6d61 6765 2e65 6d62 6564 6465 6400 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 10:17:05.792275 arp who-has 10.1.0.3 tell 0.0.0.0 0001 0800 0604 0001 00a0 c600 c741 0000 0000 0000 0000 0000 0a01 0003 0201 0600 721d ffff 0000 0000 0000 0000 0a01 0003 0a01 10:17:07.290440 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x721dffff [|bootp] (DF) 4500 0240 8de3 4000 2011 caca 0000 0000 ffff ffff 0044 0043 022c 0588 0101 0600 721d ffff 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00a0 c600 c741 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 10:17:07.290998 10.1.0.2.bootps > 255.255.255.255.bootpc: xid:0x721dffff Y:10.1.0.3 S:10.1.0.2 ether 0:a0:c6:0:c7:41 file "/tftpboot/zImage.embedded" [|bootp] (DF) 4500 0148 0000 4000 4011 2fa3 0a01 0002 ffff ffff 0043 0044 0134 49c7 0201 0600 721d ffff 0000 0000 0000 0000 0a01 0003 0a01 0002 0000 0000 00a0 c600 c741 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 2f74 6674 7062 6f6f 742f 7a49 6d61 6765 2e65 6d62 6564 6465 6400 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 10:17:07.292619 arp who-has 10.1.0.3 tell 0.0.0.0 0001 0800 0604 0001 00a0 c600 c741 0000 0000 0000 0000 0000 0a01 0003 0201 0600 721d ffff 0000 0000 0000 0000 0a01 0003 0a01 10:17:07.915830 arp who-has 10.1.0.2 tell 10.1.0.3 0001 0800 0604 0001 00a0 c600 c741 0a01 0003 0000 0000 0000 0a01 0002 0201 0600 721d ffff 0000 0000 0000 0000 0a01 0003 0a01 10:17:07.915869 arp reply 10.1.0.2 is-at 0:2:b3:bb:4c:d7 0001 0800 0604 0002 0002 b3bb 4cd7 0a01 0002 00a0 c600 c741 0a01 0003 10:17:08.106405 10.1.0.3.1024 > 10.1.0.2.ftp: . win 512 4500 0028 0000 0000 4006 66ca 0a01 0003 0a01 0002 0400 0015 0000 0000 0000 0000 5000 0200 95c9 0000 0000 0000 0000 cf79 e599 10:17:08.122890 10.1.0.3.1025 > 10.1.0.2.ftp-data: . win 512 4500 0028 0000 0000 4006 66ca 0a01 0003 0a01 0002 0401 0014 0000 0000 0000 0000 5000 0200 95c9 0000 0000 0000 0000 cf79 e599 10:17:08.122928 10.1.0.2.ftp-data > 10.1.0.3.1025: R 0:0(0) ack 0 win 0 (DF) 4500 0028 0000 4000 ff06 67c9 0a01 0002 0a01 0003 0014 0401 0000 0000 0000 0000 5014 0000 97b5 0000 10:17:08.139583 10.1.0.3.1026 > 10.1.0.2.ftp-data: . win 512 4500 0028 0000 0000 4006 66ca 0a01 0003 0a01 0002 0402 0014 0000 0000 0000 0000 5000 0200 95c8 0000 0000 0000 0000 b8ba 6ad8 10:17:08.139609 10.1.0.2.ftp-data > 10.1.0.3.1026: R 0:0(0) ack 0 win 0 (DF) 4500 0028 0000 4000 ff06 67c9 0a01 0002 0a01 0003 0014 0402 0000 0000 0000 0000 5014 0000 97b4 0000 10:17:08.156276 10.1.0.3.1027 > 10.1.0.2.ftp-data: . win 512 4500 0028 0000 0000 4006 66ca 0a01 0003 0a01 0002 0403 0014 0000 0000 0000 0000 5000 0200 95c7 0000 0000 0000 0000 c697 f4b9 10:17:08.156299 10.1.0.2.ftp-data > 10.1.0.3.1027: R 0:0(0) ack 0 win 0 (DF) 4500 0028 0000 4000 ff06 67c9 0a01 0002 0a01 0003 0014 0403 0000 0000 0000 0000 5014 0000 97b3 0000 10:17:08.173599 10.1.0.3.1024 > 10.1.0.2.ftp: S 2078917053:2078917053(0) win 8192 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0> 4500 003c 13ba 0000 4006 52fc 0a01 0003 0a01 0002 0400 0015 7be9 c1bd 0000 0000 a002 2000 d545 0000 0204 05b4 0103 0300 0101 080a 0000 0000 0000 0000 10:17:08.173649 10.1.0.2.ftp > 10.1.0.3.1024: S 1507993268:1507993268(0) ack 2078917054 win 5840 <mss 1460,nop,wscale 0> (DF) 4500 0030 0000 4000 4006 26c2 0a01 0002 0a01 0003 0015 0400 59e2 26b4 7be9 c1be 7012 16d0 96e5 0000 0204 05b4 0103 0300 10:17:08.174715 10.1.0.3.1024 > 10.1.0.2.ftp: . ack 1 win 8192 4500 0028 13bb 0000 4006 530f 0a01 0003 0a01 0002 0400 0015 7be9 c1be 59e2 26b5 5010 2000 b979 0000 0204 05b4 0103 0300 5c37 10:17:08.240258 10.1.0.2.ftp > 10.1.0.3.1024: P 1:53(52) ack 1 win 5840 (DF) 4500 005c 09c5 4000 4006 1cd1 0a01 0002 0a01 0003 0015 0400 59e2 26b5 7be9 c1be 5018 16d0 8a41 0000 3232 3020 6f68 6d32 2d63 7820 4654 5020 7365 7276 6572 2028 5665 7273 696f 6e20 7775 2d32 2e36 2e32 2d35 2920 7265 6164 792e 0d0a 10:17:08.241383 10.1.0.3.1024 > 10.1.0.2.ftp: . ack 53 win 8141 4500 0028 13bc 0000 4006 530e 0a01 0003 0a01 0002 0400 0015 7be9 c1be 59e2 26e9 5010 1fcd b978 0000 0000 0000 0000 0000 0000 10:17:08.245075 10.1.0.3.1024 > 10.1.0.2.ftp: P 1:15(14) ack 53 win 8192 4500 0036 13bd 0000 4006 52ff 0a01 0003 0a01 0002 0400 0015 7be9 c1be 59e2 26e9 5018 2000 aec8 0000 5553 4552 2074 6f72 6e61 646f 0d0a 10:17:08.246115 10.1.0.2.ftp > 10.1.0.3.1024: . ack 15 win 5840 (DF) 4500 0028 09c6 4000 4006 1d04 0a01 0002 0a01 0003 0015 0400 59e2 26e9 7be9 c1cc 5010 16d0 c267 0000 10:17:08.247743 10.1.0.2.ftp > 10.1.0.3.1024: P 53:89(36) ack 15 win 5840 (DF) 4500 004c 09c7 4000 4006 1cdf 0a01 0002 0a01 0003 0015 0400 59e2 26e9 7be9 c1cc 5018 16d0 4162 0000 3333 3120 5061 7373 776f 7264 2072 6571 7569 7265 6420 666f 7220 746f 726e 6164 6f2e 0d0a 10:17:08.248862 10.1.0.3.1024 > 10.1.0.2.ftp: . ack 89 win 8157 4500 0028 13be 0000 4006 530c 0a01 0003 0a01 0002 0400 0015 7be9 c1cc 59e2 270d 5010 1fdd b936 0000 0000 0000 0000 0000 0000 10:17:08.251529 10.1.0.3.1024 > 10.1.0.2.ftp: P 15:29(14) ack 89 win 8192 4500 0036 13bf 0000 4006 52fd 0a01 0003 0a01 0002 0400 0015 7be9 c1cc 59e2 270d 5018 2000 a5a7 0000 5041 5353 2074 6f72 6e61 646f 0d0a 10:17:08.290041 10.1.0.2.ftp > 10.1.0.3.1024: . ack 29 win 5840 (DF) 4500 0028 09c8 4000 4006 1d02 0a01 0002 0a01 0003 0015 0400 59e2 270d 7be9 c1da 5010 16d0 c235 0000 10:17:10.600369 10.1.0.2.ftp > 10.1.0.3.1024: P 89:111(22) ack 29 win 5840 (DF) 4500 003e 09c9 4000 4006 1ceb 0a01 0002 0a01 0003 0015 0400 59e2 270d 7be9 c1da 5018 16d0 14df 0000 3533 3020 4c6f 6769 6e20 696e 636f 7272 6563 742e 0d0a 10:17:10.601465 10.1.0.3.1024 > 10.1.0.2.ftp: . ack 111 win 8171 4500 0028 13c0 0000 4006 530a 0a01 0003 0a01 0002 0400 0015 7be9 c1da 59e2 2723 5010 1feb b904 0000 0000 0000 0000 0000 0000 10:17:10.604544 10.1.0.3.1024 > 10.1.0.2.ftp: F 29:29(0) ack 111 win 8192 4500 0028 13c1 0000 4006 5309 0a01 0003 0a01 0002 0400 0015 7be9 c1da 59e2 2723 5011 2000 b8ee 0000 3533 3020 4c6f 6769 6e20 10:17:10.605957 10.1.0.2.ftp > 10.1.0.3.1024: P 111:148(37) ack 30 win 5840 (DF) 4500 004d 09ca 4000 4006 1cdb 0a01 0002 0a01 0003 0015 0400 59e2 2723 7be9 c1db 5018 16d0 d0c4 0000 3232 3120 596f 7520 636f 756c 6420 6174 206c 6561 7374 2073 6179 2067 6f6f 6462 7965 2e0d 0a 10:17:10.606998 10.1.0.3.1024 > 10.1.0.2.ftp: R 2078917083:2078917083(0) win 0 4500 0028 13c2 0000 4006 5308 0a01 0003 0a01 0002 0400 0015 7be9 c1db 0000 0000 5004 0000 5a00 0000 0000 0000 0000 0000 0000

Dear Howard,
in message 200306051032.50928.hking@qualcomm.com you wrote:
Trying FCC3 ETHERNET BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5
Retry count exceeded; starting again Trying FCC3 ETHERNET BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5
Retry count exceeded; starting again Trying FCC3 ETHERNET BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 [continue ........]
We use tcpdump to trace the packets as following: Is Uboot trying to do ftp now? We do have the tftp deamon running. Starng ely, after these packets, tcpdump does not receive anything anymore??
Ummm... judging from the output U-Boot is sending a BOOTP broadcast. It did not receive a reply, so it is continuing to do so.
====================== [root@ohm2-cx etc]# tcpdump -i eth1 -s 200 -n -x tcpdump: listening on eth1 10:17:05.789993 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x721dffff [|bootp] (DF) 4500 0240 8de3 4000 2011 caca 0000 0000 ffff ffff 0044 0043 022c 8397 0101 0600 721d ffff 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00a0 c600 c741 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
You don't really expect that I manually decode this hexdump? Sorry, I don't have that much time.
Please attach the data in a usable format (i. e. use "-w file").
Best regards,
Wolfgang Denk

On Thu, Jun 05, 2003 at 08:49:01PM +0200, Wolfgang Denk wrote:
[root@ohm2-cx etc]# tcpdump -i eth1 -s 200 -n -x tcpdump: listening on eth1 10:17:05.789993 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x721dffff [|bootp] (DF) 4500 0240 8de3 4000 2011 caca 0000 0000 ffff ffff 0044 0043 022c 8397 0101 0600 721d ffff 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00a0 c600 c741 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
Without looking up the bootp spec (again), I'd guess that the bootp server isn't responding. I believe that if the packet were ill formed, tcpdump would show something peculiar.
participants (3)
-
hking
-
Marc Singer
-
Wolfgang Denk