summaryrefslogtreecommitdiffstats
path: root/defaultenv/bin/_update_help
blob: 2f6a2b380e58f74000fb19fe0e5ace1cd4b2ad62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

echo "usage: update -t <kernel|rootfs|barebox> -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 "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"
echo "type update -t barebox -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update barebox into flash"