Lines Matching full:echo
56 echo
57 echo "Usage:"
58 echo " $0 [args]"
59 echo
60 echo "Args:"
61 echo " --key-dir <dir> | Mandatory"
62 echo " --src-dir <dir> | Mandatory"
63 echo " --out-dir <dir> | Mandatory"
64 echo " --burn-key-hash | Optional"
65 echo " --rollback-index <image1 n1> <image2 n2> ... | Optional"
66 echo " --version <image1 n1> <image2 n2> ... | Optional"
67 echo ""
68 echo "Example:"
69 …echo " $0 --key-dir keys/ --src-dir src/ --out-dir output/ --version uboot.img 1 boot.img 3 -…
70 echo
80 DECIMAL=`echo $1 |sed 's/[0-9]//g'`
82 echo "ERROR: $1 is not decimal integer"
159 echo "ERROR: No $1 directory"
167 echo "ERROR: No $1"
176 FILE=`echo ${LINE} | sed -n "/incbin/p" | awk -F '"' '{ printf $2 }' | tr -d ' '`
178 echo "ERROR: ${FILE} not exist"
193 echo "ERROR: Wrong rsa 'algo' in its file. It should be ${RSA_ALGO}."
201 echo "ERROR: No ${RSA_PRI_KEY} "
204 echo "ERROR: No ${RSA_PUB_KEY} "
207 echo "ERROR: No ${RSA_CRT_KEY} "
214 echo
215 echo "==================== sign loader ===================="
225 echo "${DDR} ${NEW_DDR}"
233 echo "${USBPLUG} ${NEW_USBPLUG}"
241 echo "${FlashData} ${NEW_FlashData}"
249 echo "${FlashBoot} ${NEW_FlashBoot}"
257 echo "${FlashBoost} ${NEW_FlashBoot}"
291 echo
292 …echo "==================== sign uboot.img: version=${ARG_VER_UBOOT}, rollback-index=${ARG_ROLLBACK…
294 echo "ERROR: CONFIG_SPL_FIT_SIGNATURE is disabled"
302 echo "ERROR: invalid ${FlashBoot} , unable to find fdt blob"
312 echo "ERROR: No arg \"--rollback-index uboot.img <n>\""
324 echo "## Adding RSA public key into ${UBOOT_DTB}"
339 echo "ERROR: --burn-key-hash requires CONFIG_SPL_FIT_HW_CRYPTO=y"
348 echo "ERROR: Failed to set rollback-index for ${ITB_UBOOT}";
353 …echo "WARNING: ignore \"--rollback-index uboot.img ${ARG_ROLLBACK_IDX_UBOOT}\" due to CONFIG_SPL_F…
354 echo
361 echo "ERROR: Failed to set burn-key-hash for ${SPL_DTB}";
391 echo "## ${SPL_DTB}: burn-key-hash=1"
400 …echo "ERROR: pack uboot.img failed! ${ITB_UBOOT} actual: ${ITB_BS} bytes, max limit: ${ITB_MAX_BS}…
421 echo
422 …echo "==================== sign ${SRC_FILE}: version=${ARG_VERSION}, rollback-index=${ARG_ROLLBACK…
429 echo "ERROR: CONFIG_FIT_SIGNATURE is disabled"
438 …echo "ERROR: Don't support \"--rollback-index ${SRC_FILE} <n>\" due to CONFIG_FIT_ROLLBACK_PROTECT…
443 echo "ERROR: No arg \"--rollback-index ${SRC_FILE} <n>\""
449 …echo "WARNING: ignore \"--rollback-index ${SRC_FILE} ${ARG_ROLLBACK_IDX}\" due to CONFIG_FIT_ROLLB…
450 echo
459 …echo "ERROR: ${SRC_FILE} rollback version should be the same as previous: ${PREV_ARG_ROLLBACK_IDX}"
484 echo "ERROR: Failed to set rollback-index for ${ITB_FILE}";
513 echo
514 echo "==================== unpack files ===================="
526 echo "ERROR: SHA256 checksum is not match:"
527 echo " ${CSUM1}: ${LOADER_NAME}/"
528 echo " ${CSUM2}: ${SIGN_CONFIG} history"
529 echo
530 echo "Build info of ${SIGN_CONFIG}:"
531 echo " ${BUILD}"
532 echo
545 echo "ERROR: SHA256 checksum is not match:"
546 echo " ${CSUM1}: uboot in ${ARG_SRC_DIR}/uboot.img"
547 echo " ${CSUM2}: in ${SIGN_CONFIG}"
548 echo
549 echo "Build info of ${SIGN_CONFIG}:"
550 echo " ${BUILD}"
551 echo
565 echo "ERROR: No ${SIGN_CFG_DIR} directory"
569 echo "ERROR: No ${SIGN_CONFIG} file"
573 echo "ERROR: No ${ARG_SRC_DIR}/uboot.img file"
578 echo "ERROR: No platform MINIALL.ini file"
586 echo "ERROR: No platform loader or download found"
595 echo
596 echo "Rollback-Index:"
601 echo " - ${NAME}=${VERSION}"
604 echo
605 echo "OK. Signed images are ready in ${ARG_OUTPUT_DIR}:"
609 echo
618 if echo ${FILE} | grep -q "uboot.img"; then