diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-10-27 09:55:18 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2014-11-06 14:35:07 +0200 |
commit | 8d864a9ad49d3cd885a8c362414431368a16ca8d (patch) | |
tree | fffb024be3ba3212bb8ec684f2af7d64a5f4bc5d /src/doc/src/qtee-custom-embedded-linux.qdoc | |
parent | eace721ef5911b504bfb5894eadabf7a3c689a59 (diff) |
Doc: updates to instructions for BYOS
How to use the new initialization scripts for BYOS.
Also change all references of Boot2Qt-3.x to 4.x.
Task-number: QTEE-786
Change-Id: Ib0c580cc8c227b0abdd0bb9b29143af11efd619b
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/doc/src/qtee-custom-embedded-linux.qdoc')
-rw-r--r-- | src/doc/src/qtee-custom-embedded-linux.qdoc | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/doc/src/qtee-custom-embedded-linux.qdoc b/src/doc/src/qtee-custom-embedded-linux.qdoc index 36484d2..9b8faf1 100644 --- a/src/doc/src/qtee-custom-embedded-linux.qdoc +++ b/src/doc/src/qtee-custom-embedded-linux.qdoc @@ -60,11 +60,18 @@ \section1 Setting Up Yocto Build Environment - Run the setup script that initializes the Yocto environment: + Run the setup script that initializes the Yocto environment. Using Raspberry Pi as + an example: \badcode cd <BuildDir> - <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-yocto-meta/b2qt-init-build-env . + <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-yocto-meta/b2qt-init-build-env init --device raspberrypi + \endcode + + For more command line options, see: + + \badcode + <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-yocto-meta/b2qt-init-build-env help \endcode \section1 Building the Image and Toolchain @@ -74,9 +81,8 @@ an example: \badcode - export TEMPLATECONF=meta-b2qt/conf export MACHINE=raspberrypi - source poky/oe-init-build-env build-raspberrypi + source ./setup-environment.sh \endcode The following table lists the \c MACHINE values for our reference platforms: @@ -128,7 +134,7 @@ script. Using Raspberry Pi as an example: \badcode - <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-common/init_build_env.sh <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi + <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-build-scripts/embedded-common/init_build_env.sh <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi \endcode \note You can use the same build directory for Qt and the Yocto image. @@ -137,12 +143,12 @@ You can use following scripts to build different parts of the \B2Q stack. \badcode - <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/build_qt.sh - <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/build_extras.sh - <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/build_image.sh + ./build_qt.sh + ./build_extras.sh + ./build_image.sh \endcode - After \e {embedded-linux/build_image.sh} has finished, you can flash the device with + After \e {build_image.sh} has finished, you can flash the device with the updated image located in the build folder. \section1 Configuring Qt Creator @@ -151,7 +157,7 @@ developing for your device. The following script does this for you. \badcode - <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-common/setup_qtcreator.sh + <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-build-scripts/embedded-common/setup_qtcreator.sh \endcode This will set up a new kit in Qt Creator, using the toolchain and Qt from |