diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulsbc/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulsbc/install_linux_fw_uuu.sh index 4cd7756c9..f0788f882 100755 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulsbc/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulsbc/install_linux_fw_uuu.sh @@ -74,6 +74,7 @@ do done if [ ! "${NOWAIT}" = true ]; then + WAIT=10 echo "############################################################" echo "# Linux firmware install through USB OTG #" echo "############################################################" @@ -81,9 +82,15 @@ if [ ! "${NOWAIT}" = true ]; then echo " This process will erase your NAND and will install a new" echo " U-Boot and Linux firmware images on the NAND." echo "" - echo " Press CTRL+C now if you wish to abort or wait 10 seconds" - echo " to continue." - sleep 10 + echo " Press CTRL+C now if you wish to abort." + echo "" + while [ ${WAIT} -gt 0 ]; do + printf "\r Update process starts in %d " ${WAIT} + sleep 1 + WAIT=$(( ${WAIT} - 1 )) + done + printf "\r \n" + echo " Starting update process" fi # Enable the redirect support to get u-boot variables values diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulstarter/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulstarter/install_linux_fw_uuu.sh index f32fa81c0..ca760a3d7 100755 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulstarter/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ulstarter/install_linux_fw_uuu.sh @@ -74,6 +74,7 @@ do done if [ ! "${NOWAIT}" = true ]; then + WAIT=10 echo "############################################################" echo "# Linux firmware install through USB OTG #" echo "############################################################" @@ -81,9 +82,15 @@ if [ ! "${NOWAIT}" = true ]; then echo " This process will erase your NAND and will install a new" echo " U-Boot and Linux firmware images on the NAND." echo "" - echo " Press CTRL+C now if you wish to abort or wait 10 seconds" - echo " to continue." - sleep 10 + echo " Press CTRL+C now if you wish to abort." + echo "" + while [ ${WAIT} -gt 0 ]; do + printf "\r Update process starts in %d " ${WAIT} + sleep 1 + WAIT=$(( ${WAIT} - 1 )) + done + printf "\r \n" + echo " Starting update process" fi # Enable the redirect support to get u-boot variables values diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mm-dvk/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mm-dvk/install_linux_fw_uuu.sh index 169a43938..0f9435234 100755 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mm-dvk/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mm-dvk/install_linux_fw_uuu.sh @@ -54,6 +54,7 @@ do done if [ ! "${NOWAIT}" = true ]; then + WAIT=10 echo "############################################################" echo "# Linux firmware install through USB OTG #" echo "############################################################" @@ -61,9 +62,15 @@ if [ ! "${NOWAIT}" = true ]; then echo " This process will erase your eMMC and will install a new" echo " U-Boot and Linux firmware images on the eMMC." echo "" - echo " Press CTRL+C now if you wish to abort or wait 10 seconds" - echo " to continue." - sleep 10 + echo " Press CTRL+C now if you wish to abort." + echo "" + while [ ${WAIT} -gt 0 ]; do + printf "\r Update process starts in %d " ${WAIT} + sleep 1 + WAIT=$(( ${WAIT} - 1 )) + done + printf "\r \n" + echo " Starting update process" fi if [ -z "${INSTALL_UBOOT_FILENAME}" ]; then @@ -153,4 +160,10 @@ uuu fb: ucmd saveenv # Reset the target uuu fb: acmd reset +echo "\033[32m" +echo "=============================================================" +echo "Done! Wait for the target to complete first boot process." +echo "=============================================================" +echo "\033[0m" + exit diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mn-dvk/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mn-dvk/install_linux_fw_uuu.sh index 25fe46e00..2888d39be 100755 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mn-dvk/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8mn-dvk/install_linux_fw_uuu.sh @@ -54,6 +54,7 @@ do done if [ ! "${NOWAIT}" = true ]; then + WAIT=10 echo "############################################################" echo "# Linux firmware install through USB OTG #" echo "############################################################" @@ -61,9 +62,15 @@ if [ ! "${NOWAIT}" = true ]; then echo " This process will erase your eMMC and will install a new" echo " U-Boot and Linux firmware images on the eMMC." echo "" - echo " Press CTRL+C now if you wish to abort or wait 10 seconds" - echo " to continue." - sleep 10 + echo " Press CTRL+C now if you wish to abort." + echo "" + while [ ${WAIT} -gt 0 ]; do + printf "\r Update process starts in %d " ${WAIT} + sleep 1 + WAIT=$(( ${WAIT} - 1 )) + done + printf "\r \n" + echo " Starting update process" fi if [ -z "${INSTALL_UBOOT_FILENAME}" ]; then @@ -153,4 +160,10 @@ uuu fb: ucmd saveenv # Reset the target uuu fb: acmd reset +echo "\033[32m" +echo "=============================================================" +echo "Done! Wait for the target to complete first boot process." +echo "=============================================================" +echo "\033[0m" + exit diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_uuu.sh index 087c57f1a..e5db22d39 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_uuu.sh @@ -54,6 +54,7 @@ do done if [ ! "${NOWAIT}" = true ]; then + WAIT=10 echo "############################################################" echo "# Linux firmware install through USB OTG #" echo "############################################################" @@ -61,9 +62,15 @@ if [ ! "${NOWAIT}" = true ]; then echo " This process will erase your eMMC and will install a new" echo " U-Boot and Linux firmware images on the eMMC." echo "" - echo " Press CTRL+C now if you wish to abort or wait 10 seconds" - echo " to continue." - sleep 10 + echo " Press CTRL+C now if you wish to abort." + echo "" + while [ ${WAIT} -gt 0 ]; do + printf "\r Update process starts in %d " ${WAIT} + sleep 1 + WAIT=$(( ${WAIT} - 1 )) + done + printf "\r \n" + echo " Starting update process" fi # Enable the redirect support to get u-boot variables values @@ -220,4 +227,10 @@ uuu fb: ucmd saveenv # Reset the target uuu fb: acmd reset +echo "\033[32m" +echo "=============================================================" +echo "Done! Wait for the target to complete first boot process." +echo "=============================================================" +echo "\033[0m" + exit diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_uuu.sh index a67bf6677..ba6ed6cf8 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_uuu.sh @@ -54,6 +54,7 @@ do done if [ ! "${NOWAIT}" = true ]; then + WAIT=10 echo "############################################################" echo "# Linux firmware install through USB OTG #" echo "############################################################" @@ -61,9 +62,15 @@ if [ ! "${NOWAIT}" = true ]; then echo " This process will erase your eMMC and will install a new" echo " U-Boot and Linux firmware images on the eMMC." echo "" - echo " Press CTRL+C now if you wish to abort or wait 10 seconds" - echo " to continue." - sleep 10 + echo " Press CTRL+C now if you wish to abort." + echo "" + while [ ${WAIT} -gt 0 ]; do + printf "\r Update process starts in %d " ${WAIT} + sleep 1 + WAIT=$(( ${WAIT} - 1 )) + done + printf "\r \n" + echo " Starting update process" fi # Enable the redirect support to get u-boot variables values @@ -220,4 +227,10 @@ uuu fb: ucmd saveenv # Reset the target uuu fb: acmd reset +echo "\033[32m" +echo "=============================================================" +echo "Done! Wait for the target to complete first boot process." +echo "=============================================================" +echo "\033[0m" + exit