#!/bin/sh echo "usage: update -t -d [-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 [-m tftp|xmodem|nfs] [-f imagename] to update kernel into flash" echo "type update -t rootfs -d [-m tftp|xmodem|nfs] [-f imagename] to update rootfs into flash" echo "type update -t barebox -d [-m tftp|xmodem|nfs] [-f imagename] to update barebox into flash" echo "type update -t bareboxenv -d [-m tftp|xmodem|nfs] [-f imagename] to update bareboxenv into flash" echo "type update -t xload -d [-m tftp|xmodem|nfs] [-f imagename] to update xload into flash" echo "type update -t oftree -d [-m tftp|xmodem|nfs] [-f imagename] to update oftree into flash"