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.

Problem with tftpboot



Hello, Dear experts!

I am trying to load uImage from tftp server on my board, but I get following errors:

TI8148_EVM#ping 192.168.1.4
link up on port 0, speed 1000, full duplex
Using cpsw device
host 192.168.1.4 is alive
TI8148_EVM#set serverip 192.168.1.4
TI8148_EVM#printenv
bootcmd=if mmc rescan 0; then if run loadbootscript; then run bootscript; else echoi
bootdelay=3
baudrate=115200
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_}
ethaddr=00:18:32:61:f2:80
ethact=cpsw
autoload=no
bootfile=uImage
gatewayip=192.168.1.1
netmask=255.255.255.0
ipaddr=192.168.1.7
dnsip=192.168.1.1
serverip=192.168.1.4

Environment size: 792/8188 bytes
TI8148_EVM#tftpboot
link up on port 0, speed 1000, full duplex
Using cpsw device
TFTP from server 192.168.1.4; our IP address is 192.168.1.7
Filename 'uImage'.
Load address: 0x81000000
Loading: ##########T #########T ###T ###########################################
         ##T #######T #####T ####T ##############################T ####T ###########
         ##################T #####T ######T ###T ####T #T #####T ####T ########T T #
Retry count exceeded; starting again
link up on port 0, speed 1000, full duplex
Using cpsw device
TFTP from server 192.168.1.4; our IP address is 192.168.1.7
Filename 'uImage'.
Load address: 0x81000000
Loading: #####T ################T ####T #####T #T #########################T T #####
         #######T #######T ################T ##############T #################T T ##
         #########################################T ##T ##############T #T #######
         #####T ####T ##################T ######################
Retry count exceeded; starting again
link up on port 0, speed 1000, full duplex
Using cpsw device


What's wrong!?

Thanks!

  • Hi,

    Connect ethernet cable between ( pt to pt ) your target board and target host machine. (without LAN connections)

    Assign IP address for host machine (mention 'connect manually' in n/w settings in ubuntu) ) say 10.100.1.1 and assign the different IP address for target board say 10.100.1.2

    u-boot# setenv ipaddr 10.100.1.2

    u-boot# setenv serverip 10.100.1.1

    u-boot# setenv ethaddr 00:01:02:03:04:05

    u-boot# tftpboot 0xC0700000 uImage

    or

    u-boot# tftp 0xC0700000 uImage

    1) Try 0xC0700000 RAM addr

    2) Point to Point mode as said above

    3) Try to load less size file ( <1MB )

    Is this your EVM board or custom ?

    All the above possibilities were worked for me.