diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2012-11-08 22:16:40 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-12 09:35:53 +0100 |
commit | 2a38aa83f78d54e81f887bddc1eb77451628f830 (patch) | |
tree | b48be1c2bd2c01497f1b1a65d340260513b32ece /commands/Makefile | |
parent | 06bc2e706c8546bbcd98e0416e6d32a96a0f07ca (diff) | |
download | barebox-2a38aa83f78d54e81f887bddc1eb77451628f830.tar.gz barebox-2a38aa83f78d54e81f887bddc1eb77451628f830.tar.xz |
commands: change Y-Modem implementation
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 and UART 9600bps
serial line :
- NAKs (and retransmissions) were tested for faulty
serial lines
- multiple file transfers were tested
- Y-Modem, Y-Modem/G and X-Modem transfers were tested
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Makefile')
-rw-r--r-- | commands/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Makefile b/commands/Makefile index 610be55c6a..2be5f9cf99 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -3,7 +3,7 @@ obj-$(CONFIG_CMD_BOOTM) += bootm.o obj-$(CONFIG_CMD_UIMAGE) += uimage.o obj-$(CONFIG_CMD_LINUX16) += linux16.o obj-$(CONFIG_CMD_LOADB) += loadb.o xyzModem.o -obj-$(CONFIG_CMD_LOADY) += loadb.o xyzModem.o +obj-$(CONFIG_CMD_LOADY) += loadb.o xyzModem.o loadxy.o obj-$(CONFIG_CMD_LOADS) += loads.o obj-$(CONFIG_CMD_ECHO) += echo.o obj-$(CONFIG_CMD_MEMORY) += mem.o |