diff options
author | aavit <eirik.aavitsland@digia.com> | 2013-05-02 15:23:11 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@digia.com> | 2013-05-03 12:03:00 +0300 |
commit | 96bf7d631fcbbf0f65b65ee2655150c2b4b92822 (patch) | |
tree | add0a17a0a979687d63d3e8b7f346adc2477f7bd /src/doc/src/b2qt.qdoc | |
parent | 9a1524f06d702ed41d0de79a7713560addce4956 (diff) |
Misc. doc improvements
In particular, avoid potentially catastrophic shell commands
that are ready for cut&paste - force the user to edit the
device path he will be dd'ing into.
Change-Id: I0f2cbc53de26d5680ff2dda41b48e09d854a8fc6
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'src/doc/src/b2qt.qdoc')
-rw-r--r-- | src/doc/src/b2qt.qdoc | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/src/doc/src/b2qt.qdoc b/src/doc/src/b2qt.qdoc index 045fdef..207be78 100644 --- a/src/doc/src/b2qt.qdoc +++ b/src/doc/src/b2qt.qdoc @@ -149,7 +149,7 @@ system. To install the required packages in Ubuntu, use \code - sudo apt-get install g++-multilib:i386 + sudo apt-get install g++-multilib:i386 ia32-libs \endcode @@ -414,26 +414,34 @@ The image containing \B2Q stack for BeagleBoard-xM is included in the SDK, ready to be copied to an SD card. - Write the image to an SD card with at least 2GB capacity. To do so, - plug in the SD card/reader and use the following command to find out - its device name: + Write the image to an SD card with at least 2GB capacity. To do + so, plug in the SD card/reader in the PC and use the following + command to find out its device name (i.e. \c{/dev/XXX}, where + \c{XXX} typically is \c{sdb}): \code df -h \endcode - Next, unmount the SD card. Assuming the device name of the SD card is - \c{/dev/sdb}: + Alternatively, if the SD card is unformatted, run the following + command immediately after inserting the card to see its device + name: \code - umount /dev/sdb + dmesg | tail + \endcode + + Next, make sure the SD card is not mounted: + + \code + umount /dev/XXX \endcode Finally, write the image to the SD card: \code cd <SDK_INSTALL_DIR> - sudo dd if=targets/beagleboard/images/sdcard.img of=/dev/sdb bs=1M + sudo dd if=targets/beagleboard/images/sdcard.img of=/dev/XXX bs=1M \endcode \warning \b{Make very sure you select the right device. Selecting the wrong @@ -470,7 +478,7 @@ Then, upgrade the SD Card with \B2Q: \code - <SDK_INSTALL_DIR>/targets/android-utils/deploy_to_iMX6 /dev/XXX + <SDK_INSTALL_DIR>/targets/android-utils/bin/deploy_to_iMX6 /dev/XXX \endcode where \c{XXX} is the device for your SD card, typically \c{sdb}. @@ -584,8 +592,14 @@ \b{I'm unable to shut down my Nexus 7, what can I do?} - In case you are not able to shut down or reboot your Nexus 7, press and - hold the power button for 10 seconds. This will force a reboot. + Make sure the Nexus 7 is connected to your PC with USB, and run + the following command in a terminal: + \code + <SDK_INSTALL_DIR>/targets/android-utils/bin/adb shell reboot -p + \endcode + + Alternatively, press and hold the power button for 10 + seconds. This will force a reboot. \b{Trying to build for the emulator target fails with error message \e{make: i686-android-linux-g++: Command not found}} |