summaryrefslogtreecommitdiffstats
path: root/defaultenv/bin/_update_help
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-10-11 16:34:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-12 21:32:45 +0200
commitde1823f74ec6312ab35180667a6f19aaa03f0d5e (patch)
tree1c29a721365b22f0b5895d3fd5169dffea655939 /defaultenv/bin/_update_help
parent3b8942faa0ef4088eec60fba0b34cb4be0d7661f (diff)
downloadbarebox-de1823f74ec6312ab35180667a6f19aaa03f0d5e.tar.gz
barebox-de1823f74ec6312ab35180667a6f19aaa03f0d5e.tar.xz
defaultenv: add xmodem support for update
the default mode is tftp to do not change the default behavior Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv/bin/_update_help')
-rw-r--r--defaultenv/bin/_update_help7
1 files changed, 4 insertions, 3 deletions
diff --git a/defaultenv/bin/_update_help b/defaultenv/bin/_update_help
index a23f00fe0a..1d9b28ea00 100644
--- a/defaultenv/bin/_update_help
+++ b/defaultenv/bin/_update_help
@@ -1,10 +1,11 @@
#!/bin/sh
-echo "usage: $0 -t <kernel|rootfs> -d <nor|nand> [-f imagename] -c"
+echo "usage: $0 -t <kernel|rootfs> -d <nor|nand> [-m tftp|xmodem] [-f imagename] -c"
echo "update tools."
echo ""
echo "options"
echo " -c to check the crc32 for the image and flashed one"
echo ""
-echo "type update -t kernel -d <nor|nand> [-f imagename] to update kernel into flash"
-echo "type update -t rootfs -d <nor|nand> [-f imagename] to update rootfs into flash"
+echo "default mode is tftp"
+echo "type update -t kernel -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update kernel into flash"
+echo "type update -t rootfs -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update rootfs into flash"