diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-11-03 13:52:55 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-06 14:35:13 +0200 |
commit | c428253ed91fa62c4ccb1ae676f58a4ba9821ca7 (patch) | |
tree | d345fad19f922cd4db489691132b3fc45e8e2e7b /src | |
parent | 8d864a9ad49d3cd885a8c362414431368a16ca8d (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/doc/src/devices/qtee-toradex-apalis.qdoc | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/doc/src/devices/qtee-toradex-apalis.qdoc b/src/doc/src/devices/qtee-toradex-apalis.qdoc index 3c583f5..ad09024 100644 --- a/src/doc/src/devices/qtee-toradex-apalis.qdoc +++ b/src/doc/src/devices/qtee-toradex-apalis.qdoc @@ -53,17 +53,28 @@ \endcode By default, the Toradex Apalis iMX6 boots from its internal eMMC. In order to boot from - the external SD card, the U-Boot environment needs to be updated. Connect a serial cable + the external SD card, the U-Boot needs to be updated. Connect a serial cable to the device and enter into the U-Boot environment by pressing any key before the autoboot. - Enter following lines into U-Boot: + Enter following commands into U-Boot: \badcode - setenv bootcmd 'run sdboot ; echo sdboot failed ; run emmcboot ; echo ; echo emmcboot failed ; run nfsboot ; echo ; echo nfsboot failed ; usb start ;setenv stdout serial,vga ; setenv stdin serial,usbkbd' - setenv sdboot 'run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} ${vidargs};echo Booting from SD card in 4bit slot...; fatload mmc 2:1 10800000 uImage && bootm 10800000' - setenv sdargs 'ip=off root=/dev/mmcblk1p2 rw,noatime rootfstype=ext3 rootwait' + setenv drive 2 + setenv setupdate 'fatload mmc ${drive}:1 ${loadaddr} flash_mmc.img; source' + + run setupdate + run update_uboot + \endcode + + Reset or power cycle the device to start the new U-Boot. + To reset the U-Boot environment to new default values, enter the following commands + in the U-Boot command line + + \badcode + env default -a saveenv \endcode + New U-Boot command are now stored into the device, and you can start \B2Q. For more information about the boot process on Toredex Apalis iMX6, see \l{http://developer.toradex.com/software-resources/arm-family/linux/linux-booting}{Toradex Linux Booting} |