Dear All,
I want to make use of the ethernet port available on the i.MX 53 QSB so i wanted to transfer sme txt file using tftp protocol
I have installed tftp server on my ubuntu PC using the below command
sudo apt-get install tftpd-hpa
then i was able to ping from the imx board using the ping 192.168.1.2 (where 192.168.1.2 was my ubuntu PC's IP address) & i was able to ping 192.168.1.3 (where 192.168.1.3 was imx board IP address)
Then when i wanted to transfer sme txt file called (for ex: tftptestfile.txt) using tftp protocol
I copied the txt file into the path in my ubuntu PC using the below command
sudo cp tftptestfile /var/lib/tftpboot
And when i wanted to transfer the tftptestfile into the imx board using the below command in android shell
tftp -r tftptestfile -g 192.168.1.2
I was getting the below error
tftp: not found
Could any body pls help me in providing with necessary steps in how to transfer the file into the android shell from my Ubuntu PC through tftp protocol using ethernet in IMx53 QSB
As am new to this platform kindly do the needful as soon as possible
Awaiting for ur replies,
Advanced Thanks,
Srinivasan S
Dear Daiane,
I started compiling busy box by downloading the source from the below link by executing the following commands
http://omapedia.org/wiki/Android_Installing_Busybox_Command_Line_Tools
pc$ git clone git://busybox.net/busybox.git pc$ cd busybox/ pc$ git checkout -b my_working_branch 1_19_3 configured the busybox using the following command make ARCH=arm CROSS_COMPILE=arm-eabi- menuconfig
In menuconfig set the following options
Busybox Settings --> Build Options --> Build Busybox as a static binary (no shared libs) - Enable this option by pressing "Y" Busybox Settings --> Build Options --> Cross compiler prefix - Set this option equal to "arm-none-linux-gnueabi-" Busybox Settings --> General Configuration --> Don't use /usr - Enable this option by pressing "Y" Linux Module Utilities --> [ ] Simplified modutils [*] insmod [*] rmmod [*] lsmod [*] Pretty output [ ] modprobe [ ] depmod Linux Module Utilities --> [ ] Support version 2.2/2.4 Linux kernels Linux Module Utilities --> [ ] Try to load module from a mmap'ed area Linux Module Utilities --> [*] Support tainted module checking with new kernels Linux Module Utilities --> () Default directory containing modules - Set this option to nothing Linux Module Utilities --> () Default name of modules.dep - Set this option to nothing And builded using the below command
ubuntu@ubuntu-laptop:~/busybox$ make ARCH=arm CROSS_COMPILE=arm-eabi-
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
applets/usage.c: In function ‘main’:
applets/usage.c:52: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
GEN include/usage_compressed.h
HOSTCC applets/applet_tables
applets/applet_tables.c: In function ‘main’:
applets/applet_tables.c:151: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
GEN include/applet_tables.h
CC applets/applets.o
In file included from include/libbb.h:13,
from include/busybox.h:8,
from applets/applets.c:9:
include/platform.h:138:20: error: limits.h: No such file or directory
include/platform.h:149:23: error: byteswap.h: No such file or directory
include/platform.h:150:21: error: endian.h: No such file or directory
include/platform.h:175:3: error: #error "Can't determine endianness"
include/platform.h:178:5: warning: "ULONG_MAX" is not defined
include/platform.h:183:5: warning: "BB_BIG_ENDIAN" is not defined
include/platform.h:206:20: error: stdint.h: No such file or directory
In file included from include/libbb.h:13,
from include/busybox.h:8,
from applets/applets.c:9:
include/platform.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb__aliased_uint16_t'
include/platform.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb__aliased_uint32_t'
include/platform.h:283:20: error: unistd.h: No such file or directory
In file included from include/busybox.h:8,
from applets/applets.c:9:
include/libbb.h:15:19: error: ctype.h: No such file or directory
include/libbb.h:16:20: error: dirent.h: No such file or directory
include/libbb.h:17:19: error: errno.h: No such file or directory
include/libbb.h:18:19: error: fcntl.h: No such file or directory
include/libbb.h:19:22: error: inttypes.h: No such file or directory
include/libbb.h:20:19: error: netdb.h: No such file or directory
include/libbb.h:21:20: error: setjmp.h: No such file or directory
include/libbb.h:22:20: error: signal.h: No such file or directory
include/libbb.h:30:19: error: stdio.h: No such file or directory
include/libbb.h:31:20: error: stdlib.h: No such file or directory
include/libbb.h:34:20: error: string.h: No such file or directory
include/libbb.h:37:43: error: libgen.h: No such file or directory
include/libbb.h:40:22: error: sys/poll.h: No such file or directory
include/libbb.h:41:23: error: sys/ioctl.h: No such file or directory
include/libbb.h:42:22: error: sys/mman.h: No such file or directory
include/libbb.h:43:24: error: sys/socket.h: No such file or directory
include/libbb.h:44:22: error: sys/stat.h: No such file or directory
include/libbb.h:45:22: error: sys/time.h: No such file or directory
include/libbb.h:46:23: error: sys/types.h: No such file or directory
include/libbb.h:48:28: error: sys/sysmacros.h: No such file or directory
include/libbb.h:50:22: error: sys/wait.h: No such file or directory
include/libbb.h:51:21: error: termios.h: No such file or directory
include/libbb.h:52:18: error: time.h: No such file or directory
include/libbb.h:53:23: error: sys/param.h: No such file or directory
include/libbb.h:54:17: error: pwd.h: No such file or directory
include/libbb.h:55:17: error: grp.h: No such file or directory
include/libbb.h:69:21: error: mntent.h: No such file or directory
include/libbb.h:72:25: error: sys/statfs.h: No such file or directory
include/libbb.h:87:19: error: utmp.h: No such file or directory
include/libbb.h:116:24: error: arpa/inet.h: No such file or directory
In file included from include/libbb.h:183,
from include/busybox.h:8,
from applets/applets.c:9:
include/pwd_.h:70: error: expected ')' before '__uid'
include/pwd_.h:87: error: expected ')' before '__uid'
include/pwd_.h:99: error: expected ')' before '*' token
In file included from include/libbb.h:184,
from include/busybox.h:8,
from applets/applets.c:9:
include/grp_.h:71: error: expected ')' before '__gid'
include/grp_.h:89: error: expected ')' before '__gid'
include/grp_.h:101: error: expected ')' before '*' token
include/grp_.h:109: error: expected declaration specifiers or '...' before 'gid_t'
include/grp_.h:110: error: expected declaration specifiers or '...' before 'gid_t'
include/grp_.h:115: error: expected declaration specifiers or '...' before 'gid_t'
include/libbb.h:215:6: warning: "ULONG_MAX" is not defined
In file included from include/busybox.h:8,
from applets/applets.c:9:
include/libbb.h:256: error: 'off_t' undeclared here (not in a function)
include/libbb.h:301:7: warning: "ULONG_MAX" is not defined
include/libbb.h:303: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb_bswap_64'
include/libbb.h:320: error: expected ')' before 'mode'
include/libbb.h:354: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'recurse_flags_t'
include/libbb.h:356: warning: 'struct stat' declared inside parameter list
include/libbb.h:356: warning: its scope is only this definition or declaration, which is probably not what you want
include/libbb.h:357: warning: 'struct stat' declared inside parameter list
include/libbb.h:366: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb_copyfd_eof'
include/libbb.h:367: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb_copyfd_size'
include/libbb.h:368: error: expected declaration specifiers or '...' before 'off_t'
include/libbb.h:371: error: expected ')' before 'sz'
include/libbb.h:396: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:397: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:424: error: 'SIGHUP' undeclared here (not in a function)
include/libbb.h:425: error: 'SIGINT' undeclared here (not in a function)
include/libbb.h:426: error: 'SIGTERM' undeclared here (not in a function)
include/libbb.h:427: error: 'SIGPIPE' undeclared here (not in a function)
include/libbb.h:428: error: 'SIGQUIT' undeclared here (not in a function)
include/libbb.h:429: error: 'SIGABRT' undeclared here (not in a function)
include/libbb.h:430: error: 'SIGALRM' undeclared here (not in a function)
include/libbb.h:431: error: 'SIGVTALRM' undeclared here (not in a function)
include/libbb.h:432: error: 'SIGXCPU' undeclared here (not in a function)
include/libbb.h:433: error: 'SIGXFSZ' undeclared here (not in a function)
include/libbb.h:434: error: 'SIGUSR1' undeclared here (not in a function)
include/libbb.h:435: error: 'SIGUSR2' undeclared here (not in a function)
include/libbb.h:452: warning: 'struct sigaction' declared inside parameter list
include/libbb.h:460: error: expected ')' before 'gid'
include/libbb.h:461: error: expected ')' before 'uid'
include/libbb.h:468: warning: 'struct stat' declared inside parameter list
include/libbb.h:469: warning: 'struct stat' declared inside parameter list
include/libbb.h:479: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xlseek'
include/libbb.h:481: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fdlength'
include/libbb.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'socktype_t'
include/libbb.h:496: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'family_t'
include/libbb.h:499: error: 'SOCK_STREAM' undeclared here (not in a function)
include/libbb.h:500: error: 'SOCK_DGRAM' undeclared here (not in a function)
include/libbb.h:501: error: 'SOCK_RDM' undeclared here (not in a function)
include/libbb.h:502: error: 'SOCK_SEQPACKET' undeclared here (not in a function)
include/libbb.h:503: error: 'SOCK_RAW' undeclared here (not in a function)
include/libbb.h:506: error: 'AF_UNSPEC' undeclared here (not in a function)
include/libbb.h:507: error: 'AF_INET' undeclared here (not in a function)
include/libbb.h:508: error: 'AF_INET6' undeclared here (not in a function)
include/libbb.h:509: error: 'AF_UNIX' undeclared here (not in a function)
include/libbb.h:522: warning: 'struct tm' declared inside parameter list
include/libbb.h:523: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'validate_tm_time'
include/libbb.h:527: warning: 'struct sockaddr' declared inside parameter list
include/libbb.h:529: warning: 'struct sockaddr' declared inside parameter list
include/libbb.h:530: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xsendto'
include/libbb.h:546: error: field 'sa' has incomplete type
include/libbb.h:547: error: field 'sin' has incomplete type
include/libbb.h:549: error: field 'sin6' has incomplete type
include/libbb.h:557: error: field 'sa' has incomplete type
include/libbb.h:558: error: field 'sin' has incomplete type
include/libbb.h:560: error: field 'sin6' has incomplete type
include/libbb.h:605: error: expected declaration specifiers or '...' before 'sa_family_t'
include/libbb.h:606: error: expected declaration specifiers or '...' before 'sa_family_t'
include/libbb.h:631: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'send_to_from'
include/libbb.h:635: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'recv_from_to'
include/libbb.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_cksum'
include/libbb.h:677: error: expected declaration specifiers or '...' before 'FILE'
include/libbb.h:697: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'safe_read'
include/libbb.h:698: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nonblock_immune_read'
include/libbb.h:701: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'full_read'
include/libbb.h:704: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_close'
include/libbb.h:705: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'open_read_close'
include/libbb.h:729: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'safe_write'
include/libbb.h:732: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'full_write'
include/libbb.h:735: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'full_write1_str'
include/libbb.h:736: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'full_write2_str'
include/libbb.h:743: error: expected ')' before '*' token
include/libbb.h:750: error: expected ')' before '*' token
include/libbb.h:752: error: expected ')' before '*' token
include/libbb.h:754: error: expected ')' before '*' token
include/libbb.h:756: error: expected ')' before '*' token
include/libbb.h:758: error: expected ')' before '*' token
include/libbb.h:760: error: expected ')' before '*' token
include/libbb.h:764: error: expected ')' before '*' token
include/libbb.h:768: error: expected ')' before '*' token
include/libbb.h:769: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:771: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:773: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:774: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:775: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:776: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:777: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:778: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:779: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:780: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:789: error: expected declaration specifiers or '...' before 'nfds_t'
include/libbb.h:789: warning: 'struct pollfd' declared inside parameter list
include/libbb.h:820: error: expected ')' before '*' token
In file included from include/libbb.h:827,
from include/busybox.h:8,
from applets/applets.c:9:
include/xatonum.h:86:5: warning: "ULONG_MAX" is not defined
include/xatonum.h:86:18: warning: "ULLONG_MAX" is not defined
include/xatonum.h:94:5: warning: "UINT_MAX" is not defined
include/xatonum.h:94:17: warning: "ULLONG_MAX" is not defined
include/xatonum.h:96:7: warning: "UINT_MAX" is not defined
include/xatonum.h:96:19: warning: "ULONG_MAX" is not defined
In file included from include/libbb.h:827,
from include/busybox.h:8,
from applets/applets.c:9:
include/xatonum.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BUG_xatou32_unimplemented'
include/xatonum.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xatou32'
include/xatonum.h:130:5: warning: "ULONG_MAX" is not defined
include/xatonum.h:130:18: warning: "ULLONG_MAX" is not defined
include/xatonum.h:142:5: warning: "UINT_MAX" is not defined
include/xatonum.h:142:17: warning: "ULLONG_MAX" is not defined
include/xatonum.h:149:7: warning: "UINT_MAX" is not defined
include/xatonum.h:149:19: warning: "ULONG_MAX" is not defined
include/xatonum.h:161: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BUG_bb_strtou32_unimplemented'
include/xatonum.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb_strtou32'
include/xatonum.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bb_strtoi32'
In file included from include/busybox.h:8,
from applets/applets.c:9:
include/libbb.h:840: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xatou16'
include/libbb.h:852: error: expected specifier-qualifier-list before 'uid_t'
include/libbb.h:863: error: expected ')' before 'uid'
include/libbb.h:864: error: expected ')' before 'gid'
include/libbb.h:865: error: expected ')' before 'uid'
include/libbb.h:866: error: expected ')' before 'gid'
include/libbb.h:867: error: expected ')' before 'uid'
include/libbb.h:868: error: expected ')' before 'gid'
include/libbb.h:869: error: expected ')' before 'uid'
include/libbb.h:870: error: expected ')' before 'gid'
include/libbb.h:872: error: expected ')' before 'uid'
include/libbb.h:873: error: expected ')' before 'gid'
include/libbb.h:876: error: 'uid_t' undeclared here (not in a function)
include/libbb.h:884: error: expected ')' before 'pid'
include/libbb.h:885: error: expected ')' before 'pid'
include/libbb.h:923: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xfork'
include/libbb.h:927: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spawn'
include/libbb.h:928: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xspawn'
include/libbb.h:930: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'safe_waitpid'
include/libbb.h:931: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait_any_nohang'
include/libbb.h:940: error: expected ')' before 'pid'
include/libbb.h:1011: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'option_mask32'
include/libbb.h:1012: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getopt32'
include/libbb.h:1056: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xfunc_error_retval'
include/libbb.h:1057: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'die_jmp'
include/libbb.h:1153: warning: 'struct mntent' declared inside parameter list
include/libbb.h:1157: error: expected ')' before 'speed'
include/libbb.h:1158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tty_value_to_baud'
include/libbb.h:1180: error: expected declaration specifiers or '...' before 'mode_t'
include/libbb.h:1203: error: expected specifier-qualifier-list before 'FILE'
include/libbb.h:1210: error: expected declaration specifiers or '...' before 'FILE'
In file included from include/busybox.h:8,
from applets/applets.c:9:
include/libbb.h:1328: warning: 'struct termios' declared inside parameter list
include/libbb.h:1345: warning: 'struct stat' declared inside parameter list
include/libbb.h:1346: warning: 'struct stat' declared inside parameter list
include/libbb.h:1422: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_key'
include/libbb.h:1511: error: expected ')' before 'pid'
include/libbb.h:1515: error: expected specifier-qualifier-list before 'DIR'
include/libbb.h:1593: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:1594: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:1617: error: expected ')' before '*' token
include/libbb.h:1620: error: expected specifier-qualifier-list before 'uint8_t'
include/libbb.h:1628: error: expected specifier-qualifier-list before 'uint64_t'
include/libbb.h:1645: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:1646: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
include/libbb.h:1647: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc32_block_endian1'
include/libbb.h:1648: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc32_block_endian0'
In file included from applets/applets.c:9:
include/busybox.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'applet_nameofs'
include/busybox.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'applet_install_loc'
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2
I am getting the above errors but am unable to resolve the above errors, could you please let me know how to overcome the above problem or is there any specific source codes for busybox which is meant only for android i.mx53 board or if the above source code of busy box works for android imx53 board, please help me in resolving the above errors or any other steps to be followed in compiling the above source code
Kindly do the needful as soon as possible, if u find any solution
Thanks a ton Daiane till so far your timely support,
Srinivasan
Daiane Angolini said:
There is a lot of TFTP client source code, you can dig into internet and find anything.
For example, you can use busybox http://busybox.net/downloads/BusyBox.html (do you have currently on your board? Does your version have tftp?)
But I don´t understand what´s your main goal.
For example, why not using adb push?
Thanks a lot Kursad,
I hope ur method would be simple, when I tried to install busybox android app, my android mx53 board was not rooted when i tried to root it using superonclick.exe i was not able to root it,
could you please let me know any other app to root my android mx53 board & install busybox on my android mx53 board.
Thanks a ton Kursad,
Srinivasan
Kursad Oney said:
If you don't want to compile busybox yourself, there is also a busybox android app. It needs root access (which you can have with your mx53 board).
Thanks a lot Daiane for your information,
My main goal is to transfer file through ethernet using TFTP protocol from by Ubuntu PC to my android mx53 board
No I donn have busybox, I hope I can compile the busy box for my android mx53 board
Is there any document how to get busybox source code & compile it to my android mx53 board? if you find any pls let me kno Daiane,
Hope now we are clear,
Thanks a million Daiane,
Srinivasan
Daiane Angolini said:
There is a lot of TFTP client source code, you can dig into internet and find anything.
For example, you can use busybox http://busybox.net/downloads/BusyBox.html (do you have currently on your board? Does your version have tftp?)
But I don´t understand what´s your main goal.
For example, why not using adb push?
If you don't want to compile busybox yourself, there is also a busybox android app. It needs root access (which you can have with your mx53 board).
There is a lot of TFTP client source code, you can dig into internet and find anything.
For example, you can use busybox http://busybox.net/downloads/BusyBox.html (do you have currently on your board? Does your version have tftp?)
But I don´t understand what´s your main goal.
For example, why not using adb push?
Thanks for your response Daiane,
I want TFTP client source code to be built on my android i.MX53 QSB or apk file so that my iMX board acts a TFTP client but in your first reply u had provided the android TFTP client & server apk the same apk file i was not able to get from the net
ie., in in the link
http://pt.appbrain.com/app/andtftp/alex.android.andtftp
could you please provide the apk file as shown in the above link
But the link which u had provided recently is for FTP, SFTP, SCP and FTPS (Explicit and implicit) support, but am not sure whether this works as TFTP client on my android i.MX QSB board
http://www.lysesoft.com/products/andftp/index.html#download
Is it possible to use the apk file provided in the above link as TFTP client on my android board?
Extremely sorry if I had misunderstood,
Many Many Thanks once again Daiane,
Srinivasan
Daiane Angolini said:
Does you want the server TFTP to be installed on your board?
I don´t know how to enable a text editor for command line usage on android. If you find out, please, let me know ;)
I would like that too
Does you want the server TFTP to be installed on your board?
Thanks a lot for immediate response Daiane,
1)Am not able to find the android tftp server apk in the above link & elsewhere in the internet,
Could you please kindly do the needful in providing the link where i can find the respective apk for android tftp server
or
Could you please provide the appropriate document for getting the tftp source code & building it for my i.MX53 QSB
2)And more needful, Could you please provide the respective document for getting the source code for vi editor for doing the coding in C in my android i.MX board as how we do in linux vi editor & building it for my existing android i.MX board or please let me know if you have any apk for the same.
Kindly do the needful as soon as possible,
Awating for your replies,
Many Many Thanks once again!,
Srinivasan
Daiane Angolini said:
you can take tftp source code and build it to your board.
or you can try to use some apk for that:
you can take tftp source code and build it to your board.
or you can try to use some apk for that: