tftp server

christian.buettner at rafi.de christian.buettner at rafi.de
Fri Aug 17 09:07:34 EDT 2012


Hi all,

i implemented an tftp_server for the barebox. My code uses the same 
interfaces like the existing tftp client to
receive and send data per UDP like net_poll() and net_udp_send(..) from 
net.c.
I use atftp tool from a debian host to connect and upload a file to my 
tftp server.

Unfortunately i get a lot of error frames, coming from fec_recv(..) in 
fec_imx.c that look like this:

############error frame: 0x7af05060 0x00000882
###########error frame: 0x7af05048 0x00000802
#error frame: 0x7af05048 0x00000802
#error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
error frame: 0x7af05060 0x00000882
#####error frame: 0x7af05060 0x00000882
#######error frame: 0x7af05060 0x00000882
######error frame: 0x7af05060 0x00000882
#################
        #################################################################
 #################################################################error 
frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802

        ############error frame: 0x7af05060 0x00000882
#####################################################
        #error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
###################error frame: 0x7af05060 0x00000882
###########error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
########################error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
##########
        ##############################################error frame: 
0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
###################
        #######################error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
########error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
error frame: 0x7af05060 0x00000882
error frame: 0x7af05060 0x00000882
##################################
        ##error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
################################error frame: 0x7af05048 0x00000802
error frame: 0x7af05048 0x00000802
###############################
        #################################################################
        ########################################################transfer 
finished


When i use the tftp client (from sascha) to download from the debian host, 
i get no error frames, so the connection should be ok.
Do you have any idea how i can analyze the problem? 

christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20120817/10bf272a/attachment.html>


More information about the barebox mailing list