mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: christian.buettner@rafi.de
To: barebox@lists.infradead.org
Subject: tftp server
Date: Fri, 17 Aug 2012 15:07:34 +0200	[thread overview]
Message-ID: <OF8136B6E4.D5217264-ONC1257A5D.004703C5-C1257A5D.00481ACB@o0802.rafi.inhouse> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2440 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4782 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-08-17 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-17 13:07 christian.buettner [this message]
2012-08-18  9:09 ` Jean-Christophe PLAGNIOL-VILLARD
2012-08-18 19:12 ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF8136B6E4.D5217264-ONC1257A5D.004703C5-C1257A5D.00481ACB@o0802.rafi.inhouse \
    --to=christian.buettner@rafi.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox