From 46c917b4ed95b8770d5d5818b84784ed2be38a11 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Thu, 9 Jun 2016 14:31:02 +0200 Subject: Doc: Add documentation for Intel NUC Task-number: QTBUG-53889 Change-Id: I2698ea1e9ee1e95a8ec863cdf8c5e3737ccb8e81 Reviewed-by: Gatis Paeglis Reviewed-by: Teemu Holappa --- src/doc/src/devices/qtee-intel-nuc.qdoc | 75 ++++++++++++++++++++++ src/doc/src/devices/qtee-supported-devices.qdoc | 17 +++++ src/doc/src/qtee-custom-embedded-linux.qdoc | 3 + src/doc/src/qtee-index.qdoc | 1 + .../src/shared/detect-sd-card-device-name.qdocinc | 22 +++++++ 5 files changed, 118 insertions(+) create mode 100644 src/doc/src/devices/qtee-intel-nuc.qdoc (limited to 'src/doc/src') diff --git a/src/doc/src/devices/qtee-intel-nuc.qdoc b/src/doc/src/devices/qtee-intel-nuc.qdoc new file mode 100644 index 0000000..7213e3b --- /dev/null +++ b/src/doc/src/devices/qtee-intel-nuc.qdoc @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** All rights reserved. +** For any questions to The Qt Company, please use the contact form at +** http://www.qt.io/contact-us +** +** This file is part of Qt for Device Creation. +** +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +****************************************************************************/ +/*! + \page qtee-preparing-hardware-nuc.html + \title Intel NUC + \previouspage qtee-installation-guide.html + + Take the following steps when preparing an + \l {http://www.intel.com/content/www/us/en/nuc/overview.html}{Intel NUC} + for \B2Q: + + \note It is important that you repeat the steps in this section after you + update \SDK. + + The images containing the \B2Q stack for the device are included + in \SDK. In these instructions, we prepare a USB device (a flash drive + or an external USB hard drive) to boot from. + + \section1 Preparing a USB Boot Device + + For \B2Q, a USB drive of at least 2 GB capacity is needed. + + \include detect-sd-card-device-name.qdocinc instructions-usbdevice + + \section1 Installing the \B2Q Image + + \include common.qdocinc wizard + + Install the \B2Q image onto the USB device. First, ensure that no + partitions are mounted: + + \include detect-sd-card-device-name.qdocinc unmount + + Then, use the following command to install the image: + + \badcode + cd + sudo dd bs=4k if=5.7/Automotive/intel-corei7-64/images/b2qt-embedded-qt5-image-intel-corei7-64.img of=/dev/ + \endcode + + After the installation is complete, connect the USB drive to the device, + power it on, and enter the BIOS setup (\b F2). Follow the instructions on + \l {http://www.intel.com/content/www/us/en/support/boards-and-kits/000005471.html} + {Operating System Installation for Intel® NUC} for how to select the + USB drive as a boot device. + + Press \b F10 to save your changes and exit BIOS setup. After reboot, check that the + \B2Q welcome screen and/or demo appear. + + \section1 Setting up USB Access + + \include b2qt-post-install-setup.qdocinc setting up usb access + + \section1 Configuring a Device Kit in Qt Creator + + \include b2qt-post-install-setup.qdocinc configuring device kit linux + + 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/devices/qtee-supported-devices.qdoc b/src/doc/src/devices/qtee-supported-devices.qdoc index 012bdce..108c423 100644 --- a/src/doc/src/devices/qtee-supported-devices.qdoc +++ b/src/doc/src/devices/qtee-supported-devices.qdoc @@ -36,6 +36,7 @@ \li \l{Kontron SMARC-sAMX6i} \li \l{BeagleBone Black} \li \l{Raspberry Pi 3 Model B} + \li \l{Intel NUC} \endlist If you use only the emulator, you can skip this step @@ -154,6 +155,11 @@ {Raspberry Pi 3 Model B}\br 1.2 Ghz ARM Cortex™-A53, Broadcom VideoCore IV\br @400MHz GPU, 1GB LPDDR2 SDRAM + \row \li \l {http://www.intel.com/content/www/us/en/nuc/overview.html} + {Intel® NUC}\br + Intel® Core i3, i5, or i7\br + Up to 32GB DDR4\br + Intel® Iris™ Graphics \endtable \section2 Group 3 @@ -299,6 +305,17 @@ \li \image ok \li \image ok \li + \row \li Intel NUC + \li \image ok + \li \image ok + \li \image ok + \li \image ok + \li \image ok + \li \image ok + \li \image ok + \li \image ok + \li \image ok + \li \endtable \section1 Supported Development Environment diff --git a/src/doc/src/qtee-custom-embedded-linux.qdoc b/src/doc/src/qtee-custom-embedded-linux.qdoc index f948515..56bc569 100644 --- a/src/doc/src/qtee-custom-embedded-linux.qdoc +++ b/src/doc/src/qtee-custom-embedded-linux.qdoc @@ -135,6 +135,9 @@ \row \li Kontron SMARC-sAMX6i \li smarc-smax6i + \row + \li Intel NUC + \li intel-corei7-64 \row \li Emulator \li emulator diff --git a/src/doc/src/qtee-index.qdoc b/src/doc/src/qtee-index.qdoc index 0e3a4b7..afb6438 100644 --- a/src/doc/src/qtee-index.qdoc +++ b/src/doc/src/qtee-index.qdoc @@ -52,6 +52,7 @@ \li \l{Preparing Kontron SMARC-sAMX6i}{Kontron SMARC-sAMX6i} \li \l{Preparing BeagleBone Black}{BeagleBone Black} \li \l{Preparing Raspberry Pi 3}{Raspberry Pi 3 Model B} + \li \l{Intel NUC} \endlist \li \l{Building and Running Embedded Applications} \list diff --git a/src/doc/src/shared/detect-sd-card-device-name.qdocinc b/src/doc/src/shared/detect-sd-card-device-name.qdocinc index d934c60..7af98a5 100644 --- a/src/doc/src/shared/detect-sd-card-device-name.qdocinc +++ b/src/doc/src/shared/detect-sd-card-device-name.qdocinc @@ -42,6 +42,28 @@ //! [instructions] +//! [instructions-usbdevice] + Plug in the USB storage device to the development host, + and use the following command on Linux to find out its device name: + + \badcode + lsblk -d + \endcode + + Removable devices such as flash drives have the value '1' in + the \e RM column. The full device path is \c {/dev/} followed by + the name. + + On Windows, use the following command to get the device name: + \badcode + wmic logicaldisk where "drivetype=2 and access=0" get deviceid, volumename + \endcode + + \warning Make sure to select the correct device, because selecting + the wrong one can result in a wiped hard drive. + +//! [instructions-usbdevice] + //! [unmount] \badcode umount /dev/ -- cgit v1.2.3