diff options
| author | Gary Bisson <gary.bisson@boundarydevices.com> | 2017-08-25 14:54:40 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-01-22 11:11:41 +0000 |
| commit | dd549006af6bf0b9d8de43b94c8588d98a17c4ab (patch) | |
| tree | f517e35c0fc63a0ea2d007788e390f9926751a80 | |
| parent | 8513b63910eb9046c79ab3fb3df02a4e665f05b5 (diff) | |
| download | meta-boot2qt-dd549006af6bf0b9d8de43b94c8588d98a17c4ab.tar.gz | |
nitrogen6x: add meta-boundary and create boundary group
Source code of the meta can be found here:
https://github.com/boundarydevices/meta-boundary
This meta layer is especially useful since our boards now ship with the
BD-SDMAC WiFi/BT module:
https://boundarydevices.com/product/bd_sdmac_wifi/
This latter requires a specific external kernel module and a modified
version of BlueZ hciattach tool.
BD-SDMAC support is limited to WiFi since BT firmware is only available
upon agreement to Silex EULA by registering your SSH key to our website:
https://boundarydevices.com/private-git-access/
Even for our older TIWI-BLE module, this layer is necessary to include
the BT firmware files that are currently missing (TIInit_7.6.15.bts).
Change-Id: I00560fb016a095c6d98c8031ac9c1873c37f71a5
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| -rwxr-xr-x | b2qt-init-build-env | 5 | ||||
| -rw-r--r-- | conf/bblayers.conf.boundary.sample | 53 | ||||
| -rw-r--r-- | conf/distro/include/boundary.inc | 43 | ||||
| -rw-r--r-- | conf/distro/include/nitrogen6x.conf | 6 | ||||
| -rw-r--r-- | scripts/manifest.xml | 10 | ||||
| -rwxr-xr-x | scripts/setup-environment.sh | 5 |
6 files changed, 114 insertions, 8 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 33e12e8..f9caad7 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
| @@ -109,7 +109,10 @@ get_groups() { | |||
| 109 | apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) | 109 | apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) |
| 110 | PROJECT_GROUPS="toradex" | 110 | PROJECT_GROUPS="toradex" |
| 111 | ;; | 111 | ;; |
| 112 | imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd|imx7s-warp) | 112 | nitrogen6x) |
| 113 | PROJECT_GROUPS="boundary" | ||
| 114 | ;; | ||
| 115 | imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp) | ||
| 113 | PROJECT_GROUPS="fsl" | 116 | PROJECT_GROUPS="fsl" |
| 114 | ;; | 117 | ;; |
| 115 | smarc-samx6i) | 118 | smarc-samx6i) |
diff --git a/conf/bblayers.conf.boundary.sample b/conf/bblayers.conf.boundary.sample new file mode 100644 index 0000000..b5ab9c7 --- /dev/null +++ b/conf/bblayers.conf.boundary.sample | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2018 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
| 31 | # changes incompatibly | ||
| 32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
| 33 | |||
| 34 | BBPATH = "${TOPDIR}" | ||
| 35 | BBFILES ?= "" | ||
| 36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
| 37 | |||
| 38 | BBLAYERS ?= " \ | ||
| 39 | ${BSPDIR}/sources/poky/meta \ | ||
| 40 | ${BSPDIR}/sources/poky/meta-poky \ | ||
| 41 | ${BSPDIR}/sources/meta-boundary \ | ||
| 42 | ${BSPDIR}/sources/meta-freescale \ | ||
| 43 | ${BSPDIR}/sources/meta-freescale-3rdparty \ | ||
| 44 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
| 45 | ${BSPDIR}/sources/meta-openembedded/meta-python \ | ||
| 46 | ${BSPDIR}/sources/meta-openembedded/meta-networking \ | ||
| 47 | ${BSPDIR}/sources/meta-openembedded/meta-initramfs \ | ||
| 48 | ${BSPDIR}/sources/meta-openembedded/meta-multimedia \ | ||
| 49 | ${BSPDIR}/sources/meta-boot2qt \ | ||
| 50 | ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \ | ||
| 51 | ${BSPDIR}/sources/meta-mingw \ | ||
| 52 | ${BSPDIR}/sources/meta-qt5 \ | ||
| 53 | " | ||
diff --git a/conf/distro/include/boundary.inc b/conf/distro/include/boundary.inc new file mode 100644 index 0000000..c8f5424 --- /dev/null +++ b/conf/distro/include/boundary.inc | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2018 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | include conf/distro/include/fsl.inc | ||
| 31 | |||
| 32 | BBMASK += " \ | ||
| 33 | meta-boundary/recipes-browser/chromium \ | ||
| 34 | meta-boundary/recipes-core/init-ifupdown \ | ||
| 35 | meta-boundary/recipes-mozilla/firefox \ | ||
| 36 | " | ||
| 37 | |||
| 38 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary" | ||
| 39 | |||
| 40 | MACHINE_EXTRA_INSTALL += "\ | ||
| 41 | kernel-module-qcacld \ | ||
| 42 | linux-firmware-bdsdmac-wlan \ | ||
| 43 | " | ||
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf index 389ac03..c1cf138 100644 --- a/conf/distro/include/nitrogen6x.conf +++ b/conf/distro/include/nitrogen6x.conf | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ############################################################################ | 1 | ############################################################################ |
| 2 | ## | 2 | ## |
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2018 The Qt Company Ltd. |
| 4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
| 5 | ## | 5 | ## |
| 6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
| @@ -27,7 +27,7 @@ | |||
| 27 | ## | 27 | ## |
| 28 | ############################################################################ | 28 | ############################################################################ |
| 29 | 29 | ||
| 30 | include conf/distro/include/fsl.inc | 30 | include conf/distro/include/boundary.inc |
| 31 | include conf/distro/include/opencv.inc | 31 | include conf/distro/include/opencv.inc |
| 32 | 32 | ||
| 33 | DEPLOY_CONF_NAME = "Boundary Devices i.MX6" | 33 | DEPLOY_CONF_NAME = "Boundary Devices i.MX6" |
| @@ -76,8 +76,6 @@ UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config" | |||
| 76 | UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config" | 76 | UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config" |
| 77 | UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config" | 77 | UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config" |
| 78 | 78 | ||
| 79 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary" | ||
| 80 | |||
| 81 | KERNEL_DEVICETREE += "\ | 79 | KERNEL_DEVICETREE += "\ |
| 82 | imx6dl-nit6xlite.dtb \ | 80 | imx6dl-nit6xlite.dtb \ |
| 83 | " | 81 | " |
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index 59a936a..8eec940 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | <remote fetch="git://github.com/renesas-rcar" name="renesas"/> | 13 | <remote fetch="git://github.com/renesas-rcar" name="renesas"/> |
| 14 | <remote fetch="git://git.linaro.org/openembedded" name="linaro"/> | 14 | <remote fetch="git://git.linaro.org/openembedded" name="linaro"/> |
| 15 | <remote fetch="git://git.toradex.com" name="toradex"/> | 15 | <remote fetch="git://git.toradex.com" name="toradex"/> |
| 16 | <remote fetch="git://github.com/boundarydevices" name="boundary"/> | ||
| 16 | 17 | ||
| 17 | <project name="poky" | 18 | <project name="poky" |
| 18 | remote="yocto" | 19 | remote="yocto" |
| @@ -35,12 +36,12 @@ | |||
| 35 | remote="freescale" | 36 | remote="freescale" |
| 36 | revision="10d8ccb5ff2c31d2a5b13e088a8ec9511cbc3e72" | 37 | revision="10d8ccb5ff2c31d2a5b13e088a8ec9511cbc3e72" |
| 37 | path="sources/meta-freescale" | 38 | path="sources/meta-freescale" |
| 38 | groups="notdefault,external,fsl,toradex,ti,smx6,renesas-gen3"/> | 39 | groups="notdefault,external,fsl,toradex,ti,smx6,renesas-gen3,boundary"/> |
| 39 | <project name="meta-freescale-3rdparty" | 40 | <project name="meta-freescale-3rdparty" |
| 40 | remote="freescale" | 41 | remote="freescale" |
| 41 | revision="35badbde05d4f10d4faeefc30bc126b5bd228e2e" | 42 | revision="35badbde05d4f10d4faeefc30bc126b5bd228e2e" |
| 42 | path="sources/meta-freescale-3rdparty" | 43 | path="sources/meta-freescale-3rdparty" |
| 43 | groups="notdefault,external,fsl,toradex,smx6"/> | 44 | groups="notdefault,external,fsl,toradex,smx6,boundary"/> |
| 44 | <project name="meta-ti" | 45 | <project name="meta-ti" |
| 45 | remote="yocto" | 46 | remote="yocto" |
| 46 | revision="aca8f5d6ff8a529e00bdeae5b401c791ed6ecb2b" | 47 | revision="aca8f5d6ff8a529e00bdeae5b401c791ed6ecb2b" |
| @@ -81,6 +82,11 @@ | |||
| 81 | revision="45c33b79a734d016dddb997c1895b53202286f23" | 82 | revision="45c33b79a734d016dddb997c1895b53202286f23" |
| 82 | path="sources/meta-toradex-nxp" | 83 | path="sources/meta-toradex-nxp" |
| 83 | groups="notdefault,external,toradex"/> | 84 | groups="notdefault,external,toradex"/> |
| 85 | <project name="meta-boundary" | ||
| 86 | remote="boundary" | ||
| 87 | revision="42b00061076b2a6e15c1eeed7da6fc14a0dae9d8" | ||
| 88 | path="sources/meta-boundary" | ||
| 89 | groups="notdefault,external,boundary"/> | ||
| 84 | 90 | ||
| 85 | <project name="nvidia-layer" | 91 | <project name="nvidia-layer" |
| 86 | remote="playground" | 92 | remote="playground" |
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index 204ded6..e9a7012 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
| @@ -59,7 +59,10 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
| 59 | apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) | 59 | apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) |
| 60 | LAYERSCONF="bblayers.conf.toradex.sample" | 60 | LAYERSCONF="bblayers.conf.toradex.sample" |
| 61 | ;; | 61 | ;; |
| 62 | imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd|imx7s-warp) | 62 | nitrogen6x) |
| 63 | LAYERSCONF="bblayers.conf.boundary.sample" | ||
| 64 | ;; | ||
| 65 | imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp) | ||
| 63 | LAYERSCONF="bblayers.conf.fsl.sample" | 66 | LAYERSCONF="bblayers.conf.fsl.sample" |
| 64 | ;; | 67 | ;; |
| 65 | smarc-samx6i) | 68 | smarc-samx6i) |
