diff options
Diffstat (limited to 'recipes/images/files/colibri-vf')
-rw-r--r-- | recipes/images/files/colibri-vf/README | 6 | ||||
-rwxr-xr-x | recipes/images/files/colibri-vf/format_sd.sh | 2 | ||||
-rwxr-xr-x | recipes/images/files/colibri-vf/update.sh | 14 | ||||
-rwxr-xr-x | recipes/images/files/colibri-vf/vf_flash/imx_uart.m32 | bin | 27288 -> 0 bytes |
4 files changed, 12 insertions, 10 deletions
diff --git a/recipes/images/files/colibri-vf/README b/recipes/images/files/colibri-vf/README index d350ef7..8d283da 100644 --- a/recipes/images/files/colibri-vf/README +++ b/recipes/images/files/colibri-vf/README @@ -1,4 +1,6 @@ Toradex Linux BSP +================= -Use the update.sh script to update your module. Also check the Release Notes -located in the same directory of the BSP release tarball. +Use the update.sh script to update your module. Check the Release Notes for +detailed instruction how to use flash your module. The Release Notes is located +in the same directory of the BSP release tarball. diff --git a/recipes/images/files/colibri-vf/format_sd.sh b/recipes/images/files/colibri-vf/format_sd.sh index a1e2e86..717ccd0 100755 --- a/recipes/images/files/colibri-vf/format_sd.sh +++ b/recipes/images/files/colibri-vf/format_sd.sh @@ -91,7 +91,7 @@ sudo umount ${DEV}${PART_PREFIX}? # partition and format the vfat partition sudo parted -s $DEV mklabel msdos mkpart primary fat32 1MB 512MB mkpart primary ext3 512MB 100% sudo umount ${DEV}${PART_PREFIX}1 -sudo mkfs.vfat -n KERNEL ${DEV}${PART_PREFIX}1 +sudo mkfs.vfat -n UPDATE ${DEV}${PART_PREFIX}1 # dd U-Boot onto the SD card sudo dd if=colibri-vf_bin/u-boot.imx of=${DEV} bs=512 seek=2 diff --git a/recipes/images/files/colibri-vf/update.sh b/recipes/images/files/colibri-vf/update.sh index 014c475..1eea0b4 100755 --- a/recipes/images/files/colibri-vf/update.sh +++ b/recipes/images/files/colibri-vf/update.sh @@ -12,7 +12,7 @@ Flash() echo "To flash the Colibri VFxx module a running U-Boot is required. Boot the" echo "module to the U-Boot prompt and" echo "" - echo "insert the SD card and enter:" + echo "insert the USB flash drive or SD card and enter:" echo "# run setupdate" echo "" echo "to update all components enter:" @@ -42,11 +42,11 @@ Usage() echo "" echo "Prepares and copies files for flashing the internal NAND of a Colibri VFxx" echo "" - echo "The recommended way is to copy the files on a SD card. The script format_sd.sh" - echo "may be used to format the SD card." + echo "The recommended way is to copy the files on a SD card or USB flash drive." + echo "The script format_sd.sh may be used to format the SD card." echo "" - echo "Will require a running U-Boot on the target. Either one already flashed" - echo "on the NAND or download using serial downloader (argument -d)." + echo "The flash step requires a running U-Boot on the target. Either one already" + echo "flashed on the NAND or download using serial downloader (argument -d)." echo "" echo "-d uart_dev : use UART connection to copy and execute U-Boot from module's RAM" echo "-f : flash instructions" @@ -81,7 +81,7 @@ while getopts "d:fnho:s" Option ; do ;; h) Usage # Exit if only usage (-h) was specified. - if [[ $# -eq 1 ]] ; then + if [ $# -eq 1 ] ; then exit 10 fi exit 0 @@ -96,7 +96,7 @@ while getopts "d:fnho:s" Option ; do esac done -if [[ "$OUT_DIR" = "" && "$UBOOT_RECOVERY" = "0" ]] ; then +if [ "$OUT_DIR" = "" ] && [ "$UBOOT_RECOVERY" = "0" ] ; then Usage exit 0 fi diff --git a/recipes/images/files/colibri-vf/vf_flash/imx_uart.m32 b/recipes/images/files/colibri-vf/vf_flash/imx_uart.m32 Binary files differdeleted file mode 100755 index 6251202..0000000 --- a/recipes/images/files/colibri-vf/vf_flash/imx_uart.m32 +++ /dev/null |