summaryrefslogtreecommitdiffstats
path: root/src/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-12-10 12:26:21 +0100
committerRiitta-Leena Miettinen <riitta-leena.miettinen@digia.com>2013-12-10 13:39:24 +0200
commitc56c9bc0107bced7635bc93edd8521f415e005c7 (patch)
treee41d2a0bf7e86928ee571c8e1038f455f313e30c /src/doc
parent11daeacb2580a36e8cf267d370d7f40195a16e58 (diff)
Doc: edit the sections about preparing devices
Edit for grammar and style. Use standard wording in lists. Use active voice instead of passive voide. Use lists for all processes. Use the term "SD card" everywhere instead of "micro-SD card". Replace XXX with <device_name>. Change-Id: Ie300dac911b42120de5e236676aa7b43c39f27d7 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/src/b2qt-post-install-setup.qdocinc23
-rw-r--r--src/doc/src/b2qt.qdoc185
-rw-r--r--src/doc/src/detect-sd-card-device-name.qdocinc16
3 files changed, 114 insertions, 110 deletions
diff --git a/src/doc/src/b2qt-post-install-setup.qdocinc b/src/doc/src/b2qt-post-install-setup.qdocinc
index d1a6f08..ef93b3f 100644
--- a/src/doc/src/b2qt-post-install-setup.qdocinc
+++ b/src/doc/src/b2qt-post-install-setup.qdocinc
@@ -74,22 +74,21 @@
//! [configuring device kit]
//! [configuring network device]
- After the hardware has been prepared, there are final steps required
- to set up the development tools in Qt Creator for your device.
-
- To do so, connect your device to network via ethernet cable and launch
- Qt Creator. Then,
+ After you have prepared the hardware, you must set up the development tools
+ in Qt Creator for your device. Connect your device to the network via an
+ Ethernet cable and launch Qt Creator. In Qt Creator:
\list 1
- \li Go to \b{Tools > Options > Devices}
- \li Click \b{Add...}
- \li Select \b{Boot2Qt Device} and Click \b{Start Wizart}
- \li Fill in name of the device and network address. Device address can be seen from
- \e{Launcher Settings} when device is running \B2Q demo
- \li Click \b{Finish}.
+ \li Select \b{Tools > Options > Devices > Add}.
+ \li Select \b{Boot2Qt Device} > \b{Start Wizard}.
+ \li Enter the device name and network address. You can check the device
+ address in the \e{Launcher Settings} when the device is running the
+ \B2Q demo.
+ \li Select \b{Finish}.
\endlist
- You also have to configure the right device to be used for each \b{Kit}.
+ You also have to configure the correct device to be used for each build and
+ run \e{kit}:
\include b2qt-post-install-setup.qdocinc steps for device kit
diff --git a/src/doc/src/b2qt.qdoc b/src/doc/src/b2qt.qdoc
index 7a96856..4169cff 100644
--- a/src/doc/src/b2qt.qdoc
+++ b/src/doc/src/b2qt.qdoc
@@ -267,8 +267,8 @@
\previouspage qtee-supported-platforms.html
\nextpage qtee-building-and-running.html
- Before deploying and testing your Qt application on hardware, the
- target device needs to be flashed with an image that contains the
+ Before you can deploy and test your Qt application on hardware, you must
+ flash the target device with an image that contains the
\B2Q stack. These steps vary from device to device:
\list
@@ -278,7 +278,7 @@
\li \l{Raspberry Pi Model B (embedded Linux)}
\endlist
- If you are only using the emulator, you can skip this step
+ If you use only the emulator, you can skip this step
and continue straight to \l {Building and Running an Example}.
*/
@@ -289,39 +289,45 @@
\previouspage qtee-installation-guide.html
\nextpage qtee-building-and-running.html
- When using a \l{http://www.google.com/nexus/7/specs/}{Nexus 7 (2012)} as a
- development device, following steps are required to prepare it for
+ Take the following steps to prepare a
+ \l{http://www.google.com/nexus/7/specs/}{Nexus 7 (2012)} for
\B2Q.
\section1 Unlocking Nexus 7 Bootloader
- The Nexus 7 Bootloader has to be unlocked to allow custom software
- to be installed. This has to be done only once.
+ You must unlock the Nexus 7 Bootloader to be able to install custom
+ software. You need to do this only once.
\list 1
\li Power down the device.
- \li Connect it to the development host with a USB cable.
- \li Start the Nexus up in \e{fastboot} mode: Press the power button for a second, and then keep the Volume Down key pressed, until you see a screen with a green robot with its front panel open. Note: If you get the ordinary startup screen instead, just power it down and try again.
- \li On the development host, give the command
+ \li Connect the device to the development host with a USB cable.
+ \li To start the Nexus up in \e{fastboot} mode, press the power button
+ for a second, and then keep the \b {Volume Down} key pressed down,
+ until you see a screen with a green robot with its front panel open.
+ \note If the ordinary startup screen appears instead, power down the
+ device and try again.
+ \li On the development host, enter the following command:
\code
sudo <INSTALL_DIR>/Tools/b2qt/fastboot oem unlock
\endcode
- The Nexus screen will ask if you want to unlock the bootloader. Press power button to confirm.
+ \li Press the power button to confirm that you want to unlock the
+ bootloader when the prompt appears on the Nexus screen.
\li Wait a few seconds, and check that the text line stating the \c{LOCK STATE} now says \c{UNLOCKED}.
\endlist
\section1 Updating a Nexus 7 with \B2Q Images
- \note \b{It is important that the steps in this section are repeated
- every time after updating \SDK.}
+ \note It is important that you repeat the steps in this section after you
+ update \SDK.
- An unlocked Nexus 7 device can now be updated with a \B2Q image.
+ To update an unlocked Nexus 7 device with a \B2Q image:
- To do so, first make sure that the device is in \e{fastboot} mode
- (see above), and connected to the development host via USB.
+ \list 1
+ \li Make sure that the device is in \e{fastboot} mode and that it is
+ connected to the development host via USB.
- Then, re-flash the \e{boot}, \e{system}, and \e{userdata} partitions on the
- device, using the following commands in the order they are listed:
+ \li Re-flash the \e{boot}, \e{system}, and \e{userdata} partitions on the
+ device, by entering the following commands in the following order:
\code
cd <INSTALL_DIR>
@@ -330,18 +336,21 @@
sudo ./Tools/b2qt/fastboot flash userdata Boot2Qt-1.0/nexus7-eAndroid/images/data.img
\endcode
- Once the flashing is completed successfully, reboot the device:
+ \li Once the flashing is completed successfully, reboot the device:
\code
sudo ./Tools/b2qt/fastboot reboot
\endcode
- \note Until the next step is performed, the Nexus 7 will not
- boot correctly (the screen will only show the "Google" logo).
+ \endlist
+
+ \note You must install proprietary drivers for the Nexus 7 to boot
+ correctly. Until then, the screen will only show the "Google" logo,
+ instead of the \B2Q welcome screen or demo.
\section1 Installing Proprietary Drivers
- Download the proprietary drivers for your Nexus 7. The following script will download the third
+ Download the proprietary drivers for your Nexus 7. The following script downloads the third
party drivers from \l{https://developers.google.com/android/nexus/drivers#grouperjdq39}
{https://developers.google.com/android/nexus/drivers#grouperjdq39}
\code
@@ -349,15 +358,14 @@
./Boot2Qt-1.0/nexus7-eAndroid/images/download.sh
\endcode
- \note Only the version "Android 4.2.2 (JDQ39 to JDQ39E)" will work with the current \B2Q image.
-
- Make sure your Nexus 7 is powered up, is \e{not} in fastboot mode,
- and is connected to the computer via USB.
+ \note Only the version "Android 4.2.2 (JDQ39 to JDQ39E)" works with the
+ current \B2Q image.
- Then, follow these steps to update the Nexus 7:
- \note Make sure you have read the license terms enclosed in each individual extractor
+ To install the drivers to Nexus 7:
\list 1
+ \li Power up the device and connect it to the development host via USB.
+ Also check that the device is \e{not} in fastboot mode.
\li Run the driver extractors:
\code
cd Boot2Qt-1.0/nexus7-eAndroid/images/drivers
@@ -366,18 +374,20 @@
./extract-invensense-grouper.sh
cd -
\endcode
+ \note Carefully read the license terms enclosed in each individual
+ extractor.
\li Find out the serial number of the connected Nexus 7 device:
\code
./Tools/b2qt/adb devices
\endcode
- \li Deploy the drivers to your device using the following command:
+ \li Deploy the drivers to your device:
\code
./Boot2Qt-1.0/nexus7-eAndroid/images/deploy.sh <serial_number>
\endcode
\endlist
- After the installation is complete, power up the device and confirm that it shows
- a \B2Q welcome screen and/or demo.
+ After the installation is complete, power up the device and check that
+ the \B2Q welcome screen and/or demo appear.
\section1 Setting up USB Access
@@ -387,9 +397,8 @@
\include b2qt-post-install-setup.qdocinc configuring device kit
- \b {You are now ready to start developing for your device!}
-
- See \l{Building and Running an Example}
+ You are now ready to start developing for your device. For more information,
+ see \l{Building and Running an Example}.
*/
/*!
@@ -399,20 +408,20 @@
\previouspage qtee-installation-guide.html
\nextpage qtee-building-and-running.html
- When using a \l{http://beagleboard.org/hardware-xM}{BeagleBoard-xM} as a
- development device, following steps are required to prepare it for
+ Take the following steps to prepare a \l{http://beagleboard.org/hardware-xM}
+ {BeagleBoard-xM} for
\B2Q.
- \note \b{It is important that the steps in this section are repeated
- every time after updating \SDK.}
+ \note It is important that you repeat the steps in this section after you
+ update \SDK.
- The images containing \B2Q stack for BeagleBoard-xM is included in the SDK,
- ready to be copied to a micro-SD card.
+ The images containing \B2Q stack for BeagleBoard-xM are included in \SDK,
+ ready to be copied to an SD card.
- \section1 Preparing a Micro-SD Card
+ \section1 Preparing an SD Card
- For \B2QA, a micro-SD card of at least 2GB capacity is needed. For \B2QL,
- a card of at least 512MB capacity is sufficient.
+ For \B2QA, an SD card of at least 2 GB capacity is needed. For \B2QL,
+ a card of at least 512 MB capacity is sufficient.
\include detect-sd-card-device-name.qdocinc instructions
@@ -421,23 +430,23 @@
The commands used in this step vary depending on whether you are developing
for embedded Android or embedded Linux.
- Write the image to the micro-SD card:
+ To write the image to the SD card:
\list
\li \b{\B2QA}
\code
cd <INSTALL_DIR>
- sudo dd if=Boot2Qt-1.0/beagleboard-eAndroid/images/sdcard.img of=/dev/XXX bs=1M
+ sudo dd if=Boot2Qt-1.0/beagleboard-eAndroid/images/sdcard.img of=/dev/<device_name> bs=1M
\endcode
\li \b{\B2QL}
\code
cd <INSTALL_DIR>
- sudo Boot2Qt-1.0/beagleboard-eLinux/images/deploy.sh /dev/XXX
+ sudo Boot2Qt-1.0/beagleboard-eLinux/images/deploy.sh /dev/<device_name>
\endcode
\endlist
- After the image has been deployed, power up the device and confirm that it shows
- a \B2Q welcome screen and/or demo.
+ After the image has been deployed, power up the device and check that
+ the \B2Q welcome screen and/or demo appear.
\section1 Setting up USB Access
@@ -447,9 +456,8 @@
\include b2qt-post-install-setup.qdocinc configuring device kit
- \b {You are now ready to start developing for your device!}
-
- See \l{Building and Running an Example}
+ You are now ready to start developing for your device. For more information,
+ see \l{Building and Running an Example}.
*/
/*!
@@ -458,21 +466,20 @@
\title Preparing Sabre Lite i.MX 6
\previouspage qtee-installation-guide.html
- When using a
+ Take the following steps to prepare a
\l{http://boundarydevices.com/products/sabre-lite-imx6-sbc/}{Sabre
- Lite i.MX 6} as a development device, following steps are required
- to prepare it for \B2Q.
+ Lite i.MX 6} for \B2Q.
- \note \b{It is important that the steps in this section are repeated
- every time after updating \SDK.}
+ \note It is important that you repeat the steps in this section after you
+ update \SDK.
The images containing the \B2Q stack for Sabre Lite i.MX 6 are included
- in the SDK, ready to be copied to a micro-SD card.
+ in \SDK, ready to be copied to an SD card.
- \section1 Preparing a Micro-SD Card
+ \section1 Preparing an SD Card
- For \B2QA, a micro-SD card of at least 4GB capacity is needed. For \B2QL,
- a card of at least 512MB capacity is sufficient.
+ For \B2QA, an SD card of at least 4 GB capacity is needed. For \B2QL,
+ a card of at least 512 MB capacity is sufficient.
\include detect-sd-card-device-name.qdocinc instructions
@@ -485,11 +492,11 @@
\l{http://boundarydevices.com/android-jellybean-on-i-mx6-with-no-disclaimers/}{Boundary
Devices Android Jellybean i.MX6 images} (registration required).
- Use the following commands to create a micro-SD card containing the
+ Use the following commands to create an SD card containing the
downloaded image:
- \list
- \li Extract the downloaded package
+ \list 1
+ \li Extract the downloaded package:
\code
~/$ mkdir bd-android
~/$ cd bd-android
@@ -497,7 +504,7 @@
\endcode
\li Run device/boundary/mksdcard.sh:
\code
- ~/bd-android$ sudo device/boundary/mksdcard.sh /dev/XXX
+ ~/bd-android$ sudo device/boundary/mksdcard.sh /dev/<device_name>
~/bd-android$ sync
\endcode
\endlist
@@ -510,24 +517,24 @@
sudo apt-get install u-boot-tools
\endcode
- Then, upgrade the micro-SD Card with \B2Q. Use one of the commands below,
- depending on whether you're developing for embedded Android or Linux:
+ Then, upgrade the SD card with \B2Q. Use one of the commands below,
+ depending on whether you are developing for embedded Android or Linux:
\list
\li \b{\B2QA}
\code
cd <INSTALL_DIR>
- Boot2Qt-1.0/iMX6-eAndroid/images/deploy.sh /dev/XXX
+ Boot2Qt-1.0/iMX6-eAndroid/images/deploy.sh /dev/<device_name>
\endcode
\li \b{\B2QL}
\code
cd <INSTALL_DIR>
- Boot2Qt-1.0/iMX6-eLinux/images/deploy.sh /dev/XXX
+ Boot2Qt-1.0/iMX6-eLinux/images/deploy.sh /dev/<device_name>
\endcode
\endlist
- After the installation is complete, power up the device and confirm that it shows
- a \B2Q welcome screen and/or demo.
+ After the installation is complete, power up the device and check that
+ the \B2Q welcome screen and/or demo appear.
\section1 Setting up USB Access
@@ -537,9 +544,8 @@
\include b2qt-post-install-setup.qdocinc configuring device kit
- \b {You are now ready to start developing for your device!}
-
- See \l{Building and Running an Example}
+ You are now ready to start developing for your device. For more information,
+ see \l{Building and Running an Example}.
*/
/*!
@@ -549,45 +555,44 @@
\previouspage qtee-installation-guide.html
\nextpage qtee-building-and-running.html
- When using a \l{http://www.raspberrypi.org/}{Raspberry Pi} as a
- development device, following steps are required to prepare it for
+ Take the following steps to prepare a \l{http://www.raspberrypi.org/}
+ {Raspberry Pi} for
\B2Q.
- Note that Ethernet networking is required to connect the device to Qt Creator.
- This means that the support is currently limited to Raspberry Pi Model B which
+ \note Ethernet networking is required to connect the device to Qt Creator.
+ This means that the support is currently limited to Raspberry Pi Model B, which
includes an Ethernet port.
- \note \b{It is important that the steps in this section are repeated
- every time after updating \SDK.}
+ \note It is important that you repeat the steps in this section after you
+ update \SDK.
- The images containing \B2Q stack for Raspberry Pi is included in the SDK,
- ready to be copied to a micro-SD card.
+ The image containing \B2Q stack for Raspberry Pi is included in the SDK,
+ ready to be copied to an SD card.
- \section1 Preparing a Micro-SD Card
+ \section1 Preparing an SD Card
- An SD card of at least 512MB capacity is sufficient.
+ An SD card of at least 512 MB capacity is sufficient.
\include detect-sd-card-device-name.qdocinc instructions
\section1 Installing the \B2Q Image
- Write the image to the micro-SD card:
+ To write the image to the SD card:
\code
cd <INSTALL_DIR>
- sudo Boot2Qt-1.0/raspberrypi-eLinux/images/deploy.sh /dev/XXX
+ sudo Boot2Qt-1.0/raspberrypi-eLinux/images/deploy.sh /dev/<device_name>
\endcode
- After the image has been deployed, power up the device and confirm that it shows
- a \B2Q welcome screen and/or demo.
+ After the image has been deployed, power up the device and check that
+ the \B2Q welcome screen and/or demo appear.
\section1 Configuring a Device Kit in Qt Creator
\include b2qt-post-install-setup.qdocinc configuring network device
- \b {You are now ready to start developing for your device!}
-
- See \l{Building and Running an Example}
+ You are now ready to start developing for your device. For more information,
+ see \l{Building and Running an Example}.
*/
/*!
diff --git a/src/doc/src/detect-sd-card-device-name.qdocinc b/src/doc/src/detect-sd-card-device-name.qdocinc
index e7601c9..40d7f51 100644
--- a/src/doc/src/detect-sd-card-device-name.qdocinc
+++ b/src/doc/src/detect-sd-card-device-name.qdocinc
@@ -18,28 +18,28 @@
****************************************************************************/
/*!
//! [instructions]
- Plug the micro-SD card or reader into the development host PC,
+ Plug in the SD card or reader to the development host,
and use the following command to find out its device name:
\code
lsblk -d
\endcode
- Removable devices such as SD cards have a value '1' in
+ Removable devices such as SD cards have the value '1' in
the \e RM column.
- \warning \b{Make very sure you select the right device. Selecting
- the wrong one can result in a wiped hard drive}.
+ \warning Make sure to select the correct device, because selecting
+ the wrong one can result in a wiped hard drive.
Typical device names for SD cards include \c {sdb} and
\c {mmcblk0}. The full device path is \c {/dev/} followed by
- the name. Replace \b XXX with the device name in below
- instructions.
+ the name.
- Now make sure the micro-SD card is not mounted:
+ To make sure that the SD card is not mounted, enter the following
+ command, where <device_name> is the device name:
\code
- umount /dev/XXX
+ umount /dev/<device_name>
\endcode
//! [instructions]
*/