mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* tftp server
@ 2012-08-17 13:07 christian.buettner
  2012-08-18  9:09 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-08-18 19:12 ` Robert Schwebel
  0 siblings, 2 replies; 3+ messages in thread
From: christian.buettner @ 2012-08-17 13:07 UTC (permalink / raw)
  To: barebox


[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tftp server
  2012-08-17 13:07 tftp server christian.buettner
@ 2012-08-18  9:09 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-08-18 19:12 ` Robert Schwebel
  1 sibling, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-08-18  9:09 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox

On 15:07 Fri 17 Aug     , christian.buettner@rafi.de wrote:
>    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.
we can not see the code so we can not help

btw for the n time DO NOT SEND IN HTML

Best Regards,
J.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tftp server
  2012-08-17 13:07 tftp server christian.buettner
  2012-08-18  9:09 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-08-18 19:12 ` Robert Schwebel
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Schwebel @ 2012-08-18 19:12 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox

On Fri, Aug 17, 2012 at 03:07:34PM +0200, christian.buettner@rafi.de wrote:
> i implemented an tftp_server for the barebox.

Please post an RFC patch here on the list in order to make a review
possible.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-18 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-17 13:07 tftp server christian.buettner
2012-08-18  9:09 ` Jean-Christophe PLAGNIOL-VILLARD
2012-08-18 19:12 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox