[RFC PATCH] commands: change Y-Modem implementation

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Oct 27 09:26:04 EDT 2012


On 21:00 Fri 26 Oct     , Robert Jarzmik wrote:
> The current Y-Modem implementation has some limitations:
>  - Y-Modem/G protocol is not supported
>  - Multiple files (aka. batch) transfers are not supported
>  - Transfer speed over fast lines (USB console) is slow
>  - Code is not trivial to maintain (personnal opinion)
> 
> This implementation tries to address all these points by
> introducing loady2 command.
> 
> The effects are :
>  - transfer speed for Y-Modem over USB jumps from 2kBytes/s
>    to 180kBytes/s
>  - transfer speed for Y-Modem/G jumps to 200kBytes/s
>  - multiple file transfers are possible
> 
> This command was tested on a USB console. Before going any
> further, I'd like barebox communauty opinion about :
>  - is this code more maintainable that xyzModem.c ?
>  - is some xyzModem.c functionality missing ?
>  - can anybody test it on a slow UART line (even better if
>    it is noisy) to check protocol corner cases ?
personnaly I use kermit so I need xmodem

did you try it?

Best Regards,
J.



More information about the barebox mailing list