This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tftp fails while dhcp is ok



Hi I am using Appro DM8127+9j003 HW。

I want to flash the kernel image and UBIFS to the NAND , but found something interesting.

with the dhcp command, it is ok to download uImage from tftp server, but with the exact same network parameters, it didn;t work.

Below is the log:

TI8148_IPNC#pr

bootdelay=2

baudrate=115200

autoload=yes

verify=yes

ramdisk_file=ramdisk.gz

loadaddr=0x81000000

script_addr=0x80900000

loadbootscript=fatload mmc 0 ${script_addr} boot.scr

bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}

ethaddr=84:7e:40:6e:e4:e8

ethact=cpsw

filesize=2680000

serverip=10.87.4.78

bootargs=console=ttyO0,115200n8 root=/dev/nfs rw mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 nfsroot=10.87.4.78:/home/easonwang/IPNCRDK350/Source/ipnc_rdk/target/filesys,nolock eth=04:58:6F:FF:01:04 ip=dhcp cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 earlyprintk

bootcmd=ipnc_ff_init 1;dhcp;bootm

stdin=serial

stdout=serial

stderr=serial

ver=U-Boot 2010.06-00023-g6d4b40c (Dec 21 2012 - 20:03:36) DM8127_IPNC_3.50.00

ipaddr=10.87.4.54

gatewayip=10.87.4.1

bootfile=uImage

 

Environment size: 840/8188 bytes

TI8148_IPNC#tftp 0x81000000 uImage

link up on port 0, speed 100, full duplex

Using cpsw device

TFTP from server 10.87.4.78; our IP address is 10.87.4.54

Filename 'uImage'.

Load address: 0x81000000

Loading: *

Abort

TI8148_IPNC#boot

link up on port 0, speed 100, full duplex

BOOTP broadcast 1

*** Unhandled DHCP Option in OFFER/ACK: 44

*** Unhandled DHCP Option in OFFER/ACK: 46

*** Unhandled DHCP Option in OFFER/ACK: 150

*** Unhandled DHCP Option in OFFER/ACK: 44

*** Unhandled DHCP Option in OFFER/ACK: 46

*** Unhandled DHCP Option in OFFER/ACK: 150

DHCP client bound to address 10.87.4.54

Using cpsw device

TFTP from server 10.87.4.78; our IP address is 10.87.4.54; sending through gateway 10.87.4.1

Filename 'uImage'.

Load address: 0x81000000

Loading: ###

it shows the situation when using dhcp and tftp.

Thanks and BR,

Eason