Lines Matching refs:IMAGE
34 IMAGE=$2
48 if [ ! -f ${IMAGE} ]; then
49 echo "ERROR: No ${IMAGE}"
51 elif ! file ${IMAGE} | grep 'Device Tree Blob' ; then
52 echo "ERROR: ${IMAGE} is not FIT image"
59 COPIES=`strings ${IMAGE} | grep "rollback-index" | wc -l`
65 IMG_BS=`ls -l ${IMAGE} | awk '{ print $5 }'`
69 ${UNPACK} -f ${IMAGE} -o ${OUT}/
72 if fdtget -l ${IMAGE} /images/uboot >/dev/null 2>&1 ; then
73 rm -f ${IMAGE}
77 cat ${ITB} >> ${IMAGE}
78 truncate -s %${ITB_KB}K ${IMAGE}
81 ${MKIMAGE} -f ${ITS} -E -p ${OFFS} ${IMAGE}
86 echo "Image(repack): ${IMAGE} is ready"