diff options
203 files changed, 2652 insertions, 2436 deletions
@@ -64,7 +64,8 @@ Samuli Piippo <samuli.piippo@qt.io> | |||
64 | Setting up build environment | 64 | Setting up build environment |
65 | ---------------------------- | 65 | ---------------------------- |
66 | 66 | ||
67 | To initialize build environment, use the b2qt-init-build-env script. | 67 | To initialize build environment, use the b2qt-init-build-env script. Create a |
68 | new directory for Yocto builds and run the script in it. | ||
68 | 69 | ||
69 | Usage: b2qt-init-build-env COMMAND [ARGS] | 70 | Usage: b2qt-init-build-env COMMAND [ARGS] |
70 | 71 | ||
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 5aa39f1..66ae73b 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -34,9 +34,10 @@ usage() { | |||
34 | echo "Usage: $(basename $0) COMMAND [ARGS]" | 34 | echo "Usage: $(basename $0) COMMAND [ARGS]" |
35 | echo | 35 | echo |
36 | echo "Initialize build environment:" | 36 | echo "Initialize build environment:" |
37 | echo " $(basename $0) init --device <name> [--reference <mirror path>] [--internal]" | 37 | echo " $(basename $0) init --device <name> [--reference <mirror path>] [--manifest-dir <dir path>] [--internal]" |
38 | echo " --device <name>: target device name or 'all'" | 38 | echo " --device <name>: target device name or 'all'" |
39 | echo " --reference <mirror path>: path to local mirror, initialized previously with '$(basename $0) mirror'" | 39 | echo " --reference <mirror path>: path to local mirror, initialized previously with '$(basename $0) mirror'" |
40 | echo " --manifest-dir <dir path>: path to a directory containing repo manifest file(s)" | ||
40 | echo " --internal: fetch internal repositories, available only inside The Qt Company network." | 41 | echo " --internal: fetch internal repositories, available only inside The Qt Company network." |
41 | echo "Initialize local mirror:" | 42 | echo "Initialize local mirror:" |
42 | echo " $(basename $0) mirror" | 43 | echo " $(basename $0) mirror" |
@@ -62,6 +63,10 @@ while test -n "$1"; do | |||
62 | shift | 63 | shift |
63 | REPO_URL="--repo-url $1" | 64 | REPO_URL="--repo-url $1" |
64 | ;; | 65 | ;; |
66 | "--manifest-dir") | ||
67 | shift | ||
68 | MANIFEST_DIR=$1 | ||
69 | ;; | ||
65 | "--internal") | 70 | "--internal") |
66 | INTERNAL="y" | 71 | INTERNAL="y" |
67 | ;; | 72 | ;; |
@@ -87,6 +92,10 @@ if [ -n "${REFERENCE}" ]; then | |||
87 | REFERENCE="--reference $(readlink -f ${REFERENCE})" | 92 | REFERENCE="--reference $(readlink -f ${REFERENCE})" |
88 | fi | 93 | fi |
89 | 94 | ||
95 | if [ -n "${MANIFEST_DIR}" ]; then | ||
96 | MANIFEST_DIR="$(readlink -f ${MANIFEST_DIR})" | ||
97 | fi | ||
98 | |||
90 | if [ -z "${REPO_URL}" ]; then | 99 | if [ -z "${REPO_URL}" ]; then |
91 | REPO_URL="--repo-url git://github.com/theqtcompany/git-repo" | 100 | REPO_URL="--repo-url git://github.com/theqtcompany/git-repo" |
92 | fi | 101 | fi |
@@ -115,7 +124,7 @@ get_groups() { | |||
115 | nitrogen6x|nitrogen7) | 124 | nitrogen6x|nitrogen7) |
116 | PROJECT_GROUPS="boundary" | 125 | PROJECT_GROUPS="boundary" |
117 | ;; | 126 | ;; |
118 | imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp) | 127 | imx6qdlsabresd|imx7dsabresd|imx7s-warp) |
119 | PROJECT_GROUPS="fsl" | 128 | PROJECT_GROUPS="fsl" |
120 | ;; | 129 | ;; |
121 | smarc-samx6i) | 130 | smarc-samx6i) |
@@ -136,9 +145,12 @@ get_groups() { | |||
136 | jetson-tx1|jetson-tx2|jetson-tk1) | 145 | jetson-tx1|jetson-tx2|jetson-tk1) |
137 | PROJECT_GROUPS="jetson" | 146 | PROJECT_GROUPS="jetson" |
138 | ;; | 147 | ;; |
139 | salvator-x|h3ulcb|m3ulcb) | 148 | salvator-x|h3ulcb|m3ulcb|ebisu) |
140 | PROJECT_GROUPS="renesas-gen3" | 149 | PROJECT_GROUPS="renesas-gen3" |
141 | ;; | 150 | ;; |
151 | draak) | ||
152 | PROJECT_GROUPS="renesas-draak" | ||
153 | ;; | ||
142 | *) | 154 | *) |
143 | echo "Unknown device configuration, including all meta layers" | 155 | echo "Unknown device configuration, including all meta layers" |
144 | PROJECT_GROUPS="external" | 156 | PROJECT_GROUPS="external" |
@@ -158,9 +170,18 @@ list_devices() { | |||
158 | done | 170 | done |
159 | } | 171 | } |
160 | 172 | ||
161 | mirror() { | 173 | copy_manifests() { |
162 | mkdir -p .repo/manifests | 174 | mkdir -p .repo/manifests |
163 | cp ${DIR}/scripts/manifest.xml .repo/manifests/ | 175 | rm -f .repo/manifests/manifest*.xml |
176 | if [ -z "${MANIFEST_DIR}" ]; then | ||
177 | cp ${DIR}/scripts/manifest*.xml .repo/manifests/ | ||
178 | else | ||
179 | cp ${MANIFEST_DIR}/manifest*.xml .repo/manifests/ | ||
180 | fi | ||
181 | } | ||
182 | |||
183 | mirror() { | ||
184 | copy_manifests | ||
164 | MANIFEST="manifest.xml" | 185 | MANIFEST="manifest.xml" |
165 | DEVICE=${DEVICE:-all} | 186 | DEVICE=${DEVICE:-all} |
166 | get_groups | 187 | get_groups |
@@ -176,9 +197,7 @@ init() { | |||
176 | fi | 197 | fi |
177 | 198 | ||
178 | get_groups | 199 | get_groups |
179 | mkdir -p .repo/manifests | 200 | copy_manifests |
180 | rm -f .repo/manifests/manifest*.xml | ||
181 | cp ${DIR}/scripts/manifest*.xml .repo/manifests | ||
182 | if [ -f .repo/manifests/manifest_${DEVICE}.xml ]; then | 201 | if [ -f .repo/manifests/manifest_${DEVICE}.xml ]; then |
183 | MANIFEST="manifest_${DEVICE}.xml" | 202 | MANIFEST="manifest_${DEVICE}.xml" |
184 | else | 203 | else |
diff --git a/meta-raspberrypi-extras/recipes/linux/linux-firmware_%.bbappend b/meta-boot2qt-distro/conf/bblayers.conf.draak.sample index 8e52fa4..91e2add 100644 --- a/meta-raspberrypi-extras/recipes/linux/linux-firmware_%.bbappend +++ b/meta-boot2qt-distro/conf/bblayers.conf.draak.sample | |||
@@ -27,19 +27,28 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | SRCREV = "ba51e861f4444f51e7e83f778575a8146dc514d0" | 30 | # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf |
31 | # changes incompatibly | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
31 | 33 | ||
32 | LIC_FILES_CHKSUM_remove = "\ | 34 | BBPATH = "${TOPDIR}" |
33 | file://LICENSE.amd-ucode;md5=3a0de451253cc1edbf30a3c621effee3 \ | 35 | BBFILES ?= "" |
34 | file://LICENCE.Netronome;md5=cd2a3e6effe3cdf42731575b8e9477ed \ | 36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" |
35 | file://LICENCE.cypress;md5=cbc5f665d04f741f1e006d2096236ba7 \ | ||
36 | file://WHENCE;md5=038edbc9e744171d8b6235e0224028ba \ | ||
37 | " | ||
38 | 37 | ||
39 | LIC_FILES_CHKSUM_append = "\ | 38 | BBLAYERS ?= " \ |
40 | file://LICENSE.amd-ucode;md5=3c5399dc9148d7f0e1f41e34b69cf14f \ | 39 | ${BSPDIR}/sources/poky/meta \ |
41 | file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \ | 40 | ${BSPDIR}/sources/poky/meta-poky \ |
42 | file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \ | 41 | ${BSPDIR}/sources/meta-renesas-D3/meta-rcar-gen3 \ |
43 | file://WHENCE;md5=df953899bb1431b3991f36950d32894f \ | 42 | ${BSPDIR}/sources/meta-linaro/meta-optee \ |
44 | " | 43 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ |
44 | ${BSPDIR}/sources/meta-openembedded/meta-python \ | ||
45 | ${BSPDIR}/sources/meta-openembedded/meta-networking \ | ||
46 | ${BSPDIR}/sources/meta-openembedded/meta-initramfs \ | ||
47 | ${BSPDIR}/sources/meta-openembedded/meta-multimedia \ | ||
48 | ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \ | ||
49 | ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \ | ||
50 | ${BSPDIR}/sources/meta-boot2qt/meta-renesas-extras \ | ||
51 | ${BSPDIR}/sources/meta-mingw \ | ||
52 | ${BSPDIR}/sources/meta-qt5 \ | ||
53 | " | ||
45 | 54 | ||
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample b/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample index 6f502ea..0836f5a 100644 --- a/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample +++ b/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample | |||
@@ -39,7 +39,6 @@ BBLAYERS ?= " \ | |||
39 | ${BSPDIR}/sources/poky/meta \ | 39 | ${BSPDIR}/sources/poky/meta \ |
40 | ${BSPDIR}/sources/poky/meta-poky \ | 40 | ${BSPDIR}/sources/poky/meta-poky \ |
41 | ${BSPDIR}/sources/meta-renesas/meta-rcar-gen3 \ | 41 | ${BSPDIR}/sources/meta-renesas/meta-rcar-gen3 \ |
42 | ${BSPDIR}/sources/meta-freescale \ | ||
43 | ${BSPDIR}/sources/meta-linaro/meta-optee \ | 42 | ${BSPDIR}/sources/meta-linaro/meta-optee \ |
44 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | 43 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ |
45 | ${BSPDIR}/sources/meta-openembedded/meta-python \ | 44 | ${BSPDIR}/sources/meta-openembedded/meta-python \ |
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 | ||
32 | DEPLOY_CONF_NAME = "Toradex Apalis iMX6" | 32 | DEPLOY_CONF_NAME = "Toradex Apalis iMX6" |
33 | 33 | ||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | QBSP_IMAGE_CONTENT += "\ | 34 | QBSP_IMAGE_CONTENT += "\ |
37 | ${IMAGE_LINK_NAME}.tezi.tar \ | 35 | ${IMAGE_LINK_NAME}.tezi.tar \ |
38 | " | 36 | " |
39 | 37 | ||
40 | BOOT_SCRIPTS += " \ | 38 | IMAGE_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 | ||
45 | SERIAL_CONSOLES = "115200;ttymxc0 \ | 43 | SERIAL_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 | ||
30 | include conf/distro/include/fsl.inc | 30 | include conf/distro/include/fsl-imx8.inc |
31 | 31 | ||
32 | DEPLOY_CONF_NAME = "Toradex Apalis iMX8" | 32 | DEPLOY_CONF_NAME = "Toradex Apalis iMX8" |
33 | 33 | ||
34 | SERIAL_CONSOLE = "115200 ttyLP1" | 34 | SERIAL_CONSOLE = "115200 ttyLP1" |
35 | |||
36 | FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt" | ||
37 | |||
38 | RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc" | ||
39 | RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup" | ||
40 | |||
41 | BBMASK += "\ | ||
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 | |||
59 | KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}" | ||
60 | EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection" | ||
61 | |||
62 | MACHINE_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 | ||
38 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary" | ||
39 | |||
40 | MACHINE_EXTRA_INSTALL += "\ | 38 | MACHINE_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 | ||
32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX6" | 32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX6" |
33 | 33 | ||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | QBSP_IMAGE_CONTENT += "\ | 34 | QBSP_IMAGE_CONTENT += "\ |
37 | ${IMAGE_LINK_NAME}.tezi.tar \ | 35 | ${IMAGE_LINK_NAME}.tezi.tar \ |
38 | " | 36 | " |
39 | 37 | ||
40 | BOOT_SCRIPTS += " \ | 38 | IMAGE_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 | ||
32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX6ULL" | 32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX6ULL" |
33 | 33 | ||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | QBSP_IMAGE_CONTENT += "\ | 34 | QBSP_IMAGE_CONTENT += "\ |
37 | ${IMAGE_LINK_NAME}.tezi.tar \ | 35 | ${IMAGE_LINK_NAME}.tezi.tar \ |
38 | " | 36 | " |
39 | 37 | ||
40 | BOOT_SCRIPTS += " \ | 38 | IMAGE_BOOT_FILES += " \ |
41 | u-boot-${MACHINE}.imx:${MACHINEDIR}/u-boot.imx \ | 39 | u-boot-${MACHINE}.imx;${MACHINEDIR}/u-boot.imx \ |
42 | " | 40 | " |
43 | 41 | ||
44 | PREFERRED_PROVIDER_virtual/egl_b2qt = "opengldummy" | 42 | PREFERRED_PROVIDER_virtual/egl_b2qt = "opengldummy" |
45 | PREFERRED_PROVIDER_virtual/libgles2_b2qt = "opengldummy" | 43 | PREFERRED_PROVIDER_virtual/libgles2_b2qt = "opengldummy" |
46 | 44 | ||
47 | DISTRO_FEATURES_remove = "webengine wayland" | 45 | DISTRO_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 |
50 | RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" | 48 | RDEPENDS_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 | ||
32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX7" | 32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX7" |
33 | 33 | ||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | QBSP_IMAGE_CONTENT += "\ | 34 | QBSP_IMAGE_CONTENT += "\ |
37 | ${IMAGE_LINK_NAME}.tezi.tar \ | 35 | ${IMAGE_LINK_NAME}.tezi.tar \ |
38 | " | 36 | " |
39 | 37 | ||
40 | BOOT_SCRIPTS += " \ | 38 | IMAGE_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 | ||
44 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | 42 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" |
45 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | 43 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" |
46 | 44 | ||
47 | DISTRO_FEATURES_remove = "webengine wayland" | 45 | DISTRO_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 |
50 | RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" | 48 | RDEPENDS_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 | ||
34 | IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024" | 34 | IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024" |
35 | 35 | ||
36 | BOOT_SCRIPTS += " \ | 36 | IMAGE_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 | ||
40 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | 40 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" |
41 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | 41 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" |
42 | 42 | ||
43 | DISTRO_FEATURES_remove = "webengine wayland" | 43 | DISTRO_FEATURES_remove = "webengine wayland vulkan" |
diff --git a/meta-boot2qt-distro/conf/distro/include/draak.conf b/meta-boot2qt-distro/conf/distro/include/draak.conf new file mode 100644 index 0000000..9b5dbbc --- /dev/null +++ b/meta-boot2qt-distro/conf/distro/include/draak.conf | |||
@@ -0,0 +1,46 @@ | |||
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/rcar-gen3.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Renesas R-Car-D3 (Draak)" | ||
33 | |||
34 | PREFERRED_PROVIDER_virtual/egl = "gles-user-module" | ||
35 | PREFERRED_VERSION_libdrm = "2.4.91" | ||
36 | |||
37 | WKS_FILE_DEPENDS_remove = "optee-os" | ||
38 | QBSP_IMAGE_CONTENT_remove = "tee-${MACHINE}.srec" | ||
39 | |||
40 | BBMASK += "\ | ||
41 | meta-rcar-gen3/recipes-multimedia/webp \ | ||
42 | meta-rcar-gen3/recipes-connectivity/ppp \ | ||
43 | meta-rcar-gen3/recipes-graphics/wayland/wayland-protocols \ | ||
44 | meta-renesas/meta-rcar-gen3/recipes-graphics/drm \ | ||
45 | meta-rcar-gen3/recipes-multimedia/gstreamer \ | ||
46 | " | ||
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf b/meta-boot2qt-distro/conf/distro/include/ebisu.conf index af49983..24bdedd 100644 --- a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf +++ b/meta-boot2qt-distro/conf/distro/include/ebisu.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,6 +27,6 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | require imx6qsabresd.conf | 30 | include conf/distro/include/rcar-gen3.inc |
31 | 31 | ||
32 | DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Dual" | 32 | DEPLOY_CONF_NAME = "Renesas R-Car-E3 Ebisu 4D" |
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 | ||
30 | IMAGE_CLASSES += "image-hdd" | 30 | IMAGE_FSTYPES = "ext3 wic" |
31 | IMAGE_ROOTFS_ALIGNMENT = "1048576" | ||
32 | ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3" | ||
33 | IMAGE_FSTYPES = "ext3" | ||
34 | 31 | ||
35 | QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" | 32 | QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" |
36 | 33 | ||
@@ -41,12 +38,13 @@ MACHINE_EXTRA_RRECOMMENDS += "\ | |||
41 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" | 38 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" |
42 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" | 39 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" |
43 | 40 | ||
41 | RDEPENDS_qtbase_pn-qtbase += "qtglesstream" | ||
42 | |||
44 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" | 43 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" |
45 | 44 | ||
46 | DISTRO_FEATURES_remove = "webengine opengl wayland" | 45 | DISTRO_FEATURES_remove = "webengine opengl wayland vulkan" |
47 | 46 | ||
48 | MACHINE_EXTRA_INSTALL += "\ | 47 | MACHINE_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt" | ||
33 | |||
34 | DISTRO_FEATURES_remove = "vulkan" | ||
35 | |||
36 | RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc" | ||
37 | RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup" | ||
38 | |||
39 | BBMASK += "\ | ||
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 | |||
64 | KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}" | ||
65 | EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection" | ||
66 | |||
67 | MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin" | ||
68 | |||
69 | WKS_FILE = "imx8-uboot-bootpart.wks" | ||
70 | WIC_CREATE_EXTRA_ARGS = "--no-fstab-update" | ||
71 | WKS_FILE_DEPENDS += "imx-boot" | ||
72 | |||
73 | BOOT_CONFIG_MACHINE_pn-imx-boot = "${BOOT_NAME}-${UBOOT_CONFIG}.bin" | ||
74 | |||
75 | IMAGE_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 | ||
30 | BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5" | 30 | BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5" |
31 | 31 | ||
32 | IMAGE_FSTYPES += "ext3 sdcard" | 32 | IMAGE_FSTYPES += "ext3 wic" |
33 | IMAGE_CLASSES += "image_types_fsl" | 33 | IMAGE_CLASSES += "image_types_fsl" |
34 | 34 | ||
35 | QBSP_IMAGE_CONTENT ?= "\ | 35 | QBSP_IMAGE_CONTENT ?= "\ |
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf new file mode 100644 index 0000000..5f3ddb3 --- /dev/null +++ b/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf | |||
@@ -0,0 +1,35 @@ | |||
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 | include conf/distro/include/opencv.inc | ||
32 | |||
33 | DEPLOY_CONF_NAME = "NXP i.MX6QP/Q/DL SABRE Smart Device" | ||
34 | |||
35 | KERNEL_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | include conf/distro/include/opencv.inc | ||
32 | |||
33 | DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Quad" | ||
34 | |||
35 | KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" | ||
36 | |||
37 | # add support for both imx6qsabresd and imx6dlsabresd | ||
38 | KERNEL_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 | " | ||
41 | MACHINE_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..bcd4f7f 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,8 @@ DEPLOY_CONF_NAME = "i.MX7S WaRP" | |||
34 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | 34 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" |
35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | 35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" |
36 | 36 | ||
37 | DISTRO_FEATURES_remove = "webengine wayland" | 37 | PREFERRED_PROVIDER_virtual/kernel = "linux-warp7" |
38 | |||
39 | DISTRO_FEATURES_remove = "webengine wayland vulkan" | ||
38 | 40 | ||
39 | KERNEL_DEVICETREE = "imx7d-warp.dtb" | 41 | KERNEL_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 | ||
30 | include conf/distro/include/fsl.inc | 30 | include conf/distro/include/fsl-imx8.inc |
31 | 31 | ||
32 | DEPLOY_CONF_NAME = "NXP iMX8QM" | 32 | DEPLOY_CONF_NAME = "NXP iMX8QM" |
33 | 33 | ||
34 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | 34 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" |
35 | |||
36 | FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt" | ||
37 | |||
38 | RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc" | ||
39 | RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup" | ||
40 | |||
41 | BBMASK += "\ | ||
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 | |||
59 | KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}" | ||
60 | EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection" | ||
61 | |||
62 | MACHINE_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..8d106ce 100644 --- a/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf +++ b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.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. |
@@ -31,20 +31,18 @@ DEPLOY_CONF_NAME = "Intel NUC" | |||
31 | 31 | ||
32 | DISTRO_FEATURES_remove = "usbgadget" | 32 | DISTRO_FEATURES_remove = "usbgadget" |
33 | 33 | ||
34 | IMAGE_CLASSES += "image_dd_efi" | 34 | IMAGE_FSTYPES += "wic" |
35 | IMAGE_FSTYPES += "ext3 dd" | ||
36 | 35 | ||
37 | QBSP_IMAGE_CONTENT ?= "\ | 36 | QBSP_IMAGE_CONTENT ?= "\ |
38 | ${IMAGE_LINK_NAME}.img \ | 37 | ${IMAGE_LINK_NAME}.img \ |
39 | ${IMAGE_LINK_NAME}.conf \ | 38 | ${IMAGE_LINK_NAME}.conf \ |
40 | " | 39 | " |
41 | 40 | ||
42 | INITRAMFS_IMAGE = "initramfs-basic" | 41 | INITRAMFS_IMAGE = "core-image-minimal-initramfs" |
43 | 42 | ||
44 | SYSVINIT_ENABLED_GETTYS = "1" | 43 | SYSVINIT_ENABLED_GETTYS = "1" |
45 | 44 | ||
46 | MACHINE_EXTRA_INSTALL += "\ | ||
47 | grub-efi-config \ | ||
48 | " | ||
49 | |||
50 | SERIAL_CONSOLES += "115200;ttyUSB0" | 45 | SERIAL_CONSOLES += "115200;ttyUSB0" |
46 | |||
47 | WKS_FILE = "systemd-bootdisk-microcode-initramfs.wks" | ||
48 | WKS_FILE_DEPENDS += "microcode-initramfs" | ||
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 | ||
30 | PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra" | ||
31 | |||
32 | # use mmc0 | 30 | # use mmc0 |
33 | ROOTFS_DEVICE = "mmcblk1p1" | 31 | ROOTFS_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 | |||
47 | BBMASK += "\ | ||
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 | |||
33 | DEPLOY_CONF_NAME = "Boundary Devices i.MX6" | 33 | DEPLOY_CONF_NAME = "Boundary Devices i.MX6" |
34 | 34 | ||
35 | BOOT_SPACE = "16384" | 35 | BOOT_SPACE = "16384" |
36 | BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \ | 36 | IMAGE_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 \ | |
54 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary" | 54 | " |
55 | WKS_FILE_DEPENDS += "u-boot" | ||
55 | 56 | ||
56 | UBOOT_MACHINE = "" | 57 | UBOOT_MACHINE = "" |
57 | UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \ | 58 | UBOOT_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" | |||
34 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | 34 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" |
35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | 35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" |
36 | 36 | ||
37 | DISTRO_FEATURES_remove = "webengine wayland" | 37 | DISTRO_FEATURES_remove = "webengine wayland vulkan" |
38 | 38 | ||
diff --git a/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc b/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc new file mode 100644 index 0000000..ffb9741 --- /dev/null +++ b/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc | |||
@@ -0,0 +1,48 @@ | |||
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 | # Configuration for boot2qt image without (L)GPLv3 components | ||
31 | # Include in your conf/local.conf and add meta-gplv2 layer to your configuration | ||
32 | # https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-2.3-gplv2-and-gplv3-moves | ||
33 | |||
34 | INCOMPATIBLE_LICENSE += "*GPLv3" | ||
35 | |||
36 | IMAGE_FEATURES_remove_pn-b2qt-embedded-qt5-image = "tools-debug debug-tweaks" | ||
37 | IMAGE_FEATURES_remove_pn-b2qt-automotive-qt5-image = "tools-debug debug-tweaks" | ||
38 | |||
39 | RDEPENDS_packagegroup-b2qt-embedded-tools_remove_pn-packagegroup-b2qt-embedded-tools = "binutils binutils-symlinks perf" | ||
40 | RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "ttf-freefont-mono" | ||
41 | |||
42 | PACKAGECONFIG_remove_pn-qtvirtualkeyboard = "hunspell" | ||
43 | PACKAGECONFIG_remove_pn-python3-pygobject = "cairo" | ||
44 | |||
45 | # intel nuc specific changes | ||
46 | IMAGE_FSTYPES_intel-corei7-64 = "tar.gz" | ||
47 | MACHINE_EXTRA_INSTALL_remove_intel-corei7-64 = "grub-efi-config" | ||
48 | QBSP_IMAGE_CONTENT_intel-corei7-64 = "" | ||
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 | ||
48 | MACHINE_FEATURES += "pitft" | 48 | MACHINE_FEATURES += "pitft" |
49 | 49 | ||
50 | BBMASK += "\ | ||
51 | meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12%.bbappend \ | ||
52 | " | ||
53 | |||
54 | MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx" | 50 | MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx" |
55 | 51 | ||
56 | KERNEL_DEVICETREE += "\ | 52 | KERNEL_DEVICETREE += "\ |
diff --git a/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc b/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc index 4350dda..6b99603 100644 --- a/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc +++ b/meta-boot2qt-distro/conf/distro/include/rcar-gen3.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,14 +27,28 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | include conf/distro/include/fsl.inc | 30 | IMAGE_FSTYPES += "wic" |
31 | WKS_FILE = "sdimage-bootpart.wks" | ||
32 | WIC_CREATE_EXTRA_ARGS = "--no-fstab-update" | ||
33 | WKS_FILE_DEPENDS += "u-boot optee-os" | ||
34 | |||
35 | IMAGE_BOOT_FILES = "\ | ||
36 | Image \ | ||
37 | r*.dtb \ | ||
38 | " | ||
31 | 39 | ||
32 | QBSP_IMAGE_CONTENT = "\ | 40 | QBSP_IMAGE_CONTENT = "\ |
33 | ${IMAGE_LINK_NAME}.img \ | 41 | ${IMAGE_LINK_NAME}.img \ |
34 | ${IMAGE_LINK_NAME}.conf \ | 42 | ${IMAGE_LINK_NAME}.conf \ |
43 | bl2-${MACHINE}.srec \ | ||
44 | bl31-${MACHINE}.srec \ | ||
45 | tee-${MACHINE}.srec \ | ||
46 | bootparam_sa0.srec \ | ||
47 | cert_header_sa6.srec \ | ||
48 | u-boot-elf-${MACHINE}.srec \ | ||
35 | " | 49 | " |
36 | 50 | ||
37 | BOOT_SPACE = "16384" | 51 | BOOT_SPACE = "32768" |
38 | 52 | ||
39 | # uncomment following if using the evaluation drivers | 53 | # uncomment following if using the evaluation drivers |
40 | #DISTRO_FEATURES_append = " use_eva_pkg" | 54 | #DISTRO_FEATURES_append = " use_eva_pkg" |
@@ -46,7 +60,7 @@ MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/ | |||
46 | #DISTRO_FEATURES_append = " pam" | 60 | #DISTRO_FEATURES_append = " pam" |
47 | PREFERRED_PROVIDER_virtual/libgles1 = "" | 61 | PREFERRED_PROVIDER_virtual/libgles1 = "" |
48 | PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" | 62 | PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" |
49 | PREFERRED_PROVIDER_virtual/egl = "gles-user-module" | 63 | PREFERRED_PROVIDER_virtual/egl = "libegl" |
50 | PREFERRED_PROVIDER_virtual/libgl = "" | 64 | PREFERRED_PROVIDER_virtual/libgl = "" |
51 | PREFERRED_PROVIDER_virtual/mesa = "" | 65 | PREFERRED_PROVIDER_virtual/mesa = "" |
52 | PREFERRED_PROVIDER_libgbm = "libgbm" | 66 | PREFERRED_PROVIDER_libgbm = "libgbm" |
@@ -59,9 +73,5 @@ FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen3/${PN}:" | |||
59 | 73 | ||
60 | BBMASK += "\ | 74 | BBMASK += "\ |
61 | meta-linaro/meta-optee/recipes-security/optee \ | 75 | meta-linaro/meta-optee/recipes-security/optee \ |
62 | meta-rcar-gen3/recipes-connectivity/ppp \ | ||
63 | meta-rcar-gen3/recipes-core/packagegroups \ | 76 | meta-rcar-gen3/recipes-core/packagegroups \ |
64 | meta-rcar-gen3/recipes-graphics/mesa \ | ||
65 | meta-rcar-gen3/recipes-multimedia/gstreamer \ | ||
66 | meta-rcar-gen3/recipes-multimedia/webp \ | ||
67 | " | 77 | " |
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 | ||
36 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' | 36 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/drive-t186")}' |
37 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" | 37 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" |
38 | 38 | ||
39 | MACHINE_EXTRA_INSTALL += "\ | 39 | MACHINE_EXTRA_INSTALL += "\ |
@@ -55,6 +55,10 @@ MACHINE_EXTRA_INSTALL += "\ | |||
55 | libdrm-nv \ | 55 | libdrm-nv \ |
56 | " | 56 | " |
57 | 57 | ||
58 | MACHINE_EXTRA_INSTALL_SDK = "\ | ||
59 | tegra-drivers \ | ||
60 | " | ||
61 | |||
58 | PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers" | 62 | PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers" |
59 | PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers" | 63 | PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers" |
60 | PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers" | 64 | PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers" |
@@ -66,16 +70,21 @@ PREFERRED_PROVIDER_virtual/mesa = "tegra-drivers" | |||
66 | PREFERRED_PROVIDER_drm = "libdrm-nv" | 70 | PREFERRED_PROVIDER_drm = "libdrm-nv" |
67 | PREFERRED_PROVIDER_libdrm = "libdrm-nv" | 71 | PREFERRED_PROVIDER_libdrm = "libdrm-nv" |
68 | PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia" | 72 | PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia" |
69 | PREFERRED_VERSION_linux-libc-headers = "4.4" | 73 | PREFERRED_VERSION_linux-libc-headers = "4.9" |
70 | PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.4" | 74 | PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.9" |
75 | |||
76 | DISTRO_FEATURES_remove = "vulkan" | ||
71 | 77 | ||
72 | BBMASK += "\ | 78 | BBMASK += "\ |
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 | ||
30 | include conf/distro/include/fsl.inc | 30 | include conf/distro/include/fsl.inc |
31 | 31 | ||
32 | # include file from meta-toradex-nxp | ||
33 | require conf/machine/include/${MACHINE}.inc | ||
34 | |||
32 | BBMASK += "\ | 35 | BBMASK += "\ |
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 | ||
38 | PREFERRED_PROVIDER_u-boot = "u-boot-toradex" | 41 | PREFERRED_PROVIDER_u-boot = "u-boot-toradex" |
39 | 42 | ||
40 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" | 43 | WKS_FILE_DEPENDS += "u-boot-script-toradex" |
41 | 44 | ||
42 | MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}" | 45 | MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}" |
43 | BOOT_SCRIPTS += " \ | 46 | IMAGE_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. | ||
52 | rootfs_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 | |||
39 | BBFILE_COLLECTIONS += "b2qt-distro" | 39 | BBFILE_COLLECTIONS += "b2qt-distro" |
40 | BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" | 40 | BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" |
41 | BBFILE_PRIORITY_b2qt-distro = "20" | 41 | BBFILE_PRIORITY_b2qt-distro = "20" |
42 | |||
43 | LAYERSERIES_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" | |||
50 | MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" | 50 | MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" |
51 | 51 | ||
52 | SYSTEMD_DEFAULT_TARGET = "custom.target" | 52 | SYSTEMD_DEFAULT_TARGET = "custom.target" |
53 | |||
54 | WKS_FILE = "directdisk.wks" | ||
55 | do_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 | |||
22 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
23 | |||
24 | SRC_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 @@ | |||
1 | From df70770f33280a915abb413678088a078d82341a Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Tue, 20 Sep 2016 11:02:50 +0300 | ||
4 | Subject: [PATCH] Disable connman when booting over NFS | ||
5 | |||
6 | --- | ||
7 | src/connman.service.in | 1 + | ||
8 | 1 file changed, 1 insertion(+) | ||
9 | |||
10 | diff --git a/src/connman.service.in b/src/connman.service.in | ||
11 | index 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 @@ | |||
1 | From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 9 Sep 2015 13:37:28 +0300 | ||
4 | Subject: [PATCH] Support SYSROOT in c_rehash | ||
5 | |||
6 | update-ca-certificates is ran during image creation, which in turn runs | ||
7 | c_rehash. Since the symlinks in /etc/ssl/certs/ are pointing to absolute | ||
8 | location, c_rehash does not find the actual files. Add support for SYSROOT | ||
9 | environment variable and use it to locate the actual files during image | ||
10 | creation. | ||
11 | |||
12 | Upstream-status: Pending | ||
13 | --- | ||
14 | tools/c_rehash.in | 30 +++++++++++++++++------------- | ||
15 | 1 file changed, 17 insertions(+), 13 deletions(-) | ||
16 | |||
17 | diff --git a/tools/c_rehash.in b/tools/c_rehash.in | ||
18 | index 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 | -- | ||
95 | 1.9.1 | ||
96 | |||
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb index 21552d7..c22a46c 100644 --- a/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb +++ b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb | |||
@@ -43,6 +43,8 @@ python __anonymous() { | |||
43 | 43 | ||
44 | RDEPENDS_${PN} = "\ | 44 | RDEPENDS_${PN} = "\ |
45 | nativesdk-gperf \ | 45 | nativesdk-gperf \ |
46 | nativesdk-cmake \ | ||
47 | nativesdk-make \ | ||
46 | ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ | 48 | ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ |
47 | " | 49 | " |
48 | 50 | ||
diff --git a/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend b/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend deleted file mode 100644 index 8a069ed..0000000 --- a/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 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 | LDGOLD_sdkmingw32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" | ||
diff --git a/meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend b/meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend new file mode 100644 index 0000000..d3603bf --- /dev/null +++ b/meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend | |||
@@ -0,0 +1,36 @@ | |||
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 | DEPENDS_remove_mingw32 = "ncurses" | ||
31 | |||
32 | cmake_do_generate_toolchain_file_append_mingw32() { | ||
33 | cat >> ${WORKDIR}/toolchain.cmake <<EOF | ||
34 | set( CMAKE_SYSTEM_NAME Windows ) | ||
35 | EOF | ||
36 | } | ||
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-intel-extras/recipes/initramfs-basic/initramfs-basic.bbappend b/meta-boot2qt-distro/recipes-extended/libarchive/libarchive_%.bbappend index 1ac5f03..937c746 100644 --- a/meta-intel-extras/recipes/initramfs-basic/initramfs-basic.bbappend +++ b/meta-boot2qt-distro/recipes-extended/libarchive/libarchive_%.bbappend | |||
@@ -27,4 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | PACKAGE_INSTALL += "kernel-module-rtsx-pci-sdmmc" | 30 | EXTRA_OECONF_append_mingw32 = " --without-cng" |
diff --git a/meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend b/meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend new file mode 100644 index 0000000..bef2c7a --- /dev/null +++ b/meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend | |||
@@ -0,0 +1,30 @@ | |||
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 | PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" | ||
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb index 73a5078..f115070 100644 --- a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb +++ b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb | |||
@@ -40,9 +40,10 @@ inherit qbsp | |||
40 | 40 | ||
41 | PV := "${@d.getVar('PV', True).split('+')[0]}" | 41 | PV := "${@d.getVar('PV', True).split('+')[0]}" |
42 | 42 | ||
43 | VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}" | ||
43 | QBSP_NAME = "Automotive ${PV}" | 44 | QBSP_NAME = "Automotive ${PV}" |
44 | QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" | 45 | QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" |
45 | QBSP_INSTALLER_COMPONENT = "automotive.10.yocto.${QBSP_MACHINE}" | 46 | QBSP_INSTALLER_COMPONENT = "automotive.${VERSION_SHORT}.yocto.${QBSP_MACHINE}" |
46 | QBSP_INSTALL_PATH = "/${PV}/Automotive/${MACHINE}" | 47 | QBSP_INSTALL_PATH = "/${PV}/Automotive/${MACHINE}" |
47 | 48 | ||
48 | QBSP_SDK_TASK = "meta-toolchain-b2qt-automotive-qt5-sdk" | 49 | QBSP_SDK_TASK = "meta-toolchain-b2qt-automotive-qt5-sdk" |
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb index 9f2d197..2adad90 100644 --- a/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb +++ b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb | |||
@@ -42,9 +42,9 @@ python __anonymous() { | |||
42 | RDEPENDS_${PN} += "\ | 42 | RDEPENDS_${PN} += "\ |
43 | nativesdk-packagegroup-b2qt-embedded-toolchain-host \ | 43 | nativesdk-packagegroup-b2qt-embedded-toolchain-host \ |
44 | nativesdk-qt3d-tools \ | 44 | nativesdk-qt3d-tools \ |
45 | nativesdk-qtbase-tools \ | 45 | nativesdk-qtbase \ |
46 | nativesdk-qtbase-tools-dev \ | 46 | nativesdk-qtbase-dev \ |
47 | nativesdk-qtbase-tools-staticdev \ | 47 | nativesdk-qtbase-staticdev \ |
48 | nativesdk-qtdeclarative-staticdev \ | 48 | nativesdk-qtdeclarative-staticdev \ |
49 | nativesdk-qtdeclarative-tools \ | 49 | nativesdk-qtdeclarative-tools \ |
50 | nativesdk-qtremoteobjects-tools \ | 50 | nativesdk-qtremoteobjects-tools \ |
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb index c1d7f26..281d9b6 100644 --- a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb +++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb | |||
@@ -54,6 +54,7 @@ RDEPENDS_${PN} += " \ | |||
54 | qtdeclarative-dev \ | 54 | qtdeclarative-dev \ |
55 | qtdeclarative-staticdev \ | 55 | qtdeclarative-staticdev \ |
56 | qtdeviceutilities-dev \ | 56 | qtdeviceutilities-dev \ |
57 | qtgamepad-dev \ | ||
57 | qtgraphicaleffects-dev \ | 58 | qtgraphicaleffects-dev \ |
58 | qtimageformats-dev \ | 59 | qtimageformats-dev \ |
59 | qtlocation-dev \ | 60 | qtlocation-dev \ |
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb index 38bddaa..6b78a82 100644 --- a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb +++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb | |||
@@ -46,6 +46,7 @@ RDEPENDS_${PN} += " \ | |||
46 | qtdeclarative \ | 46 | qtdeclarative \ |
47 | qtdeclarative-tools \ | 47 | qtdeclarative-tools \ |
48 | qtdeviceutilities \ | 48 | qtdeviceutilities \ |
49 | qtgamepad \ | ||
49 | qtgraphicaleffects \ | 50 | qtgraphicaleffects \ |
50 | qtimageformats \ | 51 | qtimageformats \ |
51 | qtlocation \ | 52 | qtlocation \ |
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtwebengine_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qt3d_git.bbappend index cfd3a39..d2906b9 100644 --- a/meta-boot2qt-distro/recipes-qt/qt5/qtwebengine_git.bbappend +++ b/meta-boot2qt-distro/recipes-qt/qt5/qt3d_git.bbappend | |||
@@ -27,5 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | # QTBUG-70348 | 30 | PACKAGECONFIG += "qtgamepad" |
31 | EXTRA_QMAKEVARS_PRE_append_arm = " CONFIG-=ltcg" | ||
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch new file mode 100644 index 0000000..a7ee953 --- /dev/null +++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 9b541f4f6272c4ed4bb5bf6591e9a65cded6fdfa Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Tue, 23 Oct 2018 09:54:57 +0300 | ||
4 | Subject: [PATCH] Disable ltcg for host_build | ||
5 | |||
6 | debug-prefix-map does not work correctly for static libraries | ||
7 | when using ltcg, and since host_build compilations link agaist | ||
8 | the libQt5Bootstrap.a library, it breaks source file packaging | ||
9 | into debug packages. | ||
10 | |||
11 | Also disable ltcg when compiling on Windows host platform, | ||
12 | as GCC7 does not support lto with mingw. | ||
13 | |||
14 | Disable also for static builds since those libraries can be linked | ||
15 | on Windows host, where the lto built binaries won't work. | ||
16 | |||
17 | Task-number: QTBUG-71230 | ||
18 | Change-Id: I5bea76ea03bf1943b0cfaf03d46a4840bd99a28b | ||
19 | Upstream-Status: Inappropriate [embedded specific] | ||
20 | --- | ||
21 | mkspecs/features/ltcg.prf | 2 +- | ||
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
23 | |||
24 | diff --git a/mkspecs/features/ltcg.prf b/mkspecs/features/ltcg.prf | ||
25 | index ccf0226272..00118be872 100644 | ||
26 | --- a/mkspecs/features/ltcg.prf | ||
27 | +++ b/mkspecs/features/ltcg.prf | ||
28 | @@ -1,4 +1,4 @@ | ||
29 | -CONFIG(release, debug|release) { | ||
30 | +CONFIG(release, debug|release):!host_build:!equals(QMAKE_HOST.os, Windows):!staticlib { | ||
31 | # We need fat object files when creating static libraries on some platforms | ||
32 | # so the linker will know to load a particular object from the library | ||
33 | # in the first place. On others, we have special ar and nm to create the symbol | ||
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend index f24556e..5684832 100644 --- a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend +++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend | |||
@@ -36,10 +36,10 @@ PACKAGECONFIG += " \ | |||
36 | accessibility \ | 36 | accessibility \ |
37 | cups \ | 37 | cups \ |
38 | fontconfig \ | 38 | fontconfig \ |
39 | freetype \ | ||
40 | getentropy \ | 39 | getentropy \ |
41 | gif \ | 40 | gif \ |
42 | glib \ | 41 | glib \ |
42 | harfbuzz \ | ||
43 | ico \ | 43 | ico \ |
44 | icu \ | 44 | icu \ |
45 | libinput \ | 45 | libinput \ |
@@ -64,6 +64,3 @@ SRC_URI += " \ | |||
64 | do_configure_prepend() { | 64 | do_configure_prepend() { |
65 | install -m 0644 ${WORKDIR}/oe-device-extra.pri ${S}/mkspecs | 65 | install -m 0644 ${WORKDIR}/oe-device-extra.pri ${S}/mkspecs |
66 | } | 66 | } |
67 | |||
68 | # make other libgbm providers possible | ||
69 | PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm" | ||
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 @@ | |||
1 | From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001 | 1 | From 5a68ac7a0121eff661a448e2fcbe5c02981c50a1 Mon Sep 17 00:00:00 2001 |
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | 2 | From: Mikko Gronoff <mikko.gronoff@qt.io> |
3 | Date: Wed, 25 Oct 2017 13:22:16 +0300 | 3 | Date: Wed, 25 Oct 2017 13:22:16 +0300 |
4 | Subject: [PATCH] location: disable simulator content under plugins | 4 | Subject: [PATCH] location: disable simulator content under plugins |
5 | 5 | ||
6 | Does not build against more recent simulator | 6 | Does 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 | ||
11 | diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro | 12 | diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro |
12 | index 1687a9d..347963f 100644 | 13 | index 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 |
diff --git a/meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend b/meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend new file mode 100644 index 0000000..6545343 --- /dev/null +++ b/meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend | |||
@@ -0,0 +1,31 @@ | |||
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 | PACKAGECONFIG_remove_class-nativesdk_mingw32 = "ssl" | ||
31 | RRECOMMENDS_lib${BPN}_remove_mingw32 = "ca-certificates" | ||
diff --git a/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend index dedddf0..dba4af2 100644 --- a/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend +++ b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend | |||
@@ -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,19 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
31 | SRC_URI += "\ | ||
32 | file://rngd.service \ | ||
33 | " | ||
34 | |||
35 | inherit systemd | ||
36 | |||
37 | do_install_append() { | ||
38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
39 | install -d ${D}${systemd_unitdir}/system | ||
40 | install -m 644 ${WORKDIR}/rngd.service ${D}${systemd_unitdir}/system | ||
41 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/rngd.service | ||
42 | fi | ||
43 | } | ||
44 | |||
45 | SYSTEMD_SERVICE_${PN} = "rngd.service" | ||
diff --git a/meta-boot2qt-distro/wic/directdisk.wks b/meta-boot2qt-distro/wic/directdisk.wks new file mode 100644 index 0000000..42bce62 --- /dev/null +++ b/meta-boot2qt-distro/wic/directdisk.wks | |||
@@ -0,0 +1,7 @@ | |||
1 | # short-description: Create a 'pcbios' direct disk image | ||
2 | # long-description: Creates a partitioned legacy BIOS disk image that the user | ||
3 | # can directly dd to boot media. | ||
4 | |||
5 | include common.wks.inc | ||
6 | |||
7 | bootloader --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb console=tty0 console=ttyS0,115200n8" | ||
diff --git a/meta-boot2qt/classes/deploy-conf.bbclass b/meta-boot2qt/classes/deploy-conf.bbclass index 22c6ef7..4999d4d 100644 --- a/meta-boot2qt/classes/deploy-conf.bbclass +++ b/meta-boot2qt/classes/deploy-conf.bbclass | |||
@@ -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. |
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | inherit image_types | 30 | inherit image_types |
31 | 31 | ||
32 | IMAGE_DEPENDS_conf = "qtbase-native" | 32 | do_image_conf[depends] += "qtbase-native:do_populate_sysroot" |
33 | 33 | ||
34 | DEPLOY_CONF_NAME ?= "${MACHINE}" | 34 | DEPLOY_CONF_NAME ?= "${MACHINE}" |
35 | DEPLOY_CONF_TYPE ?= "Boot2Qt" | 35 | DEPLOY_CONF_TYPE ?= "Boot2Qt" |
diff --git a/meta-boot2qt/classes/image-hdd.bbclass b/meta-boot2qt/classes/image-hdd.bbclass deleted file mode 100644 index bceb1b1..0000000 --- a/meta-boot2qt/classes/image-hdd.bbclass +++ /dev/null | |||
@@ -1,48 +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 | |||
30 | VM_ROOTFS_TYPE = "ext3" | ||
31 | ROOT_VM = "root=/dev/hda2" | ||
32 | LABELS_VM = "boot" | ||
33 | AUTO_SYSLINUXMENU = "0" | ||
34 | SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200" | ||
35 | |||
36 | inherit image_types image-vm | ||
37 | |||
38 | create_hdd_image () { | ||
39 | cd ${IMGDEPLOYDIR} | ||
40 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd | ||
41 | ln -s ${IMAGE_NAME}.hdddirect ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd | ||
42 | } | ||
43 | |||
44 | python do_hddimg() { | ||
45 | bb.build.exec_func('create_hdd_image', d) | ||
46 | } | ||
47 | |||
48 | addtask hddimg after do_bootdirectdisk before do_image_complete | ||
diff --git a/meta-boot2qt/classes/image_dd.bbclass b/meta-boot2qt/classes/image_dd.bbclass deleted file mode 100644 index e05536b..0000000 --- a/meta-boot2qt/classes/image_dd.bbclass +++ /dev/null | |||
@@ -1,87 +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 | |||
30 | # This class is based on meta-freescale/classes/image_types_fsl.bbclass::generate_imx_sdcard() | ||
31 | DESCRIPTION = "The base class for building images that can be deployed with GNU coreutils dd tool." | ||
32 | inherit image_types | ||
33 | |||
34 | IMAGE="${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.img" | ||
35 | |||
36 | # Boot partition size [in KiB] | ||
37 | BOOT_SPACE ?= "8192" | ||
38 | |||
39 | # Set alignment to 4MB [in KiB] | ||
40 | IMAGE_ROOTFS_ALIGNMENT = "4096" | ||
41 | |||
42 | # Boot partition volume id | ||
43 | BOOTDD_VOLUME_ID = "boot" | ||
44 | |||
45 | IMAGE_TYPEDEP_dd = "ext3" | ||
46 | IMAGE_DEPENDS_dd = "parted-native:do_populate_sysroot \ | ||
47 | dosfstools-native:do_populate_sysroot \ | ||
48 | mtools-native:do_populate_sysroot" | ||
49 | |||
50 | image_dd_do_populate_boot() { | ||
51 | } | ||
52 | EXPORT_FUNCTIONS do_populate_boot | ||
53 | |||
54 | IMAGE_CMD_dd() { | ||
55 | |||
56 | ROOTFS="${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext3" | ||
57 | |||
58 | # Align boot partition and calculate total binary image size | ||
59 | BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1) | ||
60 | BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE_ALIGNED} - ${BOOT_SPACE_ALIGNED} % ${IMAGE_ROOTFS_ALIGNMENT}) | ||
61 | IMAGE_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + ${BOOT_SPACE_ALIGNED} + $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT}) | ||
62 | |||
63 | # Initialize a sparse file | ||
64 | dd if=/dev/zero of=${IMAGE} bs=1 count=0 seek=$(expr 1024 \* ${IMAGE_SIZE}) | ||
65 | |||
66 | # Create partition table | ||
67 | parted -s ${IMAGE} mklabel msdos | ||
68 | parted -s ${IMAGE} unit KiB mkpart primary fat32 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) | ||
69 | parted -s ${IMAGE} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) | ||
70 | parted -s ${IMAGE} set 1 boot on | ||
71 | parted ${IMAGE} print | ||
72 | |||
73 | # Create boot partition image | ||
74 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${IMAGE} unit b print \ | ||
75 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') | ||
76 | rm -f ${WORKDIR}/boot.img | ||
77 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | ||
78 | do_populate_boot | ||
79 | |||
80 | # Burn Partitions | ||
81 | dd if=${WORKDIR}/boot.img of=${IMAGE} conv=notrunc seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync | ||
82 | dd if=${ROOTFS} of=${IMAGE} conv=notrunc seek=1 bs=$(expr ${BOOT_SPACE_ALIGNED} \* 1024 + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync | ||
83 | |||
84 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | ||
85 | ln -s ${IMAGE_NAME}.rootfs.img ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | ||
86 | } | ||
87 | |||
diff --git a/meta-boot2qt/classes/image_types_sdcard.bbclass b/meta-boot2qt/classes/image_types_sdcard.bbclass index 970c34b..a894bca 100644 --- a/meta-boot2qt/classes/image_types_sdcard.bbclass +++ b/meta-boot2qt/classes/image_types_sdcard.bbclass | |||
@@ -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. |
@@ -28,27 +28,23 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | IMAGE_ROOTFS_EXTRA_SPACE = "100000" | 30 | IMAGE_ROOTFS_EXTRA_SPACE = "100000" |
31 | SDCARD_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext3" | ||
32 | SDCARD_GENERATION_COMMAND ?= "generate_imx_sdcard" | ||
33 | |||
34 | IMAGE_CMD_sdcard_append() { | ||
35 | parted -s ${SDCARD} set 1 boot on | ||
36 | 31 | ||
32 | IMAGE_CMD_wic_append() { | ||
37 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | 33 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img |
38 | ln -s ${IMAGE_NAME}.rootfs.sdcard ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | 34 | ln -s ${IMAGE_NAME}.rootfs.wic ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img |
39 | } | 35 | } |
40 | 36 | ||
41 | IMAGE_CMD_rpi-sdimg_append() { | 37 | IMAGE_CMD_wic_append_emulator() { |
42 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | 38 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd |
43 | ln -s ${IMAGE_NAME}.rootfs.rpi-sdimg ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | 39 | ln -s ${IMAGE_NAME}.rootfs.wic ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd |
44 | } | 40 | } |
45 | 41 | ||
46 | build_hddimg_append() { | 42 | IMAGE_CMD_rpi-sdimg_append() { |
47 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | 43 | rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img |
48 | ln -s ${IMAGE_NAME}.hddimg ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img | 44 | ln -s ${IMAGE_NAME}.rootfs.rpi-sdimg ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img |
49 | } | 45 | } |
50 | 46 | ||
51 | IMAGE_DEPENDS_tegraflash_append = " parted-native:do_populate_sysroot" | 47 | do_image_tegraflash[depends] += "parted-native:do_populate_sysroot" |
52 | create_tegraflash_pkg_prepend() { | 48 | create_tegraflash_pkg_prepend() { |
53 | # Create partition table | 49 | # Create partition table |
54 | SDCARD=${IMGDEPLOYDIR}/${IMAGE_NAME}.img | 50 | SDCARD=${IMGDEPLOYDIR}/${IMAGE_NAME}.img |
@@ -88,7 +84,10 @@ END | |||
88 | ln -sf ${IMAGE_NAME}.flasher.tar.gz ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.flasher.tar.gz | 84 | ln -sf ${IMAGE_NAME}.flasher.tar.gz ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.flasher.tar.gz |
89 | } | 85 | } |
90 | 86 | ||
91 | IMAGE_DEPENDS_teziimg_append = " qtbase-native:do_populate_sysroot" | 87 | # fix: basehash value changed from ... to .... |
88 | # The metadata is not deterministic and this needs to be fixed. | ||
89 | do_image_teziimg[vardepsexclude] += "DATETIME DATE TIME" | ||
90 | do_image_teziimg[depends] += "qtbase-native:do_populate_sysroot" | ||
92 | IMAGE_CMD_teziimg_append() { | 91 | IMAGE_CMD_teziimg_append() { |
93 | ${IMAGE_CMD_TAR} --transform 's,^,${IMAGE_NAME}-Tezi_${PV}/,' -rhf ${IMGDEPLOYDIR}/${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar TEZI_B2QT_EULA.TXT Built_with_Qt.png | 92 | ${IMAGE_CMD_TAR} --transform 's,^,${IMAGE_NAME}-Tezi_${PV}/,' -rhf ${IMGDEPLOYDIR}/${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar TEZI_B2QT_EULA.TXT Built_with_Qt.png |
94 | ln -fs ${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.tezi.tar | 93 | ln -fs ${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.tezi.tar |
diff --git a/meta-boot2qt/classes/internal-build.bbclass b/meta-boot2qt/classes/internal-build.bbclass index d842dcb..b1c581d 100644 --- a/meta-boot2qt/classes/internal-build.bbclass +++ b/meta-boot2qt/classes/internal-build.bbclass | |||
@@ -53,3 +53,7 @@ python enable_internal_build () { | |||
53 | 53 | ||
54 | addhandler enable_internal_build | 54 | addhandler enable_internal_build |
55 | enable_internal_build[eventmask] = "bb.event.ConfigParsed" | 55 | enable_internal_build[eventmask] = "bb.event.ConfigParsed" |
56 | |||
57 | # bring back base_conditional as Draak is using too old meta layer | ||
58 | def base_conditional(variable, checkvalue, truevalue, falsevalue, d): | ||
59 | return oe.utils.conditional(variable, checkvalue, truevalue, falsevalue, d) | ||
diff --git a/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass b/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass index e98565c..f35ebfe 100644 --- a/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass +++ b/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass | |||
@@ -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. |
@@ -33,7 +33,7 @@ SDK_MKSPEC_DIR = "${SDK_OUTPUT}${SDKTARGETSYSROOT}${libdir}/${QT_DIR_NAME}/mkspe | |||
33 | NATIVE_SDK_MKSPEC_DIR = "${SDK_OUTPUT}${SDKPATHNATIVE}${libdir}/${QT_DIR_NAME}/mkspecs" | 33 | NATIVE_SDK_MKSPEC_DIR = "${SDK_OUTPUT}${SDKPATHNATIVE}${libdir}/${QT_DIR_NAME}/mkspecs" |
34 | SDK_MKSPEC = "devices/linux-oe-generic-g++" | 34 | SDK_MKSPEC = "devices/linux-oe-generic-g++" |
35 | SDK_DEVICE_PRI = "${SDK_MKSPEC_DIR}/qdevice.pri" | 35 | SDK_DEVICE_PRI = "${SDK_MKSPEC_DIR}/qdevice.pri" |
36 | SDK_DYNAMIC_FLAGS = "-O. -pipe -g" | 36 | MACHINE_CMAKE = "${SDK_OUTPUT}${SDKPATHNATIVE}${datadir}/cmake/OEToolchainConfig.cmake.d/${MACHINE}.cmake" |
37 | 37 | ||
38 | create_sdk_files_append () { | 38 | create_sdk_files_append () { |
39 | # Create the toolchain user's generic device mkspec | 39 | # Create the toolchain user's generic device mkspec |
@@ -49,23 +49,17 @@ EOF | |||
49 | #include "../../linux-g++/qplatformdefs.h" | 49 | #include "../../linux-g++/qplatformdefs.h" |
50 | EOF | 50 | EOF |
51 | 51 | ||
52 | # Fill in the qdevice.pri file which will be used by the device mksspec | 52 | # Fill in the qdevice.pri file which will be used by the device mkspec |
53 | static_cflags="${TARGET_CFLAGS}" | ||
54 | static_cxxflags="${TARGET_CXXFLAGS}" | ||
55 | for i in ${SDK_DYNAMIC_FLAGS}; do | ||
56 | static_cflags=$(echo $static_cflags | sed -e "s/$i //") | ||
57 | static_cxxflags=$(echo $static_cxxflags | sed -e "s/$i //") | ||
58 | done | ||
59 | echo "MACHINE = ${MACHINE}" > ${SDK_DEVICE_PRI} | 53 | echo "MACHINE = ${MACHINE}" > ${SDK_DEVICE_PRI} |
60 | echo "CROSS_COMPILE = \$\$[QT_HOST_PREFIX]${bindir_nativesdk}/${TARGET_SYS}/${TARGET_PREFIX}" >> ${SDK_DEVICE_PRI} | 54 | echo "CROSS_COMPILE = \$\$[QT_HOST_PREFIX]${bindir_nativesdk}/${TARGET_SYS}/${TARGET_PREFIX}" >> ${SDK_DEVICE_PRI} |
61 | echo "QMAKE_CFLAGS *= ${TARGET_CC_ARCH} ${static_cflags}" >> ${SDK_DEVICE_PRI} | 55 | echo "QMAKE_CFLAGS *= ${TARGET_CC_ARCH}" >> ${SDK_DEVICE_PRI} |
62 | echo "QMAKE_CXXFLAGS *= ${TARGET_CC_ARCH} ${static_cxxflags}" >> ${SDK_DEVICE_PRI} | 56 | echo "QMAKE_CXXFLAGS *= ${TARGET_CC_ARCH}" >> ${SDK_DEVICE_PRI} |
63 | echo "QMAKE_LFLAGS *= ${TARGET_CC_ARCH} ${TARGET_LDFLAGS}" >> ${SDK_DEVICE_PRI} | 57 | echo "QMAKE_LFLAGS *= ${TARGET_CC_ARCH} ${TARGET_LDFLAGS}" >> ${SDK_DEVICE_PRI} |
64 | 58 | ||
65 | # Setup qt.conf to point at the device mkspec by default | 59 | # Setup qt.conf to point at the device mkspec by default |
66 | qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf | 60 | qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf |
67 | echo 'HostSpec = linux-g++' >> $qtconf | 61 | echo 'HostSpec = linux-g++' >> $qtconf |
68 | echo 'TargetSpec = devices/linux-oe-generic-g++' >> $qtconf | 62 | echo 'TargetSpec = ${SDK_MKSPEC}' >> $qtconf |
69 | 63 | ||
70 | # Update correct host_build ARCH and ABI to mkspecs/qconfig.pri | 64 | # Update correct host_build ARCH and ABI to mkspecs/qconfig.pri |
71 | QT_ARCH=$(grep QT_ARCH ${NATIVE_SDK_MKSPEC_DIR}/qconfig.pri | tail -1) | 65 | QT_ARCH=$(grep QT_ARCH ${NATIVE_SDK_MKSPEC_DIR}/qconfig.pri | tail -1) |
@@ -79,6 +73,18 @@ EOF | |||
79 | 73 | ||
80 | # Link /etc/resolv.conf is broken in the toolchain sysroot, remove it | 74 | # Link /etc/resolv.conf is broken in the toolchain sysroot, remove it |
81 | rm -f ${SDK_OUTPUT}${SDKTARGETSYSROOT}${sysconfdir}/resolv.conf | 75 | rm -f ${SDK_OUTPUT}${SDKTARGETSYSROOT}${sysconfdir}/resolv.conf |
76 | |||
77 | # Create and add cmake toolchain file | ||
78 | echo "set(CMAKE_SYSROOT ${SDKTARGETSYSROOT})" > ${MACHINE_CMAKE} | ||
79 | echo "set(CMAKE_PREFIX_PATH ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}/cmake)" >> ${MACHINE_CMAKE} | ||
80 | echo "set(compiler_flags \"${TARGET_CC_ARCH}\")" >> ${MACHINE_CMAKE} | ||
81 | echo "set(CMAKE_C_COMPILER_ARG1 \"\${compiler_flags}\")" >> ${MACHINE_CMAKE} | ||
82 | echo "set(CMAKE_CXX_COMPILER_ARG1 \"\${compiler_flags}\")" >> ${MACHINE_CMAKE} | ||
83 | echo "set(OE_QMAKE_PATH_EXTERNAL_HOST_BINS ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS})" >> ${MACHINE_CMAKE} | ||
84 | } | ||
85 | |||
86 | create_sdk_files_append_sdkmingw32 () { | ||
87 | echo "set(OE_QMAKE_BIN_SUFFIX .exe)" >> ${MACHINE_CMAKE} | ||
82 | } | 88 | } |
83 | 89 | ||
84 | create_qtcreator_configure_script () { | 90 | create_qtcreator_configure_script () { |
@@ -88,5 +94,7 @@ create_qtcreator_configure_script () { | |||
88 | sed -i -e '/^ABI=/c\ABI="${ABI}-linux-generic-elf-${SITEINFO_BITS}bit"' ${SDK_OUTPUT}/${SDKPATH}/configure-qtcreator.sh | 94 | sed -i -e '/^ABI=/c\ABI="${ABI}-linux-generic-elf-${SITEINFO_BITS}bit"' ${SDK_OUTPUT}/${SDKPATH}/configure-qtcreator.sh |
89 | } | 95 | } |
90 | 96 | ||
91 | create_qtcreator_configure_script_mingw32 () { | 97 | create_qtcreator_configure_script_sdkmingw32 () { |
98 | # no script available for mingw | ||
99 | true | ||
92 | } | 100 | } |
diff --git a/meta-boot2qt/classes/populate_b2qt_sdk.bbclass b/meta-boot2qt/classes/populate_b2qt_sdk.bbclass index 8d600d0..ad863da 100644 --- a/meta-boot2qt/classes/populate_b2qt_sdk.bbclass +++ b/meta-boot2qt/classes/populate_b2qt_sdk.bbclass | |||
@@ -57,6 +57,6 @@ fakeroot tar_sdk_sdkmingw32() { | |||
57 | if [ -e ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z ]; then | 57 | if [ -e ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z ]; then |
58 | rm ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z | 58 | rm ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z |
59 | fi | 59 | fi |
60 | 7zr a ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z sysroots | 60 | 7zr a ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z * |
61 | } | 61 | } |
62 | 62 | ||
diff --git a/meta-boot2qt/classes/qbsp.bbclass b/meta-boot2qt/classes/qbsp.bbclass index da790bf..7c6f7ef 100644 --- a/meta-boot2qt/classes/qbsp.bbclass +++ b/meta-boot2qt/classes/qbsp.bbclass | |||
@@ -33,6 +33,7 @@ FILESEXTRAPATHS_prepend := "${B2QTBASE}/files/qbsp:" | |||
33 | 33 | ||
34 | SRC_URI = "\ | 34 | SRC_URI = "\ |
35 | file://base_package.xml \ | 35 | file://base_package.xml \ |
36 | file://base_installscript.qs \ | ||
36 | file://image_package.xml \ | 37 | file://image_package.xml \ |
37 | file://toolchain_package.xml \ | 38 | file://toolchain_package.xml \ |
38 | file://toolchain_installscript.qs \ | 39 | file://toolchain_installscript.qs \ |
@@ -144,6 +145,7 @@ prepare_qbsp() { | |||
144 | mkdir -p ${COMPONENT_PATH}/meta | 145 | mkdir -p ${COMPONENT_PATH}/meta |
145 | 146 | ||
146 | cp ${WORKDIR}/base_package.xml ${COMPONENT_PATH}/meta/package.xml | 147 | cp ${WORKDIR}/base_package.xml ${COMPONENT_PATH}/meta/package.xml |
148 | cp ${WORKDIR}/base_installscript.qs ${COMPONENT_PATH}/meta/installscript.qs | ||
147 | patch_installer_files ${COMPONENT_PATH}/meta | 149 | patch_installer_files ${COMPONENT_PATH}/meta |
148 | } | 150 | } |
149 | 151 | ||
@@ -154,10 +156,10 @@ create_qbsp() { | |||
154 | repogen -p ${B}/pkg ${B}/repository | 156 | repogen -p ${B}/pkg ${B}/repository |
155 | 157 | ||
156 | mkdir -p ${DEPLOY_DIR}/qbsp | 158 | mkdir -p ${DEPLOY_DIR}/qbsp |
157 | rm -f ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp | 159 | rm -f ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}-${PV}.qbsp |
158 | 160 | ||
159 | cd ${B}/repository | 161 | cd ${B}/repository |
160 | 7zr a ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp * | 162 | 7zr a ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}-${PV}.qbsp * |
161 | } | 163 | } |
162 | 164 | ||
163 | python do_qbsp() { | 165 | python do_qbsp() { |
diff --git a/meta-boot2qt-distro/recipes-devtools/gcc/gcc-sanitizers_%.bbappend b/meta-boot2qt/classes/qt5-features.bbclass index bbbffe3..89b3ee6 100644 --- a/meta-boot2qt-distro/recipes-devtools/gcc/gcc-sanitizers_%.bbappend +++ b/meta-boot2qt/classes/qt5-features.bbclass | |||
@@ -27,7 +27,14 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | # aarch64 is compatible since GCC 5.1. See poky/master commit | 30 | FEATURES := "${THISDIR}/features/${QT_MODULE}.opt" |
31 | # b46caed47b0f74520cd9280bbe3e3676d9a19046 | 31 | do_configure[file-checksums] += "${FEATURES}:True" |
32 | RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan" | 32 | |
33 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux' | 33 | def qt_features(d): |
34 | featurefile = d.getVar('FEATURES', True) | ||
35 | with open(featurefile, 'r') as f: | ||
36 | features = f.read().replace('\n', ' ') | ||
37 | return features | ||
38 | |||
39 | QT_CONFIG_FLAGS_append_class-target = " ${@qt_features(d)}" | ||
40 | EXTRA_QMAKEVARS_CONFIGURE_append_class-target = " ${@qt_features(d)}" | ||
diff --git a/meta-boot2qt/conf/layer.conf b/meta-boot2qt/conf/layer.conf index b8ba222..c51ea68 100644 --- a/meta-boot2qt/conf/layer.conf +++ b/meta-boot2qt/conf/layer.conf | |||
@@ -43,3 +43,5 @@ QT_LICENSE = "${LAYERDIR}/licenses/The-Qt-Company-Commercial" | |||
43 | B2QTBASE = "${LAYERDIR}" | 43 | B2QTBASE = "${LAYERDIR}" |
44 | 44 | ||
45 | HOSTTOOLS += "git-lfs" | 45 | HOSTTOOLS += "git-lfs" |
46 | |||
47 | LAYERSERIES_COMPAT_b2qt = "sumo" | ||
diff --git a/meta-boot2qt/files/configure-qtcreator.sh b/meta-boot2qt/files/configure-qtcreator.sh index 105e476..a7ea288 100755 --- a/meta-boot2qt/files/configure-qtcreator.sh +++ b/meta-boot2qt/files/configure-qtcreator.sh | |||
@@ -100,6 +100,7 @@ ${SDKTOOL} rmQt --id ${BASEID}.qt || true | |||
100 | ${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc || true | 100 | ${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc || true |
101 | ${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.g++ || true | 101 | ${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.g++ || true |
102 | ${SDKTOOL} rmDebugger --id ${BASEID}.gdb 2>/dev/null || true | 102 | ${SDKTOOL} rmDebugger --id ${BASEID}.gdb 2>/dev/null || true |
103 | ${SDKTOOL} rmCMake --id ${BASEID}.cmake 2>/dev/null || true | ||
103 | 104 | ||
104 | if [ -n "${REMOVEONLY}" ]; then | 105 | if [ -n "${REMOVEONLY}" ]; then |
105 | echo "Kit removed: ${NAME}" | 106 | echo "Kit removed: ${NAME}" |
@@ -133,6 +134,11 @@ ${SDKTOOL} addQt \ | |||
133 | --type "Qdb.EmbeddedLinuxQt" \ | 134 | --type "Qdb.EmbeddedLinuxQt" \ |
134 | --qmake "$(type -p qmake)" | 135 | --qmake "$(type -p qmake)" |
135 | 136 | ||
137 | ${SDKTOOL} addCMake \ | ||
138 | --id "${BASEID}.cmake" \ | ||
139 | --name "CMake ${NAME}" \ | ||
140 | --path "$(type -p cmake)" | ||
141 | |||
136 | ${SDKTOOL} addKit \ | 142 | ${SDKTOOL} addKit \ |
137 | --id "${BASEID}.kit" \ | 143 | --id "${BASEID}.kit" \ |
138 | --name "${NAME}" \ | 144 | --name "${NAME}" \ |
@@ -143,6 +149,11 @@ ${SDKTOOL} addKit \ | |||
143 | --Ctoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \ | 149 | --Ctoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \ |
144 | --Cxxtoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.g++" \ | 150 | --Cxxtoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.g++" \ |
145 | --icon ":/boot2qt/images/B2Qt_QtC_icon.png" \ | 151 | --icon ":/boot2qt/images/B2Qt_QtC_icon.png" \ |
146 | --mkspec "${MKSPEC}" | 152 | --mkspec "${MKSPEC}" \ |
153 | --cmake "${BASEID}.cmake" \ | ||
154 | --cmake-config "CMAKE_TOOLCHAIN_FILE:FILEPATH=${OECORE_NATIVE_SYSROOT}/usr/share/cmake/OEToolchainConfig.cmake" \ | ||
155 | --cmake-config "CMAKE_MAKE_PROGRAM:FILEPATH=$(type -p make)" \ | ||
156 | --cmake-config "CMAKE_CXX_COMPILER:FILEPATH=$(type -p ${CXX})" \ | ||
157 | --cmake-config "CMAKE_C_COMPILER:FILEPATH=$(type -p ${CC})" | ||
147 | 158 | ||
148 | echo "Configured Qt Creator with new kit: ${NAME}" | 159 | echo "Configured Qt Creator with new kit: ${NAME}" |
diff --git a/meta-boot2qt/files/qbsp/base_installscript.qs b/meta-boot2qt/files/qbsp/base_installscript.qs new file mode 100644 index 0000000..e6c5fbc --- /dev/null +++ b/meta-boot2qt/files/qbsp/base_installscript.qs | |||
@@ -0,0 +1,58 @@ | |||
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 | var targetHost = "Linux"; | ||
31 | var currentHost = "Linux"; | ||
32 | |||
33 | function Component() | ||
34 | { | ||
35 | if ("@SDKFILE@".indexOf("mingw32") >= 0) | ||
36 | targetHost = "Windows"; | ||
37 | |||
38 | if (systemInfo.kernelType === "winnt") | ||
39 | currentHost = "Windows"; | ||
40 | else if (systemInfo.kernelType === "darwin") | ||
41 | currentHost = "macOS"; | ||
42 | |||
43 | if (currentHost != targetHost) { | ||
44 | component.enabled = false; | ||
45 | component.setValue("Default", false); | ||
46 | installer.componentByName(component.name + ".toolchain").setValue("Default", false); | ||
47 | installer.componentByName(component.name + ".toolchain").enabled = false; | ||
48 | installer.componentByName(component.name + ".system").setValue("Default", false); | ||
49 | installer.componentByName(component.name + ".system").enabled = false; | ||
50 | |||
51 | gui.currentPageWidget().completeChanged.connect(this, Component.prototype.completeChanged) | ||
52 | } | ||
53 | } | ||
54 | |||
55 | Component.prototype.completeChanged = function () | ||
56 | { | ||
57 | QMessageBox.critical("error", "Invalid QBSP package", "The selected QBSP supports only " + targetHost + " host platform.\nPlease restart the installer before continuing."); | ||
58 | } | ||
diff --git a/meta-boot2qt/files/qbsp/base_package.xml b/meta-boot2qt/files/qbsp/base_package.xml index 5f16dfa..57b5076 100644 --- a/meta-boot2qt/files/qbsp/base_package.xml +++ b/meta-boot2qt/files/qbsp/base_package.xml | |||
@@ -5,4 +5,6 @@ | |||
5 | <DisplayName>@TARGET@</DisplayName> | 5 | <DisplayName>@TARGET@</DisplayName> |
6 | <Description>@NAME@ for @TARGET@</Description> | 6 | <Description>@NAME@ for @TARGET@</Description> |
7 | <Dependencies>@LICENSEDEPENDENCY@</Dependencies> | 7 | <Dependencies>@LICENSEDEPENDENCY@</Dependencies> |
8 | <Script>installscript.qs</Script> | ||
9 | <Default>true</Default> | ||
8 | </Package> | 10 | </Package> |
diff --git a/meta-boot2qt/files/qbsp/image_package.xml b/meta-boot2qt/files/qbsp/image_package.xml index 27e5f2e..326b443 100644 --- a/meta-boot2qt/files/qbsp/image_package.xml +++ b/meta-boot2qt/files/qbsp/image_package.xml | |||
@@ -5,4 +5,5 @@ | |||
5 | <DisplayName>@TARGET@ Linux System</DisplayName> | 5 | <DisplayName>@TARGET@ Linux System</DisplayName> |
6 | <Description>System image for @TARGET@ hardware</Description> | 6 | <Description>System image for @TARGET@ hardware</Description> |
7 | <DownloadableArchives>image.7z</DownloadableArchives> | 7 | <DownloadableArchives>image.7z</DownloadableArchives> |
8 | <Default>true</Default> | ||
8 | </Package> | 9 | </Package> |
diff --git a/meta-boot2qt/files/qbsp/toolchain_installscript.qs b/meta-boot2qt/files/qbsp/toolchain_installscript.qs index 4afab71..feee04d 100644 --- a/meta-boot2qt/files/qbsp/toolchain_installscript.qs +++ b/meta-boot2qt/files/qbsp/toolchain_installscript.qs | |||
@@ -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. |
@@ -56,17 +56,22 @@ Component.prototype.createOperations = function() | |||
56 | component.addOperation("Replace", | 56 | component.addOperation("Replace", |
57 | path + "/sysroots/i686-pokysdk-mingw32/usr/bin/qt.conf", | 57 | path + "/sysroots/i686-pokysdk-mingw32/usr/bin/qt.conf", |
58 | sdkPath, path); | 58 | sdkPath, path); |
59 | component.addOperation("Replace", | ||
60 | path + "/sysroots/i686-pokysdk-mingw32/usr/share/cmake/OEToolchainConfig.cmake.d/" + device + ".cmake", | ||
61 | sdkPath, path); | ||
59 | } | 62 | } |
60 | var basecomponent = component.name.substring(0, component.name.lastIndexOf(".")); | 63 | var basecomponent = component.name.substring(0, component.name.lastIndexOf(".")); |
61 | var toolchainId = "ProjectExplorer.ToolChain.Gcc:" + component.name; | 64 | var toolchainId = "ProjectExplorer.ToolChain.Gcc:" + component.name; |
62 | var debuggerId = basecomponent + ".gdb"; | 65 | var debuggerId = basecomponent + ".gdb"; |
63 | var qtId = basecomponent + ".qt"; | 66 | var qtId = basecomponent + ".qt"; |
67 | var cmakeId = basecomponent + ".cmake"; | ||
64 | var icon = installer.value("B2QtDeviceIcon"); | 68 | var icon = installer.value("B2QtDeviceIcon"); |
65 | var executableExt = ""; | 69 | var executableExt = ""; |
66 | var hostSysroot = "x86_64-pokysdk-linux"; | 70 | var hostSysroot = "x86_64-pokysdk-linux"; |
67 | if (systemInfo.kernelType === "winnt") { | 71 | if (systemInfo.kernelType === "winnt") { |
68 | executableExt = ".exe"; | 72 | executableExt = ".exe"; |
69 | hostSysroot = "i686-pokysdk-mingw32"; | 73 | hostSysroot = "i686-pokysdk-mingw32"; |
74 | toolchainId = "ProjectExplorer.ToolChain.Mingw:" + component.name; | ||
70 | } | 75 | } |
71 | 76 | ||
72 | component.addOperation("Execute", | 77 | component.addOperation("Execute", |
@@ -109,6 +114,14 @@ Component.prototype.createOperations = function() | |||
109 | "@SDKToolBinary@", "rmQt", "--id", qtId]); | 114 | "@SDKToolBinary@", "rmQt", "--id", qtId]); |
110 | 115 | ||
111 | component.addOperation("Execute", | 116 | component.addOperation("Execute", |
117 | ["@SDKToolBinary@", "addCMake", | ||
118 | "--id", cmakeId, | ||
119 | "--name", "CMake (" + platform + " " + target + ")", | ||
120 | "--path", path + "/sysroots/" + hostSysroot + "/usr/bin/cmake" + executableExt, | ||
121 | "UNDOEXECUTE", | ||
122 | "@SDKToolBinary@", "rmCMake", "--id", cmakeId]); | ||
123 | |||
124 | component.addOperation("Execute", | ||
112 | ["@SDKToolBinary@", "addKit", | 125 | ["@SDKToolBinary@", "addKit", |
113 | "--id", basecomponent, | 126 | "--id", basecomponent, |
114 | "--name", platform + " " + target, | 127 | "--name", platform + " " + target, |
@@ -120,6 +133,11 @@ Component.prototype.createOperations = function() | |||
120 | "--Ctoolchain", toolchainId + ".gcc", | 133 | "--Ctoolchain", toolchainId + ".gcc", |
121 | "--Cxxtoolchain", toolchainId + ".g++", | 134 | "--Cxxtoolchain", toolchainId + ".g++", |
122 | "--icon", icon, | 135 | "--icon", icon, |
136 | "--cmake", cmakeId, | ||
137 | "--cmake-config", "CMAKE_TOOLCHAIN_FILE:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/share/cmake/OEToolchainConfig.cmake", | ||
138 | "--cmake-config", "CMAKE_MAKE_PROGRAM:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/bin/make" + executableExt, | ||
139 | "--cmake-config", "CMAKE_CXX_COMPILER:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-g++" + executableExt, | ||
140 | "--cmake-config", "CMAKE_C_COMPILER:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-gcc" + executableExt, | ||
123 | "UNDOEXECUTE", | 141 | "UNDOEXECUTE", |
124 | "@SDKToolBinary@", "rmKit", "--id", basecomponent]); | 142 | "@SDKToolBinary@", "rmKit", "--id", basecomponent]); |
125 | } | 143 | } |
diff --git a/meta-boot2qt/files/qbsp/toolchain_package.xml b/meta-boot2qt/files/qbsp/toolchain_package.xml index 166e09b..89a73b7 100644 --- a/meta-boot2qt/files/qbsp/toolchain_package.xml +++ b/meta-boot2qt/files/qbsp/toolchain_package.xml | |||
@@ -7,4 +7,5 @@ | |||
7 | <DownloadableArchives>toolchain.7z</DownloadableArchives> | 7 | <DownloadableArchives>toolchain.7z</DownloadableArchives> |
8 | <Dependencies>qt.tools.qtcreator</Dependencies> | 8 | <Dependencies>qt.tools.qtcreator</Dependencies> |
9 | <Script>installscript.qs</Script> | 9 | <Script>installscript.qs</Script> |
10 | <Default>true</Default> | ||
10 | </Package> | 11 | </Package> |
diff --git a/meta-boot2qt/recipes-core/initramfs-basic/files/init.sh b/meta-boot2qt/recipes-core/initramfs-basic/files/init.sh deleted file mode 100644 index 94eb39b..0000000 --- a/meta-boot2qt/recipes-core/initramfs-basic/files/init.sh +++ /dev/null | |||
@@ -1,107 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | PATH=/sbin:/bin:/usr/sbin:/usr/bin | ||
4 | ROOT_MOUNT="/sysroot/" | ||
5 | ROOT_DEVICE="" | ||
6 | |||
7 | early_setup() { | ||
8 | |||
9 | mkdir -p /proc | ||
10 | mkdir -p /sys | ||
11 | mount -t proc proc /proc | ||
12 | mount -t sysfs sysfs /sys | ||
13 | mount -t devtmpfs none /dev | ||
14 | |||
15 | mkdir -p /run | ||
16 | mkdir -p /var/run | ||
17 | } | ||
18 | |||
19 | read_args() { | ||
20 | |||
21 | for arg in $(cat /proc/cmdline); do | ||
22 | value=$(echo ${arg} | cut -s -f2- -d '=') | ||
23 | case $arg in | ||
24 | root=*) | ||
25 | root=$value | ||
26 | ;; | ||
27 | debugshell*) | ||
28 | if [ -z "$value" ]; then | ||
29 | shelltimeout=30 | ||
30 | else | ||
31 | shelltimeout=$value | ||
32 | fi | ||
33 | ;; | ||
34 | esac | ||
35 | done | ||
36 | |||
37 | if [ -z "$root" ] ; then | ||
38 | debug_shell "No root= specified via kernel command line." | ||
39 | else | ||
40 | case $root in | ||
41 | LABEL=*) | ||
42 | label=${root#LABEL=} | ||
43 | ;; | ||
44 | *) | ||
45 | debug_shell "This init script only supports root=LABEL=* for specifying root file system, but root=$root was provided." | ||
46 | ;; | ||
47 | esac | ||
48 | fi | ||
49 | } | ||
50 | |||
51 | mount_rootfs() { | ||
52 | |||
53 | mkdir -p $ROOT_MOUNT | ||
54 | mount $ROOT_DEVICE $ROOT_MOUNT | ||
55 | mount -n --move /proc $ROOT_MOUNT/proc | ||
56 | mount -n --move /sys $ROOT_MOUNT/sys | ||
57 | mount -n --move /dev $ROOT_MOUNT/dev | ||
58 | |||
59 | exec switch_root $ROOT_MOUNT /sbin/init || debug_shell "Couldn't switch_root." | ||
60 | } | ||
61 | |||
62 | switch_real_root() { | ||
63 | |||
64 | echo "Searching for media..." | ||
65 | C=0 | ||
66 | while true | ||
67 | do | ||
68 | |||
69 | rootfs=$(findfs LABEL=$label) | ||
70 | if [ -n "$rootfs" ] ; then | ||
71 | ROOT_DEVICE=$rootfs | ||
72 | mount_rootfs | ||
73 | fi | ||
74 | |||
75 | # don't wait for more than $shelltimeout seconds, if it's set | ||
76 | if [ -n "$shelltimeout" ]; then | ||
77 | echo -n " " $(( $shelltimeout - $C )) | ||
78 | if [ $C -ge $shelltimeout ]; then | ||
79 | debug_shell "Cannot find root file system." | ||
80 | fi | ||
81 | C=$(( C + 1 )) | ||
82 | fi | ||
83 | |||
84 | sleep 1 | ||
85 | done | ||
86 | } | ||
87 | |||
88 | debug_shell() { | ||
89 | |||
90 | echo ${1} | ||
91 | echo "Dropping to a shell." | ||
92 | exec sh | ||
93 | } | ||
94 | |||
95 | main() { | ||
96 | |||
97 | early_setup | ||
98 | read_args | ||
99 | |||
100 | if [ -f init-device ]; then | ||
101 | source init-device | ||
102 | fi | ||
103 | |||
104 | switch_real_root | ||
105 | } | ||
106 | |||
107 | main | ||
diff --git a/meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb b/meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb deleted file mode 100644 index 39d590a..0000000 --- a/meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb +++ /dev/null | |||
@@ -1,43 +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 | |||
30 | SUMMARY = "Simple init script that mounts root filesystem by label." | ||
31 | LICENSE = "The-Qt-Company-Commercial" | ||
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" | ||
33 | SRC_URI = "file://init.sh" | ||
34 | |||
35 | S = "${WORKDIR}" | ||
36 | |||
37 | do_install () { | ||
38 | install -m 0755 ${WORKDIR}/init.sh ${D}/init | ||
39 | } | ||
40 | |||
41 | inherit allarch | ||
42 | |||
43 | FILES_${PN} += "/init" | ||
diff --git a/meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb b/meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb deleted file mode 100644 index 283a681..0000000 --- a/meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb +++ /dev/null | |||
@@ -1,50 +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 | |||
30 | DESCRIPTION = "Basic initramfs image. Useful as a template for more advanced functionality." | ||
31 | LICENSE = "The-Qt-Company-Commercial" | ||
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" | ||
33 | |||
34 | # findfs from busybox fails to do its jobs, the full version from util-linux-findfs works fine | ||
35 | PACKAGE_INSTALL = "init-basic busybox util-linux-findfs ${ROOTFS_BOOTSTRAP_INSTALL}" | ||
36 | |||
37 | # Do not pollute the initramfs image with rootfs features | ||
38 | IMAGE_FEATURES = "" | ||
39 | |||
40 | export IMAGE_BASENAME = "initramfs-basic" | ||
41 | IMAGE_LINGUAS = "" | ||
42 | |||
43 | IMAGE_FSTYPES = "cpio.gz" | ||
44 | inherit core-image | ||
45 | |||
46 | IMAGE_ROOTFS_SIZE = "8192" | ||
47 | IMAGE_ROOTFS_EXTRA_SPACE = "0" | ||
48 | |||
49 | BAD_RECOMMENDATIONS += "busybox-syslog" | ||
50 | |||
diff --git a/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_4.3.30.bb b/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_5.2.18.bb index 1eb2652..6dba661 100644 --- a/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_4.3.30.bb +++ b/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_5.2.18.bb | |||
@@ -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. |
@@ -36,13 +36,13 @@ SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar. | |||
36 | file://mount-vboxsf.service \ | 36 | file://mount-vboxsf.service \ |
37 | " | 37 | " |
38 | 38 | ||
39 | SRC_URI[md5sum] = "cc053340f88922a11ad9d4fab56557bd" | 39 | SRC_URI[md5sum] = "d8e291525b84569356773eef507c49ce" |
40 | SRC_URI[sha256sum] = "ea9569ec16cd6202ee61bcadb2506d31ac12fd343adb91565773a05eaaea9a36" | 40 | SRC_URI[sha256sum] = "ed0a7efd56c7f39fae79c7ec3321473da412ef0d7914457b66f42679d513efcf" |
41 | 41 | ||
42 | S = "${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/sharedfolders" | 42 | S = "${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/sharedfolders" |
43 | 43 | ||
44 | do_compile() { | 44 | do_compile() { |
45 | ${CC} ${LDFLAGS} mount.vboxsf.c vbsfmount.c -o mount.vboxsf | 45 | ${CC} ${LDFLAGS} -I../../../../../include -DIN_RING3 mount.vboxsf.c vbsfmount.c -o mount.vboxsf |
46 | } | 46 | } |
47 | 47 | ||
48 | do_install() { | 48 | do_install() { |
diff --git a/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.1.16.bb b/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.2.18.bb index 752d8cb..a727c6f 100644 --- a/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.1.16.bb +++ b/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.2.18.bb | |||
@@ -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. |
@@ -38,18 +38,20 @@ PR = "${MACHINE_KERNEL_PR}" | |||
38 | 38 | ||
39 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" | 39 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" |
40 | 40 | ||
41 | SRC_URI[md5sum] = "37ebbd51370841eed8ab80f2f38446d6" | 41 | SRC_URI[md5sum] = "d8e291525b84569356773eef507c49ce" |
42 | SRC_URI[sha256sum] = "78071c3172f3bd3c7981c352c3ae6c6a9c01f6ab24bc0aa7ec79f3528b2291a7" | 42 | SRC_URI[sha256sum] = "ed0a7efd56c7f39fae79c7ec3321473da412ef0d7914457b66f42679d513efcf" |
43 | 43 | ||
44 | S = "${WORKDIR}/vbox" | 44 | S = "${WORKDIR}/vbox" |
45 | 45 | ||
46 | export KERN_DIR="${STAGING_KERNEL_DIR}" | 46 | export KERN_DIR="${STAGING_KERNEL_DIR}" |
47 | export KERN_VER="${KERNEL_VERSION}" | ||
47 | export KBUILD_VERBOSE="1" | 48 | export KBUILD_VERBOSE="1" |
48 | export BUILD_TARGET_ARCH="${ARCH}" | 49 | export BUILD_TARGET_ARCH="${ARCH}" |
49 | 50 | ||
50 | do_compile_prepend() { | 51 | do_compile_prepend() { |
51 | ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules ${WORKDIR}/vbox.tar.gz | 52 | ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules.sh ${WORKDIR}/vbox.tar.gz |
52 | tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox | 53 | tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox |
54 | find ${WORKDIR}/vbox -name Makefile.include.header | xargs sed -i -e '/KERN_DIR :=/d' | ||
53 | } | 55 | } |
54 | 56 | ||
55 | do_install() { | 57 | do_install() { |
diff --git a/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb b/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb index 3f2f680..6f14c6e 100644 --- a/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb +++ b/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb | |||
@@ -8,12 +8,13 @@ inherit cmake_qt5 | |||
8 | 8 | ||
9 | SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" | 9 | SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" |
10 | 10 | ||
11 | BRANCH = "5.11" | 11 | BRANCH = "5.12" |
12 | SRCREV = "3a35d9ec64a3c32503c1252edc2608ad49f05b40" | 12 | SRCREV = "f9cb19adc34684bbca56fd6eb3903e041764e742" |
13 | PV = "${BRANCH}+git${SRCPV}" | 13 | PV = "${BRANCH}+git${SRCPV}" |
14 | 14 | ||
15 | DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ | 15 | DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ |
16 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" | 16 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)} \ |
17 | elfutils" | ||
17 | 18 | ||
18 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
19 | 20 | ||
diff --git a/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb b/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb index 061e3a8..3ad29b1 100644 --- a/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb +++ b/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb | |||
@@ -39,12 +39,13 @@ inherit qt5-module systemd | |||
39 | require recipes-qt/qt5/qt5-git.inc | 39 | require recipes-qt/qt5/qt5-git.inc |
40 | 40 | ||
41 | QT_GIT_PROJECT = "qt-apps" | 41 | QT_GIT_PROJECT = "qt-apps" |
42 | QT_MODULE_BRANCH = "dev" | ||
42 | 43 | ||
43 | SRC_URI += " \ | 44 | SRC_URI += " \ |
44 | file://neptune.service \ | 45 | file://neptune.service \ |
45 | " | 46 | " |
46 | 47 | ||
47 | SRCREV = "4509d7d8a1e5675cebf17ffeb74ba72a90ed296f" | 48 | SRCREV = "d8332c73ccda36e1da2661317d7ed3c787b17c68" |
48 | 49 | ||
49 | QMAKE_PROFILES = "${S}/neptune3-ui.pro" | 50 | QMAKE_PROFILES = "${S}/neptune3-ui.pro" |
50 | 51 | ||
diff --git a/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb b/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb index 76cd9b1..d87dd13 100644 --- a/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb +++ b/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb | |||
@@ -37,7 +37,7 @@ require recipes-qt/qt5/qt5-git.inc | |||
37 | 37 | ||
38 | QT_GIT_PROJECT = "qt-apps" | 38 | QT_GIT_PROJECT = "qt-apps" |
39 | 39 | ||
40 | SRCREV = "a239d45ce6e185eb0a3b5e947698a8f08e783189" | 40 | SRCREV = "e400161c6ec932c180e8b9fe5e5d00a593ee254a" |
41 | 41 | ||
42 | DEPENDS = "qtbase qtdeclarative" | 42 | DEPENDS = "qtbase qtdeclarative" |
43 | 43 | ||
diff --git a/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb b/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb index 82a9bcd..89fcaa2 100644 --- a/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb +++ b/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb | |||
@@ -34,7 +34,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=ff238b33ff354a0d8d79851a9c061717" | |||
34 | inherit qt5-module | 34 | inherit qt5-module |
35 | require recipes-qt/qt5/qt5-git.inc | 35 | require recipes-qt/qt5/qt5-git.inc |
36 | 36 | ||
37 | SRCREV = "201656bedec57dbd22b3fc3089148e6c7453875c" | 37 | QT_MODULE_BRANCH = "dev" |
38 | SRCREV = "941d493f47d1e15430ed062ea0aa4b1f7c087a04" | ||
38 | 39 | ||
39 | DEPENDS = "qtbase qtdeclarative libyaml libarchive \ | 40 | DEPENDS = "qtbase qtdeclarative libyaml libarchive \ |
40 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland qtwayland-native", "", d)}" | 41 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland qtwayland-native", "", d)}" |
diff --git a/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch b/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch index 9f6c0c0..256f706 100644 --- a/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch +++ b/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b4ed8c9d4a391771cba485bfa685147126260dc2 Mon Sep 17 00:00:00 2001 | 1 | From 2d99a2a0c728cb28332fb35dac3af88b0f256116 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Thu, 7 Sep 2017 10:24:11 +0300 | 3 | Date: Thu, 7 Sep 2017 10:24:11 +0300 |
4 | Subject: [PATCH] Use QT_HOST_BINS/get for getting correct path | 4 | Subject: [PATCH] Use QT_HOST_BINS/get for getting correct path |
@@ -8,22 +8,26 @@ the EffectivePath instead of installation path. | |||
8 | 8 | ||
9 | Change-Id: I3e9c04019c432e182dcb5c0898275173f20de1e2 | 9 | Change-Id: I3e9c04019c432e182dcb5c0898275173f20de1e2 |
10 | --- | 10 | --- |
11 | mkspecs/features/ivigenerator.prf | 4 ++-- | 11 | mkspecs/features/ivigenerator.prf | 4 +++- |
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | 12 | 1 file changed, 3 insertions(+), 1 deletion(-) |
13 | 13 | ||
14 | diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf | 14 | diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf |
15 | index 65c497e..7634355 100644 | 15 | index 8d36aae..149116c 100644 |
16 | --- a/mkspecs/features/ivigenerator.prf | 16 | --- a/mkspecs/features/ivigenerator.prf |
17 | +++ b/mkspecs/features/ivigenerator.prf | 17 | +++ b/mkspecs/features/ivigenerator.prf |
18 | @@ -31,9 +31,9 @@ QFACE_YAML = $$QFACE_ABS_PWD/$${QFACE_BASE_NAME}.yaml | 18 | @@ -36,9 +36,11 @@ equals(QMAKE_HOST.os, Windows): ENV = chcp 65001 && |
19 | OTHER_FILES += $$QFACE_FILE | 19 | else: ENV = LC_ALL="en_US.UTF-8" |
20 | 20 | ||
21 | # Detect whether we are using the feature inside the qtivi repository | 21 | # Detect whether we are using the feature inside the qtivi repository |
22 | -VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv | 22 | -VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv |
23 | +VIRTUALENV_PATH = $$[QT_HOST_BINS/get]/ivigenerator/qtivi_qface_virtualenv | 23 | +VIRTUALENV_PATH = $$[QT_HOST_BINS/get]/ivigenerator/qtivi_qface_virtualenv |
24 | INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv | 24 | INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv |
25 | -IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator | 25 | IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator |
26 | +IVI_GENERATOR_PATH = $$[QT_HOST_BINS/get]/ivigenerator | 26 | +IVI_GENERATOR_PATH = $$[QT_HOST_BINS/get]/ivigenerator |
27 | + | ||
27 | QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT)) | 28 | QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT)) |
28 | 29 | ||
29 | # Try to use the internal virtualenv when building qtivi | 30 | # Try to use the internal virtualenv when building qtivi |
31 | -- | ||
32 | 2.17.1 | ||
33 | |||
diff --git a/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb b/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb index 8665142..01a7d4b 100644 --- a/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb +++ b/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb | |||
@@ -43,15 +43,16 @@ inherit qt5-module | |||
43 | inherit python3native | 43 | inherit python3native |
44 | require recipes-qt/qt5/qt5-git.inc | 44 | require recipes-qt/qt5/qt5-git.inc |
45 | 45 | ||
46 | QT_MODULE_BRANCH_QFACE = "upstream/develop" | 46 | QT_MODULE_BRANCH = "dev" |
47 | QT_MODULE_BRANCH_QFACE = "upstream/master" | ||
47 | 48 | ||
48 | SRC_URI += " \ | 49 | SRC_URI += " \ |
49 | ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \ | 50 | ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \ |
50 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ | 51 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ |
51 | " | 52 | " |
52 | 53 | ||
53 | SRCREV_qtivi = "c3da57cf0c7213120803fe63003d0cc14d14f871" | 54 | SRCREV_qtivi = "142d7174863c2acf2792ba723c8dd273f8d07b22" |
54 | SRCREV_qface = "9da793d6cbc63d617ad5e2ffd13e9f6d055c88e8" | 55 | SRCREV_qface = "0a3ae7686e1100be452b8c435bdcd84ec242340e" |
55 | SRCREV = "${SRCREV_qtivi}" | 56 | SRCREV = "${SRCREV_qtivi}" |
56 | SRCREV_FORMAT = "qtivi_qface" | 57 | SRCREV_FORMAT = "qtivi_qface" |
57 | 58 | ||
@@ -109,4 +110,4 @@ BBCLASSEXTEND += "native nativesdk" | |||
109 | 110 | ||
110 | INSANE_SKIP_${PN}_class-native = "already-stripped" | 111 | INSANE_SKIP_${PN}_class-native = "already-stripped" |
111 | INSANE_SKIP_${PN}_class-nativesdk = "already-stripped" | 112 | INSANE_SKIP_${PN}_class-nativesdk = "already-stripped" |
112 | INSANE_SKIP_${PN}-tools_class-nativesdk = "staticdev" | 113 | INSANE_SKIP_${PN}-tools_class-nativesdk = "staticdev file-rdeps libdir build-deps" |
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf new file mode 100644 index 0000000..38d06e6 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | env=QMLSCENE_DEVICE=softwarecontext | ||
2 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | ||
3 | env=QT_QPA_PLATFORM=linuxfb | ||
4 | env=QSG_RENDER_LOOP=basic | ||
5 | env=QT_IM_MODULE=qtvirtualkeyboard | ||
6 | env=QT_QUICK_CONTROLS_1_STYLE=Flat | ||
7 | env=XDG_RUNTIME_DIR=/run/user/0 | ||
8 | env=QTWEBENGINE_DISABLE_SANDBOX=1 | ||
9 | base=linux | ||
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf new file mode 100644 index 0000000..85227c2 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf | |||
@@ -0,0 +1,8 @@ | |||
1 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | ||
2 | env=QT_IM_MODULE=qtvirtualkeyboard | ||
3 | env=QT_QPA_EGLFS_FORCE888=0 | ||
4 | env=QT_QUICK_CONTROLS_1_STYLE=Flat | ||
5 | env=XDG_RUNTIME_DIR=/run/user/0 | ||
6 | env=QSG_RENDER_LOOP=basic | ||
7 | env=QTWEBENGINE_DISABLE_SANDBOX=1 | ||
8 | base=linux | ||
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb index 3900abb..c46aa0d 100644 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb | |||
@@ -42,11 +42,11 @@ SRC_URI = " \ | |||
42 | https://qt-files.s3.amazonaws.com/examples/Videos/The+Future+is+Written+with+Qt.mp4;name=video3 \ | 42 | https://qt-files.s3.amazonaws.com/examples/Videos/The+Future+is+Written+with+Qt.mp4;name=video3 \ |
43 | " | 43 | " |
44 | 44 | ||
45 | PV = "5.11.2+git${SRCPV}" | 45 | PV = "5.12.0+git${SRCPV}" |
46 | 46 | ||
47 | BRANCH = "5.11" | 47 | BRANCH = "5.12" |
48 | 48 | ||
49 | SRCREV = "ca03367f33d6430d3ddbbd70edf832bced59ff74" | 49 | SRCREV = "4649beeb936b79d58c439579fb29aafaab7d9226" |
50 | 50 | ||
51 | SRC_URI[video1.md5sum] = "25d9e963a02675a4f3ba83abeebb32da" | 51 | SRC_URI[video1.md5sum] = "25d9e963a02675a4f3ba83abeebb32da" |
52 | SRC_URI[video1.sha256sum] = "33125518c2eb7848f378ddb6bebaf39f3327c92f1e33daa7fc09e4260e54d54a" | 52 | SRC_URI[video1.sha256sum] = "33125518c2eb7848f378ddb6bebaf39f3327c92f1e33daa7fc09e4260e54d54a" |
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb index cda1ac7..9575045 100644 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb | |||
@@ -43,7 +43,7 @@ SRC_URI += " \ | |||
43 | file://ebikedata.service \ | 43 | file://ebikedata.service \ |
44 | " | 44 | " |
45 | 45 | ||
46 | SRCREV = "ce4d3833f5193168fb61392d08f61e73997632eb" | 46 | SRCREV = "64f65e26feb4f6b0b3ac31cfc4e22c5971c1c41d" |
47 | 47 | ||
48 | DEPENDS = "\ | 48 | DEPENDS = "\ |
49 | qtbase qtdeclarative qtquickcontrols2 \ | 49 | qtbase qtdeclarative qtquickcontrols2 \ |
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh index 15981b0..15e048f 100755 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh | |||
@@ -46,19 +46,6 @@ GADGET_CONFIG=$CONFIGFS_PATH/usb_gadget/g1 | |||
46 | 46 | ||
47 | . /etc/default/qdbd | 47 | . /etc/default/qdbd |
48 | 48 | ||
49 | initialize_gadget() { | ||
50 | # Initialize gadget with first UDC driver | ||
51 | for driverpath in /sys/class/udc/*; do | ||
52 | drivername=`basename $driverpath` | ||
53 | echo "$drivername" > $GADGET_CONFIG/UDC | ||
54 | break | ||
55 | done | ||
56 | } | ||
57 | |||
58 | disable_gadget() { | ||
59 | echo "" > $GADGET_CONFIG/UDC | ||
60 | } | ||
61 | |||
62 | case "$1" in | 49 | case "$1" in |
63 | start) | 50 | start) |
64 | b2qt-gadget-network.sh --reset | 51 | b2qt-gadget-network.sh --reset |
@@ -86,11 +73,8 @@ start) | |||
86 | mount -t functionfs qdb /dev/usb-ffs/qdb -o uid=0,gid=0 | 73 | mount -t functionfs qdb /dev/usb-ffs/qdb -o uid=0,gid=0 |
87 | shift | 74 | shift |
88 | start-stop-daemon --start --quiet --exec $DAEMON -- $@ & | 75 | start-stop-daemon --start --quiet --exec $DAEMON -- $@ & |
89 | sleep 1 | ||
90 | initialize_gadget | ||
91 | ;; | 76 | ;; |
92 | stop) | 77 | stop) |
93 | disable_gadget | ||
94 | start-stop-daemon --stop --quiet --exec $DAEMON | 78 | start-stop-daemon --stop --quiet --exec $DAEMON |
95 | sleep 1 | 79 | sleep 1 |
96 | umount /dev/usb-ffs/qdb | 80 | umount /dev/usb-ffs/qdb |
@@ -104,14 +88,11 @@ stop) | |||
104 | rmdir $GADGET_CONFIG | 88 | rmdir $GADGET_CONFIG |
105 | ;; | 89 | ;; |
106 | restart) | 90 | restart) |
107 | disable_gadget | ||
108 | start-stop-daemon --stop --quiet --exec $DAEMON | 91 | start-stop-daemon --stop --quiet --exec $DAEMON |
109 | b2qt-gadget-network.sh --reset | 92 | b2qt-gadget-network.sh --reset |
110 | sleep 1 | 93 | sleep 1 |
111 | shift | 94 | shift |
112 | start-stop-daemon --start --quiet --exec $DAEMON -- $@ & | 95 | start-stop-daemon --start --quiet --exec $DAEMON -- $@ & |
113 | sleep 1 | ||
114 | initialize_gadget | ||
115 | ;; | 96 | ;; |
116 | *) | 97 | *) |
117 | echo "Usage: $0 {start|stop|restart}" | 98 | echo "Usage: $0 {start|stop|restart}" |
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb index 5eebaea..ceeb17e 100644 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb | |||
@@ -45,8 +45,8 @@ SRC_URI += "file://b2qt-gadget-network.sh \ | |||
45 | file://qdbd-init.sh \ | 45 | file://qdbd-init.sh \ |
46 | " | 46 | " |
47 | 47 | ||
48 | SRCREV = "69f95b6a8d2ca0912a8d502a2b6871109725731e" | 48 | SRCREV = "59ea3a9ed6c10248ecdfb7cf111c3b7d1f70cba6" |
49 | PV = "1.1.0+git${SRCPV}" | 49 | PV = "1.2.0+git${SRCPV}" |
50 | 50 | ||
51 | REQUIRED_DISTRO_FEATURES = "systemd" | 51 | REQUIRED_DISTRO_FEATURES = "systemd" |
52 | DEPENDS = "qtbase" | 52 | DEPENDS = "qtbase" |
diff --git a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb index 6313c5c..a669f5e 100644 --- a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb +++ b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb | |||
@@ -39,7 +39,7 @@ PACKAGECONFIG[wpasupplicant] = "CONFIG+=wpasupplicant,,wpa-supplicant" | |||
39 | 39 | ||
40 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" | 40 | EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" |
41 | 41 | ||
42 | SRCREV = "0ecd391912f6338d5aef6105600fc8c321c83bd8" | 42 | SRCREV = "4b4ed3262fafc93fe510f27f09fa45393eb14852" |
43 | 43 | ||
44 | DEPENDS = "\ | 44 | DEPENDS = "\ |
45 | qtbase qtdeclarative qtconnectivity qtdeclarative-native \ | 45 | qtbase qtdeclarative qtconnectivity qtdeclarative-native \ |
diff --git a/meta-fsl-extras/conf/layer.conf b/meta-fsl-extras/conf/layer.conf index f52a419..74e2652 100644 --- a/meta-fsl-extras/conf/layer.conf +++ b/meta-fsl-extras/conf/layer.conf | |||
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_fsl" | 38 | BBFILE_COLLECTIONS += "b2qt_fsl" |
39 | BBFILE_PATTERN_b2qt_fsl := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_fsl := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_fsl = "20" | 40 | BBFILE_PRIORITY_b2qt_fsl = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_fsl = "sumo" | ||
diff --git a/meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc b/meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc new file mode 100644 index 0000000..5407a5a --- /dev/null +++ b/meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc | |||
@@ -0,0 +1,81 @@ | |||
1 | SUMMARY = "Freescale IMX firmware" | ||
2 | DESCRIPTION = "Freescale IMX firmware such as for the VPU" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | #BRCM firmware git | ||
10 | SRCBRANCH ?= "master" | ||
11 | |||
12 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \ | ||
13 | git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git " | ||
14 | |||
15 | inherit fsl-eula-unpack allarch | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${base_libdir}/firmware/imx | ||
19 | install -d ${D}${base_libdir}/firmware/bcm | ||
20 | install -d ${D}${sysconfdir}/firmware | ||
21 | |||
22 | cp -rfv firmware/* ${D}${base_libdir}/firmware/ | ||
23 | |||
24 | #1BW_BCM43340 | ||
25 | install -d ${D}${base_libdir}/firmware/bcm/1BW_BCM43340 | ||
26 | cp -rfv git/brcm/1BW_BCM43340/*.bin ${D}${base_libdir}/firmware/bcm/1BW_BCM43340 | ||
27 | cp -rfv git/brcm/1BW_BCM43340/*.cal ${D}${base_libdir}/firmware/bcm/1BW_BCM43340 | ||
28 | cp -rfv git/brcm/1BW_BCM43340/*.hcd ${D}${sysconfdir}/firmware/ | ||
29 | |||
30 | #1DX_BCM4343W | ||
31 | install -d ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W | ||
32 | cp -rfv git/brcm/1DX_BCM4343W/*.bin ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W | ||
33 | cp -rfv git/brcm/1DX_BCM4343W/*.cal ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W | ||
34 | cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/ | ||
35 | |||
36 | #SN8000_BCM43362 | ||
37 | install -d ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362 | ||
38 | cp -rfv git/brcm/SN8000_BCM43362/*.bin ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362 | ||
39 | cp -rfv git/brcm/SN8000_BCM43362/*.cal ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362 | ||
40 | cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/ | ||
41 | |||
42 | #ZP_BCM4339 | ||
43 | install -d ${D}${base_libdir}/firmware/bcm/ZP_BCM4339 | ||
44 | cp -rfv git/brcm/ZP_BCM4339/*.bin ${D}${base_libdir}/firmware/bcm/ZP_BCM4339 | ||
45 | cp -rfv git/brcm/ZP_BCM4339/*.cal ${D}${base_libdir}/firmware/bcm/ZP_BCM4339 | ||
46 | cp -rfv git/brcm/ZP_BCM4339/*.hcd ${D}${sysconfdir}/firmware/ | ||
47 | |||
48 | mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/ | ||
49 | mv ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw | ||
50 | |||
51 | find ${D}${base_libdir}/firmware -type f -exec chmod 644 '{}' ';' | ||
52 | find ${D}${base_libdir}/firmware -type f -exec chown root:root '{}' ';' | ||
53 | |||
54 | # Remove files not going to be installed | ||
55 | find ${D}${base_libdir}/firmware/ -name '*.mk' -exec rm '{}' ';' | ||
56 | } | ||
57 | |||
58 | python populate_packages_prepend() { | ||
59 | vpudir = bb.data.expand('${base_libdir}/firmware/vpu', d) | ||
60 | do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin', | ||
61 | output_pattern='firmware-imx-vpu-%s', | ||
62 | description='Freescale IMX Firmware %s', | ||
63 | extra_depends='', | ||
64 | prepend=True) | ||
65 | |||
66 | sdmadir = bb.data.expand('${base_libdir}/firmware/sdma', d) | ||
67 | do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin', | ||
68 | output_pattern='firmware-imx-sdma-%s', | ||
69 | description='Freescale IMX Firmware %s', | ||
70 | extra_depends='', | ||
71 | prepend=True) | ||
72 | } | ||
73 | |||
74 | ALLOW_EMPTY_${PN} = "1" | ||
75 | |||
76 | PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*" | ||
77 | |||
78 | PACKAGES =+ "${PN}-epdc ${PN}-brcm" | ||
79 | |||
80 | FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/" | ||
81 | FILES_${PN}-brcm = "${base_libdir}/firmware/bcm/*/*.bin ${base_libdir}/firmware/bcm/*/*.cal ${sysconfdir}/firmware/" | ||
diff --git a/meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc b/meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc new file mode 100644 index 0000000..7b33956 --- /dev/null +++ b/meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc | |||
@@ -0,0 +1,28 @@ | |||
1 | # Copyright (C) 2013-2017 O.S. Systems Software LTDA. | ||
2 | # Copyright (C) 2013 Freescale Semiconductor | ||
3 | # Copyright 2017 NXP | ||
4 | |||
5 | DESCRIPTION = "Freescale VPU library" | ||
6 | LICENSE = "Proprietary" | ||
7 | LIC_FILES_CHKSUM = "file://vpu/EULA.txt;md5=b063366b066c9f10037c59756a9ced54" | ||
8 | DEPENDS = "virtual/kernel" | ||
9 | |||
10 | PROVIDES = "virtual/imxvpu" | ||
11 | |||
12 | inherit fsl-eula-unpack | ||
13 | |||
14 | PLATFORM_mx6 = "IMX6Q" | ||
15 | |||
16 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
17 | |||
18 | do_compile () { | ||
19 | INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" | ||
20 | |||
21 | oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all | ||
22 | } | ||
23 | |||
24 | do_install () { | ||
25 | oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install | ||
26 | } | ||
27 | |||
28 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend b/meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend new file mode 100644 index 0000000..4a99874 --- /dev/null +++ b/meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend | |||
@@ -0,0 +1,31 @@ | |||
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 | # dependency missing in meta-fsl-bsp-release | ||
31 | RDEPENDS_${PN} += "libdrm" | ||
diff --git a/meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend b/meta-fsl-extras/recipes/libsdl2/libsdl2_%.bbappend index ca8f573..4d6a52b 100644 --- a/meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend +++ b/meta-fsl-extras/recipes/libsdl2/libsdl2_%.bbappend | |||
@@ -27,4 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | SRC_URI_remove = "file://ppp-fix-building-with-linux-4.8.patch" | 30 | CFLAGS += "-DLINUX=1 -DEGL_API_FB=1" |
diff --git a/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend index da4b2c1..9bf3498 100644 --- a/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend | |||
@@ -33,7 +33,7 @@ SRC_URI += " \ | |||
33 | " | 33 | " |
34 | 34 | ||
35 | # kernel image files are not needed in the image | 35 | # kernel image files are not needed in the image |
36 | RDEPENDS_kernel-base = "" | 36 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" |
37 | 37 | ||
38 | do_preconfigure_prepend() { | 38 | do_preconfigure_prepend() { |
39 | echo "CONFIG_HID_MULTITOUCH=m" >> ${WORKDIR}/defconfig | 39 | echo "CONFIG_HID_MULTITOUCH=m" >> ${WORKDIR}/defconfig |
diff --git a/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend index 74fa4ab..a668575 100644 --- a/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend | |||
@@ -28,7 +28,7 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | # kernel image files are not needed in the image | 30 | # kernel image files are not needed in the image |
31 | RDEPENDS_kernel-base = "" | 31 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" |
32 | 32 | ||
33 | do_preconfigure_prepend() { | 33 | do_preconfigure_prepend() { |
34 | # FunctionFS for qdbd | 34 | # FunctionFS for qdbd |
diff --git a/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend index 47fd1bf..9b4cc9b 100644 --- a/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend | |||
@@ -28,7 +28,10 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | # kernel image files are not needed in the image | 30 | # kernel image files are not needed in the image |
31 | RDEPENDS_kernel-base = "" | 31 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" |
32 | |||
33 | # remove from imx8 kernel build | ||
34 | SRC_URI_remove = " file://Install-dma-buf-h.patch" | ||
32 | 35 | ||
33 | do_preconfigure_prepend() { | 36 | do_preconfigure_prepend() { |
34 | # FunctionFS for qdbd | 37 | # FunctionFS for qdbd |
diff --git a/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend index 58dc715..4850f8a 100644 --- a/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend +++ b/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend | |||
@@ -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,12 +27,14 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | RDEPENDS_kernel-base = "kernel-image kernel-devicetree" | 30 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-devicetree" |
31 | |||
32 | # remove from imx8 kernel build | ||
33 | SRC_URI_remove = " file://Install-dma-buf-h.patch" | ||
31 | 34 | ||
32 | do_preconfigure_prepend () { | 35 | do_preconfigure_prepend () { |
33 | # FunctionFS for qdbd | 36 | # FunctionFS for qdbd |
34 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig | 37 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig |
35 | echo "TOUCHSCREEN_FUSION_F0710A=y" >> ${WORKDIR}/defconfig | ||
36 | 38 | ||
37 | # Enable uprobe for profiling | 39 | # Enable uprobe for profiling |
38 | echo "CONFIG_UPROBE_EVENT=y" >> ${WORKDIR}/defconfig | 40 | echo "CONFIG_UPROBE_EVENT=y" >> ${WORKDIR}/defconfig |
diff --git a/meta-fsl-extras/recipes/linux/linux-warp7/defconfig b/meta-fsl-extras/recipes/linux/linux-warp7/defconfig new file mode 100644 index 0000000..267fa97 --- /dev/null +++ b/meta-fsl-extras/recipes/linux/linux-warp7/defconfig | |||
@@ -0,0 +1,444 @@ | |||
1 | CONFIG_KERNEL_LZO=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_FHANDLE=y | ||
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
6 | CONFIG_IKCONFIG=y | ||
7 | CONFIG_IKCONFIG_PROC=y | ||
8 | CONFIG_LOG_BUF_SHIFT=18 | ||
9 | CONFIG_CGROUPS=y | ||
10 | CONFIG_RELAY=y | ||
11 | CONFIG_BLK_DEV_INITRD=y | ||
12 | CONFIG_EXPERT=y | ||
13 | CONFIG_KALLSYMS_ALL=y | ||
14 | CONFIG_PERF_EVENTS=y | ||
15 | # CONFIG_SLUB_DEBUG is not set | ||
16 | # CONFIG_COMPAT_BRK is not set | ||
17 | CONFIG_MODULES=y | ||
18 | CONFIG_MODULE_UNLOAD=y | ||
19 | CONFIG_MODVERSIONS=y | ||
20 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
21 | # CONFIG_BLK_DEV_BSG is not set | ||
22 | CONFIG_ARCH_MXC=y | ||
23 | CONFIG_SOC_IMX50=y | ||
24 | CONFIG_SOC_IMX53=y | ||
25 | CONFIG_SOC_IMX6Q=y | ||
26 | CONFIG_SOC_IMX6SL=y | ||
27 | CONFIG_SOC_IMX6SX=y | ||
28 | CONFIG_SOC_IMX6UL=y | ||
29 | CONFIG_SOC_IMX7D=y | ||
30 | CONFIG_SOC_VF610=y | ||
31 | # CONFIG_SWP_EMULATE is not set | ||
32 | CONFIG_SMP=y | ||
33 | CONFIG_HAVE_ARM_ARCH_TIMER=y | ||
34 | CONFIG_VMSPLIT_2G=y | ||
35 | CONFIG_PREEMPT=y | ||
36 | CONFIG_AEABI=y | ||
37 | CONFIG_HIGHMEM=y | ||
38 | CONFIG_CMA=y | ||
39 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
40 | CONFIG_CPU_FREQ=y | ||
41 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y | ||
42 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
43 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
44 | CONFIG_CPU_FREQ_GOV_INTERACTIVE=y | ||
45 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
46 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
47 | CONFIG_ARM_IMX7D_CPUFREQ=y | ||
48 | CONFIG_CPU_IDLE=y | ||
49 | CONFIG_VFP=y | ||
50 | CONFIG_NEON=y | ||
51 | CONFIG_BINFMT_MISC=m | ||
52 | CONFIG_PM_DEBUG=y | ||
53 | CONFIG_PM_TEST_SUSPEND=y | ||
54 | CONFIG_NET=y | ||
55 | CONFIG_PACKET=y | ||
56 | CONFIG_UNIX=y | ||
57 | CONFIG_INET=y | ||
58 | CONFIG_IP_PNP=y | ||
59 | CONFIG_IP_PNP_DHCP=y | ||
60 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
61 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
62 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
63 | # CONFIG_INET_LRO is not set | ||
64 | CONFIG_IPV6=y | ||
65 | CONFIG_VLAN_8021Q=y | ||
66 | CONFIG_LLC2=y | ||
67 | CONFIG_CAN=y | ||
68 | CONFIG_CAN_FLEXCAN=y | ||
69 | CONFIG_CAN_M_CAN=y | ||
70 | CONFIG_BT=y | ||
71 | CONFIG_BT_RFCOMM=y | ||
72 | CONFIG_BT_RFCOMM_TTY=y | ||
73 | CONFIG_BT_BNEP=y | ||
74 | CONFIG_BT_BNEP_MC_FILTER=y | ||
75 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
76 | CONFIG_BT_HIDP=y | ||
77 | # CONFIG_BT_HCIBTUSB is not set | ||
78 | CONFIG_BT_HCIUART=y | ||
79 | CONFIG_BT_HCIUART_H4=y | ||
80 | # CONFIG_BT_HCIUART_BCSP is not set | ||
81 | # CONFIG_BT_HCIUART_ATH3K is not set | ||
82 | CONFIG_BT_HCIBCM203X=y | ||
83 | # CONFIG_BT_ATH3K is not set | ||
84 | CONFIG_CFG80211=y | ||
85 | CONFIG_MAC80211=y | ||
86 | CONFIG_DEVTMPFS=y | ||
87 | CONFIG_DEVTMPFS_MOUNT=y | ||
88 | # CONFIG_STANDALONE is not set | ||
89 | CONFIG_DMA_CMA=y | ||
90 | CONFIG_CMA_SIZE_MBYTES=0 | ||
91 | CONFIG_IMX_WEIM=y | ||
92 | CONFIG_CONNECTOR=y | ||
93 | CONFIG_MTD=y | ||
94 | CONFIG_MTD_CMDLINE_PARTS=y | ||
95 | CONFIG_MTD_BLOCK=y | ||
96 | CONFIG_MTD_CFI=y | ||
97 | CONFIG_MTD_JEDECPROBE=y | ||
98 | CONFIG_MTD_CFI_INTELEXT=y | ||
99 | CONFIG_MTD_CFI_AMDSTD=y | ||
100 | CONFIG_MTD_CFI_STAA=y | ||
101 | CONFIG_MTD_PHYSMAP_OF=y | ||
102 | CONFIG_MTD_DATAFLASH=y | ||
103 | CONFIG_MTD_M25P80=y | ||
104 | CONFIG_MTD_SST25L=y | ||
105 | CONFIG_MTD_NAND=y | ||
106 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
107 | CONFIG_MTD_NAND_MXC=y | ||
108 | CONFIG_MTD_SPI_NOR=y | ||
109 | CONFIG_SPI_FSL_QUADSPI=y | ||
110 | CONFIG_MTD_UBI=y | ||
111 | CONFIG_BLK_DEV_LOOP=y | ||
112 | CONFIG_BLK_DEV_RAM=y | ||
113 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
114 | CONFIG_SENSORS_FXOS8700=y | ||
115 | CONFIG_SENSORS_FXAS2100X=y | ||
116 | CONFIG_EEPROM_AT24=y | ||
117 | CONFIG_EEPROM_AT25=y | ||
118 | # CONFIG_SCSI_PROC_FS is not set | ||
119 | CONFIG_BLK_DEV_SD=y | ||
120 | CONFIG_SCSI_CONSTANTS=y | ||
121 | CONFIG_SCSI_LOGGING=y | ||
122 | CONFIG_SCSI_SCAN_ASYNC=y | ||
123 | # CONFIG_SCSI_LOWLEVEL is not set | ||
124 | CONFIG_ATA=y | ||
125 | CONFIG_SATA_AHCI_PLATFORM=y | ||
126 | CONFIG_AHCI_IMX=y | ||
127 | CONFIG_PATA_IMX=y | ||
128 | CONFIG_NETDEVICES=y | ||
129 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
130 | CONFIG_CS89x0=y | ||
131 | CONFIG_CS89x0_PLATFORM=y | ||
132 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
133 | # CONFIG_NET_VENDOR_INTEL is not set | ||
134 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
135 | # CONFIG_NET_VENDOR_MICREL is not set | ||
136 | # CONFIG_NET_VENDOR_MICROCHIP is not set | ||
137 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
138 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
139 | CONFIG_SMC91X=y | ||
140 | CONFIG_SMC911X=y | ||
141 | CONFIG_SMSC911X=y | ||
142 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
143 | CONFIG_MICREL_PHY=y | ||
144 | CONFIG_USB_PEGASUS=m | ||
145 | CONFIG_USB_RTL8150=m | ||
146 | CONFIG_USB_RTL8152=m | ||
147 | CONFIG_USB_USBNET=m | ||
148 | CONFIG_USB_NET_CDC_EEM=m | ||
149 | CONFIG_BCMDHD=m | ||
150 | CONFIG_BCMDHD_SDIO=y | ||
151 | CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin" | ||
152 | CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal" | ||
153 | # CONFIG_RTL_CARDS is not set | ||
154 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
155 | CONFIG_INPUT_EVDEV=y | ||
156 | CONFIG_INPUT_EVBUG=m | ||
157 | CONFIG_KEYBOARD_GPIO=y | ||
158 | CONFIG_KEYBOARD_IMX=y | ||
159 | CONFIG_MOUSE_PS2=m | ||
160 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
161 | CONFIG_INPUT_TOUCHSCREEN=y | ||
162 | CONFIG_TOUCHSCREEN_HIMAX_HX852xES=y | ||
163 | CONFIG_TOUCHSCREEN_HIMAX_I2C=y | ||
164 | CONFIG_TOUCHSCREEN_HIMAX_DEBUG=y | ||
165 | CONFIG_TOUCHSCREEN_ADS7846=y | ||
166 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
167 | CONFIG_TOUCHSCREEN_ELAN_TS=y | ||
168 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
169 | CONFIG_TOUCHSCREEN_IMX6UL_TSC=y | ||
170 | CONFIG_TOUCHSCREEN_MC13783=y | ||
171 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
172 | CONFIG_TOUCHSCREEN_STMPE=y | ||
173 | CONFIG_INPUT_MISC=y | ||
174 | CONFIG_INPUT_MMA8450=y | ||
175 | CONFIG_SENSOR_FXLS8471=y | ||
176 | CONFIG_INPUT_ISL29023=y | ||
177 | CONFIG_SERIO_SERPORT=m | ||
178 | # CONFIG_LEGACY_PTYS is not set | ||
179 | # CONFIG_DEVKMEM is not set | ||
180 | CONFIG_SERIAL_IMX=y | ||
181 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
182 | CONFIG_SERIAL_FSL_LPUART=y | ||
183 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
184 | CONFIG_FSL_OTP=y | ||
185 | # CONFIG_I2C_COMPAT is not set | ||
186 | CONFIG_I2C_CHARDEV=y | ||
187 | # CONFIG_I2C_HELPER_AUTO is not set | ||
188 | CONFIG_I2C_ALGOPCF=m | ||
189 | CONFIG_I2C_ALGOPCA=m | ||
190 | CONFIG_I2C_IMX=y | ||
191 | CONFIG_SPI=y | ||
192 | CONFIG_SPI_GPIO=y | ||
193 | CONFIG_SPI_IMX=y | ||
194 | CONFIG_GPIO_SYSFS=y | ||
195 | CONFIG_GPIO_MAX732X=y | ||
196 | CONFIG_GPIO_PCA953X=y | ||
197 | CONFIG_GPIO_74X164=y | ||
198 | CONFIG_POWER_SUPPLY=y | ||
199 | CONFIG_SABRESD_MAX8903=y | ||
200 | CONFIG_POWER_RESET=y | ||
201 | CONFIG_POWER_RESET_SYSCON_POWEROFF=y | ||
202 | CONFIG_SENSORS_MAX17135=y | ||
203 | CONFIG_SENSORS_MAG3110=y | ||
204 | CONFIG_THERMAL=y | ||
205 | CONFIG_CPU_THERMAL=y | ||
206 | CONFIG_IMX_THERMAL=y | ||
207 | CONFIG_DEVICE_THERMAL=y | ||
208 | CONFIG_WATCHDOG=y | ||
209 | CONFIG_IMX2_WDT=y | ||
210 | CONFIG_MFD_DA9052_I2C=y | ||
211 | CONFIG_MFD_MC13XXX_SPI=y | ||
212 | CONFIG_MFD_MC13XXX_I2C=y | ||
213 | CONFIG_MFD_MAX17135=y | ||
214 | CONFIG_MFD_SI476X_CORE=y | ||
215 | CONFIG_MFD_STMPE=y | ||
216 | CONFIG_REGULATOR=y | ||
217 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
218 | CONFIG_REGULATOR_ANATOP=y | ||
219 | CONFIG_REGULATOR_DA9052=y | ||
220 | CONFIG_REGULATOR_GPIO=y | ||
221 | CONFIG_REGULATOR_MAX17135=y | ||
222 | CONFIG_REGULATOR_MC13783=y | ||
223 | CONFIG_REGULATOR_MC13892=y | ||
224 | CONFIG_REGULATOR_PFUZE100=y | ||
225 | CONFIG_MEDIA_SUPPORT=y | ||
226 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
227 | CONFIG_MEDIA_RADIO_SUPPORT=y | ||
228 | CONFIG_MEDIA_RC_SUPPORT=y | ||
229 | CONFIG_RC_DEVICES=y | ||
230 | CONFIG_IR_GPIO_CIR=y | ||
231 | CONFIG_MEDIA_USB_SUPPORT=y | ||
232 | CONFIG_USB_VIDEO_CLASS=m | ||
233 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
234 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
235 | CONFIG_VIDEO_MXC_CAPTURE=m | ||
236 | CONFIG_MXC_CAMERA_OV5640=m | ||
237 | CONFIG_MXC_CAMERA_OV5642=m | ||
238 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | ||
239 | CONFIG_MXC_TVIN_ADV7180=m | ||
240 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | ||
241 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
242 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
243 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
244 | CONFIG_MXC_VADC=m | ||
245 | CONFIG_MXC_MIPI_CSI=m | ||
246 | CONFIG_MXC_CAMERA_OV5647_MIPI=m | ||
247 | CONFIG_SOC_CAMERA=y | ||
248 | CONFIG_VIDEO_MX3=y | ||
249 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
250 | CONFIG_VIDEO_CODA=y | ||
251 | CONFIG_RADIO_SI476X=y | ||
252 | CONFIG_SOC_CAMERA_OV2640=y | ||
253 | CONFIG_DRM=y | ||
254 | CONFIG_DRM_VIVANTE=y | ||
255 | CONFIG_FB=y | ||
256 | CONFIG_FB_MXS=y | ||
257 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
258 | CONFIG_FB_MXC_MIPI_DSI=y | ||
259 | CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y | ||
260 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
261 | CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y | ||
262 | CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y | ||
263 | CONFIG_FB_MXC_TRULY_PANEL_TDO_QVGA0150A90049=y | ||
264 | CONFIG_FB_MXC_TRULY_PANEL_TFT320RND=y | ||
265 | CONFIG_FB_MXC_LDB=y | ||
266 | CONFIG_FB_MXC_HDMI=y | ||
267 | CONFIG_FB_MXS_SII902X=y | ||
268 | CONFIG_FB_MXC_DCIC=m | ||
269 | CONFIG_HANNSTAR_CABC=y | ||
270 | CONFIG_FB_MXC_EINK_PANEL=y | ||
271 | CONFIG_FB_MXC_EINK_V2_PANEL=y | ||
272 | CONFIG_LCD_CLASS_DEVICE=y | ||
273 | CONFIG_LCD_L4F00242T03=y | ||
274 | CONFIG_LCD_PLATFORM=y | ||
275 | CONFIG_BACKLIGHT_PWM=y | ||
276 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
277 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
278 | CONFIG_LOGO=y | ||
279 | CONFIG_SOUND=y | ||
280 | CONFIG_SND=y | ||
281 | CONFIG_SND_USB_AUDIO=m | ||
282 | CONFIG_SND_SOC=y | ||
283 | CONFIG_SND_IMX_SOC=y | ||
284 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
285 | CONFIG_SND_SOC_IMX_WM8960=y | ||
286 | CONFIG_SND_SOC_IMX_SII902X=y | ||
287 | CONFIG_SND_SOC_IMX_WM8958=y | ||
288 | CONFIG_SND_SOC_IMX_CS42888=y | ||
289 | CONFIG_SND_SOC_IMX_WM8962=y | ||
290 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
291 | CONFIG_SND_SOC_IMX_MQS=y | ||
292 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
293 | CONFIG_SND_SOC_IMX_MC13783=y | ||
294 | CONFIG_SND_SOC_IMX_SI476X=y | ||
295 | CONFIG_SND_SOC_IMX_HDMI=y | ||
296 | CONFIG_SND_SIMPLE_CARD=y | ||
297 | CONFIG_USB=y | ||
298 | CONFIG_USB_OTG_WHITELIST=y | ||
299 | CONFIG_USB_OTG_FSM=y | ||
300 | CONFIG_USB_EHCI_HCD=y | ||
301 | CONFIG_USB_EHCI_MXC=y | ||
302 | CONFIG_USB_HCD_TEST_MODE=y | ||
303 | CONFIG_USB_ACM=m | ||
304 | CONFIG_USB_STORAGE=y | ||
305 | CONFIG_USB_CHIPIDEA=y | ||
306 | CONFIG_USB_CHIPIDEA_UDC=y | ||
307 | CONFIG_USB_CHIPIDEA_HOST=y | ||
308 | CONFIG_USB_SERIAL=m | ||
309 | CONFIG_USB_SERIAL_GENERIC=y | ||
310 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
311 | CONFIG_USB_SERIAL_OPTION=m | ||
312 | CONFIG_USB_EHSET_TEST_FIXTURE=y | ||
313 | CONFIG_NOP_USB_XCEIV=y | ||
314 | CONFIG_USB_MXS_PHY=y | ||
315 | CONFIG_USB_GADGET=y | ||
316 | CONFIG_USB_CONFIGFS=m | ||
317 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
318 | CONFIG_USB_CONFIGFS_ACM=y | ||
319 | CONFIG_USB_CONFIGFS_OBEX=y | ||
320 | CONFIG_USB_CONFIGFS_NCM=y | ||
321 | CONFIG_USB_CONFIGFS_ECM=y | ||
322 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
323 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
324 | CONFIG_USB_CONFIGFS_EEM=y | ||
325 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
326 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
327 | CONFIG_USB_CONFIGFS_F_FS=y | ||
328 | CONFIG_USB_ZERO=m | ||
329 | CONFIG_USB_ETH=m | ||
330 | CONFIG_USB_G_NCM=m | ||
331 | CONFIG_USB_GADGETFS=m | ||
332 | CONFIG_USB_MASS_STORAGE=m | ||
333 | CONFIG_USB_G_SERIAL=m | ||
334 | CONFIG_MMC=y | ||
335 | CONFIG_MMC_SDHCI=y | ||
336 | CONFIG_MMC_SDHCI_PLTFM=y | ||
337 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
338 | CONFIG_MXC_IPU=y | ||
339 | CONFIG_MXC_IPU_V3_PRE=y | ||
340 | CONFIG_MXC_SIM=y | ||
341 | CONFIG_MXC_MIPI_CSI2=y | ||
342 | CONFIG_MXC_HDMI_CEC=y | ||
343 | CONFIG_NEW_LEDS=y | ||
344 | CONFIG_LEDS_CLASS=y | ||
345 | CONFIG_LEDS_GPIO=y | ||
346 | CONFIG_LEDS_TRIGGERS=y | ||
347 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
348 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
349 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
350 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
351 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
352 | CONFIG_RTC_CLASS=y | ||
353 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
354 | CONFIG_RTC_DRV_MC13XXX=y | ||
355 | CONFIG_RTC_DRV_MXC=y | ||
356 | CONFIG_RTC_DRV_SNVS=y | ||
357 | CONFIG_DMADEVICES=y | ||
358 | CONFIG_MXC_PXP_V2=y | ||
359 | CONFIG_MXC_PXP_V3=y | ||
360 | CONFIG_IMX_SDMA=y | ||
361 | CONFIG_MXS_DMA=y | ||
362 | CONFIG_DMATEST=m | ||
363 | CONFIG_STAGING=y | ||
364 | CONFIG_STAGING_MEDIA=y | ||
365 | # CONFIG_IOMMU_SUPPORT is not set | ||
366 | CONFIG_IIO=y | ||
367 | CONFIG_IMX7D_ADC=y | ||
368 | CONFIG_VF610_ADC=y | ||
369 | CONFIG_INPUT_MPL3115=y | ||
370 | CONFIG_PWM=y | ||
371 | CONFIG_PWM_IMX=y | ||
372 | CONFIG_EXT2_FS=y | ||
373 | CONFIG_EXT2_FS_XATTR=y | ||
374 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
375 | CONFIG_EXT2_FS_SECURITY=y | ||
376 | CONFIG_EXT3_FS=y | ||
377 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
378 | CONFIG_EXT3_FS_SECURITY=y | ||
379 | CONFIG_EXT4_FS=y | ||
380 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
381 | CONFIG_EXT4_FS_SECURITY=y | ||
382 | CONFIG_QUOTA=y | ||
383 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
384 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
385 | CONFIG_AUTOFS4_FS=y | ||
386 | CONFIG_FUSE_FS=y | ||
387 | CONFIG_ISO9660_FS=m | ||
388 | CONFIG_JOLIET=y | ||
389 | CONFIG_ZISOFS=y | ||
390 | CONFIG_UDF_FS=m | ||
391 | CONFIG_MSDOS_FS=m | ||
392 | CONFIG_VFAT_FS=y | ||
393 | CONFIG_TMPFS=y | ||
394 | CONFIG_JFFS2_FS=y | ||
395 | CONFIG_UBIFS_FS=y | ||
396 | CONFIG_NFS_FS=y | ||
397 | CONFIG_NFS_V3_ACL=y | ||
398 | CONFIG_NFS_V4=y | ||
399 | CONFIG_ROOT_NFS=y | ||
400 | CONFIG_NLS_DEFAULT="cp437" | ||
401 | CONFIG_NLS_CODEPAGE_437=y | ||
402 | CONFIG_NLS_ASCII=y | ||
403 | CONFIG_NLS_ISO8859_1=y | ||
404 | CONFIG_NLS_ISO8859_15=m | ||
405 | CONFIG_NLS_UTF8=y | ||
406 | CONFIG_DEBUG_FS=y | ||
407 | CONFIG_MAGIC_SYSRQ=y | ||
408 | # CONFIG_SCHED_DEBUG is not set | ||
409 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
410 | # CONFIG_FTRACE is not set | ||
411 | CONFIG_SECURITYFS=y | ||
412 | CONFIG_CRYPTO_USER=y | ||
413 | CONFIG_CRYPTO_TEST=m | ||
414 | CONFIG_CRYPTO_CBC=y | ||
415 | CONFIG_CRYPTO_CTS=y | ||
416 | CONFIG_CRYPTO_LRW=y | ||
417 | CONFIG_CRYPTO_XTS=y | ||
418 | CONFIG_CRYPTO_MD4=y | ||
419 | CONFIG_CRYPTO_MD5=y | ||
420 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
421 | CONFIG_CRYPTO_RMD128=y | ||
422 | CONFIG_CRYPTO_RMD160=y | ||
423 | CONFIG_CRYPTO_RMD256=y | ||
424 | CONFIG_CRYPTO_RMD320=y | ||
425 | CONFIG_CRYPTO_SHA1=y | ||
426 | CONFIG_CRYPTO_SHA512=y | ||
427 | CONFIG_CRYPTO_TGR192=y | ||
428 | CONFIG_CRYPTO_WP512=y | ||
429 | CONFIG_CRYPTO_BLOWFISH=y | ||
430 | CONFIG_CRYPTO_CAMELLIA=y | ||
431 | CONFIG_CRYPTO_DES=y | ||
432 | CONFIG_CRYPTO_TWOFISH=y | ||
433 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
434 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
435 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y | ||
436 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y | ||
437 | CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y | ||
438 | CONFIG_CRC_CCITT=m | ||
439 | CONFIG_CRC_T10DIF=y | ||
440 | CONFIG_CRC7=m | ||
441 | CONFIG_LIBCRC32C=m | ||
442 | CONFIG_FONTS=y | ||
443 | CONFIG_FONT_8x8=y | ||
444 | CONFIG_FONT_8x16=y | ||
diff --git a/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb b/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb new file mode 100644 index 0000000..71341dc --- /dev/null +++ b/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | # Copyright (C) 2016 NXP Semiconductors | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | include recipes-kernel/linux/linux-fslc.inc | ||
5 | |||
6 | DESCRIPTION = "Linux kernel based on linux-fsl-imx branch 4.1-1.0.x-imx from FSL Community BSP \ | ||
7 | with additional patches to cover devices specific on WaRP7 board." | ||
8 | |||
9 | DEPENDS += "lzop-native bc-native" | ||
10 | |||
11 | SRCBRANCH = "4.1-1.0.x-imx" | ||
12 | SRCREV = "a543d1bd884028bed97c06ae4087e051a9176499" | ||
13 | LOCALVERSION = "-${SRCBRANCH}-warp7" | ||
14 | |||
15 | SRC_URI = "git://github.com/warp7/linux-fslc.git;branch=${SRCBRANCH} \ | ||
16 | file://defconfig" | ||
17 | |||
18 | COMPATIBLE_MACHINE = "(imx7s-warp)" | ||
diff --git a/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend b/meta-fsl-extras/recipes/perf/perf.bbappend index f8a9591..c4bd322 100644 --- a/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend +++ b/meta-fsl-extras/recipes/perf/perf.bbappend | |||
@@ -27,4 +27,5 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | PACKAGECONFIG_append = " libunwind" | 30 | PERF_SRC_append_imx7s-warp = " lib" |
31 | PERF_SRC_remove_imx7s-warp = "tools/arch" | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch index 0343f06..123782e 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch | |||
@@ -1,23 +1,23 @@ | |||
1 | From 554d219b3485402c6992abc0aa32c74e8f251876 Mon Sep 17 00:00:00 2001 | 1 | From 07234c1c0f991a560010672a619740e385778f90 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | 2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> |
3 | Date: Thu, 11 Feb 2016 10:17:51 +0200 | 3 | Date: Thu, 11 Feb 2016 10:17:51 +0200 |
4 | Subject: [PATCH] Add support for KOE tx31d200vm0baa display | 4 | Subject: [PATCH] Add support for KOE tx31d200vm0baa display |
5 | 5 | ||
6 | Used for the cluster demo | 6 | Used for the cluster demo |
7 | --- | 7 | --- |
8 | arch/arm/include/asm/imx-common/fbpanel.h | 27 +++++++++++++++++++++++++++ | 8 | arch/arm/include/asm/imx-common/fbpanel.h | 27 ++++++++++++++++++++ |
9 | board/boundary/nitrogen6_max/nitrogen6_max.c | 1 + | 9 | board/boundary/nitrogen6_max/nitrogen6_max.c | 1 + |
10 | board/boundary/nitrogen6sx/nitrogen6sx.c | 1 + | 10 | board/boundary/nitrogen6sx/nitrogen6sx.c | 1 + |
11 | board/boundary/nitrogen6x/nitrogen6x.c | 1 + | 11 | board/boundary/nitrogen6x/nitrogen6x.c | 1 + |
12 | 4 files changed, 30 insertions(+) | 12 | 4 files changed, 30 insertions(+) |
13 | 13 | ||
14 | diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h | 14 | diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h |
15 | index b6f7af4..b8acdae 100644 | 15 | index f5465c3c80..643cd86e29 100644 |
16 | --- a/arch/arm/include/asm/imx-common/fbpanel.h | 16 | --- a/arch/arm/include/asm/imx-common/fbpanel.h |
17 | +++ b/arch/arm/include/asm/imx-common/fbpanel.h | 17 | +++ b/arch/arm/include/asm/imx-common/fbpanel.h |
18 | @@ -39,6 +39,33 @@ void fbp_enable_fb(struct display_info_t const *di, int enable); | 18 | @@ -116,6 +116,33 @@ void fbp_setup_display(const struct display_info_t *displays, int cnt); |
19 | int fbp_detect_i2c(struct display_info_t const *di); | 19 | .fbtype = FB_##_mode,\ |
20 | void fbp_setup_display(const struct display_info_t *displays, int cnt); | 20 | .fbflags = _flags |
21 | 21 | ||
22 | +/* tx31d200vm0baa == koe */ | 22 | +/* tx31d200vm0baa == koe */ |
23 | +#define IMX_VD_KOE(_mode, _detect, _bus) \ | 23 | +#define IMX_VD_KOE(_mode, _detect, _bus) \ |
@@ -47,44 +47,41 @@ index b6f7af4..b8acdae 100644 | |||
47 | +} | 47 | +} |
48 | + | 48 | + |
49 | /* hdmi settings */ | 49 | /* hdmi settings */ |
50 | #define IMX_VD50_1280_720M_60(_mode, _detect, _bus) \ | 50 | #define VDF_1280_720M_60(_mode, _name, _fmt, _flags, _detect, _bus, _addr) \ |
51 | {\ | 51 | {\ |
52 | diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c | 52 | diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c |
53 | index 337e9b5..ba29aee 100644 | 53 | index 1c4106e735..51bc0bd8f3 100644 |
54 | --- a/board/boundary/nitrogen6_max/nitrogen6_max.c | 54 | --- a/board/boundary/nitrogen6_max/nitrogen6_max.c |
55 | +++ b/board/boundary/nitrogen6_max/nitrogen6_max.c | 55 | +++ b/board/boundary/nitrogen6_max/nitrogen6_max.c |
56 | @@ -568,6 +568,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) | 56 | @@ -497,6 +497,7 @@ int fbp_detect_serializer(struct display_info_t const *di) |
57 | } | 57 | } |
58 | 58 | ||
59 | static const struct display_info_t displays[] = { | 59 | static const struct display_info_t displays[] = { |
60 | + IMX_VD_KOE(LVDS, 0, 2), | 60 | + IMX_VD_KOE(LVDS, 0, 2), |
61 | /* hdmi */ | 61 | /* hdmi */ |
62 | IMX_VD50_1280_720M_60(HDMI, 1, 1), | 62 | VD_1280_720M_60(HDMI, fbp_detect_i2c, 1, 0x50), |
63 | IMX_VD50_1920_1080M_60(HDMI, 0, 1), | 63 | VD_1920_1080M_60(HDMI, NULL, 1, 0x50), |
64 | diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c | 64 | diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c |
65 | index cdabcd8..de6582e 100644 | 65 | index dc05042add..3725d63cf3 100644 |
66 | --- a/board/boundary/nitrogen6sx/nitrogen6sx.c | 66 | --- a/board/boundary/nitrogen6sx/nitrogen6sx.c |
67 | +++ b/board/boundary/nitrogen6sx/nitrogen6sx.c | 67 | +++ b/board/boundary/nitrogen6sx/nitrogen6sx.c |
68 | @@ -685,6 +685,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) | 68 | @@ -436,6 +436,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) |
69 | 69 | } | |
70 | 70 | ||
71 | static const struct display_info_t displays[] = { | 71 | static const struct display_info_t displays[] = { |
72 | + IMX_VD_KOE(LVDS, 0, 2), | 72 | + IMX_VD_KOE(LVDS, 0, 2), |
73 | /* hdmi/lcd */ | 73 | /* hdmi/lcd via tfp410 */ |
74 | _IMX_VD_1280_720M_60(LCD, 1, 2, 50, 0), | 74 | VDF_1280_720M_60(LCD, "1280x720M@60", RGB24, 0, fbp_detect_i2c, 2, 0x50), |
75 | _IMX_VD_1920_1080M_60(LCD, 0, 2, 50, 0), | 75 | VDF_1920_1080M_60(LCD, "1920x1080M@60", RGB24, 0, NULL, 2, 0x50), |
76 | diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c | 76 | diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c |
77 | index 21d6cd7..b24f2f6 100644 | 77 | index d9f6a829f1..80b102e206 100644 |
78 | --- a/board/boundary/nitrogen6x/nitrogen6x.c | 78 | --- a/board/boundary/nitrogen6x/nitrogen6x.c |
79 | +++ b/board/boundary/nitrogen6x/nitrogen6x.c | 79 | +++ b/board/boundary/nitrogen6x/nitrogen6x.c |
80 | @@ -525,6 +525,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) | 80 | @@ -359,6 +359,7 @@ void board_pre_enable(const struct display_info_t *di) |
81 | } | 81 | } |
82 | 82 | ||
83 | static const struct display_info_t displays[] = { | 83 | static const struct display_info_t displays[] = { |
84 | + IMX_VD_KOE(LVDS, 0, 2), | 84 | + IMX_VD_KOE(LVDS, 0, 2), |
85 | /* hdmi */ | 85 | /* hdmi */ |
86 | IMX_VD50_1280_720M_60(HDMI, 1, 1), | 86 | VD_1280_720M_60(HDMI, fbp_detect_i2c, 1, 0x50), |
87 | IMX_VD50_1920_1080M_60(HDMI, 0, 1), | 87 | VD_1920_1080M_60(HDMI, NULL, 1, 0x50), |
88 | -- | ||
89 | 1.9.1 | ||
90 | |||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch index 9eda199..b0791e9 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 59d272d9df5337bb4bd62a96fc16c8e280c49344 Mon Sep 17 00:00:00 2001 | 1 | From fa2e83db63fe5abdfa00d205301d12e1a271a291 Mon Sep 17 00:00:00 2001 |
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | 2 | From: Mikko Gronoff <mikko.gronoff@qt.io> |
3 | Date: Sun, 23 Apr 2017 21:47:01 +0300 | 3 | Date: Sun, 23 Apr 2017 21:47:01 +0300 |
4 | Subject: [PATCH] set CMA reserved size to 384MB | 4 | Subject: [PATCH] set CMA reserved size to 384MB |
@@ -10,12 +10,12 @@ video decoding cannot work for high resolution videos. | |||
10 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
11 | 11 | ||
12 | diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h | 12 | diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h |
13 | index 646c505..ddbb4c5 100644 | 13 | index bd4e54cb67..48114d5739 100644 |
14 | --- a/include/configs/nitrogen6x.h | 14 | --- a/include/configs/nitrogen6x.h |
15 | +++ b/include/configs/nitrogen6x.h | 15 | +++ b/include/configs/nitrogen6x.h |
16 | @@ -28,6 +28,7 @@ | 16 | @@ -33,6 +33,7 @@ |
17 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 | 17 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
18 | #define CONFIG_VIDEO | 18 | |
19 | #define BD_I2C_MASK 7 | 19 | #define BD_I2C_MASK 7 |
20 | +#define BD_CMA "384M" | 20 | +#define BD_CMA "384M" |
21 | 21 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch new file mode 100644 index 0000000..c5fa923 --- /dev/null +++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 22c5a278b98cf6ea4e4a402bca19d1354ab3c431 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Tue, 25 Sep 2018 16:05:17 +0300 | ||
4 | Subject: [PATCH] Disable build for tools and use mkimage from sysroot | ||
5 | |||
6 | fails when trying to compile with host gcc: unable to execute | ||
7 | 'x86_64-linux-gnu-gcc': No such file or directory | ||
8 | --- | ||
9 | Makefile | 2 +- | ||
10 | scripts/Makefile.lib | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/Makefile b/Makefile | ||
14 | index 119ad49eec..022690e26e 100644 | ||
15 | --- a/Makefile | ||
16 | +++ b/Makefile | ||
17 | @@ -698,7 +698,7 @@ libs-y += $(if $(BOARDDIR),board/$(BOARDDIR)/) | ||
18 | |||
19 | libs-y := $(sort $(libs-y)) | ||
20 | |||
21 | -u-boot-dirs := $(patsubst %/,%,$(filter %/, $(libs-y))) tools examples | ||
22 | +u-boot-dirs := $(patsubst %/,%,$(filter %/, $(libs-y))) | ||
23 | |||
24 | u-boot-alldirs := $(sort $(u-boot-dirs) $(patsubst %/,%,$(filter %/, $(libs-)))) | ||
25 | |||
26 | diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib | ||
27 | index 80ddb08474..e86c949f08 100644 | ||
28 | --- a/scripts/Makefile.lib | ||
29 | +++ b/scripts/Makefile.lib | ||
30 | @@ -493,5 +493,5 @@ cmd_xzmisc = (cat $(filter-out FORCE,$^) | \ | ||
31 | # --------------------------------------------------------------------------- | ||
32 | MKIMAGEOUTPUT ?= /dev/null | ||
33 | quiet_cmd_mkimage = MKIMAGE $@ | ||
34 | -cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \ | ||
35 | +cmd_mkimage = mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \ | ||
36 | $(if $(KBUILD_VERBOSE:1=), >$(MKIMAGEOUTPUT)) | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary_git.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-boundary_%.bbappend index 013e54b..3b5235f 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary_git.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary_%.bbappend | |||
@@ -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. |
@@ -31,4 +31,7 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | |||
31 | SRC_URI += " \ | 31 | SRC_URI += " \ |
32 | file://0001-Add-support-for-KOE-tx31d200vm0baa-display.patch \ | 32 | file://0001-Add-support-for-KOE-tx31d200vm0baa-display.patch \ |
33 | file://0002-set-CMA-reserved-size-to-384MB.patch \ | 33 | file://0002-set-CMA-reserved-size-to-384MB.patch \ |
34 | file://0003-Disable-build-for-tools.patch \ | ||
34 | " | 35 | " |
36 | |||
37 | DEPENDS += "u-boot-mkimage-native" | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch index 928fb8c..fbf83da 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 15ba0d8f9e2ad8f3024734810088e4caddaaec5a Mon Sep 17 00:00:00 2001 | 1 | From 2d762386376baadfe6a6447c2c19fa2d6329b985 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@digia.com> | 2 | From: Samuli Piippo <samuli.piippo@digia.com> |
3 | Date: Fri, 9 May 2014 10:23:50 +0300 | 3 | Date: Fri, 9 May 2014 10:23:50 +0300 |
4 | Subject: [PATCH] Updated kernel arguments for sabre sd | 4 | Subject: [PATCH] Updated kernel arguments for sabre sd |
@@ -9,18 +9,15 @@ Subject: [PATCH] Updated kernel arguments for sabre sd | |||
9 | 1 file changed, 2 insertions(+) | 9 | 1 file changed, 2 insertions(+) |
10 | 10 | ||
11 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h | 11 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h |
12 | index a8746a4..251b28b 100644 | 12 | index 03d4f34904..50e84d144f 100644 |
13 | --- a/include/configs/mx6sabre_common.h | 13 | --- a/include/configs/mx6sabre_common.h |
14 | +++ b/include/configs/mx6sabre_common.h | 14 | +++ b/include/configs/mx6sabre_common.h |
15 | @@ -171,6 +171,8 @@ | 15 | @@ -111,6 +111,8 @@ |
16 | "done\0" \ | 16 | "done\0" \ |
17 | "mmcargs=setenv bootargs console=${console},${baudrate} " \ | 17 | "mmcargs=setenv bootargs console=${console},${baudrate} " \ |
18 | "root=${mmcroot} " \ | 18 | "root=PARTUUID=${uuid} rootwait rw " \ |
19 | + "consoleblank=0 " \ | 19 | + "consoleblank=0 " \ |
20 | + "vt.global_cursor_default=0 " \ | 20 | + "vt.global_cursor_default=0 " \ |
21 | VIDEO_ARGS "\0" \ | 21 | VIDEO_ARGS "\0" \ |
22 | "loadbootscript=" \ | 22 | "loadbootscript=" \ |
23 | "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | 23 | "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ |
24 | -- | ||
25 | 1.9.1 | ||
26 | |||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch deleted file mode 100644 index ddd90c6..0000000 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 734ccf82db363efddb960b1c4f7db4081f2fdd7c Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Thu, 18 Feb 2016 12:49:01 +0200 | ||
4 | Subject: [PATCH] Use hdmi as primary display only if connected | ||
5 | |||
6 | Test if HDMI display is connected before setting it as primary display. | ||
7 | Otherwise set lvds as primary display. Test can be overridden by | ||
8 | setting video_interfaces env. | ||
9 | --- | ||
10 | include/configs/mx6sabre_common.h | 10 +++++++++- | ||
11 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h | ||
14 | index a8746a4..485f232 100644 | ||
15 | --- a/include/configs/mx6sabre_common.h | ||
16 | +++ b/include/configs/mx6sabre_common.h | ||
17 | @@ -163,8 +163,16 @@ | ||
18 | "video_args_lcd=setenv video_args $video_args " \ | ||
19 | "video=mxcfb${fb}:dev=lcd,CLAA-WVGA,if=RGB666\0" \ | ||
20 | "fb=0\0" \ | ||
21 | - "video_interfaces=hdmi lvds lcd\0" \ | ||
22 | + "video_interfaces=\0" \ | ||
23 | "video_args_script=" \ | ||
24 | + "if test -z \"${video_interfaces}\"; then " \ | ||
25 | + "i2c dev 1; " \ | ||
26 | + "if i2c probe 0x50; then " \ | ||
27 | + "setenv video_interfaces hdmi lvds lcd; " \ | ||
28 | + "else " \ | ||
29 | + "setenv video_interfaces lvds hdmi lcd; " \ | ||
30 | + "fi; " \ | ||
31 | + "fi; " \ | ||
32 | "for v in ${video_interfaces}; do " \ | ||
33 | "run video_args_${v}; " \ | ||
34 | "setexpr fb $fb + 1; " \ | ||
35 | -- | ||
36 | 1.9.1 | ||
37 | |||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch index e8a0573..2c1c70d 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ef2f2eeef6974bda0fd878c5f76b8b05ac16aa3d Mon Sep 17 00:00:00 2001 | 1 | From d9489c704107e85a0c3ba68211adbca695c88644 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 13 Sep 2017 09:40:44 +0300 | 3 | Date: Wed, 13 Sep 2017 09:40:44 +0300 |
4 | Subject: [PATCH] use imx7d-warp.dtb | 4 | Subject: [PATCH] use imx7d-warp.dtb |
@@ -8,15 +8,15 @@ Subject: [PATCH] use imx7d-warp.dtb | |||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
9 | 9 | ||
10 | diff --git a/include/configs/warp7.h b/include/configs/warp7.h | 10 | diff --git a/include/configs/warp7.h b/include/configs/warp7.h |
11 | index b3e1f2e..edbd43f 100644 | 11 | index 2a7789baa2..7b44f85a87 100644 |
12 | --- a/include/configs/warp7.h | 12 | --- a/include/configs/warp7.h |
13 | +++ b/include/configs/warp7.h | 13 | +++ b/include/configs/warp7.h |
14 | @@ -35,7 +35,7 @@ | 14 | @@ -39,7 +39,7 @@ |
15 | "ethact=usb_ether\0" \ | 15 | "ethact=usb_ether\0" \ |
16 | "fdt_high=0xffffffff\0" \ | 16 | "fdt_high=0xffffffff\0" \ |
17 | "initrd_high=0xffffffff\0" \ | 17 | "initrd_high=0xffffffff\0" \ |
18 | - "fdt_file=imx7s-warp.dtb\0" \ | 18 | - "fdt_file=imx7s-warp.dtb\0" \ |
19 | + "fdt_file=imx7d-warp.dtb\0" \ | 19 | + "fdt_file=imx7d-warp.dtb\0" \ |
20 | "fdt_addr=0x83000000\0" \ | 20 | "fdt_addr=" __stringify(CONFIG_SYS_FDT_ADDR)"\0" \ |
21 | "optee_addr=" __stringify(CONFIG_OPTEE_LOAD_ADDR)"\0" \ | ||
21 | "boot_fdt=try\0" \ | 22 | "boot_fdt=try\0" \ |
22 | "ip_dyn=yes\0" \ | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend index b1df421..815244f 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend | |||
@@ -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. |
@@ -30,6 +30,5 @@ | |||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
31 | SRC_URI += " \ | 31 | SRC_URI += " \ |
32 | file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ | 32 | file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ |
33 | file://0001-Use-hdmi-as-primary-display-only-if-connected.patch \ | ||
34 | file://0001-use-imx7d-warp.dtb.patch \ | 33 | file://0001-use-imx7d-warp.dtb.patch \ |
35 | " | 34 | " |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch index 7d8e8ec..02a1e33 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3fdf74d6934858d04d9e7df7cd24779bf7d9fdbb Mon Sep 17 00:00:00 2001 | 1 | From 3c3c3284727076f4ae751bfc9cadb222423c9a4b Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | 2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> |
3 | Date: Wed, 13 Jan 2016 08:55:41 +0200 | 3 | Date: Wed, 13 Jan 2016 08:55:41 +0200 |
4 | Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display | 4 | Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display |
@@ -8,12 +8,12 @@ Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display | |||
8 | 1 file changed, 6 insertions(+) | 8 | 1 file changed, 6 insertions(+) |
9 | 9 | ||
10 | diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | 10 | diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt |
11 | index 7c11f4c..86242b5 100644 | 11 | index f6bf2f5..427d837 100644 |
12 | --- a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | 12 | --- a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt |
13 | +++ b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt | 13 | +++ b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt |
14 | @@ -105,6 +105,12 @@ else | 14 | @@ -130,6 +130,12 @@ if itest.s "x" != "x${disable_msi}" ; then |
15 | setenv bootargs "${bootargs} root=/dev/mmcblk${disk}p${bpart}" | 15 | setenv bootargs ${bootargs} pci=nomsi |
16 | fi | 16 | fi; |
17 | 17 | ||
18 | +if test "hannstar" = "${fb_lvds}" || test "hannstar" = "${fb_lvds2}" ; then | 18 | +if test "hannstar" = "${fb_lvds}" || test "hannstar" = "${fb_lvds2}" ; then |
19 | + setenv bootargs ${bootargs} ft5x06_ts.screenres=1024,600 | 19 | + setenv bootargs ${bootargs} ft5x06_ts.screenres=1024,600 |
@@ -24,6 +24,3 @@ index 7c11f4c..86242b5 100644 | |||
24 | if itest.s "x" != "x${disable_giga}" ; then | 24 | if itest.s "x" != "x${disable_giga}" ; then |
25 | setenv bootargs ${bootargs} fec.disable_giga=1 | 25 | setenv bootargs ${bootargs} fec.disable_giga=1 |
26 | fi | 26 | fi |
27 | -- | ||
28 | 1.9.1 | ||
29 | |||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_%.bbappend index dafcf84..e4b3730 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_%.bbappend | |||
@@ -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. |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb index 136fb80..ff25ec5 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb | |||
@@ -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. |
@@ -31,7 +31,7 @@ LICENSE = "The-Qt-Company-Commercial" | |||
31 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" | 31 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" |
32 | DEPENDS = "u-boot-mkimage-native" | 32 | DEPENDS = "u-boot-mkimage-native" |
33 | 33 | ||
34 | PV = "2.7" | 34 | PV = "2.8b3" |
35 | 35 | ||
36 | SRC_URI = " \ | 36 | SRC_URI = " \ |
37 | file://fwd_mmc.scr \ | 37 | file://fwd_mmc.scr \ |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch index cf90c35..2235fae 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch | |||
@@ -1,19 +1,19 @@ | |||
1 | From c02da9f92f6ffaee65f428e1978bd3ff379a2612 Mon Sep 17 00:00:00 2001 | 1 | From 7e05ac9e6dc984bd060d766740ff494e0e3519d7 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 14 Sep 2016 10:19:28 +0300 | 3 | Date: Wed, 14 Sep 2016 10:19:28 +0300 |
4 | Subject: [PATCH] Update only u-boot | 4 | Subject: [PATCH] Update only u-boot |
5 | 5 | ||
6 | --- | 6 | --- |
7 | flash_blk.scr | 4 ++-- | 7 | flash_blk.scr | 2 +- |
8 | flash_eth.scr | 4 ++-- | 8 | flash_eth.scr | 2 +- |
9 | 2 files changed, 4 insertions(+), 4 deletions(-) | 9 | 2 files changed, 2 insertions(+), 2 deletions(-) |
10 | 10 | ||
11 | diff --git a/flash_blk.scr b/flash_blk.scr | 11 | diff --git a/flash_blk.scr b/flash_blk.scr |
12 | index cc4cf38..b63366a 100644 | 12 | index 9fa6296..e599070 100644 |
13 | --- a/flash_blk.scr | 13 | --- a/flash_blk.scr |
14 | +++ b/flash_blk.scr | 14 | +++ b/flash_blk.scr |
15 | @@ -15,7 +15,7 @@ setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-col | 15 | @@ -15,7 +15,7 @@ setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-c |
16 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 16 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
17 | 17 | ||
18 | # Test which version of U-Boot we are currently running on | 18 | # Test which version of U-Boot we are currently running on |
19 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' | 19 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' |
@@ -22,11 +22,11 @@ index cc4cf38..b63366a 100644 | |||
22 | if itest.b *0x30360800 -lt 0x11; then | 22 | if itest.b *0x30360800 -lt 0x11; then |
23 | echo && | 23 | echo && |
24 | diff --git a/flash_eth.scr b/flash_eth.scr | 24 | diff --git a/flash_eth.scr b/flash_eth.scr |
25 | index 01be124..13025de 100644 | 25 | index 20244d7..7f3372c 100644 |
26 | --- a/flash_eth.scr | 26 | --- a/flash_eth.scr |
27 | +++ b/flash_eth.scr | 27 | +++ b/flash_eth.scr |
28 | @@ -15,7 +15,7 @@ setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board | 28 | @@ -15,7 +15,7 @@ setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_boa |
29 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 29 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
30 | 30 | ||
31 | # Test which version of U-Boot we are currently running on | 31 | # Test which version of U-Boot we are currently running on |
32 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' | 32 | -setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch index 86d21fd..2aa8421 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch | |||
@@ -1,27 +1,27 @@ | |||
1 | From 2b11117dcc616843a6dce1a5e97fcecefa7e3f4b Mon Sep 17 00:00:00 2001 | 1 | From 7d0fc874871d79125b1c17b32fec9742b2f5839e Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 14 Sep 2016 10:22:27 +0300 | 3 | Date: Wed, 14 Sep 2016 10:22:27 +0300 |
4 | Subject: [PATCH] Update only u-boot | 4 | Subject: [PATCH] Update only u-boot |
5 | 5 | ||
6 | --- | 6 | --- |
7 | flash_blk.scr | 6 +++--- | 7 | flash_blk.scr | 4 ++-- |
8 | flash_eth.scr | 6 +++--- | 8 | flash_eth.scr | 4 ++-- |
9 | 2 files changed, 6 insertions(+), 6 deletions(-) | 9 | 2 files changed, 4 insertions(+), 4 deletions(-) |
10 | 10 | ||
11 | diff --git a/flash_blk.scr b/flash_blk.scr | 11 | diff --git a/flash_blk.scr b/flash_blk.scr |
12 | index 401c47a..8fa5af9 100644 | 12 | index ae0fd5c..1b34c75 100644 |
13 | --- a/flash_blk.scr | 13 | --- a/flash_blk.scr |
14 | +++ b/flash_blk.scr | 14 | +++ b/flash_blk.scr |
15 | @@ -11,7 +11,7 @@ setenv update_kernel 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/zImage | 15 | @@ -11,7 +11,7 @@ setenv update_kernel 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/zImag |
16 | setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${loadaddr} dtb ${filesize}' | 16 | setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${fdt_addr_r} dtb ${filesize}' |
17 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 17 | setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
18 | 18 | ||
19 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' | 19 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' |
20 | +setenv update_new 'run update_uboot; reset' | 20 | +setenv update_new 'run update_uboot; reset' |
21 | 21 | ||
22 | # Upgrade part 1, write new U-Boot, but with old ECC format still... | 22 | # Upgrade part 1, write new U-Boot, but with old ECC format still... |
23 | # Store config block temporarly in memory at kernel_addr_r. | 23 | # Store config block temporarly in memory at kernel_addr_r. |
24 | @@ -19,10 +19,10 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 | 24 | @@ -19,7 +19,7 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 |
25 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' | 25 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' |
26 | 26 | ||
27 | # Upgrade part 2, use new ECC format for the whole device... | 27 | # Upgrade part 2, use new ECC format for the whole device... |
@@ -30,24 +30,20 @@ index 401c47a..8fa5af9 100644 | |||
30 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' | 30 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' |
31 | 31 | ||
32 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process | 32 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process |
33 | setenv update 'mtdparts default && if test "${mtdids}" = "nand0=fsl_nfc"; then; run upgrade_part1; else run update_new; fi' | ||
34 | |||
35 | -echo 'enter "run update" to update the entire module' | ||
36 | +echo 'enter "run update" to update the uboot' | ||
37 | diff --git a/flash_eth.scr b/flash_eth.scr | 33 | diff --git a/flash_eth.scr b/flash_eth.scr |
38 | index 15aab1c..aa98b3a 100644 | 34 | index b0e4904..0a8e3cc 100644 |
39 | --- a/flash_eth.scr | 35 | --- a/flash_eth.scr |
40 | +++ b/flash_eth.scr | 36 | +++ b/flash_eth.scr |
41 | @@ -11,7 +11,7 @@ setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && ubi write ${l | 37 | @@ -11,7 +11,7 @@ setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && ubi write $ |
42 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${loadaddr} dtb ${filesize}' | 38 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${fdt_addr_r} dtb ${filesize}' |
43 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' | 39 | setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}' |
44 | 40 | ||
45 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' | 41 | -setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' |
46 | +setenv update_new 'run update_uboot; reset' | 42 | +setenv update_new 'run update_uboot; reset' |
47 | 43 | ||
48 | # Upgrade part 1, write new U-Boot, but with old ECC format still... | 44 | # Upgrade part 1, write new U-Boot, but with old ECC format still... |
49 | # Store config block temporarly in memory at kernel_addr_r. | 45 | # Store config block temporarly in memory at kernel_addr_r. |
50 | @@ -19,10 +19,10 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 | 46 | @@ -19,7 +19,7 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 |
51 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' | 47 | setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' |
52 | 48 | ||
53 | # Upgrade part 2, use new ECC format for the whole device... | 49 | # Upgrade part 2, use new ECC format for the whole device... |
@@ -56,7 +52,3 @@ index 15aab1c..aa98b3a 100644 | |||
56 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' | 52 | setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' |
57 | 53 | ||
58 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process | 54 | # fsl_nfc indicates old NAND format (24-bit ECC), start migration process |
59 | setenv update 'mtdparts default && if test "${mtdids}" = "nand0=fsl_nfc"; then; run upgrade_part1; else run update_new; fi' | ||
60 | |||
61 | -echo 'enter "run update" to update the entire module' | ||
62 | +echo 'enter "run update" to update the uboot' | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr index 5c75100..12d89cf 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr | |||
@@ -17,10 +17,10 @@ setenv migrate_uboot 'run update_spl && run update_uboot_bin && mmc bootbus 0 2 | |||
17 | setenv cp_file_chunk 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' | 17 | setenv cp_file_chunk 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' |
18 | 18 | ||
19 | setenv update_spl 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' | 19 | setenv update_spl 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' |
20 | setenv update_uboot_bin 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/u-boot.imx-spl && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' | 20 | setenv update_uboot_bin 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/u-boot.img && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' |
21 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' | 21 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' |
22 | 22 | ||
23 | setenv update_kernel 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/uImage && fatwrite mmc 0:1 ${fdt_addr_r} uImage ${filesize}' | 23 | setenv update_kernel 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/zImage && fatwrite mmc 0:1 ${fdt_addr_r} zImage ${filesize}' |
24 | 24 | ||
25 | setenv update_fdt 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' | 25 | setenv update_fdt 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' |
26 | 26 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr index 16f91e8..ee91523 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr +++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr | |||
@@ -15,10 +15,10 @@ setenv migrate_uboot 'run update_spl && run update_uboot_bin && mmc bootbus 0 2 | |||
15 | setenv cp_file_chunk 'tftpboot ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' | 15 | setenv cp_file_chunk 'tftpboot ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' |
16 | 16 | ||
17 | setenv update_spl 'tftpboot ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' | 17 | setenv update_spl 'tftpboot ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' |
18 | setenv update_uboot_bin 'tftpboot ${fdt_addr_r} ${board_name}/u-boot.imx-spl && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' | 18 | setenv update_uboot_bin 'tftpboot ${fdt_addr_r} ${board_name}/u-boot.img && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' |
19 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' | 19 | setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' |
20 | 20 | ||
21 | setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/uImage && fatwrite mmc 0:1 ${fdt_addr_r} uImage ${filesize}' | 21 | setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && fatwrite mmc 0:1 ${fdt_addr_r} zImage ${filesize}' |
22 | 22 | ||
23 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' | 23 | setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' |
24 | 24 | ||
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch index f6dc0cc..083ec6d 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f86bb70bd270967082cb8132eb68c3c3dea4a7a7 Mon Sep 17 00:00:00 2001 | 1 | From 0f7d6eecead2c079ac050e6d16b64f280d9feab0 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Mon, 15 May 2017 15:31:36 +0300 | 3 | Date: Mon, 15 May 2017 15:31:36 +0300 |
4 | Subject: [PATCH 1/2] Make sdboot default on all boards | 4 | Subject: [PATCH] Make sdboot default on all boards |
5 | 5 | ||
6 | ... and remove console=tty1 from kernel args | 6 | ... and remove console=tty1 from kernel args |
7 | --- | 7 | --- |
@@ -12,10 +12,10 @@ Subject: [PATCH 1/2] Make sdboot default on all boards | |||
12 | 4 files changed, 10 insertions(+), 8 deletions(-) | 12 | 4 files changed, 10 insertions(+), 8 deletions(-) |
13 | 13 | ||
14 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 14 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
15 | index 76cbdf2..9b42af9 100644 | 15 | index 71dfeb56f5..b687dab91d 100644 |
16 | --- a/include/configs/apalis_imx6.h | 16 | --- a/include/configs/apalis_imx6.h |
17 | +++ b/include/configs/apalis_imx6.h | 17 | +++ b/include/configs/apalis_imx6.h |
18 | @@ -257,7 +257,8 @@ | 18 | @@ -256,7 +256,8 @@ |
19 | #endif | 19 | #endif |
20 | #define CONFIG_EXTRA_ENV_SETTINGS \ | 20 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
21 | BOOTENV \ | 21 | BOOTENV \ |
@@ -25,20 +25,20 @@ index 76cbdf2..9b42af9 100644 | |||
25 | "run distro_bootcmd ; " \ | 25 | "run distro_bootcmd ; " \ |
26 | "usb start ;" \ | 26 | "usb start ;" \ |
27 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ | 27 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ |
28 | @@ -280,7 +281,7 @@ | 28 | @@ -279,7 +280,7 @@ |
29 | " ${loadaddr} flash_blk.img && " \ | 29 | " ${loadaddr} flash_blk.img && " \ |
30 | "source ${loadaddr}\0" \ | 30 | "source ${loadaddr}\0" \ |
31 | "setup=setenv setupargs fec_mac=${ethaddr} " \ | 31 | "setup=setenv setupargs fec_mac=${ethaddr} " \ |
32 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ | 32 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ |
33 | + "consoleblank=0 no_console_suspend=1 " \ | 33 | + "consoleblank=0 no_console_suspend=1 " \ |
34 | "console=${console},${baudrate}n8\0 " \ | 34 | "console=${console},${baudrate}n8\0" \ |
35 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | 35 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ |
36 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ | 36 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ |
37 | diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h | 37 | diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h |
38 | index ab561f3..cbaeece 100644 | 38 | index f1fd5b422e..c7d75cea2a 100644 |
39 | --- a/include/configs/colibri_imx6.h | 39 | --- a/include/configs/colibri_imx6.h |
40 | +++ b/include/configs/colibri_imx6.h | 40 | +++ b/include/configs/colibri_imx6.h |
41 | @@ -232,7 +232,8 @@ | 41 | @@ -231,7 +231,8 @@ |
42 | #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" | 42 | #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" |
43 | #define CONFIG_EXTRA_ENV_SETTINGS \ | 43 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
44 | BOOTENV \ | 44 | BOOTENV \ |
@@ -48,17 +48,17 @@ index ab561f3..cbaeece 100644 | |||
48 | "run distro_bootcmd ; " \ | 48 | "run distro_bootcmd ; " \ |
49 | "usb start ;" \ | 49 | "usb start ;" \ |
50 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ | 50 | "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ |
51 | @@ -253,7 +254,7 @@ | 51 | @@ -252,7 +253,7 @@ |
52 | "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ | 52 | "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ |
53 | "source ${loadaddr}\0" \ | 53 | "source ${loadaddr}\0" \ |
54 | "setup=setenv setupargs fec_mac=${ethaddr} " \ | 54 | "setup=setenv setupargs fec_mac=${ethaddr} " \ |
55 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ | 55 | - "consoleblank=0 no_console_suspend=1 console=tty1 " \ |
56 | + "consoleblank=0 no_console_suspend=1 " \ | 56 | + "consoleblank=0 no_console_suspend=1 " \ |
57 | "console=${console},${baudrate}n8\0 " \ | 57 | "console=${console},${baudrate}n8\0" \ |
58 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | 58 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ |
59 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ | 59 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ |
60 | diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h | 60 | diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h |
61 | index 2d6cee3..6773296 100644 | 61 | index ea04762b49..ca827a8a58 100644 |
62 | --- a/include/configs/colibri_imx7.h | 62 | --- a/include/configs/colibri_imx7.h |
63 | +++ b/include/configs/colibri_imx7.h | 63 | +++ b/include/configs/colibri_imx7.h |
64 | @@ -104,7 +104,7 @@ | 64 | @@ -104,7 +104,7 @@ |
@@ -80,7 +80,7 @@ index 2d6cee3..6773296 100644 | |||
80 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | 80 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ |
81 | "setusbupdate=usb start && setenv interface usb && " \ | 81 | "setusbupdate=usb start && setenv interface usb && " \ |
82 | diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h | 82 | diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h |
83 | index 7fea78b..5bc3e3d 100644 | 83 | index db610d53f1..aafd4bc95e 100644 |
84 | --- a/include/configs/colibri_vf.h | 84 | --- a/include/configs/colibri_vf.h |
85 | +++ b/include/configs/colibri_vf.h | 85 | +++ b/include/configs/colibri_vf.h |
86 | @@ -155,7 +155,7 @@ | 86 | @@ -155,7 +155,7 @@ |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch index 469009b..ea94c0c 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch | |||
@@ -1,8 +1,7 @@ | |||
1 | From 138f477c5a1990429d35ffadc8f5cea5b1e9f945 Mon Sep 17 00:00:00 2001 | 1 | From 41be67109ab0c0fd156ee8615592827624fab12e Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Fri, 19 May 2017 12:41:38 +0300 | 3 | Date: Fri, 19 May 2017 12:41:38 +0300 |
4 | Subject: [PATCH 2/2] apalis-imx6: test for Capacitive Touch Display 7" | 4 | Subject: [PATCH] apalis-imx6: test for Capacitive Touch Display 7" Parallel |
5 | Parallel | ||
6 | 5 | ||
7 | Test i2c bus if Capacitive Touch Display 7" Parallel display is present | 6 | Test i2c bus if Capacitive Touch Display 7" Parallel display is present |
8 | during boot. If found, enable it as the primary display in kernel args. | 7 | during boot. If found, enable it as the primary display in kernel args. |
@@ -14,10 +13,10 @@ support for the atmel_mxt_ts touch controller. | |||
14 | 1 file changed, 7 insertions(+), 2 deletions(-) | 13 | 1 file changed, 7 insertions(+), 2 deletions(-) |
15 | 14 | ||
16 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 15 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
17 | index 9b42af9..121eaa7 100644 | 16 | index b687dab91d..3351a18e4c 100644 |
18 | --- a/include/configs/apalis_imx6.h | 17 | --- a/include/configs/apalis_imx6.h |
19 | +++ b/include/configs/apalis_imx6.h | 18 | +++ b/include/configs/apalis_imx6.h |
20 | @@ -250,7 +250,7 @@ | 19 | @@ -249,7 +249,7 @@ |
21 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | 20 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" |
22 | 21 | ||
23 | #ifndef CONFIG_TDX_APALIS_IMX6_V1_0 | 22 | #ifndef CONFIG_TDX_APALIS_IMX6_V1_0 |
@@ -26,14 +25,14 @@ index 9b42af9..121eaa7 100644 | |||
26 | #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb" | 25 | #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb" |
27 | #else | 26 | #else |
28 | #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb" | 27 | #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb" |
29 | @@ -280,9 +280,14 @@ | 28 | @@ -279,9 +279,14 @@ |
30 | "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ | 29 | "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ |
31 | " ${loadaddr} flash_blk.img && " \ | 30 | " ${loadaddr} flash_blk.img && " \ |
32 | "source ${loadaddr}\0" \ | 31 | "source ${loadaddr}\0" \ |
33 | - "setup=setenv setupargs fec_mac=${ethaddr} " \ | 32 | - "setup=setenv setupargs fec_mac=${ethaddr} " \ |
34 | + "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \ | 33 | + "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \ |
35 | "consoleblank=0 no_console_suspend=1 " \ | 34 | "consoleblank=0 no_console_suspend=1 " \ |
36 | "console=${console},${baudrate}n8\0 " \ | 35 | "console=${console},${baudrate}n8\0" \ |
37 | + "setupvideo=i2c dev 0; if i2c probe 4A; " \ | 36 | + "setupvideo=i2c dev 0; if i2c probe 4A; " \ |
38 | + "then setenv vidargs mxc_hdmi.only_cea=1 " \ | 37 | + "then setenv vidargs mxc_hdmi.only_cea=1 " \ |
39 | + "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \ | 38 | + "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \ |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch index 1bf7c27..d2e82a7 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1f3926a8e90a7e582d28b845e812d0642a4dc5ce Mon Sep 17 00:00:00 2001 | 1 | From ccbaab75abc8d5f5cbadc6a0285dd496a45252cf Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Thu, 12 Oct 2017 11:02:54 +0300 | 3 | Date: Thu, 12 Oct 2017 11:02:54 +0300 |
4 | Subject: [PATCH 3/3] apalis-imx6: Ixora v1.0 support | 4 | Subject: [PATCH] apalis-imx6: Ixora v1.0 support |
5 | 5 | ||
6 | Add sddrive variable that can be changed to boot from different mmc card | 6 | Add sddrive variable that can be changed to boot from different mmc card |
7 | slot when using different versions of ixora carrier board. | 7 | slot when using different versions of ixora carrier board. |
@@ -11,10 +11,10 @@ Default to drive 1, which is correct for Ixora v1.1. | |||
11 | 1 file changed, 5 insertions(+), 4 deletions(-) | 11 | 1 file changed, 5 insertions(+), 4 deletions(-) |
12 | 12 | ||
13 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 13 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
14 | index 121eaa7..77a8874 100644 | 14 | index 3351a18e4c..7aabb1334b 100644 |
15 | --- a/include/configs/apalis_imx6.h | 15 | --- a/include/configs/apalis_imx6.h |
16 | +++ b/include/configs/apalis_imx6.h | 16 | +++ b/include/configs/apalis_imx6.h |
17 | @@ -227,15 +227,16 @@ | 17 | @@ -226,15 +226,16 @@ |
18 | "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | 18 | "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" |
19 | 19 | ||
20 | #define SD_BOOTCMD \ | 20 | #define SD_BOOTCMD \ |
@@ -29,7 +29,7 @@ index 121eaa7..77a8874 100644 | |||
29 | - "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \ | 29 | - "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \ |
30 | + "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \ | 30 | + "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \ |
31 | "${boot_file} && run fdt_fixup && " \ | 31 | "${boot_file} && run fdt_fixup && " \ |
32 | "bootm ${kernel_addr_r} ${dtbparam}\0" \ | 32 | "bootz ${kernel_addr_r} ${dtbparam}\0" \ |
33 | - "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \ | 33 | - "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \ |
34 | + "sddtbload=setenv dtbparam; load mmc ${sddrive}:1 ${fdt_addr_r} " \ | 34 | + "sddtbload=setenv dtbparam; load mmc ${sddrive}:1 ${fdt_addr_r} " \ |
35 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | 35 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch index c259f7f..acc5a16 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch | |||
@@ -1,22 +1,22 @@ | |||
1 | From 0b31b8e73bfbc02e7687ea521e9e92f892e7052a Mon Sep 17 00:00:00 2001 | 1 | From 6c83b14450862c63ebd755fdf81afde43cddfe6c Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Wed, 18 Oct 2017 13:20:25 +0300 | 3 | Date: Wed, 18 Oct 2017 13:20:25 +0300 |
4 | Subject: [PATCH 4/4] apalis-imx6: lower default resolution on HDMI to 720p | 4 | Subject: [PATCH] apalis-imx6: lower default resolution on HDMI to 720p |
5 | 5 | ||
6 | --- | 6 | --- |
7 | include/configs/apalis_imx6.h | 2 +- | 7 | include/configs/apalis_imx6.h | 2 +- |
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
9 | 9 | ||
10 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | 10 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h |
11 | index 77a8874..0292e74 100644 | 11 | index 7aabb1334b..da34817a7a 100644 |
12 | --- a/include/configs/apalis_imx6.h | 12 | --- a/include/configs/apalis_imx6.h |
13 | +++ b/include/configs/apalis_imx6.h | 13 | +++ b/include/configs/apalis_imx6.h |
14 | @@ -295,7 +295,7 @@ | 14 | @@ -294,7 +294,7 @@ |
15 | "source ${loadaddr}\0" \ | 15 | "source ${loadaddr}\0" \ |
16 | "splashpos=m,m\0" \ | 16 | "splashpos=m,m\0" \ |
17 | "vidargs=mxc_hdmi.only_cea=1 " \ | 17 | "vidargs=mxc_hdmi.only_cea=1 " \ |
18 | - "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 " \ | 18 | - "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 " \ |
19 | + "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \ | 19 | + "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \ |
20 | "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \ | 20 | "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \ |
21 | "fbmem=32M\0 " | 21 | "fbmem=32M\0" |
22 | 22 | ||
diff --git a/meta-fsl-extras/wic/imx8-uboot-bootpart.wks b/meta-fsl-extras/wic/imx8-uboot-bootpart.wks new file mode 100644 index 0000000..33de776 --- /dev/null +++ b/meta-fsl-extras/wic/imx8-uboot-bootpart.wks | |||
@@ -0,0 +1,19 @@ | |||
1 | # short-description: Create SD card image with a boot partition | ||
2 | # long-description: | ||
3 | # Create an image that can be written onto a SD card using dd for use | ||
4 | # with i.MX SoC family | ||
5 | # It uses u-boot | ||
6 | # | ||
7 | # The disk layout used is: | ||
8 | # - --------- -------------- -------------- | ||
9 | # | | u-boot | boot | rootfs | | ||
10 | # - --------- -------------- -------------- | ||
11 | # ^ ^ ^ ^ | ||
12 | # | | | | | ||
13 | # 0 33kiB 4MiB 32MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
14 | # | ||
15 | part u-boot --source rawcopy --sourceparams="file=imx-boot-sd.bin" --ondisk mmcblk --no-table --align 33 | ||
16 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 32 | ||
17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
18 | |||
19 | bootloader --ptable msdos | ||
diff --git a/meta-intel-extras/classes/image_dd_efi.bbclass b/meta-intel-extras/classes/image_dd_efi.bbclass deleted file mode 100644 index 4454051..0000000 --- a/meta-intel-extras/classes/image_dd_efi.bbclass +++ /dev/null | |||
@@ -1,49 +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 | |||
30 | DESCRIPTION = "Extends image_dd class to boot via GRUB-EFI and initramfs." | ||
31 | LICENSE = "CLOSED" | ||
32 | |||
33 | inherit image_dd | ||
34 | |||
35 | EXTRA_IMAGECMD_ext3 += "-L rootfs" | ||
36 | |||
37 | do_populate_boot() { | ||
38 | GRUB_IMAGE="grub-efi-bootia32.efi" | ||
39 | DEST_IMAGE="bootia32.efi" | ||
40 | if [ "${TARGET_ARCH}" = "x86_64" ]; then | ||
41 | GRUB_IMAGE="grub-efi-bootx64.efi" | ||
42 | DEST_IMAGE="bootx64.efi" | ||
43 | fi | ||
44 | |||
45 | mkdir -p ${WORKDIR}/EFI/BOOT/ | ||
46 | # Path where EFI firmware searches for EFI executable | ||
47 | cp ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${WORKDIR}/EFI/BOOT/${DEST_IMAGE} | ||
48 | mcopy -s -i ${WORKDIR}/boot.img ${WORKDIR}/EFI ::/EFI | ||
49 | } | ||
diff --git a/meta-intel-extras/conf/layer.conf b/meta-intel-extras/conf/layer.conf index 3306ada..ef83d53 100644 --- a/meta-intel-extras/conf/layer.conf +++ b/meta-intel-extras/conf/layer.conf | |||
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_intel" | 38 | BBFILE_COLLECTIONS += "b2qt_intel" |
39 | BBFILE_PATTERN_b2qt_intel := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_intel := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_intel = "20" | 40 | BBFILE_PRIORITY_b2qt_intel = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_intel = "sumo" | ||
diff --git a/meta-intel-extras/recipes/grub/grub-efi/grub.cfg b/meta-intel-extras/recipes/grub/grub-efi/grub.cfg deleted file mode 100644 index 287cf7c..0000000 --- a/meta-intel-extras/recipes/grub/grub-efi/grub.cfg +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | # Created by meta-b2qt | ||
2 | serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 | ||
3 | default=boot | ||
4 | timeout=0 | ||
5 | |||
6 | menuentry 'boot' { | ||
7 | linux /boot/bzImage root=LABEL=rootfs | ||
8 | initrd /boot/initramfs | ||
9 | } | ||
10 | |||
diff --git a/meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend b/meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend new file mode 100644 index 0000000..c1918ba --- /dev/null +++ b/meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend | |||
@@ -0,0 +1,31 @@ | |||
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 | INITRAMFS_SCRIPTS += "initramfs-module-rtsx-pci-sdmmc" | ||
31 | PACKAGE_INSTALL += "kernel-module-rtsx-pci-sdmmc" | ||
diff --git a/meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh b/meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh deleted file mode 100644 index 09eadbf..0000000 --- a/meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | modprobe rtsx_pci_sdmmc | ||
diff --git a/meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc b/meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc new file mode 100644 index 0000000..dd14d6d --- /dev/null +++ b/meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | rtsx_pci_sdmmc_enabled() { | ||
3 | return 0 | ||
4 | } | ||
5 | |||
6 | rtsx_pci_sdmmc_run() { | ||
7 | load_kernel_module rtsx_pci_sdmmc | ||
8 | } | ||
diff --git a/meta-nvidia-extras/recipes/connman-conf/connman-conf.bbappend b/meta-intel-extras/recipes/initrdscripts/initramfs-framework_1.0.bbappend index 3cfe234..cfd05cd 100644 --- a/meta-nvidia-extras/recipes/connman-conf/connman-conf.bbappend +++ b/meta-intel-extras/recipes/initrdscripts/initramfs-framework_1.0.bbappend | |||
@@ -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. |
@@ -29,12 +29,14 @@ | |||
29 | 29 | ||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
31 | 31 | ||
32 | FILES_${PN} += "etc/connman/main.conf" | 32 | SRC_URI += "file://rtsx_pci_sdmmc" |
33 | |||
34 | SRC_URI += "file://main.conf \ | ||
35 | " | ||
36 | 33 | ||
37 | do_install_append() { | 34 | do_install_append() { |
38 | install -d ${D}${sysconfdir}/connman | 35 | install -m 0755 ${WORKDIR}/rtsx_pci_sdmmc ${D}/init.d/20-rtsx_pci_sdmmc |
39 | install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman/main.conf | ||
40 | } | 36 | } |
37 | |||
38 | PACKAGES += "initramfs-module-rtsx-pci-sdmmc" | ||
39 | |||
40 | SUMMARY_initramfs-module-rtsx-pci-sdmmc = "initramfs support for rtsx_pci_sdmmc" | ||
41 | RDEPENDS_initramfs-module-rtsx-pci-sdmmc = "${PN}-base" | ||
42 | FILES_initramfs-module-rtsx-pci-sdmmc = "/init.d/20-rtsx_pci_sdmmc" | ||
diff --git a/meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch b/meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch new file mode 100644 index 0000000..a50d2a2 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From 7e8e0f8a8ac2425e19a2f340c9e3da9345f25940 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 15 Nov 2016 15:20:49 +0200 | ||
4 | Subject: [PATCH 1/6] Simplify wayland-scanner lookup | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Don't use pkg-config to lookup the path of a binary that's in the path. | ||
8 | |||
9 | Alternatively we'd have to prefix the path returned by pkg-config with | ||
10 | PKG_CONFIG_SYSROOT_DIR. | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
14 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
15 | --- | ||
16 | configure.ac | 7 +------ | ||
17 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 14f1af2b2f..916d0bd207 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -1825,12 +1825,7 @@ for plat in $platforms; do | ||
24 | PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) | ||
25 | WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` | ||
26 | |||
27 | - PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner], | ||
28 | - WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`, | ||
29 | - WAYLAND_SCANNER='') | ||
30 | - if test "x$WAYLAND_SCANNER" = x; then | ||
31 | - AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) | ||
32 | - fi | ||
33 | + AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) | ||
34 | |||
35 | if test "x$WAYLAND_SCANNER" = "x:"; then | ||
36 | AC_MSG_ERROR([wayland-scanner is needed to compile the wayland platform]) | ||
37 | -- | ||
38 | 2.18.0 | ||
39 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch b/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch deleted file mode 100644 index e49695b..0000000 --- a/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 2f68fcaaf4964e7feeb383f5c26851965cda037c Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 15 Nov 2016 15:20:49 +0200 | ||
4 | Subject: [PATCH] Simplify wayland-scanner lookup | ||
5 | |||
6 | Don't use pkg-config to lookup the path of a binary that's in the path. | ||
7 | |||
8 | Alternatively we'd have to prefix the path returned by pkg-config with | ||
9 | PKG_CONFIG_SYSROOT_DIR. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
13 | --- | ||
14 | configure.ac | 7 +------ | ||
15 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index e56e35a..a92005a 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -2020,12 +2020,7 @@ if test "x$with_egl_platforms" != "x" -a "x$enable_egl" != xyes; then | ||
22 | AC_MSG_ERROR([cannot build egl state tracker without EGL library]) | ||
23 | fi | ||
24 | |||
25 | -PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner], | ||
26 | - WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`, | ||
27 | - WAYLAND_SCANNER='') | ||
28 | -if test "x$WAYLAND_SCANNER" = x; then | ||
29 | - AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) | ||
30 | -fi | ||
31 | +AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) | ||
32 | |||
33 | # Do per-EGL platform setups and checks | ||
34 | egl_platforms=`IFS=', '; echo $with_egl_platforms` | ||
35 | -- | ||
36 | 2.1.4 | ||
37 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch b/meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch new file mode 100644 index 0000000..ffb3bf7 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 7792f228991744a0396b8bf811e281dca86165d3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 16 Aug 2017 18:58:20 -0700 | ||
4 | Subject: [PATCH 2/6] winsys/svga/drm: Include sys/types.h | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | vmw_screen.h uses dev_t which is defines in sys/types.h | ||
8 | this header is required to be included for getting dev_t | ||
9 | definition. This issue happens on musl C library, it is hidden | ||
10 | on glibc since sys/types.h is included through another | ||
11 | system headers | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864] | ||
15 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
16 | --- | ||
17 | src/gallium/winsys/svga/drm/vmw_screen.h | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h | ||
21 | index f21cabb51f..4c972fdaa9 100644 | ||
22 | --- a/src/gallium/winsys/svga/drm/vmw_screen.h | ||
23 | +++ b/src/gallium/winsys/svga/drm/vmw_screen.h | ||
24 | @@ -41,6 +41,7 @@ | ||
25 | #include "svga_winsys.h" | ||
26 | #include "pipebuffer/pb_buffer_fenced.h" | ||
27 | #include <os/os_thread.h> | ||
28 | +#include <sys/types.h> | ||
29 | |||
30 | #define VMW_GMR_POOL_SIZE (16*1024*1024) | ||
31 | #define VMW_QUERY_POOL_SIZE (8192) | ||
32 | -- | ||
33 | 2.18.0 | ||
34 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch b/meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch new file mode 100644 index 0000000..5e735ca --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 8b42fb47138f91d9378439ab716bac7701e4e326 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Tue, 5 Jun 2018 11:11:10 -0300 | ||
4 | Subject: [PATCH 3/6] Properly get LLVM version when using LLVM Git releases | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | $ llvm-config-host --version | ||
8 | 5.0.0git-9a5c333388c | ||
9 | |||
10 | We need to ignore everything after 5.0.0 which is what the cut cmd is | ||
11 | doing | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
16 | --- | ||
17 | configure.ac | 4 ++-- | ||
18 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
19 | |||
20 | diff --git a/configure.ac b/configure.ac | ||
21 | index 916d0bd207..dd172f1ebe 100644 | ||
22 | --- a/configure.ac | ||
23 | +++ b/configure.ac | ||
24 | @@ -1090,7 +1090,7 @@ strip_unwanted_llvm_flags() { | ||
25 | |||
26 | llvm_set_environment_variables() { | ||
27 | if test "x$LLVM_CONFIG" != xno; then | ||
28 | - LLVM_VERSION=`$LLVM_CONFIG --version | egrep -o '^[[0-9.]]+'` | ||
29 | + LLVM_VERSION=`$LLVM_CONFIG --version | cut -c1-5` | ||
30 | LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"` | ||
31 | LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir` | ||
32 | LLVM_LIBDIR=`$LLVM_CONFIG --libdir` | ||
33 | @@ -2808,7 +2808,7 @@ detect_old_buggy_llvm() { | ||
34 | dnl ourselves. | ||
35 | dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823) | ||
36 | dnl We can't use $LLVM_VERSION because it has 'svn' stripped out, | ||
37 | - LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version` | ||
38 | + LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version | cut -c1-5` | ||
39 | AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.$IMP_LIB_EXT"], [llvm_have_one_so=yes]) | ||
40 | |||
41 | if test "x$llvm_have_one_so" = xyes; then | ||
42 | -- | ||
43 | 2.18.0 | ||
44 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch b/meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch new file mode 100644 index 0000000..8953c4a --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From ebe6077a1d74e56b28249f71e8760295fa846ed2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Fri, 29 Dec 2017 10:27:59 -0200 | ||
4 | Subject: [PATCH 4/6] Use Python 3 to execute the scripts | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | The MESA build system uses Python 2 but as OE-Core has moved away from | ||
8 | it, we change it to use Python 3 instead. | ||
9 | |||
10 | Upstream-Status: Inappropriate [ configuration ] | ||
11 | |||
12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
13 | --- | ||
14 | configure.ac | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index dd172f1ebe..40cac36ac2 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -122,7 +122,7 @@ AM_PROG_CC_C_O | ||
22 | AC_PROG_NM | ||
23 | AM_PROG_AS | ||
24 | AX_CHECK_GNU_MAKE | ||
25 | -AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python]) | ||
26 | +AC_CHECK_PROGS([PYTHON2], [python3.5 python3 python]) | ||
27 | AC_PROG_SED | ||
28 | AC_PROG_MKDIR_P | ||
29 | |||
30 | -- | ||
31 | 2.18.0 | ||
32 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch b/meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch new file mode 100644 index 0000000..d40e7b5 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 9e0368af471af3a36e0eb526453f892598120065 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Wed, 6 Jun 2018 09:50:35 -0300 | ||
4 | Subject: [PATCH 5/6] dri: i965: Add missing time.h include | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | This fixes a build error when using musl: | ||
8 | |||
9 | ,---- | ||
10 | | In file included from .../src/mesa/drivers/dri/i965/intel_upload.c:33:0: | ||
11 | | .../src/mesa/drivers/dri/i965/brw_bufmgr.h:132:4: error: unknown type name 'time_t' | ||
12 | | time_t free_time; | ||
13 | | ^~~~~~ | ||
14 | `---- | ||
15 | |||
16 | Upstream-Status: Backport [3c288da5eec81ee58b85927df18d9194ead8f5c2] | ||
17 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
18 | --- | ||
19 | src/mesa/drivers/dri/i965/brw_bufmgr.h | 1 + | ||
20 | 1 file changed, 1 insertion(+) | ||
21 | |||
22 | diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h | ||
23 | index 68f5e0c2c8..5b60a23763 100644 | ||
24 | --- a/src/mesa/drivers/dri/i965/brw_bufmgr.h | ||
25 | +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h | ||
26 | @@ -37,6 +37,7 @@ | ||
27 | #include <stdbool.h> | ||
28 | #include <stdint.h> | ||
29 | #include <stdio.h> | ||
30 | +#include <time.h> | ||
31 | #include "util/u_atomic.h" | ||
32 | #include "util/list.h" | ||
33 | |||
34 | -- | ||
35 | 2.18.0 | ||
36 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch b/meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch new file mode 100644 index 0000000..0212922 --- /dev/null +++ b/meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 754ccf89a732fc3da6e9bc62ebd6b28686ff3d26 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Wed, 29 Aug 2018 22:10:30 -0300 | ||
4 | Subject: [PATCH 6/6] use PKG_CHECK_VAR for defining WAYLAND_PROTOCOLS_DATADIR | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | This allows to override the wayland-protocols pkgdatadir with the | ||
8 | WAYLAND_PROTOCOLS_DATADIR from environment. | ||
9 | |||
10 | pkgconfig would return an absolute path in | ||
11 | /usr/share/wayland-protocols | ||
12 | for the pkgdatadir value, which is not suitable for cross-compiling. | ||
13 | |||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | Upstream-Status: Pending | ||
16 | |||
17 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
18 | --- | ||
19 | configure.ac | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/configure.ac b/configure.ac | ||
23 | index 40cac36ac2..728bbdcbc4 100644 | ||
24 | --- a/configure.ac | ||
25 | +++ b/configure.ac | ||
26 | @@ -1823,7 +1823,7 @@ for plat in $platforms; do | ||
27 | PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= $WAYLAND_REQUIRED]) | ||
28 | PKG_CHECK_MODULES([WAYLAND_SERVER], [wayland-server >= $WAYLAND_REQUIRED]) | ||
29 | PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) | ||
30 | - WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` | ||
31 | + PKG_CHECK_VAR([WAYLAND_PROTOCOLS_DATADIR], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED], pkgdatadir) | ||
32 | |||
33 | AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) | ||
34 | |||
35 | -- | ||
36 | 2.18.0 | ||
37 | |||
diff --git a/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch b/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch deleted file mode 100644 index d2d6755..0000000 --- a/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Configure checks for compiler to be gcc and then it enables asm_offsets | ||
2 | generation. see | ||
3 | |||
4 | https://cgit.freedesktop.org/mesa/mesa/commit/?id=73c9b4b0e05fc66629ba250846948dc55c0e7a0d | ||
5 | |||
6 | However, we missed the check when enabling this on cross compilation | ||
7 | when architecture for both host and target is x86 | ||
8 | |||
9 | Fixes errors like | ||
10 | ./gen_matypes > matypes.h | ||
11 | /bin/bash: ./gen_matypes: No such file or directory | ||
12 | |||
13 | -Khem | ||
14 | |||
15 | Upstream-Status: Submitted | ||
16 | |||
17 | Index: mesa-12.0.1/configure.ac | ||
18 | =================================================================== | ||
19 | --- mesa-12.0.1.orig/configure.ac | ||
20 | +++ mesa-12.0.1/configure.ac | ||
21 | @@ -732,7 +732,7 @@ test "x$enable_asm" = xno && AC_MSG_RESU | ||
22 | if test "x$enable_asm" = xyes -a "x$cross_compiling" = xyes; then | ||
23 | case "$host_cpu" in | ||
24 | i?86 | x86_64 | amd64) | ||
25 | - if test "x$host_cpu" != "x$target_cpu"; then | ||
26 | + if test "x$host_cpu" != "x$target_cpu" -o "x$acv_mesa_CLANG" = xyes; then | ||
27 | enable_asm=no | ||
28 | AC_MSG_RESULT([no, cross compiling]) | ||
29 | fi | ||
diff --git a/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch b/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch deleted file mode 100644 index 0280ee8..0000000 --- a/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | endianness check is OS wide and not specific to libc | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
7 | --- | ||
8 | src/util/u_endian.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/util/u_endian.h b/src/util/u_endian.h | ||
12 | index b9d563d..2d5eab9 100644 | ||
13 | --- a/src/util/u_endian.h | ||
14 | +++ b/src/util/u_endian.h | ||
15 | @@ -27,7 +27,7 @@ | ||
16 | #ifndef U_ENDIAN_H | ||
17 | #define U_ENDIAN_H | ||
18 | |||
19 | -#if defined(__GLIBC__) || defined(ANDROID) | ||
20 | +#if defined(__linux__) | ||
21 | #include <endian.h> | ||
22 | |||
23 | #if __BYTE_ORDER == __LITTLE_ENDIAN | ||
24 | -- | ||
25 | 2.1.4 | ||
26 | |||
diff --git a/meta-intel-extras/recipes/mesa/mesa.inc b/meta-intel-extras/recipes/mesa/mesa.inc new file mode 100644 index 0000000..0219ded --- /dev/null +++ b/meta-intel-extras/recipes/mesa/mesa.inc | |||
@@ -0,0 +1,233 @@ | |||
1 | SUMMARY = "A free implementation of the OpenGL API" | ||
2 | DESCRIPTION = "Mesa is an open-source implementation of the OpenGL specification - \ | ||
3 | a system for rendering interactive 3D graphics. \ | ||
4 | A variety of device drivers allows Mesa to be used in many different environments \ | ||
5 | ranging from software emulation to complete hardware acceleration for modern GPUs. \ | ||
6 | Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \ | ||
7 | environment." | ||
8 | |||
9 | HOMEPAGE = "http://mesa3d.org" | ||
10 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
11 | SECTION = "x11" | ||
12 | LICENSE = "MIT" | ||
13 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=725f991a1cc322aa7a0cd3a2016621c4" | ||
14 | |||
15 | PE = "2" | ||
16 | |||
17 | DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native" | ||
18 | EXTRANATIVEPATH += "chrpath-native" | ||
19 | PROVIDES = " \ | ||
20 | ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \ | ||
21 | ${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2', '', d)} \ | ||
22 | ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \ | ||
23 | ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \ | ||
24 | virtual/mesa \ | ||
25 | " | ||
26 | |||
27 | inherit autotools pkgconfig python3native gettext distro_features_check | ||
28 | |||
29 | ANY_OF_DISTRO_FEATURES = "opengl vulkan" | ||
30 | |||
31 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \ | ||
32 | ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', d)} \ | ||
33 | surfaceless" | ||
34 | |||
35 | export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}" | ||
36 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" | ||
37 | export YOCTO_ALTERNATE_MULTILIB_NAME = "${base_libdir}" | ||
38 | EXTRA_OECONF = "--enable-shared-glapi \ | ||
39 | --disable-opencl \ | ||
40 | --enable-glx-read-only-text \ | ||
41 | PYTHON2=python2 \ | ||
42 | --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \ | ||
43 | --with-platforms='${PLATFORMS}'" | ||
44 | |||
45 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \ | ||
46 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm dri', '', d)} \ | ||
47 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \ | ||
48 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ | ||
49 | " | ||
50 | |||
51 | # "gbm" requires "dri", "opengl" | ||
52 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" | ||
53 | |||
54 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" | ||
55 | # "x11" requires "opengl" | ||
56 | PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" | ||
57 | PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" | ||
58 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" | ||
59 | |||
60 | DRIDRIVERS = "swrast" | ||
61 | DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" | ||
62 | DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" | ||
63 | # "dri" requires "opengl" | ||
64 | PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm" | ||
65 | PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, dri3proto presentproto libxshmfence" | ||
66 | |||
67 | # Vulkan drivers need dri3 enabled | ||
68 | # radeon could be enabled as well but requires gallium-llvm with llvm >= 3.9 | ||
69 | VULKAN_DRIVERS = "" | ||
70 | VULKAN_DRIVERS_append_x86 = ",intel" | ||
71 | VULKAN_DRIVERS_append_x86-64 = ",intel" | ||
72 | PACKAGECONFIG[vulkan] = "--with-vulkan-drivers=${VULKAN_DRIVERS}, --without-vulkan-drivers, python3-mako-native" | ||
73 | |||
74 | PACKAGECONFIG[opengl] = "--enable-opengl, --disable-opengl" | ||
75 | |||
76 | # "gles" requires "opengl" | ||
77 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" | ||
78 | |||
79 | # "egl" requires "dri", "opengl" | ||
80 | PACKAGECONFIG[egl] = "--enable-egl, --disable-egl" | ||
81 | |||
82 | PACKAGECONFIG[etnaviv] = "" | ||
83 | PACKAGECONFIG[imx] = "" | ||
84 | |||
85 | GALLIUMDRIVERS = "swrast" | ||
86 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | ||
87 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}" | ||
88 | GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 'radeonsi,r600', '', d)}" | ||
89 | PACKAGECONFIG[r600] = "" | ||
90 | GALLIUMDRIVERS_LLVM33_ENABLED = "${@oe.utils.version_less_or_equal('MESA_LLVM_RELEASE', '3.2', False, len('${GALLIUMDRIVERS_LLVM33}') > 0, d)}" | ||
91 | GALLIUMDRIVERS_LLVM = "r300,svga,nouveau${@',${GALLIUMDRIVERS_LLVM33}' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" | ||
92 | GALLIUMDRIVERS_append_x86 = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}" | ||
93 | GALLIUMDRIVERS_append_x86-64 = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}" | ||
94 | GALLIUMDRIVERS_append_qemux86 = ",virgl" | ||
95 | GALLIUMDRIVERS_append_qemux86-64 = ",virgl" | ||
96 | # keep --with-gallium-drivers separate, because when only one of gallium versions is enabled, other 2 were adding --without-gallium-drivers | ||
97 | PACKAGECONFIG[gallium] = "--enable-texture-float --with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers" | ||
98 | MESA_LLVM_RELEASE ?= "6.0" | ||
99 | PACKAGECONFIG[gallium-llvm] = "--enable-llvm --enable-llvm-shared-libs, --disable-llvm, llvm${MESA_LLVM_RELEASE} llvm-native \ | ||
100 | ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" | ||
101 | export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}" | ||
102 | PACKAGECONFIG[xa] = "--enable-xa, --disable-xa" | ||
103 | |||
104 | OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium-osmesa', 'osmesa', d)}" | ||
105 | PACKAGECONFIG[osmesa] = "--enable-${OSMESA},--disable-${OSMESA}" | ||
106 | |||
107 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" | ||
108 | |||
109 | EXTRA_OECONF_remove_libc-musl = "--enable-glx-tls" | ||
110 | EXTRA_OECONF_append_libc-musl = " --disable-glx-tls" | ||
111 | EXTRA_OECONF_append_libc-musl_x86 = " --disable-asm" | ||
112 | |||
113 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) | ||
114 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" | ||
115 | |||
116 | CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" | ||
117 | EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols" | ||
118 | |||
119 | # Remove the mesa dependency on mesa-dev, as mesa is empty | ||
120 | RDEPENDS_${PN}-dev = "" | ||
121 | |||
122 | # Add dependency so that GLES3 header don't need to be added manually | ||
123 | RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev" | ||
124 | |||
125 | PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | ||
126 | libosmesa libosmesa-dev \ | ||
127 | libgl-mesa libgl-mesa-dev \ | ||
128 | libglapi libglapi-dev \ | ||
129 | libgbm libgbm-dev \ | ||
130 | libgles1-mesa libgles1-mesa-dev \ | ||
131 | libgles2-mesa libgles2-mesa-dev \ | ||
132 | libgles3-mesa libgles3-mesa-dev \ | ||
133 | libwayland-egl libwayland-egl-dev \ | ||
134 | libxatracker libxatracker-dev \ | ||
135 | mesa-megadriver mesa-vulkan-drivers \ | ||
136 | " | ||
137 | |||
138 | do_install_append () { | ||
139 | # Drivers never need libtool .la files | ||
140 | rm -f ${D}${libdir}/dri/*.la | ||
141 | rm -f ${D}${libdir}/egl/*.la | ||
142 | rm -f ${D}${libdir}/gallium-pipe/*.la | ||
143 | rm -f ${D}${libdir}/gbm/*.la | ||
144 | |||
145 | # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used | ||
146 | rm -f ${D}${sysconfdir}/drirc | ||
147 | chrpath --delete ${D}${libdir}/dri/*_dri.so || true | ||
148 | } | ||
149 | |||
150 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
151 | # they don't get Debian-renamed (which would remove the -mesa suffix), and | ||
152 | # RPROVIDEs/RCONFLICTs on the generic libgl name. | ||
153 | python __anonymous() { | ||
154 | pkgconfig = (d.getVar('PACKAGECONFIG') or "").split() | ||
155 | for p in (("egl", "libegl", "libegl1"), | ||
156 | ("dri", "libgl", "libgl1"), | ||
157 | ("gles", "libgles1", "libglesv1-cm1"), | ||
158 | ("gles", "libgles2", "libglesv2-2"), | ||
159 | ("gles", "libgles3",)): | ||
160 | if not p[0] in pkgconfig: | ||
161 | continue | ||
162 | fullp = p[1] + "-mesa" | ||
163 | pkgs = " ".join(p[1:]) | ||
164 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
165 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
166 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
167 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
168 | |||
169 | d.appendVar("RRECOMMENDS_" + fullp, " mesa-megadriver") | ||
170 | |||
171 | # For -dev, the first element is both the Debian and original name | ||
172 | fullp += "-dev" | ||
173 | pkgs = p[1] + "-dev" | ||
174 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
175 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
176 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
177 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
178 | } | ||
179 | |||
180 | python mesa_populate_packages() { | ||
181 | pkgs = ['mesa', 'mesa-dev', 'mesa-dbg'] | ||
182 | for pkg in pkgs: | ||
183 | d.setVar("RPROVIDES_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) | ||
184 | d.setVar("RCONFLICTS_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) | ||
185 | d.setVar("RREPLACES_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) | ||
186 | |||
187 | import re | ||
188 | dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") | ||
189 | if os.path.isdir(dri_drivers_root): | ||
190 | dri_pkgs = os.listdir(dri_drivers_root) | ||
191 | lib_name = d.expand("${MLPREFIX}mesa-megadriver") | ||
192 | for p in dri_pkgs: | ||
193 | m = re.match('^(.*)_dri\.so$', p) | ||
194 | if m: | ||
195 | pkg_name = " ${MLPREFIX}mesa-driver-%s" % legitimize_package_name(m.group(1)) | ||
196 | d.appendVar("RPROVIDES_%s" % lib_name, pkg_name) | ||
197 | d.appendVar("RCONFLICTS_%s" % lib_name, pkg_name) | ||
198 | d.appendVar("RREPLACES_%s" % lib_name, pkg_name) | ||
199 | |||
200 | pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe") | ||
201 | do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='') | ||
202 | } | ||
203 | |||
204 | PACKAGESPLITFUNCS_prepend = "mesa_populate_packages " | ||
205 | |||
206 | PACKAGES_DYNAMIC += "^mesa-driver-.*" | ||
207 | |||
208 | FILES_${PN} += "${sysconfdir}/drirc" | ||
209 | FILES_mesa-megadriver = "${libdir}/dri/*" | ||
210 | FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan" | ||
211 | FILES_libegl-mesa = "${libdir}/libEGL.so.*" | ||
212 | FILES_libgbm = "${libdir}/libgbm.so.*" | ||
213 | FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" | ||
214 | FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*" | ||
215 | FILES_libgl-mesa = "${libdir}/libGL.so.*" | ||
216 | FILES_libglapi = "${libdir}/libglapi.so.*" | ||
217 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" | ||
218 | FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*" | ||
219 | FILES_libxatracker = "${libdir}/libxatracker.so.*" | ||
220 | |||
221 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan" | ||
222 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | ||
223 | FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | ||
224 | FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" | ||
225 | FILES_libglapi-dev = "${libdir}/libglapi.*" | ||
226 | FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc" | ||
227 | FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc" | ||
228 | FILES_libgles3-mesa-dev = "${includedir}/GLES3" | ||
229 | FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc" | ||
230 | FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*" | ||
231 | FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \ | ||
232 | ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \ | ||
233 | ${libdir}/pkgconfig/xatracker.pc" | ||
diff --git a/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb b/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb deleted file mode 100644 index b95f301..0000000 --- a/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | require recipes-graphics/mesa/${BPN}.inc | ||
2 | |||
3 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \ | ||
4 | file://replace_glibc_check_with_linux.patch \ | ||
5 | file://disable-asm-on-non-gcc.patch \ | ||
6 | file://0001-Use-wayland-scanner-in-the-path.patch \ | ||
7 | " | ||
8 | |||
9 | SRC_URI[md5sum] = "8f808e92b893d412fbd6510e1d16f5c5" | ||
10 | SRC_URI[sha256sum] = "f8f191f909e01e65de38d5bdea5fb057f21649a3aed20948be02348e77a689d4" | ||
11 | |||
12 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
13 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
14 | do_install_append() { | ||
15 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
16 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
17 | fi | ||
18 | } | ||
diff --git a/meta-intel-extras/recipes/mesa/mesa_18.1.9.bb b/meta-intel-extras/recipes/mesa/mesa_18.1.9.bb new file mode 100644 index 0000000..86d6a6b --- /dev/null +++ b/meta-intel-extras/recipes/mesa/mesa_18.1.9.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | ||
4 | file://0001-Simplify-wayland-scanner-lookup.patch \ | ||
5 | file://0002-winsys-svga-drm-Include-sys-types.h.patch \ | ||
6 | file://0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \ | ||
7 | file://0004-Use-Python-3-to-execute-the-scripts.patch \ | ||
8 | file://0005-dri-i965-Add-missing-time.h-include.patch \ | ||
9 | file://0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "2f8d2098ab478bc3907e42130577b54a" | ||
13 | SRC_URI[sha256sum] = "55f5778d58a710a63d6635f000535768faf7db9e8144dc0f4fd1989f936c1a83" | ||
14 | |||
15 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
16 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
17 | do_install_append() { | ||
18 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
19 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
20 | fi | ||
21 | } | ||
diff --git a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend b/meta-intel-extras/recipes/microcode-initramfs/microcode-initramfs.bb index f3a95f2..8682c27 100644 --- a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend +++ b/meta-intel-extras/recipes/microcode-initramfs/microcode-initramfs.bb | |||
@@ -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,33 +27,26 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 30 | SUMMARY = "Initramfs with early load intel microcode" |
31 | SRC_URI += "file://grub.cfg" | 31 | LICENSE = "The-Qt-Company-Commercial" |
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" | ||
32 | 33 | ||
33 | do_install[depends] += " \ | 34 | inherit deploy nopackages |
34 | virtual/kernel:do_deploy \ | 35 | |
36 | do_compile[depends] += " \ | ||
35 | ${INITRAMFS_IMAGE}:do_image_complete \ | 37 | ${INITRAMFS_IMAGE}:do_image_complete \ |
36 | ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \ | 38 | ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \ |
37 | " | 39 | " |
38 | |||
39 | do_deploy_prepend() { | ||
40 | 40 | ||
41 | cat > ${WORKDIR}/cfg <<EOF | 41 | do_compile() { |
42 | search.file /boot/grub2/grub.cfg root | 42 | # https://www.kernel.org/doc/Documentation/x86/microcode.txt |
43 | set prefix=/boot/grub2 | 43 | microcode="${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}" |
44 | EOF | 44 | cat ${microcode} ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz > ${S}/microcode-initramfs |
45 | } | 45 | } |
46 | 46 | ||
47 | do_install_append() { | 47 | do_deploy() { |
48 | 48 | install -d ${DEPLOYDIR} | |
49 | install -d ${D}/boot/grub2/ | 49 | install -m 0644 ${S}/microcode-initramfs ${DEPLOYDIR}/ |
50 | install -m 644 ${WORKDIR}/grub.cfg ${D}/boot/grub2/ | ||
51 | |||
52 | # https://www.kernel.org/doc/Documentation/x86/early-microcode.txt | ||
53 | microcode="${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}" | ||
54 | cat ${microcode} ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz > ${D}/boot/initramfs | ||
55 | chmod 0644 ${D}/boot/initramfs | ||
56 | } | 50 | } |
57 | 51 | ||
58 | PACKAGES += "${PN}-config" | 52 | addtask deploy before do_build after do_compile |
59 | FILES_${PN}-config = "/boot/grub2/ /boot/initramfs" | ||
diff --git a/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks b/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks new file mode 100644 index 0000000..4907631 --- /dev/null +++ b/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks | |||
@@ -0,0 +1,13 @@ | |||
1 | # short-description: Create an EFI disk image with systemd-boot | ||
2 | # long-description: Creates a partitioned EFI disk image that the user | ||
3 | # can directly dd to boot media. The selected bootloader is systemd-boot. | ||
4 | # It also includes intel-microcode as an initrd for early update support. | ||
5 | # Based on OE-core's systemd-bootdisk.wks file. | ||
6 | |||
7 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode-initramfs" --ondisk sda --label msdos --active --align 1024 --use-uuid | ||
8 | |||
9 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
10 | |||
11 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid | ||
12 | |||
13 | bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0" | ||
diff --git a/meta-nvidia-extras/conf/layer.conf b/meta-nvidia-extras/conf/layer.conf index f1717ac..fb31624 100644 --- a/meta-nvidia-extras/conf/layer.conf +++ b/meta-nvidia-extras/conf/layer.conf | |||
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_nvidia" | 38 | BBFILE_COLLECTIONS += "b2qt_nvidia" |
39 | BBFILE_PATTERN_b2qt_nvidia := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_nvidia := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_nvidia = "20" | 40 | BBFILE_PRIORITY_b2qt_nvidia = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_nvidia = "sumo" | ||
diff --git a/meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf b/meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf deleted file mode 100644 index a1e45b9..0000000 --- a/meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | [General] | ||
2 | PreferredTechnologies=ethernet,wifi,cellular | ||
3 | NetworkInterfaceBlacklist=eth0 | ||
4 | |||
diff --git a/meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend b/meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend deleted file mode 100644 index 4314a20..0000000 --- a/meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend +++ /dev/null | |||
@@ -1,33 +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 | |||
30 | PROVIDES = "virtual/egl virtual/libgles2" | ||
31 | RPROVIDES_${PN} = "libegl libegl-dev libgles2 libgles2-dev" | ||
32 | RCONFLICTS_${PN} = "libegl-mesa libegl-mesa-dev libgles2-mesa libgles2-mesa-dev" | ||
33 | RREPLACES_${PN} = "libegl-mesa lbegl-mesa-dev libgles2-mesa libgles2-mesa-dev" | ||
diff --git a/meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend b/meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend deleted file mode 100644 index d3e2337..0000000 --- a/meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend +++ /dev/null | |||
@@ -1,35 +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 | |||
30 | # WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append) | ||
31 | FILESEXTRAPATHS_tegra-x1_prepend = "__default:" | ||
32 | FILESEXTRAPATHS_tegra-t18x_prepend = "__default:" | ||
33 | |||
34 | # ERROR: QA Issue: Files/directories were installed but not shipped in any package | ||
35 | FILES_${PN}-gk20a = "${FILES__${PN}-gk20a}" | ||
diff --git a/meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend b/meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend deleted file mode 100644 index df91dfe..0000000 --- a/meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend +++ /dev/null | |||
@@ -1,30 +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 | |||
30 | ALLOW_EMPTY_${PN} = "1" | ||
diff --git a/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/meta-nvidia-extras/recipes/libdrm-nv/libdrm-nv_%.bbappend index 33bcc34..46e3bbb 100644 --- a/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend +++ b/meta-nvidia-extras/recipes/libdrm-nv/libdrm-nv_%.bbappend | |||
@@ -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,4 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | LICENSE_CREATE_PACKAGE = "0" | 30 | RDEPENDS_${PN} += "tegra-drivers" |
diff --git a/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend b/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend index c7730c6..9fa1a9c 100644 --- a/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend +++ b/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend | |||
@@ -16,11 +16,11 @@ | |||
16 | KERN_DIR := "${LNX_TOPDIR}_src/kernel" | 16 | KERN_DIR := "${LNX_TOPDIR}_src/kernel" |
17 | # Kernel source is the kernel tarball in PDK | 17 | # Kernel source is the kernel tarball in PDK |
18 | SRC_URI = "file://${KERN_DIR}/linux.tar.bz2" | 18 | SRC_URI = "file://${KERN_DIR}/linux.tar.bz2" |
19 | PV = "4.4" | 19 | PV = "4.9" |
20 | 20 | ||
21 | # Extracting linux.tar.bz2 creates directories | 21 | # Extracting linux.tar.bz2 creates directories |
22 | # <top>/vibrante-oss-src/kernel | 22 | # <top>/drive-oss-src/kernel |
23 | S = "${WORKDIR}/vibrante-oss-src/kernel" | 23 | S = "${WORKDIR}/drive-oss-src/kernel" |
24 | 24 | ||
25 | # Need to pass this to for oe_runmake explicitly for building outside kerneldir | 25 | # Need to pass this to for oe_runmake explicitly for building outside kerneldir |
26 | EXTRA_OEMAKE += " -C ${S} O=${B}" | 26 | EXTRA_OEMAKE += " -C ${S} O=${B}" |
diff --git a/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend b/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend index 835dfe8..a2103ba 100644 --- a/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend +++ b/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend | |||
@@ -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. |
@@ -28,14 +28,11 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
31 | SRC_URI += "file://0001-Fix-misleading-indentation-error.patch;patchdir=.." | 31 | SRC_URI += "file://0001-Disable-more-warnings.patch" |
32 | 32 | ||
33 | CROSS_COMPILE_PREFIX = "${CROSS_COMPILE}" | 33 | CROSS_COMPILE_PREFIX = "${CROSS_COMPILE}" |
34 | 34 | ||
35 | PACKAGES += "kernel-devicetree" | 35 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-devicetree" |
36 | FILES_kernel-devicetree = "/boot/*.dtb" | ||
37 | |||
38 | RDEPENDS_kernel-base = "kernel-image kernel-devicetree" | ||
39 | 36 | ||
40 | python do_patch () { | 37 | python do_patch () { |
41 | bb.build.exec_func('patch_do_patch', d) | 38 | bb.build.exec_func('patch_do_patch', d) |
diff --git a/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch b/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch new file mode 100644 index 0000000..d881d57 --- /dev/null +++ b/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From d863ce14300576c53492713140eb0dfacba1d8ab Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Fri, 28 Sep 2018 13:30:56 +0300 | ||
4 | Subject: [PATCH] Disable more warnings | ||
5 | |||
6 | Current compiler options are more strict than the old kernel is | ||
7 | prepared. Disable those warnings. | ||
8 | --- | ||
9 | Makefile | 5 +++++ | ||
10 | 1 file changed, 5 insertions(+) | ||
11 | |||
12 | diff --git a/Makefile b/Makefile | ||
13 | index 43a6127..d3e40f3 100644 | ||
14 | --- a/Makefile | ||
15 | +++ b/Makefile | ||
16 | @@ -627,6 +627,11 @@ ARCH_AFLAGS := | ||
17 | ARCH_CFLAGS := | ||
18 | include arch/$(SRCARCH)/Makefile | ||
19 | |||
20 | +KBUILD_CFLAGS += $(call cc-disable-warning,format-overflow,) | ||
21 | +KBUILD_CFLAGS += $(call cc-disable-warning,format-truncation,) | ||
22 | +KBUILD_CFLAGS += $(call cc-disable-warning,int-in-bool-context,) | ||
23 | +KBUILD_CFLAGS += $(call cc-disable-warning,misleading-indentation,) | ||
24 | +KBUILD_CFLAGS += $(call cc-disable-warning,tautological-compare,) | ||
25 | KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,) | ||
26 | KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,) | ||
27 | |||
diff --git a/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch b/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch deleted file mode 100644 index a344adc..0000000 --- a/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 33d112e943590020f2cda2a403a755531833b016 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Fri, 31 Mar 2017 09:42:18 +0300 | ||
4 | Subject: [PATCH] Fix misleading-indentation error | ||
5 | |||
6 | error: this 'if' clause does not guard... [-Werror=misleading-indentation] | ||
7 | if (!runlist->active_channels) | ||
8 | --- | ||
9 | nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 16 ++++++++-------- | ||
10 | 1 file changed, 8 insertions(+), 8 deletions(-) | ||
11 | |||
12 | diff --git a/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | ||
13 | index 3e57c67..e2fe4db 100644 | ||
14 | --- a/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | ||
15 | +++ b/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | ||
16 | @@ -209,15 +209,15 @@ static int init_runlist(struct gk20a *g, struct fifo_gk20a *f) | ||
17 | if (!runlist->active_channels) | ||
18 | goto clean_up_runlist; | ||
19 | |||
20 | - runlist_size = sizeof(u16) * f->num_channels; | ||
21 | - for (i = 0; i < MAX_RUNLIST_BUFFERS; i++) { | ||
22 | - int err = gk20a_gmmu_alloc_sys(g, runlist_size, | ||
23 | - &runlist->mem[i]); | ||
24 | - if (err) { | ||
25 | - dev_err(d, "memory allocation failed\n"); | ||
26 | - goto clean_up_runlist; | ||
27 | - } | ||
28 | + runlist_size = sizeof(u16) * f->num_channels; | ||
29 | + for (i = 0; i < MAX_RUNLIST_BUFFERS; i++) { | ||
30 | + int err = gk20a_gmmu_alloc_sys(g, runlist_size, | ||
31 | + &runlist->mem[i]); | ||
32 | + if (err) { | ||
33 | + dev_err(d, "memory allocation failed\n"); | ||
34 | + goto clean_up_runlist; | ||
35 | } | ||
36 | + } | ||
37 | mutex_init(&runlist->mutex); | ||
38 | |||
39 | /* None of buffers is pinned if this value doesn't change. | ||
40 | -- | ||
41 | 2.7.4 | ||
42 | |||
diff --git a/meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend b/meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend deleted file mode 100644 index 94178db..0000000 --- a/meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend +++ /dev/null | |||
@@ -1,31 +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 | |||
30 | CXXFLAGS +=" -DWIN_INTERFACE_CUSTOM" | ||
31 | COMPATIBLE_MACHINE_aarch64 = "(.*)" | ||
diff --git a/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend index 7c2f7b5..c9081a5 100644 --- a/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend +++ b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend | |||
@@ -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. |
@@ -28,3 +28,4 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 30 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
31 | RDEPENDS_${PN} += "bash" | ||
diff --git a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc b/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc deleted file mode 100644 index da1f5f7..0000000 --- a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: Mesa EGL library | ||
8 | Requires.private: libdrm >= 2.4.24 | ||
9 | Version: 9.1.6 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Libs.private: -lm -lpthread -ldl | ||
12 | Cflags: -I${includedir} | ||
diff --git a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend b/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend index 2cc22df..7e23d32 100644 --- a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend +++ b/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend | |||
@@ -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,11 +27,6 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI += " file://egl.pc" | ||
33 | FILES_${PN} += "egl.pc" | ||
34 | |||
35 | GRAPHICS_PACKAGES = " \ | 30 | GRAPHICS_PACKAGES = " \ |
36 | virtual/libgles2 \ | 31 | virtual/libgles2 \ |
37 | virtual/libegl \ | 32 | virtual/libegl \ |
@@ -42,8 +37,5 @@ GRAPHICS_PACKAGES = " \ | |||
42 | libgbm \ | 37 | libgbm \ |
43 | libgbm-dev \ | 38 | libgbm-dev \ |
44 | " | 39 | " |
45 | 40 | RDEPENDS_${PN}-nvidia-egl-wayland += "wayland" | |
46 | do_install_append_tegra-t18x() { | 41 | INSANE_SKIP_${PN}-gst += "file-rdeps" |
47 | install -d ${D}/usr/lib/pkgconfig | ||
48 | install -m 0775 ${WORKDIR}/egl.pc ${D}/${libdir}/pkgconfig | ||
49 | } | ||
diff --git a/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend b/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend index f05607c..209cc19 100644 --- a/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend +++ b/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend | |||
@@ -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,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_append := ":${LNX_TOPDIR}_src/wayland" | ||
31 | |||
32 | SRC_URI = "file://wayland-1.11.0-src.tar.gz" | ||
33 | |||
34 | DEPENDS_append_class-target = " wayland-egl" | 30 | DEPENDS_append_class-target = " wayland-egl" |
diff --git a/meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch b/meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch new file mode 100644 index 0000000..b7230cb --- /dev/null +++ b/meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | diff --git a/configure.ac b/configure.ac | ||
2 | index 691878f..0564bb2 100644 | ||
3 | --- a/configure.ac | ||
4 | +++ b/configure.ac | ||
5 | @@ -174,10 +174,10 @@ AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],, | ||
6 | AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes) | ||
7 | if test x$enable_drm_compositor = xyes; then | ||
8 | AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor]) | ||
9 | - PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0]) | ||
10 | - PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2], | ||
11 | - [AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])], | ||
12 | - [AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])]) | ||
13 | + PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm mtdev >= 1.1.0]) | ||
14 | + #PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2], | ||
15 | + #[AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])], | ||
16 | + #[AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])]) | ||
17 | fi | ||
18 | |||
19 | AC_ARG_ENABLE(eglstream-compositor, [ --enable-eglstream-compositor],, | ||
20 | @@ -190,8 +190,8 @@ fi | ||
21 | PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0]) | ||
22 | PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES]) | ||
23 | |||
24 | -PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.2], | ||
25 | - [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`]) | ||
26 | +#PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.2], | ||
27 | +# [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`]) | ||
28 | AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir) | ||
29 | |||
30 | AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],, | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch b/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch deleted file mode 100644 index 5f4d79c..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 1cfc1434a5d385a74de593ec7601674dba39e2fe Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Wed, 11 May 2016 16:16:30 +0300 | ||
4 | Subject: [PATCH] configure.ac: Fix wayland-protocols path | ||
5 | |||
6 | The wayland-protocols directory is used during build: Fix the path | ||
7 | to point to sysroot specified in recipe. | ||
8 | |||
9 | Normally PKG_CONFIG_SYSROOT_DIR could be used in configure.ac but that | ||
10 | breaks multilib weston as it would point to multilib sysroot when the | ||
11 | (allarch) wayland-protocols is actually in the machine sysroot. | ||
12 | |||
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
14 | Upstream-Status: Inappropriate [embedded specific] | ||
15 | --- | ||
16 | configure.ac | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -187,7 +187,7 @@ PKG_CHECK_MODULES(LIBINPUT_BACKEND, [lib | ||
22 | PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES]) | ||
23 | |||
24 | PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.7], | ||
25 | - [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`]) | ||
26 | + [ac_wayland_protocols_pkgdatadir=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`]) | ||
27 | AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir) | ||
28 | |||
29 | AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],, | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch b/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch deleted file mode 100644 index 148848d..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 May 2015 20:56:00 -0700 | ||
4 | Subject: [PATCH weston] make error() portable | ||
5 | |||
6 | error() is not posix but gnu extension so may not be available on all | ||
7 | kind of systemsi e.g. musl. | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-Status: Submitted | ||
12 | |||
13 | configure.ac | 2 ++ | ||
14 | src/weston-error.h | 20 ++++++++++++++++++++ | ||
15 | src/weston-launch.c | 2 +- | ||
16 | 3 files changed, 23 insertions(+), 1 deletion(-) | ||
17 | create mode 100644 src/weston-error.h | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 263fc22..f52cd62 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -57,6 +57,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[], | ||
24 | [[#include <time.h>]]) | ||
25 | AC_CHECK_HEADERS([execinfo.h]) | ||
26 | |||
27 | +AC_CHECK_HEADERS([error.h]) | ||
28 | + | ||
29 | AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) | ||
30 | |||
31 | COMPOSITOR_MODULES="wayland-server >= 1.7.93 pixman-1 >= 0.25.2" | ||
32 | diff --git a/src/weston-error.h b/src/weston-error.h | ||
33 | new file mode 100644 | ||
34 | index 0000000..2089d02 | ||
35 | --- /dev/null | ||
36 | +++ b/src/weston-error.h | ||
37 | @@ -0,0 +1,20 @@ | ||
38 | +#ifndef _WESTON_ERROR_H | ||
39 | +#define _WESTON_ERROR_H | ||
40 | + | ||
41 | +#if defined(HAVE_ERROR_H) | ||
42 | +#include <error.h> | ||
43 | +#else | ||
44 | +#include <err.h> | ||
45 | +#include <string.h> | ||
46 | +#define _weston_error(S, E, F, ...) do { \ | ||
47 | + if (E) \ | ||
48 | + err(S, F ": %s", ##__VA_ARGS__, strerror(E)); \ | ||
49 | + else \ | ||
50 | + err(S, F, ##__VA_ARGS__); \ | ||
51 | +} while(0) | ||
52 | + | ||
53 | +#define error _weston_error | ||
54 | +#endif | ||
55 | + | ||
56 | +#endif | ||
57 | + | ||
58 | diff --git a/src/weston-launch.c b/src/weston-launch.c | ||
59 | index 10c66de..3e6d30a 100644 | ||
60 | --- a/src/weston-launch.c | ||
61 | +++ b/src/weston-launch.c | ||
62 | @@ -30,7 +30,6 @@ | ||
63 | #include <poll.h> | ||
64 | #include <errno.h> | ||
65 | |||
66 | -#include <error.h> | ||
67 | #include <getopt.h> | ||
68 | |||
69 | #include <sys/types.h> | ||
70 | @@ -56,6 +55,7 @@ | ||
71 | #endif | ||
72 | |||
73 | #include "weston-launch.h" | ||
74 | +#include "weston-error.h" | ||
75 | |||
76 | #define DRM_MAJOR 226 | ||
77 | |||
78 | -- | ||
79 | 2.1.4 | ||
80 | |||
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch b/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch deleted file mode 100644 index 70b9888..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch +++ /dev/null | |||
@@ -1,174 +0,0 @@ | |||
1 | From 8ff6ed03ec4079f32e9b34085414e57be4730e04 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
3 | Date: Wed, 22 Feb 2017 15:53:30 +0200 | ||
4 | Subject: [PATCH] weston-launch: Provide a default version that doesn't require | ||
5 | PAM | ||
6 | |||
7 | weston-launch requires PAM for starting weston as a non-root user. | ||
8 | |||
9 | Since starting weston as root is a valid use case by itself, if | ||
10 | PAM is not available, provide a default version of weston-launch | ||
11 | without non-root-user support. | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
16 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
17 | --- | ||
18 | configure.ac | 9 +++++++-- | ||
19 | libweston/weston-launch.c | 20 ++++++++++++++++++++ | ||
20 | 2 files changed, 27 insertions(+), 2 deletions(-) | ||
21 | |||
22 | diff --git a/configure.ac b/configure.ac | ||
23 | index 46cb2c7..bb45f46 100644 | ||
24 | --- a/configure.ac | ||
25 | +++ b/configure.ac | ||
26 | @@ -435,13 +435,17 @@ AC_ARG_ENABLE(resize-optimization, | ||
27 | AS_IF([test "x$enable_resize_optimization" = "xyes"], | ||
28 | [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])]) | ||
29 | |||
30 | +AC_ARG_WITH(pam, | ||
31 | + AS_HELP_STRING([--with-pam], [Use PAM]), | ||
32 | + [use_pam=$withval], [use_pam=yes]) | ||
33 | AC_ARG_ENABLE(weston-launch, [ --enable-weston-launch],, enable_weston_launch=yes) | ||
34 | AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch = xyes) | ||
35 | -if test x$enable_weston_launch = xyes; then | ||
36 | +if test x$enable_weston_launch = xyes -a x$use_pam = xyes; then | ||
37 | WESTON_SEARCH_LIBS([PAM], [pam], [pam_open_session], [have_pam=yes], [have_pam=no]) | ||
38 | if test x$have_pam = xno; then | ||
39 | - AC_ERROR([weston-launch requires pam]) | ||
40 | + AC_ERROR([PAM support is explicitly requested, but libpam couldn't be found]) | ||
41 | fi | ||
42 | + AC_DEFINE([HAVE_PAM], [1], [Define if PAM is available]) | ||
43 | fi | ||
44 | |||
45 | AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes") | ||
46 | @@ -701,6 +705,7 @@ AC_MSG_RESULT([ | ||
47 | Enable developer documentation ${enable_devdocs} | ||
48 | |||
49 | weston-launch utility ${enable_weston_launch} | ||
50 | + PAM support ${use_pam} | ||
51 | systemd-login support ${have_systemd_login} | ||
52 | systemd notify support ${enable_systemd_notify} | ||
53 | |||
54 | diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c | ||
55 | index 0491896..07e7469 100644 | ||
56 | --- a/libweston/weston-launch.c | ||
57 | +++ b/libweston/weston-launch.c | ||
58 | @@ -51,7 +51,9 @@ | ||
59 | |||
60 | #include <pwd.h> | ||
61 | #include <grp.h> | ||
62 | +#ifdef HAVE_PAM | ||
63 | #include <security/pam_appl.h> | ||
64 | +#endif | ||
65 | |||
66 | #ifdef HAVE_SYSTEMD_LOGIN | ||
67 | #include <systemd/sd-login.h> | ||
68 | @@ -93,8 +95,10 @@ drmSetMaster(int drm_fd) | ||
69 | #endif | ||
70 | |||
71 | struct weston_launch { | ||
72 | +#ifdef HAVE_PAM | ||
73 | struct pam_conv pc; | ||
74 | pam_handle_t *ph; | ||
75 | +#endif | ||
76 | int tty; | ||
77 | int ttynr; | ||
78 | int sock[2]; | ||
79 | @@ -181,6 +185,7 @@ weston_launch_allowed(struct weston_launch *wl) | ||
80 | return false; | ||
81 | } | ||
82 | |||
83 | +#ifdef HAVE_PAM | ||
84 | static int | ||
85 | pam_conversation_fn(int msg_count, | ||
86 | const struct pam_message **messages, | ||
87 | @@ -221,6 +226,7 @@ setup_pam(struct weston_launch *wl) | ||
88 | |||
89 | return 0; | ||
90 | } | ||
91 | +#endif | ||
92 | |||
93 | static int | ||
94 | setup_launcher_socket(struct weston_launch *wl) | ||
95 | @@ -414,6 +420,7 @@ quit(struct weston_launch *wl, int status) | ||
96 | close(wl->signalfd); | ||
97 | close(wl->sock[0]); | ||
98 | |||
99 | +#ifdef HAVE_PAM | ||
100 | if (wl->new_user) { | ||
101 | err = pam_close_session(wl->ph, 0); | ||
102 | if (err) | ||
103 | @@ -421,6 +428,7 @@ quit(struct weston_launch *wl, int status) | ||
104 | err, pam_strerror(wl->ph, err)); | ||
105 | pam_end(wl->ph, err); | ||
106 | } | ||
107 | +#endif | ||
108 | |||
109 | if (ioctl(wl->tty, KDSKBMUTE, 0) && | ||
110 | ioctl(wl->tty, KDSKBMODE, wl->kb_mode)) | ||
111 | @@ -600,6 +608,7 @@ setup_session(struct weston_launch *wl, char **child_argv) | ||
112 | setenv("HOME", wl->pw->pw_dir, 1); | ||
113 | setenv("SHELL", wl->pw->pw_shell, 1); | ||
114 | |||
115 | +#ifdef HAVE_PAM | ||
116 | env = pam_getenvlist(wl->ph); | ||
117 | if (env) { | ||
118 | for (i = 0; env[i]; ++i) { | ||
119 | @@ -608,6 +617,7 @@ setup_session(struct weston_launch *wl, char **child_argv) | ||
120 | } | ||
121 | free(env); | ||
122 | } | ||
123 | +#endif | ||
124 | |||
125 | /* | ||
126 | * We open a new session, so it makes sense | ||
127 | @@ -675,7 +685,9 @@ static void | ||
128 | help(const char *name) | ||
129 | { | ||
130 | fprintf(stderr, "Usage: %s [args...] [-- [weston args..]]\n", name); | ||
131 | +#ifdef HAVE_PAM | ||
132 | fprintf(stderr, " -u, --user Start session as specified username\n"); | ||
133 | +#endif | ||
134 | fprintf(stderr, " -t, --tty Start session on alternative tty\n"); | ||
135 | fprintf(stderr, " -v, --verbose Be verbose\n"); | ||
136 | fprintf(stderr, " -h, --help Display this help message\n"); | ||
137 | @@ -688,7 +700,9 @@ main(int argc, char *argv[]) | ||
138 | int i, c; | ||
139 | char *tty = NULL; | ||
140 | struct option opts[] = { | ||
141 | +#ifdef HAVE_PAM | ||
142 | { "user", required_argument, NULL, 'u' }, | ||
143 | +#endif | ||
144 | { "tty", required_argument, NULL, 't' }, | ||
145 | { "verbose", no_argument, NULL, 'v' }, | ||
146 | { "help", no_argument, NULL, 'h' }, | ||
147 | @@ -700,9 +714,13 @@ main(int argc, char *argv[]) | ||
148 | while ((c = getopt_long(argc, argv, "u:t::vh", opts, &i)) != -1) { | ||
149 | switch (c) { | ||
150 | case 'u': | ||
151 | +#ifdef HAVE_PAM | ||
152 | wl.new_user = optarg; | ||
153 | if (getuid() != 0) | ||
154 | error(1, 0, "Permission denied. -u allowed for root only"); | ||
155 | +#else | ||
156 | + error(1, 0, "-u is unsupported in this weston-launch build"); | ||
157 | +#endif | ||
158 | break; | ||
159 | case 't': | ||
160 | tty = optarg; | ||
161 | @@ -740,8 +758,10 @@ main(int argc, char *argv[]) | ||
162 | if (setup_tty(&wl, tty) < 0) | ||
163 | exit(EXIT_FAILURE); | ||
164 | |||
165 | +#ifdef HAVE_PAM | ||
166 | if (wl.new_user && setup_pam(&wl) < 0) | ||
167 | exit(EXIT_FAILURE); | ||
168 | +#endif | ||
169 | |||
170 | if (setup_launcher_socket(&wl) < 0) | ||
171 | exit(EXIT_FAILURE); | ||
172 | -- | ||
173 | 2.1.4 | ||
174 | |||
diff --git a/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch b/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch deleted file mode 100644 index 93376ef..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch +++ /dev/null | |||
@@ -1,125 +0,0 @@ | |||
1 | From 6c89292024cc08d4499916dc153c354175bd81c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Daniel=20D=C3=ADaz?= <daniel.diaz@linaro.org> | ||
3 | Date: Fri, 21 Oct 2016 14:03:13 -0500 | ||
4 | Subject: [PATCH] Add configuration option for no input device. | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | [Backported from master, 75b7197.) | ||
10 | |||
11 | As it has been discussed in the past [1], running Weston | ||
12 | without any input device at launch might be beneficial for | ||
13 | some use cases. | ||
14 | |||
15 | Certainly, it's best for the vast majority of users (and | ||
16 | the project) to require an input device to be present, as | ||
17 | to avoid frustration and hassle, but for those brave souls | ||
18 | that so prefer, this patch lets them run without any input | ||
19 | device at all. | ||
20 | |||
21 | This introduces a simple configuration in weston.ini: | ||
22 | [core] | ||
23 | require-input=true | ||
24 | |||
25 | True is the default, so no behavioral change is introduced. | ||
26 | |||
27 | [1] https://lists.freedesktop.org/archives/wayland-devel/2015-November/025193.html | ||
28 | |||
29 | Signed-off-by: Daniel DÃaz <daniel.diaz@linaro.org> | ||
30 | Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> | ||
31 | Reviewed-by: Daniel Stone <daniels@collabora.com> | ||
32 | --- | ||
33 | man/weston.ini.man | 5 +++++ | ||
34 | src/compositor.h | 4 ++++ | ||
35 | src/libinput-seat.c | 6 ++++++ | ||
36 | src/main.c | 5 +++++ | ||
37 | weston.ini.in | 1 + | ||
38 | 5 files changed, 21 insertions(+) | ||
39 | |||
40 | diff --git a/man/weston.ini.man b/man/weston.ini.man | ||
41 | index a9b6026..668b16f 100644 | ||
42 | --- a/man/weston.ini.man | ||
43 | +++ b/man/weston.ini.man | ||
44 | @@ -169,6 +169,11 @@ time, the one specified in the command-line will be used. On the other | ||
45 | hand, if none of these sets the value, default idle timeout will be | ||
46 | set to 300 seconds. | ||
47 | .RS | ||
48 | +.PP | ||
49 | +.RE | ||
50 | +.TP 7 | ||
51 | +.BI "require-input=" true | ||
52 | +require an input device for launch | ||
53 | |||
54 | .SH "LIBINPUT SECTION" | ||
55 | The | ||
56 | diff --git a/src/compositor.h b/src/compositor.h | ||
57 | index c4c81f0..292a412 100644 | ||
58 | --- a/src/compositor.h | ||
59 | +++ b/src/compositor.h | ||
60 | @@ -701,6 +701,10 @@ struct weston_compositor { | ||
61 | |||
62 | void *user_data; | ||
63 | void (*exit)(struct weston_compositor *c); | ||
64 | + | ||
65 | + /* Whether to let the compositor run without any input device. */ | ||
66 | + bool require_input; | ||
67 | + | ||
68 | }; | ||
69 | |||
70 | struct weston_buffer { | ||
71 | diff --git a/src/libinput-seat.c b/src/libinput-seat.c | ||
72 | index c9f9ed2..1c4c358 100644 | ||
73 | --- a/src/libinput-seat.c | ||
74 | +++ b/src/libinput-seat.c | ||
75 | @@ -250,6 +250,12 @@ udev_input_enable(struct udev_input *input) | ||
76 | devices_found = 1; | ||
77 | } | ||
78 | |||
79 | + if (devices_found == 0 && !c->require_input) { | ||
80 | + weston_log("warning: no input devices found, but none required " | ||
81 | + "as per configuration.\n"); | ||
82 | + return 0; | ||
83 | + } | ||
84 | + | ||
85 | if (devices_found == 0) { | ||
86 | weston_log( | ||
87 | "warning: no input devices on entering Weston. " | ||
88 | diff --git a/src/main.c b/src/main.c | ||
89 | index a98570e..b8632e9 100644 | ||
90 | --- a/src/main.c | ||
91 | +++ b/src/main.c | ||
92 | @@ -658,6 +658,7 @@ int main(int argc, char *argv[]) | ||
93 | struct wl_client *primary_client; | ||
94 | struct wl_listener primary_client_destroyed; | ||
95 | struct weston_seat *seat; | ||
96 | + int require_input; | ||
97 | |||
98 | const struct weston_option core_options[] = { | ||
99 | { WESTON_OPTION_STRING, "backend", 'B', &backend }, | ||
100 | @@ -737,6 +738,10 @@ int main(int argc, char *argv[]) | ||
101 | if (weston_compositor_init_config(ec, config) < 0) | ||
102 | goto out_signals; | ||
103 | |||
104 | + weston_config_section_get_bool(section, "require-input", | ||
105 | + &require_input, true); | ||
106 | + ec->require_input = require_input; | ||
107 | + | ||
108 | if (backend_init(ec, &argc, argv, config) < 0) { | ||
109 | weston_log("fatal: failed to create compositor backend\n"); | ||
110 | goto out_signals; | ||
111 | diff --git a/weston.ini.in b/weston.ini.in | ||
112 | index 06b51df..e9ef992 100644 | ||
113 | --- a/weston.ini.in | ||
114 | +++ b/weston.ini.in | ||
115 | @@ -2,6 +2,7 @@ | ||
116 | #modules=xwayland.so,cms-colord.so | ||
117 | #shell=desktop-shell.so | ||
118 | #gbm-format=xrgb2101010 | ||
119 | +#require-input=true | ||
120 | |||
121 | [shell] | ||
122 | background-image=/usr/share/backgrounds/gnome/Aqua.jpg | ||
123 | -- | ||
124 | 1.9.1 | ||
125 | |||
diff --git a/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch b/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch deleted file mode 100644 index a40eaf1..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | From 8e1efcd40b3bad81c83744e2e120d70c2b567ef2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Frederico Cadete <frederico@cadete.eu> | ||
3 | Date: Mon, 28 Sep 2015 00:30:10 +0200 | ||
4 | Subject: configure.ac: add explicit enable/disable for systemd-login support | ||
5 | |||
6 | Otherwise, auto-enable depending on whether the system has the necessary | ||
7 | libraries. | ||
8 | |||
9 | [Updated help text as per pq suggestion -- bwh] | ||
10 | |||
11 | Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> | ||
12 | Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> | ||
13 | Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | Backported from Weston git: | ||
17 | http://cgit.freedesktop.org/wayland/weston/commit/?id=8e1efc | ||
18 | |||
19 | Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> | ||
20 | |||
21 | diff --git a/configure.ac b/configure.ac | ||
22 | index a9cd429..67e80d0 100644 | ||
23 | --- a/configure.ac | ||
24 | +++ b/configure.ac | ||
25 | @@ -380,18 +380,30 @@ AC_ARG_ENABLE(resize-optimization, | ||
26 | AS_IF([test "x$enable_resize_optimization" = "xyes"], | ||
27 | [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])]) | ||
28 | |||
29 | -PKG_CHECK_MODULES(SYSTEMD_LOGIN, | ||
30 | - [libsystemd >= 209], | ||
31 | - [have_systemd_login_209=yes;have_systemd_login=yes], | ||
32 | - [have_systemd_login_209=no;have_systemd_login=no]) | ||
33 | - | ||
34 | -# Older versions of systemd package systemd-login separately. Fall back on that | ||
35 | -AS_IF([test x$have_systemd_login != xyes],[ | ||
36 | - PKG_CHECK_MODULES(SYSTEMD_LOGIN, | ||
37 | - [libsystemd-login >= 198], | ||
38 | - [have_systemd_login=yes], | ||
39 | - [have_systemd_login=no]) | ||
40 | - ]) | ||
41 | +AC_ARG_ENABLE(systemd-login, | ||
42 | + AS_HELP_STRING([--enable-systemd-login], | ||
43 | + [Enable logind support]),, | ||
44 | + enable_systemd_login=auto) | ||
45 | +if test x$enable_systemd_login != xno; then | ||
46 | + PKG_CHECK_MODULES(SYSTEMD_LOGIN, | ||
47 | + [libsystemd >= 209], | ||
48 | + [have_systemd_login_209=yes;have_systemd_login=yes], | ||
49 | + [have_systemd_login_209=no;have_systemd_login=no]) | ||
50 | + | ||
51 | + # Older versions of systemd package systemd-login separately. Fall back on that | ||
52 | + AS_IF([test x$have_systemd_login != xyes],[ | ||
53 | + PKG_CHECK_MODULES(SYSTEMD_LOGIN, | ||
54 | + [libsystemd-login >= 198], | ||
55 | + [have_systemd_login=yes], | ||
56 | + [have_systemd_login=no]) | ||
57 | + ]) | ||
58 | +else | ||
59 | + have_systemd_login=no | ||
60 | +fi | ||
61 | + | ||
62 | +if test "x$have_systemd_login" = "xno" -a "x$enable_systemd_login" = "xyes"; then | ||
63 | + AC_MSG_ERROR([systemd-login support explicitly enabled, but can't find libsystemd>=209 or libsystemd-login]) | ||
64 | +fi | ||
65 | |||
66 | AS_IF([test "x$have_systemd_login" = "xyes"], | ||
67 | [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])]) | ||
68 | -- | ||
69 | cgit v0.10.2 | ||
70 | |||
diff --git a/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch b/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch deleted file mode 100644 index 2d28d56..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | From 5eb025a867b42f8bc7bc73279eac8de58e51a13e Mon Sep 17 00:00:00 2001 | ||
2 | From: Frederico Cadete <frederico@cadete.eu> | ||
3 | Date: Mon, 28 Sep 2015 00:30:09 +0200 | ||
4 | Subject: configure.ac: add support for new versions of systemd | ||
5 | |||
6 | Starting from systemd version 209, a single libsystemd.pc is provided. | ||
7 | For previous versions, fall back on libsystemd-login.pc. | ||
8 | |||
9 | Signed-off-by: Frederico Cadete <frederico@cadete.eu> | ||
10 | Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> | ||
11 | Reviewed-by: Derek Foreman <derekf@osg.samsung.com> | ||
12 | |||
13 | Upstream-Status: Backport | ||
14 | Backported from Weston git: | ||
15 | http://cgit.freedesktop.org/wayland/weston/commit/?id=5eb025 | ||
16 | |||
17 | Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 045291c..a9cd429 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -380,14 +380,23 @@ AC_ARG_ENABLE(resize-optimization, | ||
24 | AS_IF([test "x$enable_resize_optimization" = "xyes"], | ||
25 | [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])]) | ||
26 | |||
27 | -PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login >= 198], | ||
28 | - [have_systemd_login=yes], [have_systemd_login=no]) | ||
29 | +PKG_CHECK_MODULES(SYSTEMD_LOGIN, | ||
30 | + [libsystemd >= 209], | ||
31 | + [have_systemd_login_209=yes;have_systemd_login=yes], | ||
32 | + [have_systemd_login_209=no;have_systemd_login=no]) | ||
33 | + | ||
34 | +# Older versions of systemd package systemd-login separately. Fall back on that | ||
35 | +AS_IF([test x$have_systemd_login != xyes],[ | ||
36 | + PKG_CHECK_MODULES(SYSTEMD_LOGIN, | ||
37 | + [libsystemd-login >= 198], | ||
38 | + [have_systemd_login=yes], | ||
39 | + [have_systemd_login=no]) | ||
40 | + ]) | ||
41 | + | ||
42 | AS_IF([test "x$have_systemd_login" = "xyes"], | ||
43 | [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])]) | ||
44 | AM_CONDITIONAL(HAVE_SYSTEMD_LOGIN, test "x$have_systemd_login" = "xyes") | ||
45 | |||
46 | -PKG_CHECK_MODULES(SYSTEMD_LOGIN_209, [libsystemd-login >= 209], | ||
47 | - [have_systemd_login_209=yes], [have_systemd_login_209=no]) | ||
48 | AS_IF([test "x$have_systemd_login_209" = "xyes"], | ||
49 | [AC_DEFINE([HAVE_SYSTEMD_LOGIN_209], [1], [Have systemd-login >= 209])]) | ||
50 | |||
51 | -- | ||
52 | cgit v0.10.2 | ||
53 | |||
diff --git a/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch b/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch deleted file mode 100644 index 35e6d6f..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | weston-1.5.0/configure.ac: make lcms explicitly configurable | ||
2 | |||
3 | The lcms package is outside of openembedded-core, so make it | ||
4 | explicitly configurable. Make it deterministic, so that if lcms | ||
5 | dependencies are missing, autoconf throws a fatal error. Follow | ||
6 | upstream style to make it more likely to be merged. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Index: weston-1.5.0/configure.ac | ||
11 | =================================================================== | ||
12 | --- weston-1.5.0.orig/configure.ac | ||
13 | +++ weston-1.5.0/configure.ac | ||
14 | @@ -491,12 +491,24 @@ AC_ARG_ENABLE(demo-clients-install, | ||
15 | enable_demo_clients_install=no) | ||
16 | AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "x$enable_demo_clients_install" = "xyes"]) | ||
17 | |||
18 | -PKG_CHECK_MODULES(LCMS, lcms2, | ||
19 | - [have_lcms=yes], [have_lcms=no]) | ||
20 | -if test "x$have_lcms" = xyes; then | ||
21 | - AC_DEFINE(HAVE_LCMS, 1, [Have lcms support]) | ||
22 | +AC_ARG_ENABLE(lcms, | ||
23 | + AS_HELP_STRING([--disable-lcms], | ||
24 | + [Disable lcms support]),, | ||
25 | + enable_lcms=auto) | ||
26 | +AM_CONDITIONAL(HAVE_LCMS, [test "x$enable_lcms" = xyes]) | ||
27 | +if test "x$enable_lcms" != "xno"; then | ||
28 | + PKG_CHECK_MODULES(LCMS, | ||
29 | + lcms2, | ||
30 | + [have_lcms=yes], | ||
31 | + [have_lcms=no]) | ||
32 | + if test "x$have_lcms" = "xno" -a "x$enable_lcms" = "xyes"; then | ||
33 | + AC_MSG_ERROR([lcms support explicitly requested, but lcms couldn't be found]) | ||
34 | + fi | ||
35 | + if test "x$have_lcms" = "xyes"; then | ||
36 | + enable_lcms=yes | ||
37 | + AC_DEFINE(HAVE_LCMS, 1, [Have lcms support]) | ||
38 | + fi | ||
39 | fi | ||
40 | -AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes]) | ||
41 | |||
42 | AC_PATH_PROG([wayland_scanner], [wayland-scanner]) | ||
43 | if test x$wayland_scanner = x; then | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch b/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch deleted file mode 100644 index ad07d4f..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | |||
2 | The libwebp package is outside of openembedded-core, so make it | ||
3 | explicitly configurable. Make it deterministic, so that if libwebp | ||
4 | dependencies are missing, autoconf throws a fatal error. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Index: weston-1.5.0/configure.ac | ||
9 | =================================================================== | ||
10 | --- weston-1.5.0.orig/configure.ac | ||
11 | +++ weston-1.5.0/configure.ac | ||
12 | @@ -268,9 +268,22 @@ fi | ||
13 | |||
14 | PKG_CHECK_MODULES(PIXMAN, [pixman-1]) | ||
15 | PKG_CHECK_MODULES(PNG, [libpng]) | ||
16 | -PKG_CHECK_MODULES(WEBP, [libwebp], [have_webp=yes], [have_webp=no]) | ||
17 | -AS_IF([test "x$have_webp" = "xyes"], | ||
18 | - [AC_DEFINE([HAVE_WEBP], [1], [Have webp])]) | ||
19 | +AC_ARG_ENABLE(webp, | ||
20 | + AS_HELP_STRING([--disable-webp], | ||
21 | + [Disable libwebp support]),, | ||
22 | + enable_webp=auto) | ||
23 | +AM_CONDITIONAL(HAVE_WEBP, [test "x$enable_webp" = xyes]) | ||
24 | +AS_IF([test "x$enable_webp" != "xno"], | ||
25 | + PKG_CHECK_MODULES(WEBP, | ||
26 | + [libwebp], | ||
27 | + [have_webp=yes], | ||
28 | + [have_webp=no]) | ||
29 | + AS_IF([test "x$have_webp" = "xno" -a "x$enable_webp" = "xyes"], | ||
30 | + AC_MSG_ERROR([libwebp support explicitly request, but lipwebp could not be found])) | ||
31 | + AS_IF([test "x$have_webp" = "xyes"], | ||
32 | + [enable_webp=yes] | ||
33 | + [AC_DEFINE([HAVE_WEBP], [1], [Have webp])]) | ||
34 | +) | ||
35 | |||
36 | AC_ARG_ENABLE(vaapi-recorder, [ --enable-vaapi-recorder],, | ||
37 | enable_vaapi_recorder=auto) | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston/weston.desktop b/meta-nvidia-extras/recipes/weston/weston/weston.desktop deleted file mode 100644 index 1086ae8..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/weston.desktop +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | [Desktop Entry] | ||
2 | Encoding=UTF-8 | ||
3 | Type=Application | ||
4 | Name=Weston | ||
5 | Comment=Wayland Compostitor | ||
6 | Exec=weston | ||
7 | Icon=weston | ||
8 | Terminal=false | ||
9 | Categories=Utility; | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston/weston.png b/meta-nvidia-extras/recipes/weston/weston/weston.png deleted file mode 100644 index ea8b7e0..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/weston.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start b/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start deleted file mode 100644 index b483c97..0000000 --- a/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if type Xwayland >/dev/null 2>/dev/null; then | ||
4 | mkdir -p /tmp/.X11-unix | ||
5 | |||
6 | add_weston_argument "--modules=xwayland.so" | ||
7 | fi | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston_%.bbappend b/meta-nvidia-extras/recipes/weston/weston_%.bbappend index e9a2154..c58b81b 100644 --- a/meta-nvidia-extras/recipes/weston/weston_%.bbappend +++ b/meta-nvidia-extras/recipes/weston/weston_%.bbappend | |||
@@ -1,33 +1,72 @@ | |||
1 | ############################################################################ | 1 | # Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. |
2 | ## | 2 | # |
3 | ## Copyright (C) 2017 The Qt Company Ltd. | 3 | # This program is free software; you can redistribute it and/or modify it |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | # under the terms and conditions of the GNU General Public License, |
5 | ## | 5 | # version 2, as published by the Free Software Foundation. |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | # |
7 | ## | 7 | # This program is distributed in the hope it will be useful, but WITHOUT |
8 | ## $QT_BEGIN_LICENSE:GPL$ | 8 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
9 | ## Commercial License Usage | 9 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
10 | ## Licensees holding valid commercial Qt licenses may use this file in | 10 | # more details. |
11 | ## accordance with the commercial license agreement provided with the | 11 | # |
12 | ## Software or, alternatively, in accordance with the terms contained in | 12 | # You should have received a copy of the GNU General Public License |
13 | ## a written agreement between you and The Qt Company. For licensing terms | 13 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | 14 | |
15 | ## information use the contact form at https://www.qt.io/contact-us. | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ |
16 | ## | 16 | file://src/compositor.c;endline=24;md5=70efe6a96837805b300f0317a6306837" |
17 | ## GNU General Public License Usage | 17 | |
18 | ## Alternatively, this file may be used under the terms of the GNU | 18 | SRC_URI = "file://${LNX_TOPDIR}/samples/wayland/weston \ |
19 | ## General Public License version 3 or (at your option) any later version | 19 | file://NVIDIA-weston-configure.patch" |
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | 20 | |
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | 21 | FILESEXTRAPATHS_prepend := "${THISDIR}/../${PN}:" |
22 | ## included in the packaging of this file. Please review the following | 22 | PV = "1.11.0" |
23 | ## information to ensure the GNU General Public License requirements will | 23 | |
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | 24 | S = "${WORKDIR}/${LNX_TOPDIR}/samples/wayland/weston" |
25 | ## | 25 | B = "${S}" |
26 | ## $QT_END_LICENSE$ | 26 | |
27 | ## | 27 | DEPENDS += "wayland-egl tegra-drivers" |
28 | ############################################################################ | 28 | |
29 | 29 | PACKAGECONFIG = "egl kms libinput" | |
30 | PACKAGECONFIG_remove = "kms" | 30 | |
31 | DEPENDS += "drm" | 31 | # Fix warnings by removing redundant configure flags passed to weston |
32 | 32 | EXTRA_OECONF_remove = "--enable-libinput-backend --disable-webp --disable-lcms" | |
33 | TARGET_CFLAGS += "-DWIN_INTERFACE_CUSTOM" | 33 | |
34 | # | ||
35 | # Compositor choices | ||
36 | # | ||
37 | # Weston with EGL support | ||
38 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
39 | # Weston on egloutput | ||
40 | PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev mtdev" | ||
41 | |||
42 | CFLAGS += " -DWAYLAND=1 " | ||
43 | |||
44 | LDFLAGS += " -lnvidia-egl-wayland " | ||
45 | |||
46 | do_configure_prepend() { | ||
47 | cd ${S} | ||
48 | NOCONFIGURE=1 ./autogen.sh | ||
49 | cd ${B} | ||
50 | } | ||
51 | |||
52 | do_install_append() { | ||
53 | # create dir | ||
54 | install -d ${D}/${ROOT_HOME}/.config | ||
55 | |||
56 | sed -i 's/\/usr\/local\/bin\/weston-ivi-shell-user-interface/\/usr\/lib\/weston\/weston-ivi-shell-user-interface/g' ${S}/tools/weston.ini | ||
57 | sed -i 's/\/usr\/local\/share\/weston\/background.png/\/usr\/share\/weston\/background.png/g' ${S}/tools/weston.ini | ||
58 | sed -i 's/\/usr\/local\/share\/weston\/panel.png/\/usr\/share\/weston\/panel.png/g' ${S}/tools/weston.ini | ||
59 | sed -i 's/\/usr\/local\/share\/weston\/tiling.png/\/usr\/share\/weston\/tiling.png/g' ${S}/tools/weston.ini | ||
60 | sed -i 's/\/usr\/local\/share\/weston\/sidebyside.png/\/usr\/share\/weston\/sidebyside.png/g' ${S}/tools/weston.ini | ||
61 | sed -i 's/\/usr\/local\/share\/weston\/fullscreen.png/\/usr\/share\/weston\/fullscreen.png/g' ${S}/tools/weston.ini | ||
62 | sed -i 's/\/usr\/local\/share\/weston\/home.png/\/usr\/share\/weston\/home.png/g' ${S}/tools/weston.ini | ||
63 | sed -i 's/\/usr\/local\/share\/weston\/random.png/\/usr\/share\/weston\/random.png/g' ${S}/tools/weston.ini | ||
64 | |||
65 | # weston.ini | ||
66 | install -m 0775 ${S}/tools/weston.ini ${D}/${ROOT_HOME}/.config | ||
67 | sed -i 's/\/include/\/include\/weston/g' ${D}/usr/lib/pkgconfig/weston.pc | ||
68 | } | ||
69 | |||
70 | FILES_${PN} += " ${ROOT_HOME}/* ${ROOT_HOME}/.config " | ||
71 | |||
72 | ALLOW_EMPTY_${PN}-examples = "1" | ||
diff --git a/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb b/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb deleted file mode 100644 index 3fdfbab..0000000 --- a/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | SUMMARY = "Weston, a Wayland compositor" | ||
2 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | ||
3 | HOMEPAGE = "http://wayland.freedesktop.org" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | ||
6 | file://src/compositor.c;endline=23;md5=1d535fed266cf39f6d8c0647f52ac331" | ||
7 | |||
8 | SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | ||
9 | file://weston.png \ | ||
10 | file://weston.desktop \ | ||
11 | file://make-lcms-explicitly-configurable.patch \ | ||
12 | file://make-libwebp-explicitly-configurable.patch \ | ||
13 | file://0001-make-error-portable.patch \ | ||
14 | file://libsystemd.patch \ | ||
15 | file://explicit-enable-disable-systemd.patch \ | ||
16 | file://add-config-option-for-no-input-device.patch \ | ||
17 | " | ||
18 | SRC_URI[md5sum] = "66bbba12f546570b4d97f676bc79a28e" | ||
19 | SRC_URI[sha256sum] = "9c1b03f3184fa0b0dfdf67e215048085156e1a2ca344af6613fed36794ac48cf" | ||
20 | |||
21 | inherit autotools pkgconfig useradd distro_features_check | ||
22 | # depends on virtual/egl | ||
23 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
24 | |||
25 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" | ||
26 | DEPENDS += "wayland libinput virtual/egl pango wayland-native" | ||
27 | |||
28 | EXTRA_OECONF = "--enable-setuid-install \ | ||
29 | --enable-simple-clients \ | ||
30 | --enable-clients \ | ||
31 | --enable-demo-clients-install \ | ||
32 | --disable-rpi-compositor \ | ||
33 | --disable-rdp-compositor \ | ||
34 | " | ||
35 | |||
36 | EXTRA_OECONF_append_qemux86 = "\ | ||
37 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
38 | " | ||
39 | EXTRA_OECONF_append_qemux86-64 = "\ | ||
40 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
41 | " | ||
42 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ | ||
43 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
44 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \ | ||
45 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | ||
46 | " | ||
47 | # | ||
48 | # Compositor choices | ||
49 | # | ||
50 | # Weston on KMS | ||
51 | PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev" | ||
52 | # Weston on Wayland (nested Weston) | ||
53 | PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa" | ||
54 | # Weston on X11 | ||
55 | PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo" | ||
56 | # Headless Weston | ||
57 | PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor" | ||
58 | # Weston on framebuffer | ||
59 | PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev" | ||
60 | # weston-launch | ||
61 | PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm" | ||
62 | # VA-API desktop recorder | ||
63 | PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva" | ||
64 | # Weston with EGL support | ||
65 | PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl" | ||
66 | # Weston with cairo glesv2 support | ||
67 | PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo" | ||
68 | # Weston with lcms support | ||
69 | PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms" | ||
70 | # Weston with webp support | ||
71 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
72 | # Weston with unwinding support | ||
73 | PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" | ||
74 | # Weston with systemd-login support | ||
75 | PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus" | ||
76 | # Weston with Xwayland support | ||
77 | PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,libxcb libxcursor cairo" | ||
78 | # colord CMS support | ||
79 | PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord" | ||
80 | |||
81 | do_install_append() { | ||
82 | # Weston doesn't need the .la files to load modules, so wipe them | ||
83 | rm -f ${D}/${libdir}/weston/*.la | ||
84 | |||
85 | # If X11, ship a desktop file to launch it | ||
86 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "x11" ]; then | ||
87 | install -d ${D}${datadir}/applications | ||
88 | install ${WORKDIR}/weston.desktop ${D}${datadir}/applications | ||
89 | |||
90 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | ||
91 | install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | ||
92 | fi | ||
93 | } | ||
94 | |||
95 | PACKAGES += "${PN}-examples" | ||
96 | |||
97 | FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}" | ||
98 | FILES_${PN}-examples = "${bindir}/*" | ||
99 | |||
100 | RDEPENDS_${PN} += "xkeyboard-config" | ||
101 | RRECOMMENDS_${PN} = "liberation-fonts" | ||
102 | |||
103 | USERADD_PACKAGES = "${PN}" | ||
104 | GROUPADD_PARAM_${PN} = "--system weston-launch" | ||
diff --git a/meta-raspberrypi-extras/conf/layer.conf b/meta-raspberrypi-extras/conf/layer.conf index 9e64b87..0e85afe 100644 --- a/meta-raspberrypi-extras/conf/layer.conf +++ b/meta-raspberrypi-extras/conf/layer.conf | |||
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_rpi" | 38 | BBFILE_COLLECTIONS += "b2qt_rpi" |
39 | BBFILE_PATTERN_b2qt_rpi := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_rpi := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_rpi = "20" | 40 | BBFILE_PRIORITY_b2qt_rpi = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_rpi = "sumo" | ||
diff --git a/meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend b/meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend deleted file mode 100644 index 1b8e44e..0000000 --- a/meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 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 | do_deploy_append() { | ||
31 | echo "dtparam=audio=on" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
32 | } | ||
diff --git a/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend b/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend deleted file mode 100644 index 5f5e919..0000000 --- a/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | # | ||
2 | # Need to make this conditional to gstreamer1 | ||
3 | # | ||
4 | SRC_URI_append_rpi = " \ | ||
5 | file://0001-config-files-path.patch \ | ||
6 | file://0001-Don-t-try-to-acquire-buffer-when-src-pad-isn-t-activ.patch \ | ||
7 | file://0002-fix-decoder-flushing.patch \ | ||
8 | file://0003-no-timeout-on-get-state.patch \ | ||
9 | file://0004-Properly-handle-drain-requests-while-flushing.patch \ | ||
10 | file://0005-Don-t-abort-gst_omx_video_dec_set_format-if-there-s-.patch \ | ||
11 | " | ||
12 | |||
13 | FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.12:" | ||
diff --git a/meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch b/meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch new file mode 100644 index 0000000..d21fd09 --- /dev/null +++ b/meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From e977e56df364e3a89e08bd7b8a27d30360b0ccc7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hugo Hromic <hhromic@gmail.com> | ||
3 | Date: Sun, 13 May 2018 10:49:04 +0100 | ||
4 | Subject: [PATCH] khronos: backport typedef for EGL_EXT_image_dma_buf_import | ||
5 | |||
6 | The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which | ||
7 | expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. | ||
8 | However, the older version included in userland does not provide it. | ||
9 | |||
10 | This patch backports the missing typedef from recent Khronos into userland. | ||
11 | See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h> | ||
12 | |||
13 | Submitted to userland in <https://github.com/raspberrypi/userland/pull/467> | ||
14 | |||
15 | Upstream-Status: Submitted | ||
16 | --- | ||
17 | interface/khronos/include/EGL/eglext.h | 4 ++++ | ||
18 | 1 file changed, 4 insertions(+) | ||
19 | |||
20 | diff --git a/interface/khronos/include/EGL/eglext.h b/interface/khronos/include/EGL/eglext.h | ||
21 | index 89a3369..87cf7d2 100755 | ||
22 | --- a/interface/khronos/include/EGL/eglext.h | ||
23 | +++ b/interface/khronos/include/EGL/eglext.h | ||
24 | @@ -190,6 +190,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSy | ||
25 | typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value); | ||
26 | #endif | ||
27 | |||
28 | +#ifndef EGL_KHR_uint64_typedef | ||
29 | +#define EGL_KHR_uint64_typedef 1 | ||
30 | +typedef khronos_uint64_t EGLuint64KHR; | ||
31 | +#endif /* EGL_KHR_uint64_typedef */ | ||
32 | |||
33 | #ifdef __cplusplus | ||
34 | } | ||
diff --git a/meta-intel-extras/recipes/initramfs-basic/init-basic.bbappend b/meta-raspberrypi-extras/recipes/userland/userland_git.bbappend index ab69a09..dc421e5 100644 --- a/meta-intel-extras/recipes/initramfs-basic/init-basic.bbappend +++ b/meta-raspberrypi-extras/recipes/userland/userland_git.bbappend | |||
@@ -29,10 +29,7 @@ | |||
29 | 29 | ||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
31 | 31 | ||
32 | SRC_URI += "file://init-device.sh" | 32 | SRC_URI += "file://0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch" |
33 | 33 | ||
34 | do_install_append () { | 34 | SRCREV = "2448644657e5fbfd82299416d218396ee1115ece" |
35 | install -m 0755 ${WORKDIR}/init-device.sh ${D}/init-device | 35 | PV = "20180511" |
36 | } | ||
37 | |||
38 | FILES_${PN} += "/init-device" | ||
diff --git a/meta-renesas-extras/conf/layer.conf b/meta-renesas-extras/conf/layer.conf index 36091df..83dde0e 100644 --- a/meta-renesas-extras/conf/layer.conf +++ b/meta-renesas-extras/conf/layer.conf | |||
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_renesas" | 38 | BBFILE_COLLECTIONS += "b2qt_renesas" |
39 | BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_renesas = "20" | 40 | BBFILE_PRIORITY_b2qt_renesas = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_renesas = "sumo" | ||
diff --git a/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend b/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend index 801a073..8a62d82 100644 --- a/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend +++ b/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend | |||
@@ -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,5 +27,5 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | CFLAGS[unexport] = "" | 30 | LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443" |
31 | CFLAGS = "-Wno-error=pedantic" | 31 | SRCREV = "dcb310296c07bce69149fa9d74f1848cdfd01f5a" |
diff --git a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index 85be953..9658abf 100644 --- a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | |||
@@ -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,4 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | DEPENDS += "wayland-kms libgbm" | 30 | DEPENDS_append_draak = " wayland-kms libgbm" |
diff --git a/meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend b/meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend new file mode 100644 index 0000000..ad0959f --- /dev/null +++ b/meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend | |||
@@ -0,0 +1,30 @@ | |||
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 | EXTRA_OEMAKE_append_draak = " COMMON_FLAGS="-Wno-error=expansion-to-defined"" | ||
diff --git a/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/kernel-module-vsp2driver/kernel-module-vsp2driver.bbappend index 35f66f4..19fbff6 100644 --- a/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend +++ b/meta-renesas-extras/recipes/kernel-module-vsp2driver/kernel-module-vsp2driver.bbappend | |||
@@ -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,5 +27,5 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev" | 30 | # upstream recipe includes kernel module to wrong package |
31 | PROVIDES += "virtual/libgbm" | 31 | FILES_${PN}_draak = "" |
diff --git a/meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend b/meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend new file mode 100644 index 0000000..19fbff6 --- /dev/null +++ b/meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend | |||
@@ -0,0 +1,31 @@ | |||
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 | # upstream recipe includes kernel module to wrong package | ||
31 | FILES_${PN}_draak = "" | ||
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch b/meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch new file mode 100644 index 0000000..f7e0c48 --- /dev/null +++ b/meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch | |||
@@ -0,0 +1,124 @@ | |||
1 | From 32e78d93f53889686bc1d90865fcc33ec5c9e80d Mon Sep 17 00:00:00 2001 | ||
2 | From: Linus Torvalds <torvalds@linux-foundation.org> | ||
3 | Date: Thu, 2 Mar 2017 12:17:22 -0800 | ||
4 | Subject: [PATCH] give up on gcc ilog2() constant optimizations | ||
5 | |||
6 | gcc-7 has an "optimization" pass that completely screws up, and | ||
7 | generates the code expansion for the (impossible) case of calling | ||
8 | ilog2() with a zero constant, even when the code gcc compiles does not | ||
9 | actually have a zero constant. | ||
10 | |||
11 | And we try to generate a compile-time error for anybody doing ilog2() on | ||
12 | a constant where that doesn't make sense (be it zero or negative). So | ||
13 | now gcc7 will fail the build due to our sanity checking, because it | ||
14 | created that constant-zero case that didn't actually exist in the source | ||
15 | code. | ||
16 | |||
17 | There's a whole long discussion on the kernel mailing about how to work | ||
18 | around this gcc bug. The gcc people themselevs have discussed their | ||
19 | "feature" in | ||
20 | |||
21 | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72785 | ||
22 | |||
23 | but it's all water under the bridge, because while it looked at one | ||
24 | point like it would be solved by the time gcc7 was released, that was | ||
25 | not to be. | ||
26 | |||
27 | So now we have to deal with this compiler braindamage. | ||
28 | |||
29 | And the only simple approach seems to be to just delete the code that | ||
30 | tries to warn about bad uses of ilog2(). | ||
31 | |||
32 | So now "ilog2()" will just return 0 not just for the value 1, but for | ||
33 | any non-positive value too. | ||
34 | |||
35 | It's not like I can recall anybody having ever actually tried to use | ||
36 | this function on any invalid value, but maybe the sanity check just | ||
37 | meant that such code never made it out in public. | ||
38 | |||
39 | Reported-by: Laura Abbott <labbott@redhat.com> | ||
40 | Cc: John Stultz <john.stultz@linaro.org>, | ||
41 | Cc: Thomas Gleixner <tglx@linutronix.de> | ||
42 | Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> | ||
43 | Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | ||
44 | --- | ||
45 | include/linux/log2.h | 13 ++----------- | ||
46 | tools/include/linux/log2.h | 13 ++----------- | ||
47 | 2 files changed, 4 insertions(+), 22 deletions(-) | ||
48 | |||
49 | diff --git a/include/linux/log2.h b/include/linux/log2.h | ||
50 | index fd7ff3d91e6a..f38fae23bdac 100644 | ||
51 | --- a/include/linux/log2.h | ||
52 | +++ b/include/linux/log2.h | ||
53 | @@ -15,12 +15,6 @@ | ||
54 | #include <linux/types.h> | ||
55 | #include <linux/bitops.h> | ||
56 | |||
57 | -/* | ||
58 | - * deal with unrepresentable constant logarithms | ||
59 | - */ | ||
60 | -extern __attribute__((const, noreturn)) | ||
61 | -int ____ilog2_NaN(void); | ||
62 | - | ||
63 | /* | ||
64 | * non-constant log of base 2 calculators | ||
65 | * - the arch may override these in asm/bitops.h if they can be implemented | ||
66 | @@ -85,7 +79,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n) | ||
67 | #define ilog2(n) \ | ||
68 | ( \ | ||
69 | __builtin_constant_p(n) ? ( \ | ||
70 | - (n) < 1 ? ____ilog2_NaN() : \ | ||
71 | + (n) < 2 ? 0 : \ | ||
72 | (n) & (1ULL << 63) ? 63 : \ | ||
73 | (n) & (1ULL << 62) ? 62 : \ | ||
74 | (n) & (1ULL << 61) ? 61 : \ | ||
75 | @@ -148,10 +142,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n) | ||
76 | (n) & (1ULL << 4) ? 4 : \ | ||
77 | (n) & (1ULL << 3) ? 3 : \ | ||
78 | (n) & (1ULL << 2) ? 2 : \ | ||
79 | - (n) & (1ULL << 1) ? 1 : \ | ||
80 | - (n) & (1ULL << 0) ? 0 : \ | ||
81 | - ____ilog2_NaN() \ | ||
82 | - ) : \ | ||
83 | + 1 ) : \ | ||
84 | (sizeof(n) <= 4) ? \ | ||
85 | __ilog2_u32(n) : \ | ||
86 | __ilog2_u64(n) \ | ||
87 | diff --git a/tools/include/linux/log2.h b/tools/include/linux/log2.h | ||
88 | index 41446668ccce..d5677d39c1e4 100644 | ||
89 | --- a/tools/include/linux/log2.h | ||
90 | +++ b/tools/include/linux/log2.h | ||
91 | @@ -12,12 +12,6 @@ | ||
92 | #ifndef _TOOLS_LINUX_LOG2_H | ||
93 | #define _TOOLS_LINUX_LOG2_H | ||
94 | |||
95 | -/* | ||
96 | - * deal with unrepresentable constant logarithms | ||
97 | - */ | ||
98 | -extern __attribute__((const, noreturn)) | ||
99 | -int ____ilog2_NaN(void); | ||
100 | - | ||
101 | /* | ||
102 | * non-constant log of base 2 calculators | ||
103 | * - the arch may override these in asm/bitops.h if they can be implemented | ||
104 | @@ -78,7 +72,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n) | ||
105 | #define ilog2(n) \ | ||
106 | ( \ | ||
107 | __builtin_constant_p(n) ? ( \ | ||
108 | - (n) < 1 ? ____ilog2_NaN() : \ | ||
109 | + (n) < 2 ? 0 : \ | ||
110 | (n) & (1ULL << 63) ? 63 : \ | ||
111 | (n) & (1ULL << 62) ? 62 : \ | ||
112 | (n) & (1ULL << 61) ? 61 : \ | ||
113 | @@ -141,10 +135,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n) | ||
114 | (n) & (1ULL << 4) ? 4 : \ | ||
115 | (n) & (1ULL << 3) ? 3 : \ | ||
116 | (n) & (1ULL << 2) ? 2 : \ | ||
117 | - (n) & (1ULL << 1) ? 1 : \ | ||
118 | - (n) & (1ULL << 0) ? 0 : \ | ||
119 | - ____ilog2_NaN() \ | ||
120 | - ) : \ | ||
121 | + 1 ) : \ | ||
122 | (sizeof(n) <= 4) ? \ | ||
123 | __ilog2_u32(n) : \ | ||
124 | __ilog2_u64(n) \ | ||
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend b/meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend new file mode 100644 index 0000000..1a9a9da --- /dev/null +++ b/meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend | |||
@@ -0,0 +1,32 @@ | |||
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 | FILESEXTRAPATHS_prepend_draak := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI_append_draak = " file://0001-give-up-on-gcc-ilog2-constant-optimizations.patch" | ||
diff --git a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend index 0542b65..1da4547 100644 --- a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend +++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend | |||
@@ -1,10 +1,31 @@ | |||
1 | require include/gles-control.inc | 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 | ############################################################################ | ||
2 | 29 | ||
3 | def map_libs(d): | 30 | # pick random header to make build work |
4 | if base_conditional('USE_GLES_WAYLAND', "1", "1", "0", d) == "1": | 31 | INSTALLED_HEADER_draak = "src/egl/wayland/wayland-egl/wayland-egl-backend.h" |
5 | return "wayland" | ||
6 | |||
7 | return "dummy" | ||
8 | |||
9 | MESATARGET := "${@map_libs(d)}" | ||
10 | include recipes-graphics/mesa/mesa-${MESATARGET}.inc | ||
diff --git a/meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend b/meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend deleted file mode 100644 index 03862c5..0000000 --- a/meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 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 | CFLAGS = "-Wno-error=unused-const-variable= -Wno-error=strict-aliasing -Wno-error=shift-negative-value" | ||
diff --git a/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf new file mode 100644 index 0000000..4cbbf49 --- /dev/null +++ b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "device": "/dev/dri/card0", | ||
3 | "outputs": [ | ||
4 | { | ||
5 | "name": "VGA1", | ||
6 | "mode": "off" | ||
7 | } | ||
8 | ] | ||
9 | } | ||
diff --git a/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf new file mode 100644 index 0000000..4cbbf49 --- /dev/null +++ b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "device": "/dev/dri/card0", | ||
3 | "outputs": [ | ||
4 | { | ||
5 | "name": "VGA1", | ||
6 | "mode": "off" | ||
7 | } | ||
8 | ] | ||
9 | } | ||
diff --git a/meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch b/meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch new file mode 100644 index 0000000..ed1339b --- /dev/null +++ b/meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 4b59d8fa3ba5647834d29fad58b9231c154b9136 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Tue, 16 Oct 2018 13:43:43 +0300 | ||
4 | Subject: [PATCH] Workaround missing eglGetProcAddress | ||
5 | |||
6 | Renesas boards are unable to find address for the eglGetProcAddress | ||
7 | symbol at runtime, instead do it already at link time. | ||
8 | |||
9 | Task-number: QTBUG-71152 | ||
10 | Change-Id: Ibc4251c0ab7e878a65d8c6e7b4da3952807cbc91 | ||
11 | --- | ||
12 | src/core/ozone/gl_ozone_egl_qt.cpp | 3 +++ | ||
13 | 1 file changed, 3 insertions(+) | ||
14 | |||
15 | diff --git a/src/core/ozone/gl_ozone_egl_qt.cpp b/src/core/ozone/gl_ozone_egl_qt.cpp | ||
16 | index 2fa86d79..d2362477 100644 | ||
17 | --- a/src/core/ozone/gl_ozone_egl_qt.cpp | ||
18 | +++ b/src/core/ozone/gl_ozone_egl_qt.cpp | ||
19 | @@ -98,6 +98,9 @@ bool GLOzoneEGLQt::LoadGLES2Bindings(gl::GLImplementation /*implementation*/) | ||
20 | } | ||
21 | #endif | ||
22 | |||
23 | + if (!get_proc_address) | ||
24 | + get_proc_address = &eglGetProcAddress; | ||
25 | + | ||
26 | if (!get_proc_address) { | ||
27 | LOG(ERROR) << "eglGetProcAddress not found."; | ||
28 | base::UnloadNativeLibrary(eglgles2Library); | ||
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend b/meta-renesas-extras/recipes/qt5/qtwebengine_git.bbappend index bac366d..cc13b74 100644 --- a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend +++ b/meta-renesas-extras/recipes/qt5/qtwebengine_git.bbappend | |||
@@ -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. |
@@ -28,7 +28,5 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
31 | SRC_URI += "file://0001-Support-SYSROOT-in-c_rehash.patch" | ||
32 | |||
33 | PACKAGECONFIG += "perl" | ||
34 | 31 | ||
32 | SRC_URI += "file://0001-Workaround-missing-eglGetProcAddress.patch" | ||
diff --git a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend index 47fe2ce..3a7bb52 100644 --- a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend +++ b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend | |||
@@ -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,14 +27,14 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | LICENSE = "GPLv2+" | 30 | FILESEXTRAPATHS_prepend_draak := "${THISDIR}/${PN}:" |
31 | 31 | ||
32 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 32 | SRC_URI_append_draak = " file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch" |
33 | 33 | ||
34 | SRC_URI += "file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch" | 34 | LICENSE_draak = "GPLv2+" |
35 | 35 | ||
36 | S = "${WORKDIR}/git" | 36 | S_draak = "${WORKDIR}/git" |
37 | 37 | ||
38 | do_deploy_prepend() { | 38 | do_deploy_prepend_draak() { |
39 | cp ${B}/${UBOOT_SREC} ${S}/${UBOOT_SREC} | 39 | cp ${B}/${UBOOT_SREC} ${S}/${UBOOT_SREC} |
40 | } | 40 | } |
diff --git a/meta-renesas-extras/recipes/wayland/libgbm.bbappend b/meta-renesas-extras/recipes/wayland/libgbm.bbappend index fd11a50..502c7cc 100644 --- a/meta-renesas-extras/recipes/wayland/libgbm.bbappend +++ b/meta-renesas-extras/recipes/wayland/libgbm.bbappend | |||
@@ -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. |
@@ -28,3 +28,10 @@ | |||
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | PROVIDES += "virtual/libgbm" | 30 | PROVIDES += "virtual/libgbm" |
31 | |||
32 | DEPENDS_append_draak = " udev" | ||
33 | |||
34 | SRCREV = "a0c7d6c97fe1fffe45eee524060cbb12767c6461" | ||
35 | SRCREV_draak = "bc04aefc9d5322f8b2dc1ecb15d0713bbab684b8" | ||
36 | |||
37 | SRC_URI = "git://github.com/renesas-rcar/libgbm;branch=rcar-gen3" | ||
diff --git a/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend index 0cd3eec..1330d5f 100644 --- a/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend +++ b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend | |||
@@ -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,4 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | DEPENDS += "wayland-native" | 30 | DEPENDS_append_draak = " wayland-native" |
diff --git a/meta-renesas-extras/recipes/wayland/weston_%.bbappend b/meta-renesas-extras/recipes/wayland/weston_%.bbappend new file mode 100644 index 0000000..9385f7a --- /dev/null +++ b/meta-renesas-extras/recipes/wayland/weston_%.bbappend | |||
@@ -0,0 +1,30 @@ | |||
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 | EXTRA_OECONF_append_draak = " WAYLAND_PROTOCOLS_SYSROOT_DIR=" | ||
diff --git a/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend b/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend deleted file mode 100644 index ef14c2f..0000000 --- a/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 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 | EXTRA_OECONF += "WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}" | ||
diff --git a/meta-smx6-extras/conf/layer.conf b/meta-smx6-extras/conf/layer.conf index 566fb41..8a68860 100644 --- a/meta-smx6-extras/conf/layer.conf +++ b/meta-smx6-extras/conf/layer.conf | |||
@@ -43,3 +43,5 @@ BBFILE_PRIORITY_b2qt_smx6 = "20" | |||
43 | LAYERDEPENDS_smx6 = "" | 43 | LAYERDEPENDS_smx6 = "" |
44 | # meta-smx6 layer.conf modifies qtbase PACKAGECONFIG | 44 | # meta-smx6 layer.conf modifies qtbase PACKAGECONFIG |
45 | PACKAGECONFIG_remove_pn-qtbase = "examples" | 45 | PACKAGECONFIG_remove_pn-qtbase = "examples" |
46 | |||
47 | LAYERSERIES_COMPAT_b2qt_smx6 = "sumo" | ||
diff --git a/meta-tegra-extras/conf/layer.conf b/meta-tegra-extras/conf/layer.conf index c170570..f5b4906 100644 --- a/meta-tegra-extras/conf/layer.conf +++ b/meta-tegra-extras/conf/layer.conf | |||
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_tegra" | 38 | BBFILE_COLLECTIONS += "b2qt_tegra" |
39 | BBFILE_PATTERN_b2qt_tegra := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_tegra := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_tegra = "20" | 40 | BBFILE_PRIORITY_b2qt_tegra = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_tegra = "sumo" | ||
diff --git a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend b/meta-tegra-extras/recipes/drm/libdrm_%.bbappend deleted file mode 100644 index bf4cc08..0000000 --- a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | inherit update-alternatives | ||
2 | |||
3 | do_install_append() { | ||
4 | mv ${D}${libdir}/libdrm.so.2.4.0 ${D}${libdir}/libdrm-freedesktop.so.2.4.0 | ||
5 | rm ${D}${libdir}/libdrm.so | ||
6 | rm ${D}${libdir}/libdrm.so.2 | ||
7 | ln -sf libdrm-freedesktop.so.2.4.0 ${D}${libdir}/libdrm.so | ||
8 | ln -sf libdrm-freedesktop.so.2.4.0 ${D}${libdir}/libdrm.so.2 | ||
9 | } | ||
10 | |||
11 | ALTERNATIVE_${PN} = "libdrm.so.2.4.0 libdrm.so.2" | ||
12 | ALTERNATIVE_LINK_NAME[libdrm.so.2.4.0] = "${libdir}/libdrm.so.2.4.0" | ||
13 | ALTERNATIVE_LINK_NAME[libdrm.so.2] = "${libdir}/libdrm.so.2" | ||
14 | ALTERNATIVE_TARGET = "${libdir}/libdrm-freedesktop.so.2.4.0" | ||
15 | ALTERNATIVE_PRIORITY = "20" | ||
diff --git a/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend b/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend index d3c4803..1450622 100644 --- a/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend +++ b/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend | |||
@@ -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. |
@@ -31,5 +31,3 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |||
31 | SRC_URI += "\ | 31 | SRC_URI += "\ |
32 | file://0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch \ | 32 | file://0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch \ |
33 | " | 33 | " |
34 | |||
35 | require recipes-kernel/linux/linux-dtb.inc | ||
diff --git a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend b/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend deleted file mode 100644 index 84a817c..0000000 --- a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 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 | PACKAGES += "${PN}-dev" | ||
31 | RRECOMMENDS_${PN}-dev += "\ | ||
32 | libgles1-mesa-dev \ | ||
33 | libgles2-mesa-dev \ | ||
34 | libgles3-mesa-dev \ | ||
35 | libegl-mesa-dev \ | ||
36 | libgl-mesa-dev \ | ||
37 | " | ||
diff --git a/meta-toradex-extras/conf/layer.conf b/meta-toradex-extras/conf/layer.conf index e39649f..3a43fd7 100644 --- a/meta-toradex-extras/conf/layer.conf +++ b/meta-toradex-extras/conf/layer.conf | |||
@@ -38,3 +38,9 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | |||
38 | BBFILE_COLLECTIONS += "b2qt_toradex" | 38 | BBFILE_COLLECTIONS += "b2qt_toradex" |
39 | BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/" | 39 | BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/" |
40 | BBFILE_PRIORITY_b2qt_toradex = "20" | 40 | BBFILE_PRIORITY_b2qt_toradex = "20" |
41 | |||
42 | LAYERSERIES_COMPAT_b2qt_toradex = "sumo" | ||
43 | |||
44 | # override toradex layer COMPATs | ||
45 | LAYERSERIES_COMPAT_toradex-bsp-common-layer = "sumo" | ||
46 | LAYERSERIES_COMPAT_toradex-nxp-layer = "sumo" | ||
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch b/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch index 1535234..1f63fee 100644 --- a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch +++ b/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 37a2e407172b37a880d04c5a7721aeff498854ad Mon Sep 17 00:00:00 2001 | 1 | From 823475bf681e1dbb4ad8e43935232ae39b918d9c Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Fri, 6 Oct 2017 15:54:35 +0300 | 3 | Date: Fri, 6 Oct 2017 15:54:35 +0300 |
4 | Subject: [PATCH] Enable atmel mxt multitouch controller for ixora v1.1 dtb | 4 | Subject: [PATCH] Enable atmel mxt multitouch controller for ixora v1.1 dtb |
@@ -6,24 +6,25 @@ Subject: [PATCH] Enable atmel mxt multitouch controller for ixora v1.1 dtb | |||
6 | Need to disable fusion touch to get the new atmel mxt multitouch | 6 | Need to disable fusion touch to get the new atmel mxt multitouch |
7 | controller to work. | 7 | controller to work. |
8 | --- | 8 | --- |
9 | arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 2 +- | 9 | arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 3 ++- |
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
11 | 11 | ||
12 | diff --git a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 12 | diff --git a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi |
13 | index 354bf80d..1181502 100644 | 13 | index 26525e24a6c7..78a1011c1ea2 100644 |
14 | --- a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 14 | --- a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi |
15 | +++ b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 15 | +++ b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi |
16 | @@ -166,7 +166,6 @@ | 16 | @@ -160,7 +160,7 @@ |
17 | reg = <0x4a>; | ||
18 | interrupt-parent = <&gpio6>; | 17 | interrupt-parent = <&gpio6>; |
19 | interrupts = <10 IRQ_TYPE_EDGE_FALLING>; | 18 | interrupts = <10 IRQ_TYPE_EDGE_FALLING>; |
19 | reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* SODIMM 13 */ | ||
20 | - status = "disabled"; | 20 | - status = "disabled"; |
21 | + status = "okay"; | ||
21 | }; | 22 | }; |
22 | 23 | ||
23 | pcap@10 { | 24 | pcap@10 { |
24 | @@ -176,6 +175,7 @@ | 25 | @@ -170,6 +170,7 @@ |
25 | gpios = <&gpio6 10 0 /* MXM3 11, Pen down interrupt */ | 26 | gpios = <&gpio6 10 GPIO_ACTIVE_HIGH /* MXM3 11, Pen down interrupt */ |
26 | &gpio6 9 0 /* MXM3 13, Reset */ | 27 | &gpio6 9 GPIO_ACTIVE_HIGH /* MXM3 13, Reset */ |
27 | >; | 28 | >; |
28 | + status = "disabled"; | 29 | + status = "disabled"; |
29 | }; | 30 | }; |
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex_4.1-2.0.x.bbappend b/meta-toradex-extras/recipes/linux/linux-toradex_4.9-1.0.x.bbappend index eadfa15..eadfa15 100644 --- a/meta-toradex-extras/recipes/linux/linux-toradex_4.1-2.0.x.bbappend +++ b/meta-toradex-extras/recipes/linux/linux-toradex_4.9-1.0.x.bbappend | |||
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index 3910d63..5087d4b 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -18,69 +18,74 @@ | |||
18 | 18 | ||
19 | <project name="poky" | 19 | <project name="poky" |
20 | remote="yocto" | 20 | remote="yocto" |
21 | revision="b0ede5088b2f4338ea5faf5db46d67eb1c7e8243" | 21 | revision="36d5cee56bd389ecbe66dbfad9e5d57c13b56b95" |
22 | path="sources/poky"/> | 22 | path="sources/poky"/> |
23 | <project name="meta-openembedded" | 23 | <project name="meta-openembedded" |
24 | remote="oe-mirror" | 24 | remote="oe-mirror" |
25 | revision="9eaebc6e783f1394bb5444326cd05a976b3122e9" | 25 | revision="2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966" |
26 | path="sources/meta-openembedded"/> | 26 | path="sources/meta-openembedded"/> |
27 | <project name="meta-qt5" | 27 | <project name="meta-qt5" |
28 | remote="qtyocto" | 28 | remote="qtyocto" |
29 | revision="3439f344fbb4c1ee2b13ddb54435716c53d79be2" | 29 | revision="406b7338f11c64502bba97aef50c381d8922ebb6" |
30 | path="sources/meta-qt5"/> | 30 | path="sources/meta-qt5"/> |
31 | <project name="meta-mingw" | 31 | <project name="meta-mingw" |
32 | remote="qtyocto" | 32 | remote="qtyocto" |
33 | revision="2a5619ffdc0f02f57e0c36387fd25c8540c60a8a" | 33 | revision="fde300483f2133489c1f16b5b03a22050613787b" |
34 | path="sources/meta-mingw"/> | 34 | path="sources/meta-mingw"/> |
35 | 35 | ||
36 | <project name="meta-freescale" | 36 | <project name="meta-freescale" |
37 | remote="freescale" | 37 | remote="freescale" |
38 | revision="af5a8cf74d488ba45715ed0b0e0441e60b10c31d" | 38 | revision="2813c0c59a81498afab26a2b1f90db07728df2ed" |
39 | path="sources/meta-freescale" | 39 | path="sources/meta-freescale" |
40 | groups="notdefault,external,fsl,toradex,smx6,renesas-gen3,boundary,fsl-imx8"/> | 40 | groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/> |
41 | <project name="meta-freescale-3rdparty" | 41 | <project name="meta-freescale-3rdparty" |
42 | remote="freescale" | 42 | remote="freescale" |
43 | revision="9613dbc02ca970122a01c935bc9e5789ced73a9d" | 43 | revision="ba684412e6983eeda0ef7158a724305f0f1a2f0a" |
44 | path="sources/meta-freescale-3rdparty" | 44 | path="sources/meta-freescale-3rdparty" |
45 | groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/> | 45 | groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/> |
46 | <project name="meta-raspberrypi" | 46 | <project name="meta-raspberrypi" |
47 | remote="yocto" | 47 | remote="yocto" |
48 | revision="f2e2a4376e84dec6e5efeabaa86a4406fddf7dcd" | 48 | revision="2d40b000021bc8a9ef7f329ed0ad410f8d227b97" |
49 | path="sources/meta-raspberrypi" | 49 | path="sources/meta-raspberrypi" |
50 | groups="notdefault,external,rpi"/> | 50 | groups="notdefault,external,rpi"/> |
51 | <project name="meta-intel" | 51 | <project name="meta-intel" |
52 | remote="intel" | 52 | remote="intel" |
53 | revision="9b37952d6af36358b6397cedf3dd53ec8962b6bf" | 53 | revision="b736eed4746899e76a84545471bf06da09a8b64a" |
54 | path="sources/meta-intel" | 54 | path="sources/meta-intel" |
55 | groups="notdefault,external,intel"/> | 55 | groups="notdefault,external,intel"/> |
56 | <project name="meta-tegra" | 56 | <project name="meta-tegra" |
57 | remote="madisongh" | 57 | remote="madisongh" |
58 | revision="4aea5e3785dc400e31981467f475b54e652dbd67" | 58 | revision="6b6942c8dd15c2b4a460d46e803b962663955fde" |
59 | path="sources/meta-tegra" | 59 | path="sources/meta-tegra" |
60 | groups="notdefault,external,jetson"/> | 60 | groups="notdefault,external,jetson"/> |
61 | <project name="meta-renesas" | 61 | <project name="meta-renesas" |
62 | remote="renesas" | 62 | remote="renesas" |
63 | revision="95cb48ba09bc7e55fd549817e3e26723409e68d5" | 63 | revision="276e6ae724d7e604e0d28e4670b8c9edea2957e3" |
64 | path="sources/meta-renesas" | 64 | path="sources/meta-renesas" |
65 | groups="notdefault,external,renesas-gen3"/> | 65 | groups="notdefault,external,renesas-gen3"/> |
66 | <project name="meta-renesas" | ||
67 | remote="renesas" | ||
68 | revision="0f865eb8b464ca717b1651e10c4ddc0c4f798423" | ||
69 | path="sources/meta-renesas-D3" | ||
70 | groups="notdefault,external,renesas-draak"/> | ||
66 | <project name="meta-linaro" | 71 | <project name="meta-linaro" |
67 | remote="linaro" | 72 | remote="linaro" |
68 | revision="74dacb34c13d1c85fe4627a890b9c04940f9ffeb" | 73 | revision="282b47a10940c26854c1cca0ec40950192af16fc" |
69 | path="sources/meta-linaro" | 74 | path="sources/meta-linaro" |
70 | groups="notdefault,external,renesas-gen3"/> | 75 | groups="notdefault,external,renesas-gen3,renesas-draak"/> |
71 | <project name="meta-toradex-bsp-common" | 76 | <project name="meta-toradex-bsp-common" |
72 | remote="toradex" | 77 | remote="toradex" |
73 | revision="b6b6be765ba19454246a488f24873b9ef1f4cb78" | 78 | revision="3e713eef6e056c955b82adaf4b45286a98c3fcdf" |
74 | path="sources/meta-toradex-bsp-common" | 79 | path="sources/meta-toradex-bsp-common" |
75 | groups="notdefault,external,toradex"/> | 80 | groups="notdefault,external,toradex"/> |
76 | <project name="meta-toradex-nxp" | 81 | <project name="meta-toradex-nxp" |
77 | remote="toradex" | 82 | remote="toradex" |
78 | revision="c4f34b34bf34f44b974a7add623cafff17d880ad" | 83 | revision="656677f4a68e6747971a4a30550cd72c3beb6a76" |
79 | path="sources/meta-toradex-nxp" | 84 | path="sources/meta-toradex-nxp" |
80 | groups="notdefault,external,toradex"/> | 85 | groups="notdefault,external,toradex"/> |
81 | <project name="meta-boundary" | 86 | <project name="meta-boundary" |
82 | remote="boundary" | 87 | remote="boundary" |
83 | revision="42b00061076b2a6e15c1eeed7da6fc14a0dae9d8" | 88 | revision="107a7ceba84b87e1e2a463fea27ae5c53c4e452f" |
84 | path="sources/meta-boundary" | 89 | path="sources/meta-boundary" |
85 | groups="notdefault,external,boundary"/> | 90 | groups="notdefault,external,boundary"/> |
86 | <project name="meta-fsl-bsp-release" | 91 | <project name="meta-fsl-bsp-release" |
@@ -91,17 +96,17 @@ | |||
91 | 96 | ||
92 | <project name="nvidia-layer" | 97 | <project name="nvidia-layer" |
93 | remote="playground" | 98 | remote="playground" |
94 | revision="1fa971efec70d999ac2a57782c12625fb70e5c76" | 99 | revision="af6f41cb527f35263cf7bfde222d92600f5e66e2" |
95 | path="sources/nvidia-layer" | 100 | path="sources/nvidia-layer" |
96 | groups="notdefault,internal"/> | 101 | groups="notdefault,internal"/> |
97 | <project name="vibrante-t186" | 102 | <project name="drive-t186" |
98 | remote="playground" | 103 | remote="playground" |
99 | revision="5e04f79155936ae10bbbea72e012336be6631448" | 104 | revision="a3dc22511ed845b7fe85a7b26c64b1c37a4763c4" |
100 | path="sources/vibrante-t186" | 105 | path="sources/drive-t186" |
101 | groups="notdefault,internal"/> | 106 | groups="notdefault,internal"/> |
102 | <project name="renesas-rcar-gen3" | 107 | <project name="renesas-rcar-gen3" |
103 | remote="playground" | 108 | remote="playground" |
104 | revision="41c966df95fad1d8fca5c24676c437a46e997c5f" | 109 | revision="53a345942e4207b2fa1b19d932b5b72bd5c4761c" |
105 | path="sources/renesas-rcar-gen3" | 110 | path="sources/renesas-rcar-gen3" |
106 | groups="notdefault,internal"/> | 111 | groups="notdefault,internal"/> |
107 | <project name="meta-smx6" | 112 | <project name="meta-smx6" |
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index 44f529c..5520f53 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -65,7 +65,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
65 | nitrogen6x|nitrogen7) | 65 | nitrogen6x|nitrogen7) |
66 | LAYERSCONF="bblayers.conf.boundary.sample" | 66 | LAYERSCONF="bblayers.conf.boundary.sample" |
67 | ;; | 67 | ;; |
68 | imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp) | 68 | imx6qdlsabresd|imx7dsabresd|imx7s-warp) |
69 | LAYERSCONF="bblayers.conf.fsl.sample" | 69 | LAYERSCONF="bblayers.conf.fsl.sample" |
70 | ;; | 70 | ;; |
71 | smarc-samx6i) | 71 | smarc-samx6i) |
@@ -80,9 +80,12 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
80 | tegra-x1|tegra-t18x) | 80 | tegra-x1|tegra-t18x) |
81 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" | 81 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" |
82 | ;; | 82 | ;; |
83 | salvator-x|h3ulcb|m3ulcb) | 83 | salvator-x|h3ulcb|m3ulcb|ebisu) |
84 | LAYERSCONF="bblayers.conf.rcar-gen3.sample" | 84 | LAYERSCONF="bblayers.conf.rcar-gen3.sample" |
85 | ;; | 85 | ;; |
86 | draak) | ||
87 | LAYERSCONF="bblayers.conf.draak.sample" | ||
88 | ;; | ||
86 | emulator) | 89 | emulator) |
87 | LAYERSCONF="bblayers.conf.emulator.sample" | 90 | LAYERSCONF="bblayers.conf.emulator.sample" |
88 | ;; | 91 | ;; |
diff --git a/scripts/upload.sh b/scripts/upload.sh index e77f96d..9d4448c 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh | |||
@@ -38,6 +38,8 @@ UPLOADS="\ | |||
38 | tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.sh \ | 38 | tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.sh \ |
39 | tmp/deploy/sdk/b2qt-i686-mingw32-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.7z \ | 39 | tmp/deploy/sdk/b2qt-i686-mingw32-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.7z \ |
40 | tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-${MACHINE}.sh \ | 40 | tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-${MACHINE}.sh \ |
41 | tmp/deploy/qbsp/meta-b2qt-${PROJECT}-qbsp-x86_64-${MACHINE}-${RELEASE}.qbsp \ | ||
42 | tmp/deploy/qbsp/meta-b2qt-${PROJECT}-qbsp-i686-mingw32-${MACHINE}-${RELEASE}.qbsp \ | ||
41 | " | 43 | " |
42 | 44 | ||
43 | for f in ${UPLOADS}; do | 45 | for f in ${UPLOADS}; do |