Lines Matching full:echo
24 echo
25 echo "Usage:"
26 echo " $0 --image <dir> --size-MB <size> [optional args]"
27 echo
28 echo " Mandory args:"
29 echo " --image <dir>: directory of image to upgrade"
30 …echo " --size-MB <size>: MB size unit for image to split into pieces. In Decimal integer: 1…
31 echo
32 echo " Optional args:"
33 echo " --sign: sign firmware with RSA key-pair in \"./keys\" directory"
34 …echo " --rollback-index <index>: rollback index in Decimal integer. It depends on \"--sign\…
35 echo " --force-update: enable force upgrade"
36 echo " --config <file>: config file"
37 echo " --version <ver>: firmware version in Decimal integer"
38 echo " --clean: clean generated files"
39 echo
49 DECIMAL=`echo $1 |sed 's/[0-9]//g'`
51 echo "ERROR: $1 is not decimal integer"
77 echo "ERROR: No ${ARG_CONFIG_FILE}"
106 echo "Invalid arg: $1"
120 echo "ERROR: No directory ${ARG_IMAGE_DIR}"
126 echo "ERROR: No keys/dev.key"
129 echo "ERROR: No keys/dev.crt"
154 NAME=`echo ${IMAGE} | awk -F "." '{ print $1 }'`
155 echo "=> split: ${IMAGE}"
157 echo "ERROR: No ${ARG_IMAGE_DIR}/${IMAGE}"
171 echo
192 echo " ${GPT} {
204 NAME=`echo ${IMG} | awk -F "." '{ print $1 }'`
205 echo " ${NAME} {
265 echo "ERROR: mkimage can't makeup full \"hashed-nodes\" property list"
283 echo
284 …echo "Success: [${SIGNED}] TFTP upgrade images(unit: ${ARG_IMG_MB}MB) are ready in directory: ${OU…
285 echo