summaryrefslogtreecommitdiffstats
path: root/meta-boot2qt-distro
diff options
context:
space:
mode:
Diffstat (limited to 'meta-boot2qt-distro')
-rw-r--r--meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf30
-rw-r--r--meta-boot2qt-distro/conf/distro/include/boundary.inc2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-vf.conf6
-rw-r--r--meta-boot2qt-distro/conf/distro/include/emulator.conf12
-rw-r--r--meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc79
-rw-r--r--meta-boot2qt-distro/conf/distro/include/fsl.inc2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf (renamed from meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend)9
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf41
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf6
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf30
-rw-r--r--meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf3
-rw-r--r--meta-boot2qt-distro/conf/distro/include/jetson.inc9
-rw-r--r--meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf39
-rw-r--r--meta-boot2qt-distro/conf/distro/include/nitrogen7.conf2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi.inc4
-rw-r--r--meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf20
-rw-r--r--meta-boot2qt-distro/conf/distro/include/toradex.inc19
-rw-r--r--meta-boot2qt-distro/conf/layer.conf2
-rw-r--r--meta-boot2qt-distro/conf/machine/emulator.conf5
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend24
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch21
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch11
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch96
-rw-r--r--meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend (renamed from meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend)0
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend1
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch11
31 files changed, 169 insertions, 379 deletions
diff --git a/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf b/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
index 0d3fd29..b4f4eef 100644
--- a/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
+++ b/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
@@ -31,15 +31,13 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Apalis iMX6" 32DEPLOY_CONF_NAME = "Toradex Apalis iMX6"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \ 39 u-boot-${MACHINE}.img;${MACHINEDIR}/u-boot.img \
42 SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \ 40 SPL-${MACHINE}-spl;${MACHINEDIR}/SPL \
43 " 41 "
44 42
45SERIAL_CONSOLES = "115200;ttymxc0 \ 43SERIAL_CONSOLES = "115200;ttymxc0 \
diff --git a/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf b/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf
index d570e3a..7a7728c 100644
--- a/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf
+++ b/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf
@@ -27,36 +27,8 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl-imx8.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Apalis iMX8" 32DEPLOY_CONF_NAME = "Toradex Apalis iMX8"
33 33
34SERIAL_CONSOLE = "115200 ttyLP1" 34SERIAL_CONSOLE = "115200 ttyLP1"
35
36FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
37
38RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
39RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
40
41BBMASK += "\
42 meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
43 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
44 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
45 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
46 meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
47 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend \
48 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
49 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
50 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
51 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
52 meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
53 meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
54 meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
55 meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
56 meta-freescale/recipes-graphics/wayland/weston \
57 "
58
59KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}"
60EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
61
62MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
diff --git a/meta-boot2qt-distro/conf/distro/include/boundary.inc b/meta-boot2qt-distro/conf/distro/include/boundary.inc
index c8f5424..b08e11a 100644
--- a/meta-boot2qt-distro/conf/distro/include/boundary.inc
+++ b/meta-boot2qt-distro/conf/distro/include/boundary.inc
@@ -35,8 +35,6 @@ BBMASK += " \
35 meta-boundary/recipes-mozilla/firefox \ 35 meta-boundary/recipes-mozilla/firefox \
36 " 36 "
37 37
38EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary"
39
40MACHINE_EXTRA_INSTALL += "\ 38MACHINE_EXTRA_INSTALL += "\
41 kernel-module-qcacld \ 39 kernel-module-qcacld \
42 linux-firmware-bdsdmac-wlan \ 40 linux-firmware-bdsdmac-wlan \
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
index f1bf7d8..a216613 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
@@ -31,13 +31,11 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX6" 32DEPLOY_CONF_NAME = "Toradex Colibri iMX6"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \ 39 u-boot-${MACHINE}.img;${MACHINEDIR}/u-boot.img \
42 SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \ 40 SPL-${MACHINE}-spl;${MACHINEDIR}/SPL \
43 " 41 "
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf
index 9090055..da92ad3 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf
@@ -31,20 +31,18 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX6ULL" 32DEPLOY_CONF_NAME = "Toradex Colibri iMX6ULL"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-${MACHINE}.imx:${MACHINEDIR}/u-boot.imx \ 39 u-boot-${MACHINE}.imx;${MACHINEDIR}/u-boot.imx \
42 " 40 "
43 41
44PREFERRED_PROVIDER_virtual/egl_b2qt = "opengldummy" 42PREFERRED_PROVIDER_virtual/egl_b2qt = "opengldummy"
45PREFERRED_PROVIDER_virtual/libgles2_b2qt = "opengldummy" 43PREFERRED_PROVIDER_virtual/libgles2_b2qt = "opengldummy"
46 44
47DISTRO_FEATURES_remove = "webengine wayland" 45DISTRO_FEATURES_remove = "webengine wayland vulkan"
48 46
49# try to limit the maximum size of the tezi image 47# try to limit the maximum size of the tezi image
50RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" 48RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
index a5695f7..c7aa169 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
@@ -31,20 +31,18 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX7" 32DEPLOY_CONF_NAME = "Toradex Colibri iMX7"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \ 39 u-boot-nand.imx;${MACHINEDIR}/u-boot-nand.imx \
42 " 40 "
43 41
44PREFERRED_PROVIDER_virtual/egl = "opengldummy" 42PREFERRED_PROVIDER_virtual/egl = "opengldummy"
45PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 43PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
46 44
47DISTRO_FEATURES_remove = "webengine wayland" 45DISTRO_FEATURES_remove = "webengine wayland vulkan"
48 46
49# try to limit the maximum size of the tezi image 47# try to limit the maximum size of the tezi image
50RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" 48RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
index e4c025b..ecd01da 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
@@ -33,11 +33,11 @@ DEPLOY_CONF_NAME = "Toradex Colibri VF"
33 33
34IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024" 34IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024"
35 35
36BOOT_SCRIPTS += " \ 36IMAGE_BOOT_FILES += " \
37 u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \ 37 u-boot-nand.imx;${MACHINEDIR}/u-boot-nand.imx \
38 " 38 "
39 39
40PREFERRED_PROVIDER_virtual/egl = "opengldummy" 40PREFERRED_PROVIDER_virtual/egl = "opengldummy"
41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
42 42
43DISTRO_FEATURES_remove = "webengine wayland" 43DISTRO_FEATURES_remove = "webengine wayland vulkan"
diff --git a/meta-boot2qt-distro/conf/distro/include/emulator.conf b/meta-boot2qt-distro/conf/distro/include/emulator.conf
index b6125ae..619af16 100644
--- a/meta-boot2qt-distro/conf/distro/include/emulator.conf
+++ b/meta-boot2qt-distro/conf/distro/include/emulator.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 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,10 +27,7 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30IMAGE_CLASSES += "image-hdd" 30IMAGE_FSTYPES = "ext3 wic"
31IMAGE_ROOTFS_ALIGNMENT = "1048576"
32ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3"
33IMAGE_FSTYPES = "ext3"
34 31
35QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" 32QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd"
36 33
@@ -41,12 +38,13 @@ MACHINE_EXTRA_RRECOMMENDS += "\
41PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" 38PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client"
42PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" 39PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client"
43 40
41RDEPENDS_qtbase_pn-qtbase += "qtglesstream"
42
44KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" 43KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf"
45 44
46DISTRO_FEATURES_remove = "webengine opengl wayland" 45DISTRO_FEATURES_remove = "webengine opengl wayland vulkan"
47 46
48MACHINE_EXTRA_INSTALL += "\ 47MACHINE_EXTRA_INSTALL += "\
49 mount-vboxsf \ 48 mount-vboxsf \
50 qtsystems \ 49 qtsystems \
51 qtglesstream \
52 " 50 "
diff --git a/meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc b/meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc
new file mode 100644
index 0000000..4e4256b
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc
@@ -0,0 +1,79 @@
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
30include conf/distro/include/fsl.inc
31
32FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
33
34DISTRO_FEATURES_remove = "vulkan"
35
36RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
37RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
38
39BBMASK += "\
40 meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
41 meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
42 meta-freescale/recipes-graphics/wayland/weston \
43 meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
44 meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test \
45 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
46 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/connman \
47 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
48 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
49 meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
50 meta-fsl-bsp-release/imx/meta-bsp/recipes-devtools/gdb \
51 meta-fsl-bsp-release/imx/meta-bsp/recipes-extended/logrotate \
52 meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv \
53 meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/xorg-driver \
54 meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/cryptodev \
55 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa \
56 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
57 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
58 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
59 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
60 meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
61 meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
62 "
63
64KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}"
65EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
66
67MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
68
69WKS_FILE = "imx8-uboot-bootpart.wks"
70WIC_CREATE_EXTRA_ARGS = "--no-fstab-update"
71WKS_FILE_DEPENDS += "imx-boot"
72
73BOOT_CONFIG_MACHINE_pn-imx-boot = "${BOOT_NAME}-${UBOOT_CONFIG}.bin"
74
75IMAGE_BOOT_FILES = "\
76 Image \
77 fsl-*.dtb \
78 hdmitxfw.bin \
79 "
diff --git a/meta-boot2qt-distro/conf/distro/include/fsl.inc b/meta-boot2qt-distro/conf/distro/include/fsl.inc
index 32fec1b..5f22dd4 100644
--- a/meta-boot2qt-distro/conf/distro/include/fsl.inc
+++ b/meta-boot2qt-distro/conf/distro/include/fsl.inc
@@ -29,7 +29,7 @@
29 29
30BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5" 30BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5"
31 31
32IMAGE_FSTYPES += "ext3 sdcard" 32IMAGE_FSTYPES += "ext3 wic"
33IMAGE_CLASSES += "image_types_fsl" 33IMAGE_CLASSES += "image_types_fsl"
34 34
35QBSP_IMAGE_CONTENT ?= "\ 35QBSP_IMAGE_CONTENT ?= "\
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf
deleted file mode 100644
index af49983..0000000
--- a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf
+++ /dev/null
@@ -1,32 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30require imx6qsabresd.conf
31
32DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Dual"
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend b/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf
index bac366d..5f3ddb3 100644
--- a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend
+++ b/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.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,8 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30include conf/distro/include/fsl.inc
31SRC_URI += "file://0001-Support-SYSROOT-in-c_rehash.patch" 31include conf/distro/include/opencv.inc
32 32
33PACKAGECONFIG += "perl" 33DEPLOY_CONF_NAME = "NXP i.MX6QP/Q/DL SABRE Smart Device"
34 34
35KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf
deleted file mode 100644
index 683c601..0000000
--- a/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf
+++ /dev/null
@@ -1,41 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30include conf/distro/include/fsl.inc
31include conf/distro/include/opencv.inc
32
33DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Quad"
34
35KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
36
37# add support for both imx6qsabresd and imx6dlsabresd
38KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb \
39 imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb imx6dl-sabresd-hdcp.dtb \
40 "
41MACHINE_FIRMWARE_append = " firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
index 1d30445..906b4fe 100644
--- a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
+++ b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 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.
@@ -34,6 +34,4 @@ DEPLOY_CONF_NAME = "i.MX7S WaRP"
34PREFERRED_PROVIDER_virtual/egl = "opengldummy" 34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36 36
37DISTRO_FEATURES_remove = "webengine wayland" 37DISTRO_FEATURES_remove = "webengine wayland vulkan"
38
39KERNEL_DEVICETREE = "imx7d-warp.dtb"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf b/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf
index 6dfaa3a..a3a2c29 100644
--- a/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf
+++ b/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf
@@ -27,36 +27,8 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl-imx8.inc
31 31
32DEPLOY_CONF_NAME = "NXP iMX8QM" 32DEPLOY_CONF_NAME = "NXP iMX8QM"
33 33
34PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" 34PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
35
36FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
37
38RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
39RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
40
41BBMASK += "\
42 meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
43 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
44 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
45 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
46 meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
47 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend \
48 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
49 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
50 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
51 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
52 meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
53 meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
54 meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
55 meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
56 meta-freescale/recipes-graphics/wayland/weston \
57 "
58
59KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}"
60EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
61
62MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
diff --git a/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
index 0c8200a..64432d3 100644
--- a/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
+++ b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
@@ -31,8 +31,7 @@ DEPLOY_CONF_NAME = "Intel NUC"
31 31
32DISTRO_FEATURES_remove = "usbgadget" 32DISTRO_FEATURES_remove = "usbgadget"
33 33
34IMAGE_CLASSES += "image_dd_efi" 34IMAGE_FSTYPES += "wic"
35IMAGE_FSTYPES += "ext3 dd"
36 35
37QBSP_IMAGE_CONTENT ?= "\ 36QBSP_IMAGE_CONTENT ?= "\
38 ${IMAGE_LINK_NAME}.img \ 37 ${IMAGE_LINK_NAME}.img \
diff --git a/meta-boot2qt-distro/conf/distro/include/jetson.inc b/meta-boot2qt-distro/conf/distro/include/jetson.inc
index e3e0292..3212cb9 100644
--- a/meta-boot2qt-distro/conf/distro/include/jetson.inc
+++ b/meta-boot2qt-distro/conf/distro/include/jetson.inc
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 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,8 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra"
31
32# use mmc0 30# use mmc0
33ROOTFS_DEVICE = "mmcblk1p1" 31ROOTFS_DEVICE = "mmcblk1p1"
34 32
@@ -43,8 +41,3 @@ QBSP_IMAGE_CONTENT = "\
43 ${IMAGE_LINK_NAME}.conf \ 41 ${IMAGE_LINK_NAME}.conf \
44 ${IMAGE_LINK_NAME}.flasher.tar.gz \ 42 ${IMAGE_LINK_NAME}.flasher.tar.gz \
45 " 43 "
46
47BBMASK += "\
48 meta-tegra/recipes-graphics/drm \
49 meta-tegra/external/openembedded-layer/recipes-support/opencv \
50 "
diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
index 894d51d..f6871be 100644
--- a/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
+++ b/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
@@ -33,25 +33,26 @@ include conf/distro/include/opencv.inc
33DEPLOY_CONF_NAME = "Boundary Devices i.MX6" 33DEPLOY_CONF_NAME = "Boundary Devices i.MX6"
34 34
35BOOT_SPACE = "16384" 35BOOT_SPACE = "16384"
36BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \ 36IMAGE_BOOT_FILES += "\
37 u-boot-nit6xlite-*.imx:u-boot.nit6xlite \ 37 upgrade.scr-${MACHINE};upgrade.scr \
38 u-boot-nit6xlite1g-*.imx:u-boot.nit6xlite1g \ 38 upgrade.scr-${MACHINE};6x_upgrade \
39 u-boot-nitrogen6dl-*.imx:u-boot.nitrogen6dl \ 39 u-boot-${MACHINE}.imx-nit6xlite;u-boot.nit6xlite \
40 u-boot-nitrogen6dl2g-*.imx:u-boot.nitrogen6dl2g \ 40 u-boot-${MACHINE}.imx-nit6xlite1g;u-boot.nit6xlite1g \
41 u-boot-nitrogen6q2g-*.imx:u-boot.nitrogen6q2g \ 41 u-boot-${MACHINE}.imx-nitrogen6dl;u-boot.nitrogen6dl \
42 u-boot-nitrogen6q-*.imx:u-boot.nitrogen6q \ 42 u-boot-${MACHINE}.imx-nitrogen6dl2g;u-boot.nitrogen6dl2g \
43 u-boot-nitrogen6q_fl-*.imx:u-boot.nitrogen6q_fl \ 43 u-boot-${MACHINE}.imx-nitrogen6q2g;u-boot.nitrogen6q2g \
44 u-boot-nitrogen6qp_max-*.imx:u-boot.nitrogen6qp_max \ 44 u-boot-${MACHINE}.imx-nitrogen6q;u-boot.nitrogen6q \
45 u-boot-nitrogen6s1g-*.imx:u-boot.nitrogen6s1g \ 45 u-boot-${MACHINE}.imx-nitrogen6q_fl;u-boot.nitrogen6q_fl \
46 u-boot-nitrogen6s-*.imx:u-boot.nitrogen6s \ 46 u-boot-${MACHINE}.imx-nitrogen6qp_max;u-boot.nitrogen6qp_max \
47 u-boot-nitrogen6sx-*.imx:u-boot.nitrogen6sx \ 47 u-boot-${MACHINE}.imx-nitrogen6s1g;u-boot.nitrogen6s1g \
48 u-boot-nitrogen6_lum_dl1-*.imx:u-boot.nitrogen6_lum_dl1 \ 48 u-boot-${MACHINE}.imx-nitrogen6s;u-boot.nitrogen6s \
49 u-boot-nitrogen6_max-*.imx:u-boot.nitrogen6_max \ 49 u-boot-${MACHINE}.imx-nitrogen6sx;u-boot.nitrogen6sx \
50 u-boot-nitrogen6_vm1g-*.imx:u-boot.nitrogen6_vm1g \ 50 u-boot-${MACHINE}.imx-nitrogen6_lum_dl1;u-boot.nitrogen6_lum_dl1 \
51 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \ 51 u-boot-${MACHINE}.imx-nitrogen6_max;u-boot.nitrogen6_max \
52 " 52 u-boot-${MACHINE}.imx-nitrogen6_vm1g;u-boot.nitrogen6_vm1g \
53 53 u-boot-${MACHINE}.imx-nitrogen6_vm;u-boot.nitrogen6_vm \
54PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary" 54 "
55WKS_FILE_DEPENDS += "u-boot"
55 56
56UBOOT_MACHINE = "" 57UBOOT_MACHINE = ""
57UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \ 58UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \
diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
index 1614b04..0d225fa 100644
--- a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
+++ b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
@@ -34,5 +34,5 @@ DEPLOY_CONF_NAME = "Boundary Devices i.MX7"
34PREFERRED_PROVIDER_virtual/egl = "opengldummy" 34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36 36
37DISTRO_FEATURES_remove = "webengine wayland" 37DISTRO_FEATURES_remove = "webengine wayland vulkan"
38 38
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
index 1d2cf9d..65faba4 100644
--- a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
@@ -47,10 +47,6 @@ VIDEO_CAMERA = "1"
47 47
48MACHINE_FEATURES += "pitft" 48MACHINE_FEATURES += "pitft"
49 49
50BBMASK += "\
51 meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12%.bbappend \
52 "
53
54MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx" 50MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx"
55 51
56KERNEL_DEVICETREE += "\ 52KERNEL_DEVICETREE += "\
diff --git a/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf b/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
index 6c79d2c..dca0916 100644
--- a/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
+++ b/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 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.
@@ -33,7 +33,7 @@ QBSP_IMAGE_CONTENT = "\
33 ${IMAGE_LINK_NAME}.tar.gz \ 33 ${IMAGE_LINK_NAME}.tar.gz \
34 " 34 "
35 35
36PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' 36PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/drive-t186")}'
37NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" 37NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer"
38 38
39MACHINE_EXTRA_INSTALL += "\ 39MACHINE_EXTRA_INSTALL += "\
@@ -55,6 +55,10 @@ MACHINE_EXTRA_INSTALL += "\
55 libdrm-nv \ 55 libdrm-nv \
56 " 56 "
57 57
58MACHINE_EXTRA_INSTALL_SDK = "\
59 tegra-drivers \
60 "
61
58PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers" 62PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers"
59PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers" 63PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers"
60PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers" 64PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers"
@@ -66,16 +70,21 @@ PREFERRED_PROVIDER_virtual/mesa = "tegra-drivers"
66PREFERRED_PROVIDER_drm = "libdrm-nv" 70PREFERRED_PROVIDER_drm = "libdrm-nv"
67PREFERRED_PROVIDER_libdrm = "libdrm-nv" 71PREFERRED_PROVIDER_libdrm = "libdrm-nv"
68PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia" 72PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia"
69PREFERRED_VERSION_linux-libc-headers = "4.4" 73PREFERRED_VERSION_linux-libc-headers = "4.9"
70PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.4" 74PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.9"
75
76DISTRO_FEATURES_remove = "vulkan"
71 77
72BBMASK += "\ 78BBMASK += "\
73 meta-tegra/recipes-bsp/flashing \ 79 meta-vib4/recipes-connectivity/bluez5 \
80 meta-vib4/recipes-connectivity/hostapd \
74 meta-vib4/recipes-connectivity/openssl \ 81 meta-vib4/recipes-connectivity/openssl \
82 meta-vib4/recipes-connectivity/soft66 \
75 meta-vib4/recipes-core/busybox \ 83 meta-vib4/recipes-core/busybox \
76 meta-vib4/recipes-core/glibc \ 84 meta-vib4/recipes-core/glibc \
77 meta-vib4/recipes-core/images \ 85 meta-vib4/recipes-core/images \
78 meta-vib4/recipes-core/kbd \ 86 meta-vib4/recipes-core/kbd \
87 meta-vib4/recipes-core/llvm \
79 meta-vib4/recipes-core/packagegroups \ 88 meta-vib4/recipes-core/packagegroups \
80 meta-vib4/recipes-core/toybox \ 89 meta-vib4/recipes-core/toybox \
81 meta-vib4/recipes-devtools/binutils \ 90 meta-vib4/recipes-devtools/binutils \
@@ -91,6 +100,7 @@ BBMASK += "\
91 meta-vib4/recipes-kernel/linux-libc-headers \ 100 meta-vib4/recipes-kernel/linux-libc-headers \
92 meta-vib4/recipes-multimedia/audiomanager \ 101 meta-vib4/recipes-multimedia/audiomanager \
93 meta-vib4/recipes-navigation/gpsd \ 102 meta-vib4/recipes-navigation/gpsd \
103 meta-vib4/recipes-navigation/navit \
94 meta-vib4/recipes-support/keyutils \ 104 meta-vib4/recipes-support/keyutils \
95 meta-vib4/recipes-support/lvm2 \ 105 meta-vib4/recipes-support/lvm2 \
96 meta-vib4/recipes-yocto-ivi \ 106 meta-vib4/recipes-yocto-ivi \
diff --git a/meta-boot2qt-distro/conf/distro/include/toradex.inc b/meta-boot2qt-distro/conf/distro/include/toradex.inc
index 85d9455..f61aad7 100644
--- a/meta-boot2qt-distro/conf/distro/include/toradex.inc
+++ b/meta-boot2qt-distro/conf/distro/include/toradex.inc
@@ -29,6 +29,9 @@
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl.inc
31 31
32# include file from meta-toradex-nxp
33require conf/machine/include/${MACHINE}.inc
34
32BBMASK += "\ 35BBMASK += "\
33 meta-toradex-nxp/recipes-graphics/xorg-xserver \ 36 meta-toradex-nxp/recipes-graphics/xorg-xserver \
34 meta-toradex-bsp-common/recipes-devtools/python \ 37 meta-toradex-bsp-common/recipes-devtools/python \
@@ -37,16 +40,12 @@ BBMASK += "\
37 40
38PREFERRED_PROVIDER_u-boot = "u-boot-toradex" 41PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
39 42
40EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" 43WKS_FILE_DEPENDS += "u-boot-script-toradex"
41 44
42MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}" 45MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}"
43BOOT_SCRIPTS += " \ 46IMAGE_BOOT_FILES += " \
44 fwd_blk.img:flash_blk.img \ 47 fwd_blk.img;flash_blk.img \
45 fwd_eth.img:flash_eth.img \ 48 fwd_eth.img;flash_eth.img \
46 fwd_mmc.img:flash_mmc.img \ 49 fwd_mmc.img;flash_mmc.img \
47 ${MACHINE}:${MACHINEDIR} \ 50 ${MACHINE}/*;${MACHINEDIR}/ \
48 " 51 "
49
50# fix: basehash value changed from ... to ....
51# The metadata is not deterministic and this needs to be fixed.
52rootfs_tezi_json[vardepsexclude] = "DATE"
diff --git a/meta-boot2qt-distro/conf/layer.conf b/meta-boot2qt-distro/conf/layer.conf
index 9a218d9..d9ededa 100644
--- a/meta-boot2qt-distro/conf/layer.conf
+++ b/meta-boot2qt-distro/conf/layer.conf
@@ -39,3 +39,5 @@ BBMASK += "meta-qt5/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bba
39BBFILE_COLLECTIONS += "b2qt-distro" 39BBFILE_COLLECTIONS += "b2qt-distro"
40BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" 40BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/"
41BBFILE_PRIORITY_b2qt-distro = "20" 41BBFILE_PRIORITY_b2qt-distro = "20"
42
43LAYERSERIES_COMPAT_b2qt-distro = "sumo"
diff --git a/meta-boot2qt-distro/conf/machine/emulator.conf b/meta-boot2qt-distro/conf/machine/emulator.conf
index 2ab622e..cb18983 100644
--- a/meta-boot2qt-distro/conf/machine/emulator.conf
+++ b/meta-boot2qt-distro/conf/machine/emulator.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.
@@ -50,3 +50,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions"
50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" 50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen"
51 51
52SYSTEMD_DEFAULT_TARGET = "custom.target" 52SYSTEMD_DEFAULT_TARGET = "custom.target"
53
54WKS_FILE = "directdisk.wks"
55do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend b/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend
deleted file mode 100644
index fda246a..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend
+++ /dev/null
@@ -1,24 +0,0 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
23
24SRC_URI += "file://0001-disable-connman-when-booting-over-nfs-${PV}.patch"
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
deleted file mode 100644
index f893746..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1From df70770f33280a915abb413678088a078d82341a Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Tue, 20 Sep 2016 11:02:50 +0300
4Subject: [PATCH] Disable connman when booting over NFS
5
6---
7 src/connman.service.in | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/src/connman.service.in b/src/connman.service.in
11index 09dfec9..4132cf7 100644
12--- a/src/connman.service.in
13+++ b/src/connman.service.in
14@@ -6,6 +6,7 @@ RequiresMountsFor=@localstatedir@/lib/connman
15 After=dbus.service network-pre.target systemd-sysusers.service
16 Before=network.target multi-user.target shutdown.target
17 Wants=network.target
18+ConditionKernelCommandLine=!root=/dev/nfs
19
20 [Service]
21 Type=dbus
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
deleted file mode 100644
index 8b46666..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/src/connman.service.in
2+++ b/src/connman.service.in
3@@ -7,6 +7,7 @@
4 Before=network.target multi-user.target shutdown.target
5 Wants=network.target
6 Conflicts=systemd-resolved.service
7+ConditionKernelCommandLine=!root=/dev/nfs
8
9 [Service]
10 Type=dbus
11
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch b/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch
deleted file mode 100644
index 9aa9648..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch
+++ /dev/null
@@ -1,96 +0,0 @@
1From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 9 Sep 2015 13:37:28 +0300
4Subject: [PATCH] Support SYSROOT in c_rehash
5
6update-ca-certificates is ran during image creation, which in turn runs
7c_rehash. Since the symlinks in /etc/ssl/certs/ are pointing to absolute
8location, c_rehash does not find the actual files. Add support for SYSROOT
9environment variable and use it to locate the actual files during image
10creation.
11
12Upstream-status: Pending
13---
14 tools/c_rehash.in | 30 +++++++++++++++++-------------
15 1 file changed, 17 insertions(+), 13 deletions(-)
16
17diff --git a/tools/c_rehash.in b/tools/c_rehash.in
18index 92cb503..f3d2703 100644
19--- a/tools/c_rehash.in
20+++ b/tools/c_rehash.in
21@@ -7,6 +7,7 @@ my $dir;
22 my $prefix;
23
24 my $openssl = $ENV{OPENSSL} || "openssl";
25+my $sysroot = $ENV{SYSROOT} || "";
26 my $pwd;
27 my $verbose = 0;
28 my $symlink_exists=eval {symlink("",""); 1};
29@@ -101,16 +102,17 @@ sub hash_dir {
30 }
31 }
32 FILE: foreach $fname (grep {/\.(pem)|(crt)|(cer)|(crl)$/} @flist) {
33+ $fullname = $sysroot . readlink($fname);
34 # Check to see if certificates and/or CRLs present.
35- my ($cert, $crl) = check_file($fname);
36+ my ($cert, $crl) = check_file($fullname);
37 if(!$cert && !$crl) {
38 print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";
39 next;
40 }
41- link_hash_cert($fname) if($cert);
42- link_hash_cert_old($fname) if($cert);
43- link_hash_crl($fname) if($crl);
44- link_hash_crl_old($fname) if($crl);
45+ link_hash_cert($fname, $fullname) if($cert);
46+ link_hash_cert_old($fname, $fullname) if($cert);
47+ link_hash_crl($fname, $fullname) if($crl);
48+ link_hash_crl_old($fname, $fullname) if($crl);
49 }
50 }
51
52@@ -143,9 +145,10 @@ sub check_file {
53
54 sub link_hash_cert {
55 my $fname = $_[0];
56- my $x509hash = $_[1] || '-subject_hash';
57- $fname =~ s/'/'\\''/g;
58- my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fname"`;
59+ my $fullname = $_[1];
60+ my $x509hash = $_[2] || '-subject_hash';
61+ $fullname =~ s/'/'\\''/g;
62+ my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fullname"`;
63 chomp $hash;
64 chomp $fprint;
65 $fprint =~ s/^.*=//;
66@@ -176,11 +179,11 @@ sub link_hash_cert {
67 }
68
69 sub link_hash_cert_old {
70- link_hash_cert($_[0], '-subject_hash_old');
71+ link_hash_cert($_[0], $_[1], '-subject_hash_old');
72 }
73
74 sub link_hash_crl_old {
75- link_hash_crl($_[0], '-hash_old');
76+ link_hash_crl($_[0], $_[1], '-hash_old');
77 }
78
79
80@@ -188,9 +191,10 @@ sub link_hash_crl_old {
81
82 sub link_hash_crl {
83 my $fname = $_[0];
84- my $crlhash = $_[1] || "-hash";
85- $fname =~ s/'/'\\''/g;
86- my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fname'`;
87+ my $fullname = $_[1];
88+ my $crlhash = $_[2] || "-hash";
89+ $fullname =~ s/'/'\\''/g;
90+ my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fullname'`;
91 chomp $hash;
92 chomp $fprint;
93 $fprint =~ s/^.*=//;
94--
951.9.1
96
diff --git a/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend b/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
index 4e55e66..4e55e66 100644
--- a/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
+++ b/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
index f24556e..0e4089b 100644
--- a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
@@ -40,6 +40,7 @@ PACKAGECONFIG += " \
40 getentropy \ 40 getentropy \
41 gif \ 41 gif \
42 glib \ 42 glib \
43 harfbuzz \
43 ico \ 44 ico \
44 icu \ 45 icu \
45 libinput \ 46 libinput \
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
index ad4c7b8..b90d2f8 100644
--- a/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
@@ -1,23 +1,24 @@
1From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001 1From 5a68ac7a0121eff661a448e2fcbe5c02981c50a1 Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io> 2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Wed, 25 Oct 2017 13:22:16 +0300 3Date: Wed, 25 Oct 2017 13:22:16 +0300
4Subject: [PATCH] location: disable simulator content under plugins 4Subject: [PATCH] location: disable simulator content under plugins
5 5
6Does not build against more recent simulator 6Does not build against more recent simulator
7
7--- 8---
8 src/plugins/position/position.pro | 2 +- 9 src/plugins/position/position.pro | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
10 11
11diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro 12diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro
12index 1687a9d..347963f 100644 13index 4453b8a3..c36a1b58 100644
13--- a/src/plugins/position/position.pro 14--- a/src/plugins/position/position.pro
14+++ b/src/plugins/position/position.pro 15+++ b/src/plugins/position/position.pro
15@@ -5,7 +5,7 @@ QT_FOR_CONFIG += positioning-private 16@@ -6,7 +6,7 @@ qtHaveModule(dbus):SUBDIRS += geoclue
16 qtHaveModule(dbus):SUBDIRS += geoclue 17 qtHaveModule(dbus):SUBDIRS += geoclue2
17 qtConfig(gypsy):SUBDIRS += gypsy 18 qtConfig(gypsy):SUBDIRS += gypsy
18 qtConfig(winrt_geolocation):SUBDIRS += winrt 19 qtConfig(winrt_geolocation):SUBDIRS += winrt
19-qtHaveModule(simulator):SUBDIRS += simulator 20-qtHaveModule(simulator):SUBDIRS += simulator
20+#qtHaveModule(simulator):SUBDIRS += simulator 21+#qtHaveModule(simulator):SUBDIRS += simulator
21 osx|ios|tvos:SUBDIRS += corelocation 22 osx|ios|tvos:SUBDIRS += corelocation
22 android:SUBDIRS += android 23 android:SUBDIRS += android
23 win32:qtHaveModule(serialport):SUBDIRS += serialnmea 24 qtHaveModule(serialport):SUBDIRS += serialnmea