LS1043a RDB TFTP not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043a RDB TFTP not working

1,058 Views
manjunathmandya
Contributor I

Hi,

Iam having LS1043a RDB, i have a file to transfer from desktop to LS1043a board via TFTP. I have set TFTP server in my desktop and i have given following command

tftp -gr <server ip address> filename

It responds as below

tftp [OPTIONS] host[port]

when i try to give as below

tftp -gr <filename> <tftp server ip address>

it waits for a while and displays timeout.

How to get my file into LS1043a RDB board?

Thanks,

Manjunath

0 Kudos
3 Replies

684 Views
Pavel
NXP Employee
NXP Employee

Set the board's network configuration using values appropriate for your installation and then save the configuration.

For example, host IP of my PC is 192.168.2.109 and IP of our gateway is 192.168.2.64. We use the following command sequence for u-bbot setting:

=> setenv ethaddr 00:1e:59:2f:03:35

=> setenv serverip 192.168.2.109

=> setenv ipaddr 192.168.2.104

=> setenv netmask 255.255.255.0

=> setenv gatewayip 192.168.2.64

=> saveenv

=> reset

Test your connection after reset using similar command:

=> ping 192.168.2.64

=> ping 192.168.2.109

Test TFTP server on your PC using different PC. Often incorrect TFTP server setting produces similar behavior.

Usually the following command are use for kernel rootfs and dtb file loading in u-boot:

tftp 1000000 uImage // kernel image file loading

tftp 2000000 rootfs.ext2.gs.uboot   // rootfs file loading

tftp c00000 your.dtb // your dtb file loading


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

684 Views
manjunathmandya
Contributor I

Hi Pavel,

    Thanks for response. Iam not asking TFTP in uboot, my board has booted, I wanted to do  TFTP an application file into LS1043 RDB board.

  I found there is difference in implementation of TFTP app in LS1043 RDB

Previously command was : tftp -gr <server ip address > < file name >

in LS1043 RDB it is            : tftp -gr < filename > < server ip address : Port number >

Thanks,

Manjunath

0 Kudos

684 Views
Pavel
NXP Employee
NXP Employee

You are right. Usually port number is not needed for TFTP client.

Have a great day,

Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos