summaryrefslogtreecommitdiff
path: root/recipes/images/files/library/tegra/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/files/library/tegra/update.sh')
-rwxr-xr-xrecipes/images/files/library/tegra/update.sh47
1 files changed, 22 insertions, 25 deletions
diff --git a/recipes/images/files/library/tegra/update.sh b/recipes/images/files/library/tegra/update.sh
index c8cd865..a23f415 100755
--- a/recipes/images/files/library/tegra/update.sh
+++ b/recipes/images/files/library/tegra/update.sh
@@ -18,22 +18,20 @@ fi
Flash()
{
+ echo "To flash the Apalis/Colibri T20/T30 module a running U-Boot is required. Boot"
+ echo "the module to the U-Boot prompt and"
echo ""
- echo "To flash the Apalis/Colibri T20/T30 module, boot the module to the U-Boot prompt"
- echo "and"
+ echo "insert the SD card, USB flash drive or when using TFTP connect Ethernet only"
+ echo "and enter:"
+ echo "'run setupdate'"
echo ""
- echo "when using a SD card, insert the SD card and enter:"
- echo "run setupdate"
- echo ""
- echo "when using tftp, connect Ethernet and enter:"
- echo "tftp \$loadaddr flash_eth.img ; source \$loadaddr"
- echo ""
- echo "then enter to update all:"
- echo "run update"
+ echo "then to update all components enter:"
+ echo "'run update'"
echo ""
echo "to update a single component enter one of:"
- echo "run update_uboot"
- echo "run update_kernel"
+ echo "'run update_uboot'"
+ echo "'run update_kernel' (T30 only)"
+ echo "'run update_rootfs'"
echo ""
echo ""
echo "If you don't have a working U-Boot anymore, connect your PC to the module's USB"
@@ -45,29 +43,28 @@ Flash()
Usage()
{
echo ""
- echo "Prepares and copies files for flashing the internal eMMC/NAND of an Apalis/"
+ echo "Prepares and copies files for flashing internal eMMC/NAND of Apalis T30 and"
echo "Colibri T20/T30"
echo ""
- echo "Will require a running U-Boot on the target. Either one already flashed"
- echo "on the eMMC/NAND or one copied over USB into the module's RAM"
+ echo "Will require a running U-Boot on the target. Either one already flashed on the"
+ echo "eMMC/NAND or one copied over USB into the module's RAM"
echo ""
echo "-b : T20: selects boot device (hsmmc/nand) (default: nand)"
- echo "-c : split the resulting rootfs into chunks usable for tftp transmission"
- echo "-d : use USB recovery mode to copy/execute U-Boot to the module's RAM"
+ echo "-c : split resulting rootfs into chunks usable for TFTP transmission"
+ echo "-d : use USB recovery mode to copy/execute U-Boot to/from module's RAM"
echo "-f : flash instructions"
echo "-h : prints this message"
- echo "-o directory : output directory, if this is on a SD card, it should be the first"
- echo " partition formated with VFAT"
+ echo "-o directory : output directory"
echo "-r : T20 recovery mode: select RAM size (256 | 512)"
- echo "-s : optimise file system for V1.1 or 256MB V1.2 modules, increases"
- echo " usable space a little, but limits 512MB V1.2 modules to 512MB"
- echo " usable NAND space"
+ echo "-s : T20: optimise file system for V1.1 or 256MB V1.2 modules,"
+ echo " increases usable space a little, but limits 512MB V1.2 modules"
+ echo " to 512MB usable NAND space"
echo "-v : T20 recovery mode: select Colibri version (V1_1 | V1_2)"
echo ""
- echo "Example \"./update.sh -o /run/media/user/label\" copies files to SD card"
- echo "Example \"./update.sh -o /srv/tftp/\" copies the requiered files to /srv/tftp/"
+ echo "Example \"./update.sh -o /srv/tftp/\" copies the required files to /srv/tftp/"
echo ""
- echo "*** For detailed recovery/update procedures, refer to the Release Notes ***"
+ echo "*** For detailed recovery/update procedures, refer to the following website: ***"
+ echo "http://developer.toradex.com/knowledge-base/flashing-linux-on-tegra-modules"
echo ""
}