summaryrefslogtreecommitdiff
path: root/recipes-images/images/files
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-07-05 16:22:23 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2017-07-05 17:49:58 +0200
commita1e2f5d25e2522bf4d8922e979b05cc8a7215bac (patch)
tree20ac7ebd839f1ba267bcc395d4b0af2ac4bb083c /recipes-images/images/files
parent94f30a16f0545f4bf23f433db37deeef11379e20 (diff)
colibri-imx7: update.sh: use u-boot-nand.imx for recovery
Starting with the following commit tdx-image-fstype.inc: rename U_BOOT_BINARY to UBOOT_BINARY we no longer deploy a symlink 'u-boot.imx' to the u-boot binary. Thus only use u-boot-nand.imx in the update.sh script. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-images/images/files')
-rwxr-xr-xrecipes-images/images/files/colibri-imx7/update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-images/images/files/colibri-imx7/update.sh b/recipes-images/images/files/colibri-imx7/update.sh
index 60f0d38..90d08fe 100755
--- a/recipes-images/images/files/colibri-imx7/update.sh
+++ b/recipes-images/images/files/colibri-imx7/update.sh
@@ -149,7 +149,7 @@ BINARIES=${MODTYPE}_bin
if [ "$UBOOT_RECOVERY" -eq 1 ] ; then
echo "Put the module in recovery mode and press [ENTER]..."
read RESULT
- sudo ${LOCPATH}/imx_usb ${BINARIES}/u-boot.imx
+ sudo ${LOCPATH}/imx_usb ${BINARIES}/u-boot-nand.imx
exit
fi
@@ -188,7 +188,7 @@ echo "UBI image of root file system generated, copying data to target folder..."
sudo touch ${BINARIES}/versions.txt
sudo chmod ugo+w ${BINARIES}/versions.txt
echo "Component Versions" > ${BINARIES}/versions.txt
-basename "`readlink -e ${BINARIES}/u-boot.imx`" >> ${BINARIES}/versions.txt
+basename "`readlink -e ${BINARIES}/u-boot-nand.imx`" >> ${BINARIES}/versions.txt
ROOTFSVERSION=`grep MX7 rootfs/etc/issue || echo "Version Unknown"`
echo "Rootfs ${ROOTFSVERSION}" >> ${BINARIES}/versions.txt