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.

Linux/AM1705: When we try to download ramdisk image (ram_1) into ARM based processor using TFTP server, downloading is not successful which results in retries. After exceeding the retry count it starts again.

Part Number: AM1705

Tool/software: Linux

Hi ,
We are using AM1705 with SPI flash as SPI boot and XDS100V2 for programming.
We are not able to proceed further due to following issues:-
  1. When we try to download ramdisk image (ram_1) into ARM based processor using TFTP server, downloading is not successful which results in retries. After exceeding the retry count it starts again.
  2. Following is the Console output for your reference:
Output console
Start of ARM UBL  
U-Boot 2009.11 (Dec 15 2011 - 11:03:57)
 
U-Boot code: C1080000 -> C10A85F0  BSS: -> C10F0418
I2C:   ready
RAM Configuration:
Bank #0: c0000000 64 MB
SF: Got idcode c2 20 19 c2 20
SF: Detected MX25L25635E with page size 256, total 33554432 bytes
RF: cmd = { 0x0b 0x040000 } 
 env_ptr->crc = -1091273969 , crc32(0, env_ptr->data, ENV_SIZE) = -1091273969In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
 aa 2 91 9 10 20 Ethernet address 
 
Net:   More than one PHY detected.
 
### main_loop entered: bootdelay=3
 
### main_loop: bootcmd="tftp 0xc0700000 uImage; tftp 0xc1180000 ram_1; bootm 0xc0700000"
Hit any key to stop autoboot:  3 \0x08\0x08\0x08 2 \0x08\0x08\0x08 1 \0x08\0x08\0x08 0 
Trying 
tftp block size is 1468
Using  device
TFTP from server 192.168.1.51; our IP address is 192.168.1.53
Filename 'uImage'.
Load address: 0xc0700000
sending ARP for 3301a8c0
ARP broadcast 1
Got ARP REPLY, set server/gtwy eth addr (50:e5:49:18:90:4c)
Got it
#Server did not acknowledge timeout option!
################################################################
\0x09 #################################################################
\0x09 #################################################################
done
Bytes transferred = 2565920 (272720 hex)
Trying 
tftp block size is 1468
Using  device
TFTP from server 192.168.1.51; our IP address is 192.168.1.53
Filename 'ram_1'.
Load address: 0xc1180000

sending ARP for 3301a8c0
ARP broadcast 1
Got ARP REPLY, set server/gtwy eth addr (50:e5:49:18:90:4c)
Got it
#Server did not acknowledge timeout option!
################################################################
\0x09 #################################################################
\0x09 ###################################################T ##############
Retry count exceeded; starting again
Trying 
Request you to please help us to resolve this issue and to proceed further.


Best Regards,
Dhanraj
  • Hi, Riki,

    AM1705 is not a supported device, but from the logs, you may want to check your tftp server set up is correct.

    Rex
  • Hi Rex,

    Thank you for your reply, As per your suggestion I have check my TFTP server settings, below is my TFTP server setting file.

    1) My TFTP service file is :
    service tftp
    {
    protocol = udp
    port = 69
    socket_type = dgram
    wait = yes
    user = nobody
    server = /usr/sbin/in.tftpd
    server_args = /tftpboot
    disable = no
    }

    2) When I tried to verify TFTP is running, I tried as shown below. It seems TFTP server is working.
    I placed a small "test.txt" file with some content in /tftpboot path of the TFTP server obtain the IP adderss of the TFTP server using ifconfig command.

    Then some other system I fallow the following steps.

    tftp 192.168.1.51
    tftp > get test.txt
    sent 24 bytes in 0.0 seconds.
    tftp > quit
    cat test.txt (Here I get same data whatever I have put "text.txt" in /tftpboot directory on TFTP server system )

    Can you please check my TFTP services, if any modification required in that file please tell me.

    Best Regards,
    Riki
  • Riki,

    For generic Linux questions, please check with Linux open forum. For tftp server setup, please see askubuntu.com/.../how-do-i-install-and-run-a-tftp-server.

    Rex