2010-10-11 14:34:41 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2011-01-07 16:35:30 +00:00
|
|
|
echo "usage: update -t <kernel|rootfs|barebox|bareboxenv> -d <nor|nand> [-m tftp|xmodem] [-f imagename] -c"
|
2010-10-11 14:34:41 +00:00
|
|
|
echo "update tools."
|
2010-10-11 14:34:42 +00:00
|
|
|
echo ""
|
|
|
|
echo "options"
|
|
|
|
echo " -c to check the crc32 for the image and flashed one"
|
|
|
|
echo ""
|
2010-10-11 14:34:43 +00:00
|
|
|
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"
|
2010-10-11 14:34:44 +00:00
|
|
|
echo "type update -t barebox -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update barebox into flash"
|
2011-01-07 16:35:30 +00:00
|
|
|
echo "type update -t bareboxenv -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update bareboxenv into flash"
|