summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xb2qt-init-build-env9
-rw-r--r--classes/bootfs-image.bbclass1
-rw-r--r--classes/consistent_timestamps.bbclass4
-rw-r--r--classes/image-hdd.bbclass15
-rw-r--r--classes/populate_b2qt_sdk.bbclass5
-rw-r--r--conf/bblayers.conf.bbb.sample58
-rw-r--r--conf/bblayers.conf.emulator.sample10
-rw-r--r--conf/bblayers.conf.fsl.sample10
-rw-r--r--conf/bblayers.conf.intel.sample10
-rw-r--r--conf/bblayers.conf.nvidia-logan.sample11
-rw-r--r--conf/bblayers.conf.nvidia-tegra.sample11
-rw-r--r--conf/bblayers.conf.rcar-gen2.sample10
-rw-r--r--conf/bblayers.conf.rpi.sample10
-rw-r--r--conf/bblayers.conf.sample23
-rw-r--r--conf/bblayers.conf.smx6.sample10
-rw-r--r--conf/bblayers.conf.ti.sample10
-rw-r--r--conf/bblayers.conf.tibidabo.sample10
-rw-r--r--conf/bblayers.conf.toradex.sample58
-rw-r--r--conf/distro/b2qt.conf3
-rw-r--r--conf/distro/include/am335x-evm.conf15
-rw-r--r--conf/distro/include/apalis-imx6.conf1
-rw-r--r--conf/distro/include/beaglebone.conf25
-rw-r--r--conf/distro/include/colibri-imx6.conf1
-rw-r--r--conf/distro/include/colibri-imx7.conf2
-rw-r--r--conf/distro/include/colibri-vf.conf4
-rw-r--r--conf/distro/include/imx6.inc3
-rw-r--r--conf/distro/include/nvidia-logan.conf21
-rw-r--r--conf/distro/include/raspberrypi.inc2
-rw-r--r--conf/distro/include/raspberrypi0.conf (renamed from recipes/udev/udev_182.bbappend)8
-rw-r--r--conf/distro/include/rcar-gen2.inc27
-rw-r--r--conf/distro/include/smarc-samx6i.conf3
-rw-r--r--conf/distro/include/tegra-t18x.conf29
-rw-r--r--conf/distro/include/ti.inc16
-rw-r--r--conf/distro/include/toradex.inc3
-rw-r--r--meta-beagleboard-extras/conf/layer.conf40
-rwxr-xr-xmeta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch34
-rw-r--r--meta-beagleboard-extras/recipes/linux/linux-mainline/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch52
-rw-r--r--meta-beagleboard-extras/recipes/linux/linux-mainline/0001-Change-extern-inline-to-static-inline.patch133
-rw-r--r--meta-beagleboard-extras/recipes/linux/linux-mainline/0001-kernel-add-support-for-gcc-5.patch99
-rwxr-xr-xmeta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch121
-rwxr-xr-xmeta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch97
-rw-r--r--meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-add-support-for-perf-registers-API.diff128
-rw-r--r--meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-wire-up-perf_regs-and-unwind-support-for-AR.patch163
-rw-r--r--meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend52
-rw-r--r--meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script.bb57
-rw-r--r--meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt6
-rw-r--r--meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend (renamed from meta-fsl-extras/recipes/linux/linux-boundary_3.14.%.bbappend)2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend (renamed from meta-fsl-extras/recipes/linux/linux-imx_3.14.%.bbappend)2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend (renamed from meta-fsl-extras/recipes/linux/linux-fslc-imx_3.14-1.%.bbappend)2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-toradex_3.14.%.bbappend (renamed from meta-toradex-extras/recipes/linux/linux-toradex_3.14.%.bbappend)0
-rw-r--r--meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend (renamed from meta-toradex-extras/recipes/linux/linux-toradex_4.%.bbappend)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc_2016.%.bbappend (renamed from meta-fsl-extras/recipes/u-boot/u-boot-fslc_2015.%.bbappend)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex.bb)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_blk.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_blk.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_eth.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_eth.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/0001-Update-only-u-boot.patch (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/0001-Update-only-u-boot.patch)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_blk.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_blk.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_eth.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_eth.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_blk.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_blk.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_eth.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_eth.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_blk.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_blk.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_eth.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_eth.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_blk.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_blk.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_eth.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_eth.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_mmc.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_mmc.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_blk.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_blk.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr (renamed from meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch (renamed from meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch)0
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend (renamed from meta-toradex-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend)0
-rw-r--r--meta-intel-extras/classes/image_dd_efi.bbclass9
-rw-r--r--meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend13
-rw-r--r--meta-intel-extras/recipes/linux/linux-yocto_4.%.bbappend (renamed from meta-intel-extras/recipes/linux/linux-yocto_3.%.bbappend)0
-rw-r--r--meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bbappend (renamed from meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend)2
-rwxr-xr-xmeta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr117
-rw-r--r--meta-ti-extras/recipes/libgles/libgles-omap3_4.09.00.01.bbappend50
-rw-r--r--meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb55
-rw-r--r--meta-ti-extras/recipes/libgles/libgles-omap3_5.01.01.01.bbappend49
-rw-r--r--meta-ti-extras/recipes/linux/linux-ti-staging_4.4.bbappend (renamed from meta-ti-extras/recipes/linux/linux-ti-staging_3.14.bbappend)1
-rw-r--r--meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch32
-rw-r--r--meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch51
-rw-r--r--meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch63
-rw-r--r--meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb66
-rw-r--r--meta-ti-extras/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch25
-rw-r--r--meta-ti-extras/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend33
-rw-r--r--meta-ti-extras/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch25
-rw-r--r--meta-ti-extras/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend33
-rw-r--r--meta-toradex-extras/conf/layer.conf40
-rw-r--r--meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab15
-rw-r--r--meta-toradex-extras/recipes/linux/linux-toradex/0001-Allow-builds-with-GCC-4.8.patch27
-rw-r--r--meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-Fusion-7-and-10-multi-touch-controller.patch25
-rw-r--r--meta-toradex-extras/recipes/linux/linux-toradex_git.bbappend39
-rw-r--r--meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx7-fix-update-u-boot.patch12
-rw-r--r--meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-vf-remove-console-from-tty1.patch25
-rw-r--r--meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch14
-rw-r--r--recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb1
-rw-r--r--recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb1
-rw-r--r--recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch23
-rw-r--r--recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend32
-rw-r--r--recipes/libgsystem/libgsystem.bb50
-rw-r--r--recipes/ostree/ostree.bb14
-rw-r--r--recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch194
-rw-r--r--recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch60
-rw-r--r--recipes/ostree/ostree/Fix-enable_rofiles_fuse-no-build.patch40
-rw-r--r--recipes/ostree/ostree/Support-for-booting-without-initramfs.patch131
-rw-r--r--recipes/ostree/ostree/deploy-add-karg-none-argument.patch62
-rw-r--r--recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch54
-rw-r--r--recipes/ostree/ostree/u-boot-Merge-ostree-s-and-systems-uEnv.txt.patch104
-rw-r--r--recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch52
-rw-r--r--recipes/packagegroup/packagegroup-b2qt-embedded-base.bb1
-rw-r--r--recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb1
-rw-r--r--recipes/python/nativesdk-prebuild-python.bb5
-rw-r--r--recipes/samba/samba_4.%.bbappend (renamed from recipes/samba/samba_4.1.12.bbappend)0
-rw-r--r--recipes/systemd/systemd/usb-rndis.network5
-rw-r--r--recipes/systemd/systemd_%.bbappend10
-rw-r--r--recipes/udev/udev/0001-support-multitouch-screens.patch28
-rw-r--r--recipes/udev/udev/beagleboard/udev-cache.default4
-rw-r--r--recipes/udev/udev/beaglebone/udev-cache.default4
-rw-r--r--recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb (renamed from recipes/virtualbox/virtualbox-guest-additions_4.3.30.bb)4
-rw-r--r--scripts/manifest.xml36
-rw-r--r--scripts/manifest_jethro.xml108
-rwxr-xr-xscripts/setup-environment.sh9
-rwxr-xr-xscripts/upload.sh2
125 files changed, 629 insertions, 2653 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 20b3d78..08abc2a 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -107,7 +107,7 @@ get_groups() {
107 PROJECT_GROUPS="external" 107 PROJECT_GROUPS="external"
108 ;; 108 ;;
109 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) 109 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7)
110 PROJECT_GROUPS="toradex" 110 PROJECT_GROUPS="fsl"
111 ;; 111 ;;
112 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd) 112 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd)
113 PROJECT_GROUPS="fsl" 113 PROJECT_GROUPS="fsl"
@@ -118,13 +118,10 @@ get_groups() {
118 tibidabo) 118 tibidabo)
119 PROJECT_GROUPS="architech" 119 PROJECT_GROUPS="architech"
120 ;; 120 ;;
121 beagleboard|am335x-evm) 121 beagleboard|beaglebone|am335x-evm)
122 PROJECT_GROUPS="ti" 122 PROJECT_GROUPS="ti"
123 ;; 123 ;;
124 beaglebone) 124 raspberrypi0|raspberrypi|raspberrypi2|raspberrypi3)
125 PROJECT_GROUPS="bbb"
126 ;;
127 raspberrypi|raspberrypi2|raspberrypi3)
128 PROJECT_GROUPS="rpi" 125 PROJECT_GROUPS="rpi"
129 ;; 126 ;;
130 intel-corei7-64) 127 intel-corei7-64)
diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass
index 2104b50..a0563ce 100644
--- a/classes/bootfs-image.bbclass
+++ b/classes/bootfs-image.bbclass
@@ -29,6 +29,7 @@
29 29
30BOOTFS_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}-${DATETIME}" 30BOOTFS_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}-${DATETIME}"
31BOOTFS_LINK_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}" 31BOOTFS_LINK_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}"
32BOOTFS_NAME[vardepsexclude] += "DATETIME"
32 33
33BOOTFS_DEPENDS ?= "" 34BOOTFS_DEPENDS ?= ""
34 35
diff --git a/classes/consistent_timestamps.bbclass b/classes/consistent_timestamps.bbclass
index 08cc401..1f560c2 100644
--- a/classes/consistent_timestamps.bbclass
+++ b/classes/consistent_timestamps.bbclass
@@ -28,8 +28,8 @@
28############################################################################ 28############################################################################
29 29
30update_file_timestaps() { 30update_file_timestaps() {
31 # Update file timestamp to 0 seconds since Epoch time. 31 # Update file timestamp to 1 second since Epoch time.
32 TZ=UTC find ${IMAGE_ROOTFS} -exec touch -h -m -t '197001010000' {} \; 32 TZ=UTC find ${IMAGE_ROOTFS} -exec touch -h -m -t '197001010000.01' {} \;
33} 33}
34 34
35ROOTFS_POSTINSTALL_COMMAND += "update_file_timestaps; " 35ROOTFS_POSTINSTALL_COMMAND += "update_file_timestaps; "
diff --git a/classes/image-hdd.bbclass b/classes/image-hdd.bbclass
index 05fd847..1391be1 100644
--- a/classes/image-hdd.bbclass
+++ b/classes/image-hdd.bbclass
@@ -27,18 +27,13 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# need to define the dependency and the ROOTFS for directdisk 30VM_ROOTFS_TYPE = "ext3"
31do_bootdirectdisk[depends] += "${PN}:do_rootfs" 31ROOT_VM = "root=/dev/hda2"
32ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" 32LABELS_VM = "boot"
33 33AUTO_SYSLINUXMENU = "0"
34SYSLINUX_ROOT = "root=/dev/hda2 "
35SYSLINUX_PROMPT = "0"
36SYSLINUX_TIMEOUT = "1"
37SYSLINUX_LABELS = "boot"
38LABELS_append = " ${SYSLINUX_LABELS} "
39SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200" 34SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200"
40 35
41inherit image_types boot-directdisk 36inherit image_types image-vm
42 37
43create_hdd_image () { 38create_hdd_image () {
44 cd ${DEPLOY_DIR_IMAGE} 39 cd ${DEPLOY_DIR_IMAGE}
diff --git a/classes/populate_b2qt_sdk.bbclass b/classes/populate_b2qt_sdk.bbclass
index 75c6e55..2902f96 100644
--- a/classes/populate_b2qt_sdk.bbclass
+++ b/classes/populate_b2qt_sdk.bbclass
@@ -38,10 +38,7 @@ replace_sysroot_symlink() {
38 #check whether TARGET is inside the sysroot when not prepend the sysroot 38 #check whether TARGET is inside the sysroot when not prepend the sysroot
39 TARGET=`echo ${TARGET} | grep "^${SYMLINK_SYSROOT}" || echo ${SYMLINK_SYSROOT}${TARGET}` 39 TARGET=`echo ${TARGET} | grep "^${SYMLINK_SYSROOT}" || echo ${SYMLINK_SYSROOT}${TARGET}`
40 rm "${SOURCE}" 40 rm "${SOURCE}"
41 if [ -d "${TARGET}" ]; then 41 if [ -f "${TARGET}" ]; then
42 cp -r "${TARGET}" "${SOURCE}"
43 replace_sysroot_symlink ${SYMLINK_SYSROOT} ${SOURCE}
44 elif [ -f "${TARGET}" ]; then
45 cp "${TARGET}" "${SOURCE}" 42 cp "${TARGET}" "${SOURCE}"
46 elif [ -e "${TARGET}" ]; then 43 elif [ -e "${TARGET}" ]; then
47 touch "${SOURCE}" 44 touch "${SOURCE}"
diff --git a/conf/bblayers.conf.bbb.sample b/conf/bblayers.conf.bbb.sample
deleted file mode 100644
index ddd469b..0000000
--- a/conf/bblayers.conf.bbb.sample
+++ /dev/null
@@ -1,58 +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# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32LCONF_VERSION = "6"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \
41 ${BSPDIR}/sources/meta-beagleboard/common-bsp \
42 ${BSPDIR}/sources/meta-ti \
43 ${BSPDIR}/sources/meta-fsl-arm \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \
46 ${BSPDIR}/sources/meta-openembedded/meta-networking \
47 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-ti-extras \
51 ${BSPDIR}/sources/meta-boot2qt/meta-beagleboard-extras \
52 ${BSPDIR}/sources/meta-mingw \
53 ${BSPDIR}/sources/meta-qt5 \
54 "
55BBLAYERS_NON_REMOVABLE ?= " \
56 ${BSPDIR}/sources/poky/meta \
57 ${BSPDIR}/sources/poky/meta-yocto \
58 "
diff --git a/conf/bblayers.conf.emulator.sample b/conf/bblayers.conf.emulator.sample
index 75d7aae..381c488 100644
--- a/conf/bblayers.conf.emulator.sample
+++ b/conf/bblayers.conf.emulator.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 41 ${BSPDIR}/sources/meta-openembedded/meta-oe \
42 ${BSPDIR}/sources/meta-openembedded/meta-python \ 42 ${BSPDIR}/sources/meta-openembedded/meta-python \
43 ${BSPDIR}/sources/meta-openembedded/meta-networking \ 43 ${BSPDIR}/sources/meta-openembedded/meta-networking \
@@ -47,7 +47,3 @@ BBLAYERS ?= " \
47 ${BSPDIR}/sources/meta-mingw \ 47 ${BSPDIR}/sources/meta-mingw \
48 ${BSPDIR}/sources/meta-qt5 \ 48 ${BSPDIR}/sources/meta-qt5 \
49 " 49 "
50BBLAYERS_NON_REMOVABLE ?= " \
51 ${BSPDIR}/sources/poky/meta \
52 ${BSPDIR}/sources/poky/meta-yocto \
53 "
diff --git a/conf/bblayers.conf.fsl.sample b/conf/bblayers.conf.fsl.sample
index 1a255de..61e12fa 100644
--- a/conf/bblayers.conf.fsl.sample
+++ b/conf/bblayers.conf.fsl.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-fsl-arm \ 41 ${BSPDIR}/sources/meta-fsl-arm \
42 ${BSPDIR}/sources/meta-fsl-arm-extra \ 42 ${BSPDIR}/sources/meta-fsl-arm-extra \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
@@ -50,7 +50,3 @@ BBLAYERS ?= " \
50 ${BSPDIR}/sources/meta-mingw \ 50 ${BSPDIR}/sources/meta-mingw \
51 ${BSPDIR}/sources/meta-qt5 \ 51 ${BSPDIR}/sources/meta-qt5 \
52 " 52 "
53BBLAYERS_NON_REMOVABLE ?= " \
54 ${BSPDIR}/sources/poky/meta \
55 ${BSPDIR}/sources/poky/meta-yocto \
56 "
diff --git a/conf/bblayers.conf.intel.sample b/conf/bblayers.conf.intel.sample
index c03ad50..e6094d6 100644
--- a/conf/bblayers.conf.intel.sample
+++ b/conf/bblayers.conf.intel.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-intel \ 41 ${BSPDIR}/sources/meta-intel \
42 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 42 ${BSPDIR}/sources/meta-openembedded/meta-oe \
43 ${BSPDIR}/sources/meta-openembedded/meta-python \ 43 ${BSPDIR}/sources/meta-openembedded/meta-python \
@@ -49,7 +49,3 @@ BBLAYERS ?= " \
49 ${BSPDIR}/sources/meta-mingw \ 49 ${BSPDIR}/sources/meta-mingw \
50 ${BSPDIR}/sources/meta-qt5 \ 50 ${BSPDIR}/sources/meta-qt5 \
51 " 51 "
52BBLAYERS_NON_REMOVABLE ?= " \
53 ${BSPDIR}/sources/poky/meta \
54 ${BSPDIR}/sources/poky/meta-yocto \
55 "
diff --git a/conf/bblayers.conf.nvidia-logan.sample b/conf/bblayers.conf.nvidia-logan.sample
index f893f8c..9a7272c 100644
--- a/conf/bblayers.conf.nvidia-logan.sample
+++ b/conf/bblayers.conf.nvidia-logan.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/nvidia-layer/meta-tegra \ 41 ${BSPDIR}/sources/nvidia-layer/meta-tegra \
42 ${BSPDIR}/sources/nvidia-layer/meta-vib3 \ 42 ${BSPDIR}/sources/nvidia-layer/meta-vib3 \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
@@ -51,8 +51,3 @@ BBLAYERS ?= " \
51 ${BSPDIR}/sources/meta-mingw \ 51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \ 52 ${BSPDIR}/sources/meta-qt5 \
53 " 53 "
54
55BBLAYERS_NON_REMOVABLE ?= " \
56 ${BSPDIR}/sources/poky/meta \
57 ${BSPDIR}/sources/poky/meta-yocto \
58 "
diff --git a/conf/bblayers.conf.nvidia-tegra.sample b/conf/bblayers.conf.nvidia-tegra.sample
index 1fbce2b..ec480ef 100644
--- a/conf/bblayers.conf.nvidia-tegra.sample
+++ b/conf/bblayers.conf.nvidia-tegra.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/nvidia-layer/meta-tegra \ 41 ${BSPDIR}/sources/nvidia-layer/meta-tegra \
42 ${BSPDIR}/sources/nvidia-layer/meta-vib4 \ 42 ${BSPDIR}/sources/nvidia-layer/meta-vib4 \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
@@ -51,8 +51,3 @@ BBLAYERS ?= " \
51 ${BSPDIR}/sources/meta-mingw \ 51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \ 52 ${BSPDIR}/sources/meta-qt5 \
53 " 53 "
54
55BBLAYERS_NON_REMOVABLE ?= " \
56 ${BSPDIR}/sources/poky/meta \
57 ${BSPDIR}/sources/poky/meta-yocto \
58 "
diff --git a/conf/bblayers.conf.rcar-gen2.sample b/conf/bblayers.conf.rcar-gen2.sample
index f19b1ea..6fc5144 100644
--- a/conf/bblayers.conf.rcar-gen2.sample
+++ b/conf/bblayers.conf.rcar-gen2.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -38,7 +38,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/meta-boot2qt \ 39 ${BSPDIR}/sources/meta-boot2qt \
40 ${BSPDIR}/sources/poky/meta \ 40 ${BSPDIR}/sources/poky/meta \
41 ${BSPDIR}/sources/poky/meta-yocto \ 41 ${BSPDIR}/sources/poky/meta-poky \
42 ${BSPDIR}/sources/meta-boot2qt/meta-renesas-extras \ 42 ${BSPDIR}/sources/meta-boot2qt/meta-renesas-extras \
43 ${BSPDIR}/sources/meta-fsl-arm \ 43 ${BSPDIR}/sources/meta-fsl-arm \
44 ${BSPDIR}/sources/meta-renesas \ 44 ${BSPDIR}/sources/meta-renesas \
@@ -51,7 +51,3 @@ BBLAYERS ?= " \
51 ${BSPDIR}/sources/meta-qt5 \ 51 ${BSPDIR}/sources/meta-qt5 \
52 ${BSPDIR}/sources/meta-mingw \ 52 ${BSPDIR}/sources/meta-mingw \
53 " 53 "
54BBLAYERS_NON_REMOVABLE ?= " \
55 ${BSPDIR}/sources/poky/meta \
56 ${BSPDIR}/sources/poky/meta-yocto \
57 "
diff --git a/conf/bblayers.conf.rpi.sample b/conf/bblayers.conf.rpi.sample
index c788ab0..e376bea 100644
--- a/conf/bblayers.conf.rpi.sample
+++ b/conf/bblayers.conf.rpi.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-raspberrypi \ 41 ${BSPDIR}/sources/meta-raspberrypi \
42 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 42 ${BSPDIR}/sources/meta-openembedded/meta-oe \
43 ${BSPDIR}/sources/meta-openembedded/meta-python \ 43 ${BSPDIR}/sources/meta-openembedded/meta-python \
@@ -49,7 +49,3 @@ BBLAYERS ?= " \
49 ${BSPDIR}/sources/meta-mingw \ 49 ${BSPDIR}/sources/meta-mingw \
50 ${BSPDIR}/sources/meta-qt5 \ 50 ${BSPDIR}/sources/meta-qt5 \
51 " 51 "
52BBLAYERS_NON_REMOVABLE ?= " \
53 ${BSPDIR}/sources/poky/meta \
54 ${BSPDIR}/sources/poky/meta-yocto \
55 "
diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample
index 8b3e578..381c488 100644
--- a/conf/bblayers.conf.sample
+++ b/conf/bblayers.conf.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,24 +37,13 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-fsl-arm \
42 ${BSPDIR}/sources/meta-fsl-arm-extra \
43 ${BSPDIR}/sources/meta-beagleboard/common-bsp \
44 ${BSPDIR}/sources/meta-ti \
45 ${BSPDIR}/sources/meta-raspberrypi \
46 ${BSPDIR}/sources/meta-toradex \
47 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 41 ${BSPDIR}/sources/meta-openembedded/meta-oe \
42 ${BSPDIR}/sources/meta-openembedded/meta-python \
43 ${BSPDIR}/sources/meta-openembedded/meta-networking \
44 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \ 45 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt \ 46 ${BSPDIR}/sources/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-ti-extras \
51 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
52 ${BSPDIR}/sources/meta-boot2qt/meta-beagleboard-extras \
53 ${BSPDIR}/sources/meta-boot2qt/meta-toradex-extras \
54 ${BSPDIR}/sources/meta-mingw \ 47 ${BSPDIR}/sources/meta-mingw \
55 ${BSPDIR}/sources/meta-qt5 \ 48 ${BSPDIR}/sources/meta-qt5 \
56 " 49 "
57BBLAYERS_NON_REMOVABLE ?= " \
58 ${BSPDIR}/sources/poky/meta \
59 ${BSPDIR}/sources/poky/meta-yocto \
60 "
diff --git a/conf/bblayers.conf.smx6.sample b/conf/bblayers.conf.smx6.sample
index 55a9535..b10e415 100644
--- a/conf/bblayers.conf.smx6.sample
+++ b/conf/bblayers.conf.smx6.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-fsl-arm \ 41 ${BSPDIR}/sources/meta-fsl-arm \
42 ${BSPDIR}/sources/meta-fsl-arm-extra \ 42 ${BSPDIR}/sources/meta-fsl-arm-extra \
43 ${BSPDIR}/sources/meta-smx6 \ 43 ${BSPDIR}/sources/meta-smx6 \
@@ -52,7 +52,3 @@ BBLAYERS ?= " \
52 ${BSPDIR}/sources/meta-mingw \ 52 ${BSPDIR}/sources/meta-mingw \
53 ${BSPDIR}/sources/meta-qt5 \ 53 ${BSPDIR}/sources/meta-qt5 \
54 " 54 "
55BBLAYERS_NON_REMOVABLE ?= " \
56 ${BSPDIR}/sources/poky/meta \
57 ${BSPDIR}/sources/poky/meta-yocto \
58 "
diff --git a/conf/bblayers.conf.ti.sample b/conf/bblayers.conf.ti.sample
index 527b404..8ad8960 100644
--- a/conf/bblayers.conf.ti.sample
+++ b/conf/bblayers.conf.ti.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-ti \ 41 ${BSPDIR}/sources/meta-ti \
42 ${BSPDIR}/sources/meta-fsl-arm \ 42 ${BSPDIR}/sources/meta-fsl-arm \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
@@ -50,7 +50,3 @@ BBLAYERS ?= " \
50 ${BSPDIR}/sources/meta-mingw \ 50 ${BSPDIR}/sources/meta-mingw \
51 ${BSPDIR}/sources/meta-qt5 \ 51 ${BSPDIR}/sources/meta-qt5 \
52 " 52 "
53BBLAYERS_NON_REMOVABLE ?= " \
54 ${BSPDIR}/sources/poky/meta \
55 ${BSPDIR}/sources/poky/meta-yocto \
56 "
diff --git a/conf/bblayers.conf.tibidabo.sample b/conf/bblayers.conf.tibidabo.sample
index 6351d1f..e71d646 100644
--- a/conf/bblayers.conf.tibidabo.sample
+++ b/conf/bblayers.conf.tibidabo.sample
@@ -27,9 +27,9 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly 31# changes incompatibly
32LCONF_VERSION = "6" 32POKY_BBLAYERS_CONF_VERSION = "2"
33 33
34BBPATH = "${TOPDIR}" 34BBPATH = "${TOPDIR}"
35BBFILES ?= "" 35BBFILES ?= ""
@@ -37,7 +37,7 @@ BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..'
37 37
38BBLAYERS ?= " \ 38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-fsl-arm \ 41 ${BSPDIR}/sources/meta-fsl-arm \
42 ${BSPDIR}/sources/meta-fsl-arm-extra \ 42 ${BSPDIR}/sources/meta-fsl-arm-extra \
43 ${BSPDIR}/sources/meta-tibidabo \ 43 ${BSPDIR}/sources/meta-tibidabo \
@@ -52,7 +52,3 @@ BBLAYERS ?= " \
52 ${BSPDIR}/sources/meta-mingw \ 52 ${BSPDIR}/sources/meta-mingw \
53 ${BSPDIR}/sources/meta-qt5 \ 53 ${BSPDIR}/sources/meta-qt5 \
54 " 54 "
55BBLAYERS_NON_REMOVABLE ?= " \
56 ${BSPDIR}/sources/poky/meta \
57 ${BSPDIR}/sources/poky/meta-yocto \
58 "
diff --git a/conf/bblayers.conf.toradex.sample b/conf/bblayers.conf.toradex.sample
deleted file mode 100644
index 7e49d04..0000000
--- a/conf/bblayers.conf.toradex.sample
+++ /dev/null
@@ -1,58 +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# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32LCONF_VERSION = "6"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-yocto \
41 ${BSPDIR}/sources/meta-toradex \
42 ${BSPDIR}/sources/meta-fsl-arm \
43 ${BSPDIR}/sources/meta-fsl-arm-extra \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \
46 ${BSPDIR}/sources/meta-openembedded/meta-networking \
47 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
51 ${BSPDIR}/sources/meta-boot2qt/meta-toradex-extras \
52 ${BSPDIR}/sources/meta-mingw \
53 ${BSPDIR}/sources/meta-qt5 \
54 "
55BBLAYERS_NON_REMOVABLE ?= " \
56 ${BSPDIR}/sources/poky/meta \
57 ${BSPDIR}/sources/poky/meta-yocto \
58 "
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf
index bf0a05b..f5839a3 100644
--- a/conf/distro/b2qt.conf
+++ b/conf/distro/b2qt.conf
@@ -56,9 +56,6 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit"
56 56
57FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache" 57FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache"
58 58
59# backport from oe/krogoth, needed by meta-qt5
60PACKAGECONFIG_CONFARGS += "${EXTRA_OECONF}"
61
62# use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 59# use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10
63DISTRO_FEATURES += "gstreamer" 60DISTRO_FEATURES += "gstreamer"
64 61
diff --git a/conf/distro/include/am335x-evm.conf b/conf/distro/include/am335x-evm.conf
index 12f8a57..cc4f573 100644
--- a/conf/distro/include/am335x-evm.conf
+++ b/conf/distro/include/am335x-evm.conf
@@ -39,20 +39,9 @@ BOOTFS_DEPENDS = "u-boot:do_deploy"
39 39
40DISTRO_FEATURES_remove = "webengine" 40DISTRO_FEATURES_remove = "webengine"
41 41
42PREFERRED_VERSION_linux-ti-staging = "3.14%" 42MACHINE_EXTRA_INSTALL += "\
43
44PREFERRED_PROVIDER_virtual/egl = "libgles-omap3"
45PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3"
46
47PREFERRED_VERSION_libgles-omap3 = "5.01.01.02"
48PREFERRED_VERSION_omap3-sgx-modules = "5.01.01.02"
49
50MACHINE_EXTRA_INSTALL = "\
51 libgles-omap3 \
52 libgles-omap3-rawdemos \
53 lighttpd \ 43 lighttpd \
54 " 44 "
55 45
56MACHINE_EXTRA_INSTALL_SDK = "\ 46MACHINE_EXTRA_INSTALL_SDK += "\
57 libgles-omap3-dev \
58 " 47 "
diff --git a/conf/distro/include/apalis-imx6.conf b/conf/distro/include/apalis-imx6.conf
index 1e8e876..7a2666b 100644
--- a/conf/distro/include/apalis-imx6.conf
+++ b/conf/distro/include/apalis-imx6.conf
@@ -27,7 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/toradex.inc
31include conf/distro/include/imx6.inc 30include conf/distro/include/imx6.inc
32include conf/distro/include/imx6-egl.inc 31include conf/distro/include/imx6-egl.inc
33 32
diff --git a/conf/distro/include/beaglebone.conf b/conf/distro/include/beaglebone.conf
index da4ed1c..372626f 100644
--- a/conf/distro/include/beaglebone.conf
+++ b/conf/distro/include/beaglebone.conf
@@ -34,34 +34,15 @@ DEPLOY_CONF_NAME = "BeagleBone Black"
34BOOTFS_CONTENT = "\ 34BOOTFS_CONTENT = "\
35 u-boot-${MACHINE}.img:u-boot.img \ 35 u-boot-${MACHINE}.img:u-boot.img \
36 MLO-${MACHINE}:MLO \ 36 MLO-${MACHINE}:MLO \
37 uEnv-${MACHINE}.txt:uEnv.txt \
38 " 37 "
39BOOTFS_DEPENDS = "u-boot:do_deploy u-boot-uenv-script:do_deploy" 38BOOTFS_DEPENDS = "u-boot:do_deploy"
40
41EXTRA_IMAGEDEPENDS += "u-boot-uenv-script"
42 39
43DISTRO_FEATURES_remove = "webengine" 40DISTRO_FEATURES_remove = "webengine"
44 41
45PREFERRED_VERSION_libgles-omap3 = "4.10.00.01" 42MACHINE_EXTRA_INSTALL += "\
46PREFERRED_VERSION_omap3-sgx-modules = "4.10.00.01"
47
48PREFERRED_PROVIDER_virtual/egl = "libgles-omap3"
49PREFERRED_PROVIDER_virtual/libgles2 = "libgles-omap3"
50
51PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
52EXTRA_IMAGEDEPENDS_remove = "u-boot-denx"
53UBOOT_MACHINE = "am335x_boneblack_config"
54KERNEL_IMAGETYPE = "zImage"
55
56MACHINE_EXTRA_INSTALL = "\
57 libgles-omap3 \
58 libgles-omap3-rawdemos \
59 " 43 "
60 44
61MACHINE_EXTRA_INSTALL_SDK = "\ 45MACHINE_EXTRA_INSTALL_SDK += "\
62 libgles-omap3-dev \
63 " 46 "
64 47
65ADB_PRODUCTID = "0xD002" 48ADB_PRODUCTID = "0xD002"
66
67DEFAULTTUNE = "armv7ahf-neon"
diff --git a/conf/distro/include/colibri-imx6.conf b/conf/distro/include/colibri-imx6.conf
index 0b4b12c..8a9bda5 100644
--- a/conf/distro/include/colibri-imx6.conf
+++ b/conf/distro/include/colibri-imx6.conf
@@ -27,7 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/toradex.inc
31include conf/distro/include/imx6.inc 30include conf/distro/include/imx6.inc
32include conf/distro/include/imx6-egl.inc 31include conf/distro/include/imx6-egl.inc
33 32
diff --git a/conf/distro/include/colibri-imx7.conf b/conf/distro/include/colibri-imx7.conf
index 16d34e2..149894f 100644
--- a/conf/distro/include/colibri-imx7.conf
+++ b/conf/distro/include/colibri-imx7.conf
@@ -20,8 +20,6 @@
20## 20##
21############################################################################# 21#############################################################################
22 22
23include conf/distro/include/toradex.inc
24
25DEPLOY_CONF_NAME = "Toradex Colibri iMX7" 23DEPLOY_CONF_NAME = "Toradex Colibri iMX7"
26 24
27IMAGE_FSTYPES += "ext3 sdcard" 25IMAGE_FSTYPES += "ext3 sdcard"
diff --git a/conf/distro/include/colibri-vf.conf b/conf/distro/include/colibri-vf.conf
index 6b2c5bf..845e2ff 100644
--- a/conf/distro/include/colibri-vf.conf
+++ b/conf/distro/include/colibri-vf.conf
@@ -27,10 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/toradex.inc
31
32BBMASK .= "|meta-fsl-arm-extra/recipes-kernel/kernel-module-mcc-toradex|meta-fsl-arm-extra/recipes-kernel/kernel-modules/kernel-module-mcc_2.1.01.bb|meta-fsl-arm-extra/recipes-bsp/mqxboot"
33
34DEPLOY_CONF_NAME = "Toradex Colibri VF" 30DEPLOY_CONF_NAME = "Toradex Colibri VF"
35 31
36IMAGE_FSTYPES += "ext3 sdcard" 32IMAGE_FSTYPES += "ext3 sdcard"
diff --git a/conf/distro/include/imx6.inc b/conf/distro/include/imx6.inc
index e686e85..25eb691 100644
--- a/conf/distro/include/imx6.inc
+++ b/conf/distro/include/imx6.inc
@@ -27,8 +27,7 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30BBMASK ?= " " 30BBMASK += "meta-fsl-arm/qt5-layer/recipes-qt/qt5"
31BBMASK .= "|meta-fsl-arm/qt5-layer/recipes-qt/qt5"
32 31
33IMAGE_FSTYPES += "ext3 sdcard" 32IMAGE_FSTYPES += "ext3 sdcard"
34 33
diff --git a/conf/distro/include/nvidia-logan.conf b/conf/distro/include/nvidia-logan.conf
index 0f932c2..23c84c6 100644
--- a/conf/distro/include/nvidia-logan.conf
+++ b/conf/distro/include/nvidia-logan.conf
@@ -53,14 +53,13 @@ MACHINE_EXTRA_INSTALL_SDK = "\
53PREFERRED_PROVIDER_libdrm ?= "libdrm-nv" 53PREFERRED_PROVIDER_libdrm ?= "libdrm-nv"
54PREFERRED_PROVIDER_drm ?= "libdrm-nv" 54PREFERRED_PROVIDER_drm ?= "libdrm-nv"
55 55
56BBMASK ?= " " 56BBMASK += "\
57BBMASK .= "\ 57 meta-vib3/recipes-kernel/linux-libc-headers \
58|meta-vib3/recipes-kernel/linux-libc-headers\ 58 meta-vib3/recipes-devtools/binutils \
59|meta-vib3/recipes-devtools/binutils\ 59 meta-vib3/recipes-core/eglibc \
60|meta-vib3/recipes-core/eglibc\ 60 meta-vib3/recipes-core/systemd \
61|meta-vib3/recipes-core/systemd\ 61 meta-vib3/recipes-connectivity \
62|meta-vib3/recipes-connectivity\ 62 meta-vib3/recipes-multimedia/pulseaudio \
63|meta-vib3/recipes-multimedia/pulseaudio\ 63 meta-vib3/recipes-core/meta/external-tegra-toolchain.bb \
64|meta-vib3/recipes-core/meta/external-tegra-toolchain.bb\ 64 meta-vib3/recipes-core/packagegroups \
65|meta-vib3/recipes-core/packagegroups\ 65 "
66"
diff --git a/conf/distro/include/raspberrypi.inc b/conf/distro/include/raspberrypi.inc
index 10b11a3..802a673 100644
--- a/conf/distro/include/raspberrypi.inc
+++ b/conf/distro/include/raspberrypi.inc
@@ -53,6 +53,4 @@ module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
53VIDEO_CAMERA = "1" 53VIDEO_CAMERA = "1"
54 54
55RPI_FT5604 = "1" 55RPI_FT5604 = "1"
56KERNEL_DEVICETREE += "overlays/rpi-ft5406-overlay.dtb"
57MACHINE_FEATURES += "pitft" 56MACHINE_FEATURES += "pitft"
58
diff --git a/recipes/udev/udev_182.bbappend b/conf/distro/include/raspberrypi0.conf
index bb44f9f..647e597 100644
--- a/recipes/udev/udev_182.bbappend
+++ b/conf/distro/include/raspberrypi0.conf
@@ -27,7 +27,11 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30include conf/distro/include/raspberrypi.inc
31 31
32SRC_URI += "file://0001-support-multitouch-screens.patch" 32DEPLOY_CONF_NAME = "Raspberry Pi Zero"
33 33
34DISTRO_FEATURES_remove = "webengine"
35
36# additional memory for GPU
37GPU_MEM = "128"
diff --git a/conf/distro/include/rcar-gen2.inc b/conf/distro/include/rcar-gen2.inc
index f196ad5..806c591 100644
--- a/conf/distro/include/rcar-gen2.inc
+++ b/conf/distro/include/rcar-gen2.inc
@@ -123,18 +123,17 @@ MACHINE_EXTRA_INSTALL_append_lcb = " \
123" 123"
124 124
125BB_MULTIMEDIA_TEST_MODULE = "\ 125BB_MULTIMEDIA_TEST_MODULE = "\
126|fdpm-tp-user-module\ 126 fdpm-tp-user-module \
127|mmngr-tp-user-module\ 127 mmngr-tp-user-module \
128|mmngrbuf-tp-user-module\ 128 mmngrbuf-tp-user-module \
129|s3ctl-tp-user-module\ 129 s3ctl-tp-user-module \
130|vspm-tp-user-module\ 130 vspm-tp-user-module \
131" 131 "
132 132
133BBMASK ?= " " 133BBMASK += "\
134BBMASK .= "\ 134 ${BB_MULTIMEDIA_TEST_MODULE} \
135${BB_MULTIMEDIA_TEST_MODULE}\ 135 dtv-module ssp-module scu-module \
136|dtv-module|ssp-module|scu-module\ 136 gles-test-module \
137|gles-test-module\ 137 poky/meta/recipes-graphics/mesa \
138|poky/meta/recipes-graphics/mesa\ 138 meta-fsl-arm/recipes-graphics/mesa \
139|meta-fsl-arm/recipes-graphics/mesa\ 139 "
140"
diff --git a/conf/distro/include/smarc-samx6i.conf b/conf/distro/include/smarc-samx6i.conf
index 95388b6..5695b1c 100644
--- a/conf/distro/include/smarc-samx6i.conf
+++ b/conf/distro/include/smarc-samx6i.conf
@@ -42,5 +42,4 @@ MACHINE_EXTRA_INSTALL = "\
42 42
43KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" 43KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
44 44
45BBMASK ?= " " 45BBMASK += "meta-smx6/recipes-qt"
46BBMASK .= "|meta-smx6/recipes-qt"
diff --git a/conf/distro/include/tegra-t18x.conf b/conf/distro/include/tegra-t18x.conf
index baf7f5c..189c4c9 100644
--- a/conf/distro/include/tegra-t18x.conf
+++ b/conf/distro/include/tegra-t18x.conf
@@ -62,18 +62,17 @@ PREFERRED_PROVIDER_wayland ?= "wayland-nv"
62PREFERRED_PROVIDER_wayland-native ?= "wayland-nv" 62PREFERRED_PROVIDER_wayland-native ?= "wayland-nv"
63PREFERRED_PROVIDER_nativesdk-wayland ?= "wayland-nv" 63PREFERRED_PROVIDER_nativesdk-wayland ?= "wayland-nv"
64 64
65BBMASK ?= " " 65BBMASK += "\
66BBMASK .= "\ 66 meta-vib4/recipes-connectivity/connman \
67|meta-vib4/recipes-connectivity/connman\ 67 meta-vib4/recipes-core/busybox \
68|meta-vib4/recipes-core/busybox\ 68 meta-vib4/recipes-core/images \
69|meta-vib4/recipes-core/images\ 69 meta-vib4/recipes-core/meta \
70|meta-vib4/recipes-core/meta\ 70 meta-vib4/recipes-core/packagegroups \
71|meta-vib4/recipes-core/packagegroups\ 71 meta-vib4/recipes-core/systemd/systemd \
72|meta-vib4/recipes-core/systemd/systemd\ 72 meta-vib4/recipes-devtools \
73|meta-vib4/recipes-devtools\ 73 meta-vib4/recipes-extended \
74|meta-vib4/recipes-extended\ 74 meta-vib4/recipes-multimedia/audiomanager \
75|meta-vib4/recipes-multimedia/audiomanager\ 75 meta-vib4/recipes-core/glibc \
76|meta-vib4/recipes-core/glibc\ 76 meta-vib4/recipes-support/lvm2 \
77|meta-vib4/recipes-support/lvm2\ 77 meta-vib4/recipes-kernel/linux-libc-headers \
78|meta-vib4/recipes-kernel/linux-libc-headers\ 78 "
79"
diff --git a/conf/distro/include/ti.inc b/conf/distro/include/ti.inc
index a445dc2..a97511a 100644
--- a/conf/distro/include/ti.inc
+++ b/conf/distro/include/ti.inc
@@ -27,11 +27,23 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30BBMASK ?= " " 30BBMASK += "meta-fsl-arm/qt5-layer/recipes-qt/qt5"
31BBMASK .= "|meta-fsl-arm/qt5-layer/recipes-qt/qt5"
32 31
33IMAGE_FSTYPES += "ext3 sdcard" 32IMAGE_FSTYPES += "ext3 sdcard"
34IMAGE_CLASSES += "image_types_fsl" 33IMAGE_CLASSES += "image_types_fsl"
35 34
36UBOOT_SUFFIX = "img" 35UBOOT_SUFFIX = "img"
37BOOT_SCRIPTS = "${BOOTFS_CONTENT}" 36BOOT_SCRIPTS = "${BOOTFS_CONTENT}"
37
38PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
39PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
40PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
41
42MACHINE_EXTRA_INSTALL += "\
43 ti-sgx-ddk-km \
44 ti-sgx-ddk-um \
45 "
46
47MACHINE_EXTRA_INSTALL_SDK += "\
48 ti-sgx-ddk-um-dev \
49 "
diff --git a/conf/distro/include/toradex.inc b/conf/distro/include/toradex.inc
index 647362d..f448fbe 100644
--- a/conf/distro/include/toradex.inc
+++ b/conf/distro/include/toradex.inc
@@ -27,9 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30BBMASK ?= " "
31BBMASK .= "|meta-toradex/recipes-mozilla|meta-toradex/recipes-browser|meta-toradex/recipes-lxde|meta-toradex/recipes-connectivity|meta-toradex/recipes-gnome|meta-toradex/recipes/trdx-config|meta-toradex/recipes-multimedia/webm|meta-toradex/recipes-qt|meta-toradex/recipes-core/psplash|meta-toradex/recipes-support/florence|meta-toradex/recipes-core/systemd|meta-toradex/recipes-efl|meta-toradex/recipes-core/dropbear|meta-toradex/recipes-support/icu|meta-toradex/recipes-support/i2c-tools|meta-toradex/recipes-benchmark|meta-toradex/recipes-core/udev|meta-toradex/recipes-support/gnutls|meta-toradex/recipes-graphics/gpu-viv-bin-mx6q|meta-toradex/recipes-multimedia/gstreamer|meta-toradex/recipes-fsl/packagegroups|meta-toradex/recipes-core/glibc|meta-toradex/recipes-sato/webkit|meta-toradex/recipes-bsp/binary-drivers/cudatoolkit6.5|meta-toradex/recipes-bsp/binary-drivers/opencv4tegra"
32
33PREFERRED_PROVIDER_u-boot = "u-boot-toradex" 30PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
34 31
35MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}" 32MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}"
diff --git a/meta-beagleboard-extras/conf/layer.conf b/meta-beagleboard-extras/conf/layer.conf
deleted file mode 100644
index 7307f55..0000000
--- a/meta-beagleboard-extras/conf/layer.conf
+++ /dev/null
@@ -1,40 +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# We have a conf and classes directory, append to BBPATH
31BBPATH .= ":${LAYERDIR}"
32
33# We have a recipes directory, add to BBFILES
34BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
35 ${LAYERDIR}/recipes*/*/*.bbappend \
36 "
37
38BBFILE_COLLECTIONS += "b2qt_bb"
39BBFILE_PATTERN_b2qt_bb := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_bb = "20"
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch
deleted file mode 100755
index 97ce000..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-AM335x-Adding-SGX-DT-node.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 1400fbf3e8e02eb1efd210a892a0d602061c7ca8 Mon Sep 17 00:00:00 2001
2From: Prathap M S <msprathap@ti.com>
3Date: Mon, 2 Sep 2013 11:42:13 +0530
4Subject: [PATCH 1/3] AM335x : Adding SGX DT node
5
6This adds the SGX DT node for AM335x.
7
8Signed-off-by: Prathap M S <msprathap@ti.com>
9---
10 arch/arm/boot/dts/am33xx.dtsi | 8 ++++++++
11 1 files changed, 8 insertions(+), 0 deletions(-)
12
13diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
14index 17e0da8..74c6e41 100644
15--- a/arch/arm/boot/dts/am33xx.dtsi
16+++ b/arch/arm/boot/dts/am33xx.dtsi
17@@ -96,6 +96,14 @@
18 reg = <0x48200000 0x1000>;
19 };
20
21+ sgx@0x56000000 {
22+ compatible = "ti,sgx";
23+ ti,hwmods = "gfx";
24+ clock-frequency = <200000000>;
25+ reg = <0x56000000 0x1000000>;
26+ interrupts = <37>;
27+ };
28+
29 edma: edma@49000000 {
30 compatible = "ti,edma3";
31 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
32--
331.7.1
34
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
deleted file mode 100644
index ee61a74..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From ef372125fd64fc181869be4cf528488f9e8b46c2 Mon Sep 17 00:00:00 2001
2From: Behan Webster <behanw@converseincode.com>
3Date: Wed, 24 Sep 2014 01:06:46 +0100
4Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
5
6With compilers which follow the C99 standard (like modern versions of gcc and
7clang), "extern inline" does the wrong thing (emits code for an externally
8linkable version of the inline function). In this case using static inline
9and removing the NULL version of return_address in return_address.c does
10the right thing.
11
12Signed-off-by: Behan Webster <behanw@converseincode.com>
13Reviewed-by: Mark Charlebois <charlebm@gmail.com>
14Acked-by: Steven Rostedt <rostedt@goodmis.org>
15Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
16---
17 arch/arm/include/asm/ftrace.h | 2 +-
18 arch/arm/kernel/return_address.c | 5 -----
19 2 files changed, 1 insertion(+), 6 deletions(-)
20
21diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
22index f89515a..2bb8cac 100644
23--- a/arch/arm/include/asm/ftrace.h
24+++ b/arch/arm/include/asm/ftrace.h
25@@ -45,7 +45,7 @@ void *return_address(unsigned int);
26
27 #else
28
29-extern inline void *return_address(unsigned int level)
30+static inline void *return_address(unsigned int level)
31 {
32 return NULL;
33 }
34diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
35index fafedd8..f6aa84d 100644
36--- a/arch/arm/kernel/return_address.c
37+++ b/arch/arm/kernel/return_address.c
38@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
39 #warning "TODO: return_address should use unwind tables"
40 #endif
41
42-void *return_address(unsigned int level)
43-{
44- return NULL;
45-}
46-
47 #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
48
49 EXPORT_SYMBOL_GPL(return_address);
50--
511.9.1
52
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-Change-extern-inline-to-static-inline.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-Change-extern-inline-to-static-inline.patch
deleted file mode 100644
index 66f031f..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-Change-extern-inline-to-static-inline.patch
+++ /dev/null
@@ -1,133 +0,0 @@
1From 0873625fb43dda5a54919b7414f235cdfdd98ddc Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 13 Apr 2016 15:42:49 +0300
4Subject: [PATCH] Change "extern inline" to "static inline"
5
6With compilers which follow the C99 standard (like modern versions of gcc and
7clang), "extern inline" does the wrong thing (emits code for an externally
8linkable version of the inline function). "static inline" is the correct choice
9instead.
10---
11 drivers/staging/rtl8192u/ieee80211/ieee80211.h | 10 +++++-----
12 drivers/staging/rtl8712/ieee80211.h | 4 ++--
13 lib/mpi/mpi-inline.h | 2 +-
14 lib/mpi/mpi-internal.h | 16 ++++++++--------
15 4 files changed, 16 insertions(+), 16 deletions(-)
16
17diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
18index 502bfdb..1c8d026 100644
19--- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h
20+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
21@@ -2254,7 +2254,7 @@ static inline void *ieee80211_priv(struct net_device *dev)
22 return ((struct ieee80211_device *)netdev_priv(dev))->priv;
23 }
24
25-extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
26+static inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
27 {
28 /* Single white space is for Linksys APs */
29 if (essid_len == 1 && essid[0] == ' ')
30@@ -2270,7 +2270,7 @@ extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
31 return 1;
32 }
33
34-extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mode)
35+static inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mode)
36 {
37 /*
38 * It is possible for both access points and our device to support
39@@ -2296,7 +2296,7 @@ extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mod
40 return 0;
41 }
42
43-extern inline int ieee80211_get_hdrlen(u16 fc)
44+static inline int ieee80211_get_hdrlen(u16 fc)
45 {
46 int hdrlen = IEEE80211_3ADDR_LEN;
47
48@@ -2582,12 +2582,12 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee);
49
50 extern const long ieee80211_wlan_frequencies[];
51
52-extern inline void ieee80211_increment_scans(struct ieee80211_device *ieee)
53+static inline void ieee80211_increment_scans(struct ieee80211_device *ieee)
54 {
55 ieee->scans++;
56 }
57
58-extern inline int ieee80211_get_scans(struct ieee80211_device *ieee)
59+static inline int ieee80211_get_scans(struct ieee80211_device *ieee)
60 {
61 return ieee->scans;
62 }
63diff --git a/drivers/staging/rtl8712/ieee80211.h b/drivers/staging/rtl8712/ieee80211.h
64index 21515c3..7518061 100644
65--- a/drivers/staging/rtl8712/ieee80211.h
66+++ b/drivers/staging/rtl8712/ieee80211.h
67@@ -734,7 +734,7 @@ enum ieee80211_state {
68 #define IEEE_G (1<<2)
69 #define IEEE_MODE_MASK (IEEE_A|IEEE_B|IEEE_G)
70
71-extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
72+static inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
73 {
74 /* Single white space is for Linksys APs */
75 if (essid_len == 1 && essid[0] == ' ')
76@@ -748,7 +748,7 @@ extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
77 return 1;
78 }
79
80-extern inline int ieee80211_get_hdrlen(u16 fc)
81+static inline int ieee80211_get_hdrlen(u16 fc)
82 {
83 int hdrlen = 24;
84
85diff --git a/lib/mpi/mpi-inline.h b/lib/mpi/mpi-inline.h
86index e2b3985..c245ea3 100644
87--- a/lib/mpi/mpi-inline.h
88+++ b/lib/mpi/mpi-inline.h
89@@ -30,7 +30,7 @@
90 #define G10_MPI_INLINE_H
91
92 #ifndef G10_MPI_INLINE_DECL
93-#define G10_MPI_INLINE_DECL extern inline
94+#define G10_MPI_INLINE_DECL static inline
95 #endif
96
97 G10_MPI_INLINE_DECL mpi_limb_t
98diff --git a/lib/mpi/mpi-internal.h b/lib/mpi/mpi-internal.h
99index 77adcf6..4566d11 100644
100--- a/lib/mpi/mpi-internal.h
101+++ b/lib/mpi/mpi-internal.h
102@@ -172,20 +172,20 @@ void mpi_rshift_limbs(MPI a, unsigned int count);
103 int mpi_lshift_limbs(MPI a, unsigned int count);
104
105 /*-- mpihelp-add.c --*/
106-mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
107- mpi_size_t s1_size, mpi_limb_t s2_limb);
108+//mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
109+// mpi_size_t s1_size, mpi_limb_t s2_limb);
110 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
111 mpi_ptr_t s2_ptr, mpi_size_t size);
112-mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
113- mpi_ptr_t s2_ptr, mpi_size_t s2_size);
114+//mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
115+// mpi_ptr_t s2_ptr, mpi_size_t s2_size);
116
117 /*-- mpihelp-sub.c --*/
118-mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
119- mpi_size_t s1_size, mpi_limb_t s2_limb);
120+//mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
121+// mpi_size_t s1_size, mpi_limb_t s2_limb);
122 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
123 mpi_ptr_t s2_ptr, mpi_size_t size);
124-mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
125- mpi_ptr_t s2_ptr, mpi_size_t s2_size);
126+//mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
127+// mpi_ptr_t s2_ptr, mpi_size_t s2_size);
128
129 /*-- mpihelp-cmp.c --*/
130 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size);
131--
1321.9.1
133
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-kernel-add-support-for-gcc-5.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-kernel-add-support-for-gcc-5.patch
deleted file mode 100644
index 13a89fb..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/0001-kernel-add-support-for-gcc-5.patch
+++ /dev/null
@@ -1,99 +0,0 @@
1From 376075b9598d602950b73cc78743735585c0a18c Mon Sep 17 00:00:00 2001
2From: Sasha Levin <sasha.levin@oracle.com>
3Date: Mon, 13 Oct 2014 15:51:05 -0700
4Subject: [PATCH] kernel: add support for gcc 5
5
6commit 71458cfc782eafe4b27656e078d379a34e472adf upstream.
7
8We're missing include/linux/compiler-gcc5.h which is required now
9because gcc branched off to v5 in trunk.
10
11Just copy the relevant bits out of include/linux/compiler-gcc4.h,
12no new code is added as of now.
13
14This fixes a build error when using gcc 5.
15
16Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
17Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
18Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20---
21 include/linux/compiler-gcc5.h | 66 +++++++++++++++++++++++++++++++++++++++++++
22 1 file changed, 66 insertions(+)
23 create mode 100644 include/linux/compiler-gcc5.h
24
25diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
26new file mode 100644
27index 0000000..cdd1cc2
28--- /dev/null
29+++ b/include/linux/compiler-gcc5.h
30@@ -0,0 +1,66 @@
31+#ifndef __LINUX_COMPILER_H
32+#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
33+#endif
34+
35+#define __used __attribute__((__used__))
36+#define __must_check __attribute__((warn_unused_result))
37+#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
38+
39+/* Mark functions as cold. gcc will assume any path leading to a call
40+ to them will be unlikely. This means a lot of manual unlikely()s
41+ are unnecessary now for any paths leading to the usual suspects
42+ like BUG(), printk(), panic() etc. [but let's keep them for now for
43+ older compilers]
44+
45+ Early snapshots of gcc 4.3 don't support this and we can't detect this
46+ in the preprocessor, but we can live with this because they're unreleased.
47+ Maketime probing would be overkill here.
48+
49+ gcc also has a __attribute__((__hot__)) to move hot functions into
50+ a special section, but I don't see any sense in this right now in
51+ the kernel context */
52+#define __cold __attribute__((__cold__))
53+
54+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
55+
56+#ifndef __CHECKER__
57+# define __compiletime_warning(message) __attribute__((warning(message)))
58+# define __compiletime_error(message) __attribute__((error(message)))
59+#endif /* __CHECKER__ */
60+
61+/*
62+ * Mark a position in code as unreachable. This can be used to
63+ * suppress control flow warnings after asm blocks that transfer
64+ * control elsewhere.
65+ *
66+ * Early snapshots of gcc 4.5 don't support this and we can't detect
67+ * this in the preprocessor, but we can live with this because they're
68+ * unreleased. Really, we need to have autoconf for the kernel.
69+ */
70+#define unreachable() __builtin_unreachable()
71+
72+/* Mark a function definition as prohibited from being cloned. */
73+#define __noclone __attribute__((__noclone__))
74+
75+/*
76+ * Tell the optimizer that something else uses this function or variable.
77+ */
78+#define __visible __attribute__((externally_visible))
79+
80+/*
81+ * GCC 'asm goto' miscompiles certain code sequences:
82+ *
83+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
84+ *
85+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
86+ * Fixed in GCC 4.8.2 and later versions.
87+ *
88+ * (asm goto is automatically volatile - the naming reflects this.)
89+ */
90+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
91+
92+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
93+#define __HAVE_BUILTIN_BSWAP32__
94+#define __HAVE_BUILTIN_BSWAP64__
95+#define __HAVE_BUILTIN_BSWAP16__
96+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
97--
981.9.1
99
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch
deleted file mode 100755
index 05672d3..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch
+++ /dev/null
@@ -1,121 +0,0 @@
1From 4179cd27a2caa23688646e043e2872e89c9a7bc7 Mon Sep 17 00:00:00 2001
2From: Prathap M S <msprathap@ti.com>
3Date: Mon, 2 Sep 2013 11:52:03 +0530
4Subject: [PATCH 2/3] AM33XX : Invoke hwmod deassert for SGX(graphics device)
5
6By default reset is asserted for SGX.
7Adding gpu.c file introducing omap_sgx_init_of() for deasserting SGX reset.
8This calls omap_device_deassert_hardreset() for deasserting the reset for SGX.
9
10Signed-off-by: Prathap M S <msprathap@ti.com>
11---
12 arch/arm/mach-omap2/Makefile | 2 +-
13 arch/arm/mach-omap2/board-generic.c | 4 +++
14 arch/arm/mach-omap2/common.h | 1 +
15 arch/arm/mach-omap2/gpu.c | 48 +++++++++++++++++++++++++++++++++++
16 4 files changed, 54 insertions(+), 1 deletions(-)
17 create mode 100644 arch/arm/mach-omap2/gpu.c
18
19diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
20index d4f6715..b65cc56 100644
21--- a/arch/arm/mach-omap2/Makefile
22+++ b/arch/arm/mach-omap2/Makefile
23@@ -8,7 +8,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
24 # Common support
25 obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
26 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
27- omap_device.o sram.o
28+ omap_device.o sram.o gpu.o
29
30 omap-2-3-common = irq.o
31 hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
32diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
33index be5d005..e2b3981 100644
34--- a/arch/arm/mach-omap2/board-generic.c
35+++ b/arch/arm/mach-omap2/board-generic.c
36@@ -22,6 +22,7 @@
37 #include "common.h"
38 #include "common-board-devices.h"
39 #include "dss-common.h"
40+#include "soc.h"
41
42 #if !(defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3))
43 #define intc_of_init NULL
44@@ -50,6 +50,8 @@ static void __init omap_generic_init(void)
45 omap4_panda_display_init_of();
46 else if (of_machine_is_compatible("ti,omap4-sdp"))
47 omap_4430sdp_display_init_of();
48+ if (omap3_has_sgx())
49+ omap_sgx_init_of();
50 }
51
52 #ifdef CONFIG_SOC_OMAP2420
53diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
54index dfcc182..7d2f04e 100644
55--- a/arch/arm/mach-omap2/common.h
56+++ b/arch/arm/mach-omap2/common.h
57@@ -296,6 +296,7 @@ extern void omap_reserve(void);
58
59 struct omap_hwmod;
60 extern int omap_dss_reset(struct omap_hwmod *);
61+void __init omap_sgx_init_of(void);
62
63 /* SoC specific clock initializer */
64 extern int (*omap_clk_init)(void);
65diff --git a/arch/arm/mach-omap2/gpu.c b/arch/arm/mach-omap2/gpu.c
66new file mode 100644
67index 0000000..98a66cf
68--- /dev/null
69+++ b/arch/arm/mach-omap2/gpu.c
70@@ -0,0 +1,48 @@
71+/*
72+ * Deassert reset for AM33xx graphics device(SGX) hwmod
73+ *
74+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
75+ * Prathap MS <msprathap@ti.com>
76+ *
77+ * This program is free software; you can redistribute it and/or
78+ * modify it under the terms of the GNU General Public License as
79+ * published by the Free Software Foundation version 2.
80+ *
81+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
82+ * kind, whether express or implied; without even the implied warranty
83+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84+ * GNU General Public License for more details.
85+ */
86+#include <linux/of_platform.h>
87+#include "omap_device.h"
88+
89+void __init omap_sgx_init_of(void)
90+{
91+ struct device_node *node;
92+ struct platform_device *pdev;
93+ int ret = 0;
94+ node = of_find_compatible_node(NULL, NULL, "ti,sgx");
95+ if (!node)
96+ return;
97+ pdev = of_find_device_by_node(node);
98+ if (!pdev) {
99+ pr_warn("of_find_device_by_node() failed for sgx\n");
100+ return;
101+ }
102+ ret = omap_device_deassert_hardreset(pdev, "gfx");
103+ if (ret != 0)
104+ pr_warn("omap_device_deassert_hardreset() failed for sgx(gfx hwmod)\n");
105+
106+ node = of_find_compatible_node(NULL, NULL, "ti,am335x-timer");
107+ if (!node)
108+ return;
109+ pdev = of_find_device_by_node(node);
110+ if (!pdev) {
111+ pr_warn("of_find_device_by_node() failed for sgx\n");
112+ return;
113+ }
114+ ret = omap_device_deassert_hardreset(pdev, "timer7");
115+ if (ret != 0)
116+ pr_warn("omap_device_deassert_hardreset() failed for sgx(gfx hwmod)\n");
117+}
118+
119--
1201.7.1
121
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch
deleted file mode 100755
index c425982..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch
+++ /dev/null
@@ -1,97 +0,0 @@
1From 0f4e7d4b7d7314b38a9fd3497d7d4e0c36d19bff Mon Sep 17 00:00:00 2001
2From: Prathap M S <msprathap@ti.com>
3Date: Mon, 2 Sep 2013 12:05:23 +0530
4Subject: [PATCH 3/3] video: da8xx-fb: Add API to register wait for vsync callback
5
6This patch adds APIs to register and unregister wait for vsync callback.
7This is derived from commit id 2d44302545da24fd22912d964102bc31a7489e97
8This commit id was part of 3.2 kernel sources.
9
10Signed-off-by: Prathap M S <msprathap@ti.com>
11---
12 drivers/video/da8xx-fb.c | 33 +++++++++++++++++++++++++++++++++
13 include/video/da8xx-fb.h | 4 ++++
14 2 files changed, 37 insertions(+), 0 deletions(-)
15
16diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
17index 131cf4c..ef06b85 100644
18--- a/drivers/video/da8xx-fb.c
19+++ b/drivers/video/da8xx-fb.c
20@@ -199,6 +199,9 @@ static struct fb_fix_screeninfo da8xx_fb_fix = {
21 .accel = FB_ACCEL_NONE
22 };
23
24+static vsync_callback_t vsync_cb_handler;
25+static void *vsync_cb_arg;
26+
27 static struct fb_videomode known_lcd_panels[] = {
28 /* Sharp LCD035Q3DG01 */
29 [0] = {
30@@ -806,6 +809,32 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
31 return 0;
32 }
33
34+int register_vsync_cb(vsync_callback_t handler, void *arg, int idx)
35+{
36+ if ((vsync_cb_handler == NULL) && (vsync_cb_arg == NULL)) {
37+ vsync_cb_arg = arg;
38+ vsync_cb_handler = handler;
39+ } else {
40+ return -EEXIST;
41+ }
42+
43+ return 0;
44+}
45+EXPORT_SYMBOL(register_vsync_cb);
46+
47+int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx)
48+{
49+ if ((vsync_cb_handler == handler) && (vsync_cb_arg == arg)) {
50+ vsync_cb_handler = NULL;
51+ vsync_cb_arg = NULL;
52+ } else {
53+ return -ENXIO;
54+ }
55+
56+ return 0;
57+}
58+EXPORT_SYMBOL(unregister_vsync_cb);
59+
60 /* IRQ handler for version 2 of LCDC */
61 static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg)
62 {
63@@ -843,6 +872,8 @@ static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg)
64 LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG);
65 par->vsync_flag = 1;
66 wake_up_interruptible(&par->vsync_wait);
67+ if (vsync_cb_handler)
68+ vsync_cb_handler(vsync_cb_arg);
69 }
70
71 if (stat & LCD_END_OF_FRAME1) {
72@@ -918,6 +949,8 @@ static irqreturn_t lcdc_irq_handler_rev01(int irq, void *arg)
73 LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG);
74 par->vsync_flag = 1;
75 wake_up_interruptible(&par->vsync_wait);
76+ if (vsync_cb_handler)
77+ vsync_cb_handler(vsync_cb_arg);
78 }
79 }
80
81diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h
82index efed3c3..a6cc484 100644
83--- a/include/video/da8xx-fb.h
84+++ b/include/video/da8xx-fb.h
85@@ -91,5 +91,9 @@ struct lcd_sync_arg {
86 /* Proprietary FB_SYNC_ flags */
87 #define FB_SYNC_CLK_INVERT 0x40000000
88
89+typedef void (*vsync_callback_t)(void *arg);
90+int register_vsync_cb(vsync_callback_t handler, void *arg, int idx);
91+int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx);
92+
93 #endif /* ifndef DA8XX_FB_H */
94
95--
961.7.1
97
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-add-support-for-perf-registers-API.diff b/meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-add-support-for-perf-registers-API.diff
deleted file mode 100644
index 13b251a..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-add-support-for-perf-registers-API.diff
+++ /dev/null
@@ -1,128 +0,0 @@
1From 8221f36672b7a1336c2bf245c394f0b5453784a1 Mon Sep 17 00:00:00 2001
2From: Will Deacon <will.deacon@arm.com>
3Date: Thu, 26 Sep 2013 12:36:35 +0100
4Subject: [PATCH] ARM: perf: add support for perf registers API
5
6This patch implements the functions required for the perf registers API,
7allowing the perf tool to interface kernel register dumps with libunwind
8in order to provide userspace backtracing.
9
10B2Qt: Backported for 3.8 kernel
11
12Cc: Jean Pihet <jean.pihet@linaro.org>
13Signed-off-by: Will Deacon <will.deacon@arm.com>
14---
15 arch/arm/Kconfig | 2 ++
16 arch/arm/include/uapi/asm/Kbuild | 1 +
17 arch/arm/include/uapi/asm/perf_regs.h | 23 +++++++++++++++++++++++
18 arch/arm/kernel/Makefile | 1 +
19 arch/arm/kernel/perf_regs.c | 30 ++++++++++++++++++++++++++++++
20 5 files changed, 57 insertions(+)
21 create mode 100644 arch/arm/include/uapi/asm/perf_regs.h
22 create mode 100644 arch/arm/kernel/perf_regs.c
23
24diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
25index 67874b8..6f630be 100644
26--- a/arch/arm/Kconfig
27+++ b/arch/arm/Kconfig
28@@ -46,6 +46,8 @@ config ARM
29 select HAVE_MEMBLOCK
30 select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
31 select HAVE_PERF_EVENTS
32+ select HAVE_PERF_REGS
33+ select HAVE_PERF_USER_STACK_DUMP
34 select HAVE_REGS_AND_STACK_ACCESS_API
35 select HAVE_SYSCALL_TRACEPOINTS
36 select HAVE_UID16
37diff --git a/arch/arm/include/uapi/asm/Kbuild b/arch/arm/include/uapi/asm/Kbuild
38index 47bcb2d..570b82f 100644
39--- a/arch/arm/include/uapi/asm/Kbuild
40+++ b/arch/arm/include/uapi/asm/Kbuild
41@@ -8,6 +8,7 @@ header-y += hwcap.h
42 header-y += ioctls.h
43 header-y += kvm_para.h
44 header-y += mman.h
45+header-y += perf_regs.h
46 header-y += posix_types.h
47 header-y += ptrace.h
48 header-y += setup.h
49diff --git a/arch/arm/include/uapi/asm/perf_regs.h b/arch/arm/include/uapi/asm/perf_regs.h
50new file mode 100644
51index 0000000..ce59448
52--- /dev/null
53+++ b/arch/arm/include/uapi/asm/perf_regs.h
54@@ -0,0 +1,23 @@
55+#ifndef _ASM_ARM_PERF_REGS_H
56+#define _ASM_ARM_PERF_REGS_H
57+
58+enum perf_event_arm_regs {
59+ PERF_REG_ARM_R0,
60+ PERF_REG_ARM_R1,
61+ PERF_REG_ARM_R2,
62+ PERF_REG_ARM_R3,
63+ PERF_REG_ARM_R4,
64+ PERF_REG_ARM_R5,
65+ PERF_REG_ARM_R6,
66+ PERF_REG_ARM_R7,
67+ PERF_REG_ARM_R8,
68+ PERF_REG_ARM_R9,
69+ PERF_REG_ARM_R10,
70+ PERF_REG_ARM_FP,
71+ PERF_REG_ARM_IP,
72+ PERF_REG_ARM_SP,
73+ PERF_REG_ARM_LR,
74+ PERF_REG_ARM_PC,
75+ PERF_REG_ARM_MAX,
76+};
77+#endif /* _ASM_ARM_PERF_REGS_H */
78diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile
79index 5bbec7b..c6ab18f 100644
80--- a/arch/arm/kernel/Makefile
81+++ b/arch/arm/kernel/Makefile
82@@ -69,6 +69,7 @@ obj-$(CONFIG_CPU_XSC3) += xscale-cp0.o
83 obj-$(CONFIG_CPU_MOHAWK) += xscale-cp0.o
84 obj-$(CONFIG_CPU_PJ4) += pj4-cp0.o
85 obj-$(CONFIG_IWMMXT) += iwmmxt.o
86+obj-$(CONFIG_PERF_EVENTS) += perf_regs.o
87 obj-$(CONFIG_HW_PERF_EVENTS) += perf_event.o perf_event_cpu.o
88 AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt
89 obj-$(CONFIG_ARM_CPU_TOPOLOGY) += topology.o
90diff --git a/arch/arm/kernel/perf_regs.c b/arch/arm/kernel/perf_regs.c
91new file mode 100644
92index 0000000..6e4379c
93--- /dev/null
94+++ b/arch/arm/kernel/perf_regs.c
95@@ -0,0 +1,30 @@
96+
97+#include <linux/errno.h>
98+#include <linux/kernel.h>
99+#include <linux/perf_event.h>
100+#include <linux/bug.h>
101+#include <asm/perf_regs.h>
102+#include <asm/ptrace.h>
103+
104+u64 perf_reg_value(struct pt_regs *regs, int idx)
105+{
106+ if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM_MAX))
107+ return 0;
108+
109+ return regs->uregs[idx];
110+}
111+
112+#define REG_RESERVED (~((1ULL << PERF_REG_ARM_MAX) - 1))
113+
114+int perf_reg_validate(u64 mask)
115+{
116+ if (!mask || mask & REG_RESERVED)
117+ return -EINVAL;
118+
119+ return 0;
120+}
121+
122+u64 perf_reg_abi(struct task_struct *task)
123+{
124+ return PERF_SAMPLE_REGS_ABI_32;
125+}
126--
1271.9.1
128
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-wire-up-perf_regs-and-unwind-support-for-AR.patch b/meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-wire-up-perf_regs-and-unwind-support-for-AR.patch
deleted file mode 100644
index e3e8d21..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline/ARM-perf-wire-up-perf_regs-and-unwind-support-for-AR.patch
+++ /dev/null
@@ -1,163 +0,0 @@
1From 26f603c457e0af9f5f6a0ddda66e69978c7f43b4 Mon Sep 17 00:00:00 2001
2From: Will Deacon <will.deacon@arm.com>
3Date: Thu, 26 Sep 2013 12:36:36 +0100
4Subject: [PATCH] ARM: perf: wire up perf_regs and unwind support for ARM
5
6This patch hooks in the perf_regs and libunwind code for ARM.
7
8B2Qt: Backported for 3.8 kernel
9
10Cc: Jean Pihet <jean.pihet@linaro.org>
11Signed-off-by: Will Deacon <will.deacon@arm.com>
12---
13 tools/perf/Makefile | 4 +++
14 tools/perf/arch/arm/Makefile | 3 ++
15 tools/perf/arch/arm/include/perf_regs.h | 54 +++++++++++++++++++++++++++++++++
16 tools/perf/arch/arm/util/unwind.c | 48 +++++++++++++++++++++++++++++
17 4 files changed, 109 insertions(+)
18 create mode 100644 tools/perf/arch/arm/include/perf_regs.h
19 create mode 100644 tools/perf/arch/arm/util/unwind.c
20
21diff --git a/tools/perf/Makefile b/tools/perf/Makefile
22index fb1b1c4..316c575 100644
23--- a/tools/perf/Makefile
24+++ b/tools/perf/Makefile
25@@ -84,6 +84,10 @@ ifeq ($(ARCH),x86_64)
26 NO_PERF_REGS := 0
27 LIBUNWIND_LIBS = -lunwind -lunwind-x86_64
28 endif
29+ifeq ($(ARCH),arm)
30+ NO_PERF_REGS := 0
31+ LIBUNWIND_LIBS = -lunwind -lunwind-arm
32+endif
33
34 # Treat warnings as errors unless directed not to
35 ifneq ($(WERROR),0)
36diff --git a/tools/perf/arch/arm/Makefile b/tools/perf/arch/arm/Makefile
37index 15130b5..fe9b61e 100644
38--- a/tools/perf/arch/arm/Makefile
39+++ b/tools/perf/arch/arm/Makefile
40@@ -2,3 +2,6 @@ ifndef NO_DWARF
41 PERF_HAVE_DWARF_REGS := 1
42 LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/dwarf-regs.o
43 endif
44+ifndef NO_LIBUNWIND
45+LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/unwind.o
46+endif
47diff --git a/tools/perf/arch/arm/include/perf_regs.h b/tools/perf/arch/arm/include/perf_regs.h
48new file mode 100644
49index 0000000..2a1cfde
50--- /dev/null
51+++ b/tools/perf/arch/arm/include/perf_regs.h
52@@ -0,0 +1,54 @@
53+#ifndef ARCH_PERF_REGS_H
54+#define ARCH_PERF_REGS_H
55+
56+#include <stdlib.h>
57+#include "../../util/types.h"
58+#include <asm/perf_regs.h>
59+
60+#define PERF_REGS_MASK ((1ULL << PERF_REG_ARM_MAX) - 1)
61+#define PERF_REG_IP PERF_REG_ARM_PC
62+#define PERF_REG_SP PERF_REG_ARM_SP
63+
64+static inline const char *perf_reg_name(int id)
65+{
66+ switch (id) {
67+ case PERF_REG_ARM_R0:
68+ return "r0";
69+ case PERF_REG_ARM_R1:
70+ return "r1";
71+ case PERF_REG_ARM_R2:
72+ return "r2";
73+ case PERF_REG_ARM_R3:
74+ return "r3";
75+ case PERF_REG_ARM_R4:
76+ return "r4";
77+ case PERF_REG_ARM_R5:
78+ return "r5";
79+ case PERF_REG_ARM_R6:
80+ return "r6";
81+ case PERF_REG_ARM_R7:
82+ return "r7";
83+ case PERF_REG_ARM_R8:
84+ return "r8";
85+ case PERF_REG_ARM_R9:
86+ return "r9";
87+ case PERF_REG_ARM_R10:
88+ return "r10";
89+ case PERF_REG_ARM_FP:
90+ return "fp";
91+ case PERF_REG_ARM_IP:
92+ return "ip";
93+ case PERF_REG_ARM_SP:
94+ return "sp";
95+ case PERF_REG_ARM_LR:
96+ return "lr";
97+ case PERF_REG_ARM_PC:
98+ return "pc";
99+ default:
100+ return NULL;
101+ }
102+
103+ return NULL;
104+}
105+
106+#endif /* ARCH_PERF_REGS_H */
107diff --git a/tools/perf/arch/arm/util/unwind.c b/tools/perf/arch/arm/util/unwind.c
108new file mode 100644
109index 0000000..da3dc95
110--- /dev/null
111+++ b/tools/perf/arch/arm/util/unwind.c
112@@ -0,0 +1,48 @@
113+
114+#include <errno.h>
115+#include <libunwind.h>
116+#include "perf_regs.h"
117+#include "../../util/unwind.h"
118+
119+int unwind__arch_reg_id(int regnum)
120+{
121+ switch (regnum) {
122+ case UNW_ARM_R0:
123+ return PERF_REG_ARM_R0;
124+ case UNW_ARM_R1:
125+ return PERF_REG_ARM_R1;
126+ case UNW_ARM_R2:
127+ return PERF_REG_ARM_R2;
128+ case UNW_ARM_R3:
129+ return PERF_REG_ARM_R3;
130+ case UNW_ARM_R4:
131+ return PERF_REG_ARM_R4;
132+ case UNW_ARM_R5:
133+ return PERF_REG_ARM_R5;
134+ case UNW_ARM_R6:
135+ return PERF_REG_ARM_R6;
136+ case UNW_ARM_R7:
137+ return PERF_REG_ARM_R7;
138+ case UNW_ARM_R8:
139+ return PERF_REG_ARM_R8;
140+ case UNW_ARM_R9:
141+ return PERF_REG_ARM_R9;
142+ case UNW_ARM_R10:
143+ return PERF_REG_ARM_R10;
144+ case UNW_ARM_R11:
145+ return PERF_REG_ARM_FP;
146+ case UNW_ARM_R12:
147+ return PERF_REG_ARM_IP;
148+ case UNW_ARM_R13:
149+ return PERF_REG_ARM_SP;
150+ case UNW_ARM_R14:
151+ return PERF_REG_ARM_LR;
152+ case UNW_ARM_R15:
153+ return PERF_REG_ARM_PC;
154+ default:
155+ pr_err("unwind: invalid reg id %d\n", regnum);
156+ return -EINVAL;
157+ }
158+
159+ return -EINVAL;
160+}
161--
1621.9.1
163
diff --git a/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend b/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend
deleted file mode 100644
index 3c61e27..0000000
--- a/meta-beagleboard-extras/recipes/linux/linux-mainline_3.8.bbappend
+++ /dev/null
@@ -1,52 +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
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "\
32 file://0001-AM335x-Adding-SGX-DT-node.patch \
33 file://0002-AM33XX-Invoke-hwmod-deassert-for-SGX-graphics-device.patch \
34 file://0003-video-da8xx-fb-Add-API-to-register-wait-for-vsync-ca.patch \
35 file://ARM-perf-add-support-for-perf-registers-API.diff \
36 file://ARM-perf-wire-up-perf_regs-and-unwind-support-for-AR.patch \
37 file://0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch \
38 file://0001-kernel-add-support-for-gcc-5.patch \
39 file://0001-Change-extern-inline-to-static-inline.patch \
40 "
41
42INSANE_SKIP_${PN} = "installed-vs-shipped"
43KERNEL_IMAGETYPE = "zImage"
44B = "${S}"
45
46do_configure_prepend() {
47 sed -e '/CONFIG_USB_FUNCTIONFS_ETH=/d' \
48 -e '/CONFIG_USB_FUNCTIONFS_RNDIS=/d' \
49 -i ${WORKDIR}/defconfig
50 echo "CONFIG_FHANDLE=y" >> ${WORKDIR}/defconfig
51 echo "CONFIG_MOUSE_PS2=n" >> ${WORKDIR}/defconfig
52}
diff --git a/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script.bb b/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script.bb
deleted file mode 100644
index 26ae06e..0000000
--- a/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script.bb
+++ /dev/null
@@ -1,57 +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
30DESCRIPTION = "U-Boot script to start up BeagleBone Black"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
33PR = "r0"
34
35COMPATIBLE_MACHINE = "(beaglebone)"
36PV = "20140225"
37
38SRC_URI = "file://uEnv.txt"
39
40inherit deploy
41
42do_deploy () {
43 install -d ${DEPLOYDIR}
44 install ${WORKDIR}/uEnv.txt ${DEPLOYDIR}/uEnv-${MACHINE}-${PV}-${PR}.txt
45
46 cd ${DEPLOYDIR}
47 rm -f uEnv-${MACHINE}.txt
48 ln -sf uEnv-${MACHINE}-${PV}-${PR}.txt uEnv-${MACHINE}.txt
49}
50
51addtask deploy after do_install before do_build
52
53do_compile[noexec] = "1"
54do_install[noexec] = "1"
55do_populate_sysroot[noexec] = "1"
56
57PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt b/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt
deleted file mode 100644
index d41ef60..0000000
--- a/meta-beagleboard-extras/recipes/u-boot/u-boot-uenv-script/uEnv.txt
+++ /dev/null
@@ -1,6 +0,0 @@
1optargs=consoleblank=0 vt.global_cursor_default=0 quiet
2# extra options to support older u-boot (2013)
3bootfile=zImage
4loadaddr=0x80200000
5loaduimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
6mmcboot=echo Booting from mmc ...; run mmcargs; bootz ${loadaddr} - ${fdtaddr}
diff --git a/meta-fsl-extras/recipes/linux/linux-boundary_3.14.%.bbappend b/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend
index fb5280c..001a3c7 100644
--- a/meta-fsl-extras/recipes/linux/linux-boundary_3.14.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend
@@ -35,6 +35,6 @@ SRC_URI += " \
35# kernel image files are not needed in the image 35# kernel image files are not needed in the image
36RDEPENDS_kernel-base = "" 36RDEPENDS_kernel-base = ""
37 37
38do_configure_prepend() { 38do_preconfigure_prepend() {
39 echo "CONFIG_HID_MULTITOUCH=m" >> ${WORKDIR}/defconfig 39 echo "CONFIG_HID_MULTITOUCH=m" >> ${WORKDIR}/defconfig
40} 40}
diff --git a/meta-fsl-extras/recipes/linux/linux-imx_3.14.%.bbappend b/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend
index c21fece..c4e0158 100644
--- a/meta-fsl-extras/recipes/linux/linux-imx_3.14.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend
@@ -30,7 +30,7 @@
30# kernel image files are not needed in the image 30# kernel image files are not needed in the image
31RDEPENDS_kernel-base = "" 31RDEPENDS_kernel-base = ""
32 32
33do_configure_prepend() { 33do_preconfigure_prepend() {
34 # FunctionFS for adb 34 # FunctionFS for adb
35 echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig 35 echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig
36 36
diff --git a/meta-fsl-extras/recipes/linux/linux-fslc-imx_3.14-1.%.bbappend b/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend
index c21fece..c4e0158 100644
--- a/meta-fsl-extras/recipes/linux/linux-fslc-imx_3.14-1.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend
@@ -30,7 +30,7 @@
30# kernel image files are not needed in the image 30# kernel image files are not needed in the image
31RDEPENDS_kernel-base = "" 31RDEPENDS_kernel-base = ""
32 32
33do_configure_prepend() { 33do_preconfigure_prepend() {
34 # FunctionFS for adb 34 # FunctionFS for adb
35 echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig 35 echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig
36 36
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex_3.14.%.bbappend b/meta-fsl-extras/recipes/linux/linux-toradex_3.14.%.bbappend
index b696b19..b696b19 100644
--- a/meta-toradex-extras/recipes/linux/linux-toradex_3.14.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-toradex_3.14.%.bbappend
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend
index 77ce484..77ce484 100644
--- a/meta-toradex-extras/recipes/linux/linux-toradex_4.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2015.%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2016.%.bbappend
index c5201a0..c5201a0 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2015.%.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2016.%.bbappend
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex.bb b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb
index b5d96b6..b5d96b6 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex.bb
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch
index 5c62eb1..5c62eb1 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/0001-Update-only-u-boot.patch
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_blk.scr
index 398c4de..398c4de 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_blk.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_eth.scr
index 2f64288..2f64288 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_eth.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/apalis-imx6/flash_eth.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/0001-Update-only-u-boot.patch
index cf01d59..cf01d59 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/0001-Update-only-u-boot.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/0001-Update-only-u-boot.patch
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_blk.scr
index 23c5b72..23c5b72 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_blk.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_eth.scr
index 14f4104..14f4104 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_eth.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx6/flash_eth.scr
diff --git a/meta-toradex-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 08ddd88..08ddd88 100644
--- a/meta-toradex-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
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_blk.scr
index b63366a..b63366a 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_blk.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_eth.scr
index 13025de..13025de 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_eth.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/flash_eth.scr
diff --git a/meta-toradex-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 f096c2e..f096c2e 100644
--- a/meta-toradex-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
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_blk.scr
index 8fa5af9..8fa5af9 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_blk.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_eth.scr
index aa98b3a..aa98b3a 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_eth.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/flash_eth.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_blk.scr
index 7af72e6..7af72e6 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_blk.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_eth.scr
index d7ea35c..d7ea35c 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_eth.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_eth.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_mmc.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_mmc.scr
index 4c8f666..4c8f666 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/fwd_mmc.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/fwd_mmc.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_blk.scr
index 3e05a85..3e05a85 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_blk.scr
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
index 0c16652..0c16652 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx7/flash_mmc.scr
diff --git a/meta-toradex-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 135dfd8..135dfd8 100644
--- a/meta-toradex-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
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend
index 9f98fc3..9f98fc3 100644
--- a/meta-toradex-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend
diff --git a/meta-intel-extras/classes/image_dd_efi.bbclass b/meta-intel-extras/classes/image_dd_efi.bbclass
index 9cb2075..1f5fd9f 100644
--- a/meta-intel-extras/classes/image_dd_efi.bbclass
+++ b/meta-intel-extras/classes/image_dd_efi.bbclass
@@ -33,15 +33,6 @@ LICENSE = "CLOSED"
33inherit image_dd 33inherit image_dd
34 34
35EXTRA_IMAGECMD_ext3 += "-L rootfs" 35EXTRA_IMAGECMD_ext3 += "-L rootfs"
36IMAGE_DEPENDS_ext3 += "initramfs-basic:do_rootfs"
37
38IMAGE_CMD_ext3_prepend() {
39
40 # https://www.kernel.org/doc/Documentation/x86/early-microcode.txt
41 microcode="${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}"
42 cat ${microcode} ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz > ${IMAGE_ROOTFS}/boot/initramfs
43 chmod 0644 ${IMAGE_ROOTFS}/boot/initramfs
44}
45 36
46do_populate_boot() { 37do_populate_boot() {
47 38
diff --git a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend b/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
index 8a223fe..0104aab 100644
--- a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
+++ b/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
@@ -30,6 +30,12 @@
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "file://grub.cfg" 31SRC_URI += "file://grub.cfg"
32 32
33do_install[depends] += " \
34 virtual/kernel:do_deploy \
35 ${INITRAMFS_IMAGE}:do_rootfs \
36 ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \
37"
38
33do_deploy_prepend() { 39do_deploy_prepend() {
34 40
35cat > ${WORKDIR}/cfg <<EOF 41cat > ${WORKDIR}/cfg <<EOF
@@ -42,7 +48,12 @@ do_install_append() {
42 48
43 install -d ${D}/boot/grub2/ 49 install -d ${D}/boot/grub2/
44 install -m 644 ${WORKDIR}/grub.cfg ${D}/boot/grub2/ 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
45} 56}
46 57
47PACKAGES += "${PN}-config" 58PACKAGES += "${PN}-config"
48FILES_${PN}-config = "/boot/grub2/" 59FILES_${PN}-config = "/boot/grub2/ /boot/initramfs"
diff --git a/meta-intel-extras/recipes/linux/linux-yocto_3.%.bbappend b/meta-intel-extras/recipes/linux/linux-yocto_4.%.bbappend
index 2879e65..2879e65 100644
--- a/meta-intel-extras/recipes/linux/linux-yocto_3.%.bbappend
+++ b/meta-intel-extras/recipes/linux/linux-yocto_4.%.bbappend
diff --git a/meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend b/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bbappend
index dbeb030..13ac255 100644
--- a/meta-toradex-extras/recipes/base-files/base-files_3.0.14.bbappend
+++ b/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_1.6.3.bbappend
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30EXTRA_OECONF_append_rpi = " LDFLAGS='-lbcm_host'"
diff --git a/meta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr b/meta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr
deleted file mode 100755
index d6f6c82..0000000
--- a/meta-ti-extras/recipes/libgles/libgles-omap3/rc.pvr
+++ /dev/null
@@ -1,117 +0,0 @@
1#!/bin/sh
2PATH=$PATH:/usr/sbin
3
4# Check if an fb device is available. If not then just go ahead and
5# exit because we have no display.
6fbset > /dev/null 2>&1
7if [ "$?" == "1" ]
8then
9 # looks like there is no display, so let's exit
10 exit 0
11fi
12
13BITSPERPIXEL="$(fbset | grep geom | awk '{print $6}')"
14YRES="$(fbset | grep geom | awk '{print $3}')"
15
16CPUTYPE="$(cputype)"
17
18if [ "$1" = "" ]; then
19 echo PVR-INIT: Please use start, stop, or restart.
20 exit 1
21fi
22
23if [ "$1" = "stop" -o "$1" = "restart" ]; then
24 echo Stopping PVR
25 rmmod bufferclass_ti
26 rmmod omaplfb 2>/dev/null
27 rmmod pvrsrvkm 2>/dev/null
28fi
29
30if [ "$1" = "stop" ]; then
31 exit 0
32fi
33
34# Set RGBA ordering to something the drivers like
35if [ "$BITSPERPIXEL" = "32" ] ; then
36 fbset -rgba 8/16,8/8,8/0,8/24
37fi
38
39# Try to enable triple buffering when there's enough VRAM
40fbset -vyres $(expr $YRES \* 3)
41
42sgxprepare () {
43 echo Starting PVR
44
45 modprobe omaplfb
46 modprobe bufferclass_ti
47
48 pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3`
49 bc_maj=`grep "bc" /proc/devices | cut -b1,2,3`
50
51 if [ -e /dev/pvrsrvkm ] ; then
52 rm -f /dev/pvrsrvkm
53 fi
54
55 mknod /dev/pvrsrvkm c $pvr_maj 0
56 chmod 666 /dev/pvrsrvkm
57
58 touch /etc/powervr-esrev
59
60 SAVED_ESREVISION="$(cat /etc/powervr-esrev)"
61}
62
63sgxfinish () {
64 # Fix up a bug in opkg
65 if [ $(readlink /usr/lib/libsrv_um.so) != $(readlink /usr/lib/libsrv_um.so.1) ] ; then
66 cd /usr/lib
67 ln -sf $(readlink /usr/lib/libsrv_um.so.1) libsrv_um.so
68 fi
69
70 if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
71 echo -n "Starting SGX fixup for"
72 echo " ES${ES_REVISION}.x"
73 cp -a /usr/lib/ES${ES_REVISION}.0/* /usr/lib
74 cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin
75 echo "${ES_REVISION}" > /etc/powervr-esrev
76 fi
77
78 /usr/bin/pvrsrvctl --start --no-module
79}
80
81case $CPUTYPE in
82"OMAP3530")
83 sgxprepare
84
85 devmem2 0x48004B48 w 0x2 > /dev/null
86 devmem2 0x48004B10 w 0x1 > /dev/null
87 devmem2 0x48004B00 w 0x2 > /dev/null
88
89 ES_REVISION="$(devmem2 0x50000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
90
91 sgxfinish
92 ;;
93"TI33XX")
94 sgxprepare
95
96 devmem2 0x44e01104 w 0x0 > /dev/null
97 devmem2 0x44e00904 w 0x2 > /dev/null
98
99 ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:8: | tail -n1 | awk -F': ' '{print $2}')"
100
101 sgxfinish
102 ;;
103"TI816x")
104 sgxprepare
105
106 devmem2 0x48180F04 w 0x0 > /dev/null
107 devmem2 0x48180900 w 0x2 > /dev/null
108 devmem2 0x48180920 w 0x2 > /dev/null
109
110 ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:6: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
111
112 sgxfinish
113 ;;
114*)
115 echo No SGX hardware, not starting PVR
116 ;;
117esac
diff --git a/meta-ti-extras/recipes/libgles/libgles-omap3_4.09.00.01.bbappend b/meta-ti-extras/recipes/libgles/libgles-omap3_4.09.00.01.bbappend
deleted file mode 100644
index 3d909f9..0000000
--- a/meta-ti-extras/recipes/libgles/libgles-omap3_4.09.00.01.bbappend
+++ /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
30BINLOCATION_omap3 = "${S}/gfx_rel_es5.x"
31
32LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1"
33
34do_install_append() {
35 echo "ParamBufferSize=33554432" >> ${D}${sysconfdir}/powervr.ini
36}
37
38# Inhibit warnings about files being stripped.
39INHIBIT_PACKAGE_STRIP = "1"
40
41pkg_postinst_${PN}_append() {
42ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' )
43echo ${ESREV} > $D${sysconfdir}/powervr-esrev
44}
45
46RRECOMMENDS_${PN} = "omap3-sgx-modules"
47RRECOMMENDS_${PN}-blitwsegl = ""
48RRECOMMENDS_${PN}-flipwsegl = ""
49RRECOMMENDS_${PN}-frontwsegl = ""
50RRECOMMENDS_${PN}-linuxfbwsegl = ""
diff --git a/meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb b/meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb
deleted file mode 100644
index 1b1bf22..0000000
--- a/meta-ti-extras/recipes/libgles/libgles-omap3_4.10.00.01.bb
+++ /dev/null
@@ -1,55 +0,0 @@
1require recipes-graphics/libgles/libgles-omap3-no-x.inc
2
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:${COREBASE}/../meta-ti/recipes-graphics/libgles/${PN}:"
4
5LICENSE = "TI-TSPA"
6
7PR = "${INC_PR}.3"
8
9BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
10BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"
11BINLOCATION_ti814x = "${S}/gfx_rel_es6.x"
12BINLOCATION_ti33x = "${S}/gfx_rel_es8.x"
13
14PLATFORM = "LinuxARMV7"
15PVR_INIT = "pvrsrvctl"
16
17# download required binary distribution from:
18# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html
19# see libgles-omap3.inc for detailed installation instructions
20
21SGXPV = "4_10_00_01"
22IMGPV = "1.9.2188537"
23
24TI_BIN_UNPK_WDEXT := "/Graphics_SDK_${SGXPV}"
25
26# Select the corresponding hardfp/softfp filename and checksums based on tune flags
27BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
28MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d"
29SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647"
30
31BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin"
32MD5SUM_HARDFP = "15a3ccb66e98580e474fc112565f66b6"
33SHA256SUM_HARDFP = "4d94d5a1869b228ce12027783fc5425c92e9b66685c501247889f1f167e66c9d"
34
35BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}"
36
37SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
38 file://cputype \
39 file://rc.pvr \
40 file://99-bufferclass.rules \
41"
42
43SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}"
44SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}"
45
46S = "${WORKDIR}/Graphics_SDK_${SGXPV}"
47
48LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FRONTWSEGL.so.1"
49
50do_configure_append() {
51 # PLAT_CC might not have needed arguments, so use CC instead.
52 for mak in $(find ${S} -name "*.mak" -o -name Makefile) ; do
53 sed -i -e s:\$\(PLAT_CC\):\$\(CC\):g $mak
54 done
55}
diff --git a/meta-ti-extras/recipes/libgles/libgles-omap3_5.01.01.01.bbappend b/meta-ti-extras/recipes/libgles/libgles-omap3_5.01.01.01.bbappend
deleted file mode 100644
index 0d557ce..0000000
--- a/meta-ti-extras/recipes/libgles/libgles-omap3_5.01.01.01.bbappend
+++ /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
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32BINLOCATION_omap3 = "${S}/gfx_rel_es5.x"
33BINLOCATION_beaglebone = "${S}/gfx_rel_es8.x"
34
35LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1"
36
37# Inhibit warnings about files being stripped.
38INHIBIT_PACKAGE_STRIP = "1"
39
40pkg_postinst_${PN}_append() {
41ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' )
42echo ${ESREV} > $D${sysconfdir}/powervr-esrev
43}
44
45RRECOMMENDS_${PN} = "omap3-sgx-modules"
46RRECOMMENDS_${PN}-blitwsegl = ""
47RRECOMMENDS_${PN}-flipwsegl = ""
48RRECOMMENDS_${PN}-frontwsegl = ""
49RRECOMMENDS_${PN}-linuxfbwsegl = ""
diff --git a/meta-ti-extras/recipes/linux/linux-ti-staging_3.14.bbappend b/meta-ti-extras/recipes/linux/linux-ti-staging_4.4.bbappend
index 54dca0f..fb3bc7a 100644
--- a/meta-ti-extras/recipes/linux/linux-ti-staging_3.14.bbappend
+++ b/meta-ti-extras/recipes/linux/linux-ti-staging_4.4.bbappend
@@ -32,4 +32,3 @@ SRC_URI += "\
32 file://usb-serial.cfg \ 32 file://usb-serial.cfg \
33 " 33 "
34KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/usb-serial.cfg" 34KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/usb-serial.cfg"
35KERNEL_DEVICETREE_b2qt = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch
deleted file mode 100644
index ce50479..0000000
--- a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From e55f63a07e5266095da89b7f94122fcba9bdef04 Mon Sep 17 00:00:00 2001
2From: Prathap M S <msprathap@ti.com>
3Date: Tue, 19 Nov 2013 16:33:24 +0530
4Subject: [PATCH 1/1] Graphics SDK 04.10.00.01 : AM335x sgx irq change
5
6This patch enables PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO for AM335x.
7This is required with 3.8 kernel onwards which uses DT.
8This will enable the path of getting sgx irq number dynamically.
9
10Signed-off-by: Prathap M S <msprathap@ti.com>
11---
12 services4/system/ti335x/syslocal.h | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/services4/system/ti335x/syslocal.h b/services4/system/ti335x/syslocal.h
16index 090b38d..222d52d 100644
17--- a/services4/system/ti335x/syslocal.h
18+++ b/services4/system/ti335x/syslocal.h
19@@ -69,8 +69,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 #if !defined(LDM_PLATFORM)
21 #error "LDM_PLATFORM must be set"
22 #endif
23-//#define PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO
24-//#include <linux/platform_device.h>
25+#define PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO
26+#include <linux/platform_device.h>
27 #endif
28
29 #if ((defined(DEBUG) || defined(TIMING)) && \
30--
311.7.9.5
32
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch
deleted file mode 100644
index c553354..0000000
--- a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/Change-for-interfacing-with-SGX-DT-node.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1diff --git a/services4/srvkm/env/linux/module.c b/services4/srvkm/env/linux/module.c
2index 668dc2d..2247aad 100644
3--- a/services4/srvkm/env/linux/module.c
4+++ b/services4/srvkm/env/linux/module.c
5@@ -84,6 +84,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 #include <linux/module.h>
7 #include <linux/fs.h>
8 #include <linux/proc_fs.h>
9+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
10+#include <linux/of.h>
11+#endif
12
13 #if defined(SUPPORT_DRI_DRM)
14 #include <drm/drmP.h>
15@@ -296,10 +299,24 @@ static struct platform_device_id powervr_id_table[] __devinitdata = {
16 };
17 #endif
18
19+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
20+static const struct of_device_id omap_sgx_of_match[] = {
21+ {
22+ .compatible = "ti,sgx",
23+ },
24+ {},
25+};
26+MODULE_DEVICE_TABLE(of, omap_sgx_of_match);
27+#endif
28+
29+
30 static LDM_DRV powervr_driver = {
31 #if defined(PVR_LDM_PLATFORM_MODULE)
32 .driver = {
33 .name = DRVNAME,
34+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
35+ .of_match_table = of_match_ptr(omap_sgx_of_match),
36+#endif
37 },
38 #endif
39 #if defined(PVR_LDM_PCI_MODULE)
40@@ -362,7 +379,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
41 #endif
42 {
43 SYS_DATA *psSysData;
44-
45+
46 PVR_TRACE(("PVRSRVDriverProbe(pDevice=%p)", pDevice));
47
48 #if 0 /* INTEGRATION_POINT */
49--
501.7.9.5
51
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch
deleted file mode 100644
index acef54b..0000000
--- a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules/linux-3.8.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1diff --git a/services4/3rdparty/linux_drm/Kbuild b/services4/3rdparty/linux_drm/Kbuild
2index d01ef39..ccca3cd 100755
3--- a/services4/3rdparty/linux_drm/Kbuild
4+++ b/services4/3rdparty/linux_drm/Kbuild
5@@ -26,38 +26,38 @@ endif
6 endif
7
8 obj-m := drm.o
9-ifeq ($(TI_PLATFORM),omap4)
10-drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drawable.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
11- drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
12- drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
13- drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
14- drm_crtc.o drm_modes.o drm_edid.o \
15- drm_info.o drm_debugfs.o drm_encoder_slave.o
16-else
17+#ifeq ($(TI_PLATFORM),omap4)
18+#drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drawable.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
19+# drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
20+# drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
21+# drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
22+# drm_crtc.o drm_modes.o drm_edid.o \
23+# drm_info.o drm_debugfs.o drm_encoder_slave.o
24+#else
25 # Works for 2.6.37 till 3.2 kernel
26-drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
27- drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
28- drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
29- drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
30- drm_crtc.o drm_modes.o drm_edid.o \
31- drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o
32-endif
33-
34-# For 3.3 kernel only
35 #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
36 # drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
37 # drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
38-# drm_sysfs.o drm_hashtab.o drm_mm.o \
39+# drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
40 # drm_crtc.o drm_modes.o drm_edid.o \
41 # drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o
42+#endif
43
44-# For greater than/equal to 3.4 till 3.8 kernel
45+# For 3.3 kernel only
46 #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
47 # drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
48 # drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
49 # drm_sysfs.o drm_hashtab.o drm_mm.o \
50 # drm_crtc.o drm_modes.o drm_edid.o \
51-# drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o drm_prime.o
52+# drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o
53+
54+# For greater than/equal to 3.4 till 3.8 kernel
55+drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
56+ drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
57+ drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
58+ drm_sysfs.o drm_hashtab.o drm_mm.o \
59+ drm_crtc.o drm_modes.o drm_edid.o \
60+ drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o drm_prime.o
61
62 # less than 2.6.32 kernel
63
diff --git a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb b/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb
deleted file mode 100644
index b83e1ee..0000000
--- a/meta-ti-extras/recipes/powervr-drivers/omap3-sgx-modules_4.10.00.01.bb
+++ /dev/null
@@ -1,66 +0,0 @@
1DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
4
5TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
6require recipes-ti/includes/ti-eula-unpack.inc
7
8SGXPV = "4_10_00_01"
9IMGPV = "1.9.2188537"
10
11inherit module
12
13MACHINE_KERNEL_PR_append = "c"
14PR = "${MACHINE_KERNEL_PR}"
15
16DEFAULT_PREFERENCE = "-1"
17
18# Select the corresponding hardfp/softfp filename and checksums based on tune flags
19BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
20MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d"
21SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647"
22
23BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin"
24MD5SUM_HARDFP = "15a3ccb66e98580e474fc112565f66b6"
25SHA256SUM_HARDFP = "4d94d5a1869b228ce12027783fc5425c92e9b66685c501247889f1f167e66c9d"
26
27BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}"
28
29SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
30 file://Change-for-interfacing-with-SGX-DT-node.patch \
31 file://linux-3.8.patch \
32 file://0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch \
33 "
34
35SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}"
36SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}"
37
38TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
39S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
40
41PVRBUILD = "release"
42export KERNELDIR = "${STAGING_KERNEL_DIR}"
43
44INHIBIT_PACKAGE_STRIP = "1"
45
46TI_PLATFORM_omap3 = "omap3630"
47TI_PLATFORM_ti814x = "ti81xx"
48TI_PLATFORM_ti816x = "ti81xx"
49TI_PLATFORM_ti33x = "ti335x"
50
51MODULESLOCATION_omap3 = "dc_omapfb3_linux"
52MODULESLOCATION_ti814x = "dc_ti81xx_linux"
53MODULESLOCATION_ti816x = "dc_ti81xx_linux"
54MODULESLOCATION_ti33x = "dc_ti335x_linux"
55
56MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=0"
57
58MAKE_TARGETS_append_ti33x = " PM_RUNTIME=1"
59
60do_install() {
61 mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
62 cp ${S}/pvrsrvkm.ko \
63 ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
64 ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
65 ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
66}
diff --git a/meta-ti-extras/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch b/meta-ti-extras/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch
deleted file mode 100644
index 8c3ee2d..0000000
--- a/meta-ti-extras/recipes/u-boot/u-boot-am33x/0001-am335x-evm-disable-console-cursor-blinking.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From c7edbae8c34f73abb1974c0e8722f6f3c7b49f45 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@digia.com>
3Date: Tue, 17 Sep 2013 08:16:51 +0300
4Subject: [PATCH] am335x-evm: disable console cursor blinking
5
6---
7 include/configs/am335x_evm.h | 2 +
8 1 file changed, 2 insertion(++)
9
10diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
11index 90e35ee..f28e842 100644
12--- a/include/configs/am335x_evm.h
13+++ b/include/configs/am335x_evm.h
14@@ -86,6 +86,8 @@
15 "ip_method=none\0" \
16 "bootargs_defaults=setenv bootargs " \
17 "console=${console} " \
18+ "consoleblank=0 " \
19+ "vt.global_cursor_default=0 " \
20 "${optargs}\0" \
21 "mmcargs=run bootargs_defaults;" \
22 "setenv bootargs ${bootargs} " \
23--
241.7.10.4
25
diff --git a/meta-ti-extras/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend b/meta-ti-extras/recipes/u-boot/u-boot-am33x_2013.01.01.bbappend
deleted file mode 100644
index a9c3c0d..0000000
--- a/meta-ti-extras/recipes/u-boot/u-boot-am33x_2013.01.01.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
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += " \
32 file://0001-am335x-evm-disable-console-cursor-blinking.patch \
33 "
diff --git a/meta-ti-extras/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch b/meta-ti-extras/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch
deleted file mode 100644
index 25dd9e4..0000000
--- a/meta-ti-extras/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From bde714b9bfeafe46abc1078c09f6efac0e7b6478 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@digia.com>
3Date: Wed, 22 Jan 2014 11:30:59 +0200
4Subject: [PATCH] BBB: disable console cursor blinking
5
6---
7 include/configs/am335x_evm.h | 2 ++
8 1 file changed, 2 insertions(+)
9
10diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
11index d53f17d..1b3d2a4 100644
12--- a/include/configs/am335x_evm.h
13+++ b/include/configs/am335x_evm.h
14@@ -59,6 +59,8 @@
15 "ramrootfstype=ext2\0" \
16 "mmcargs=setenv bootargs console=${console} " \
17 "${optargs} " \
18+ "consoleblank=0 " \
19+ "vt.global_cursor_default=0 " \
20 "root=${mmcroot} " \
21 "rootfstype=${mmcrootfstype}\0" \
22 "spiroot=/dev/mtdblock4 rw\0" \
23--
241.8.3.2
25
diff --git a/meta-ti-extras/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend b/meta-ti-extras/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend
deleted file mode 100644
index b638ddc..0000000
--- a/meta-ti-extras/recipes/u-boot/u-boot-ti-staging_2013.10.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
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += " \
32 file://0001-BBB-disable-console-cursor-blinking.patch \
33 "
diff --git a/meta-toradex-extras/conf/layer.conf b/meta-toradex-extras/conf/layer.conf
deleted file mode 100644
index 06eb3c7..0000000
--- a/meta-toradex-extras/conf/layer.conf
+++ /dev/null
@@ -1,40 +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# We have a conf and classes directory, append to BBPATH
31BBPATH .= ":${LAYERDIR}"
32
33# We have a recipes directory, add to BBFILES
34BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
35 ${LAYERDIR}/recipes*/*/*.bbappend \
36 "
37
38BBFILE_COLLECTIONS += "b2qt_toradex"
39BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_toradex = "20"
diff --git a/meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab b/meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab
deleted file mode 100644
index 12e0489..0000000
--- a/meta-toradex-extras/recipes/base-files/base-files/b2qt/fstab
+++ /dev/null
@@ -1,15 +0,0 @@
1# stock fstab - you probably want to override this with a machine specific one
2
3/dev/root / auto defaults 1 1
4proc /proc proc defaults 0 0
5debugfs /sys/kernel/debug debugfs defaults 0 0
6devpts /dev/pts devpts mode=0620,gid=5 0 0
7usbfs /proc/bus/usb usbfs noauto
8tmpfs /var/volatile tmpfs defaults 0 0
9tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
10tmpfs /dev/shm tmpfs mode=0777 0 0
11tmpfs /media/ram tmpfs defaults 0 0
12
13# uncomment this if your device has a SD/MMC/Transflash slot
14#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0
15
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Allow-builds-with-GCC-4.8.patch b/meta-toradex-extras/recipes/linux/linux-toradex/0001-Allow-builds-with-GCC-4.8.patch
deleted file mode 100644
index 43edec3..0000000
--- a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Allow-builds-with-GCC-4.8.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 30c67656c09f49608bbadb75e365d1d3da36cc70 Mon Sep 17 00:00:00 2001
2From: Andy Nichols <andy.nichols@theqtcompany.com>
3Date: Wed, 18 Feb 2015 14:28:14 +0100
4Subject: [PATCH] Allow builds with GCC 4.8
5
6---
7 arch/arm/kernel/asm-offsets.c | 4 ----
8 1 file changed, 4 deletions(-)
9
10diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c
11index 2d2d608..6f8e79c 100644
12--- a/arch/arm/kernel/asm-offsets.c
13+++ b/arch/arm/kernel/asm-offsets.c
14@@ -49,10 +49,6 @@
15 #error Your compiler is too buggy; it is known to miscompile kernels.
16 #error Known good compilers: 3.3, 4.x
17 #endif
18-#if GCC_VERSION >= 40800 && GCC_VERSION < 40803
19-#error Your compiler is too buggy; it is known to miscompile kernels
20-#error and result in filesystem corruption and oopses.
21-#endif
22 #endif
23
24 int main(void)
25--
261.9.1
27
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-Fusion-7-and-10-multi-touch-controller.patch b/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-Fusion-7-and-10-multi-touch-controller.patch
deleted file mode 100644
index d92ac62..0000000
--- a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-Fusion-7-and-10-multi-touch-controller.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From d57edef022af184015a8ccd87fa9021024513d55 Mon Sep 17 00:00:00 2001
2From: Andy Nichols <andy.nichols@theqtcompany.com>
3Date: Fri, 6 Mar 2015 10:14:13 +0100
4Subject: [PATCH] Enable Fusion 7 and 10 multi-touch controller
5
6---
7 arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
11index 1f43dbe..9194580 100644
12--- a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
13+++ b/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
14@@ -214,7 +214,7 @@
15 gpios = <&gpio0 30 GPIO_ACTIVE_HIGH /* SO-DIMM 28, Pen down interrupt */
16 &gpio0 23 GPIO_ACTIVE_LOW /* SO-DIMM 30, Reset interrupt */
17 >;
18- status = "disabled";
19+ status = "okay";
20 };
21
22 /* M41T0M6 real time clock on carrier board */
23--
242.3.1
25
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex_git.bbappend b/meta-toradex-extras/recipes/linux/linux-toradex_git.bbappend
deleted file mode 100644
index 5352ed7..0000000
--- a/meta-toradex-extras/recipes/linux/linux-toradex_git.bbappend
+++ /dev/null
@@ -1,39 +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# kernel image files are not needed in the image
31RDEPENDS_kernel-base = ""
32
33config_script () {
34 # FunctionFS for adb
35 echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config
36 echo "CONFIG_USB_ACM=m" >> ${S}/.config
37}
38
39B = "${S}"
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx7-fix-update-u-boot.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx7-fix-update-u-boot.patch
deleted file mode 100644
index 501ad33..0000000
--- a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-imx7-fix-update-u-boot.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -Naur git.orig/include/configs/colibri_imx7.h git/include/configs/colibri_imx7.h
2--- git.orig/include/configs/colibri_imx7.h 2016-07-15 12:31:35.915934824 +0300
3+++ git/include/configs/colibri_imx7.h 2016-07-15 12:32:40.867937388 +0300
4@@ -248,7 +248,7 @@
5 "${board}/flash_eth.img && source ${loadaddr}\0" \
6 "setsdupdate=mmc rescan && setenv interface mmc && " \
7 "fatload ${interface} 0:1 ${loadaddr} " \
8- "${board}/flash_blk.img && source ${loadaddr}\0" \
9+ "/flash_blk.img && source ${loadaddr}\0" \
10 "setup=setenv setupargs " \
11 "console=tty1 console=${console}" \
12 ",${baudrate}n8 ${memargs} consoleblank=0 ${mtdparts}\0" \
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-vf-remove-console-from-tty1.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-vf-remove-console-from-tty1.patch
deleted file mode 100644
index b54a4ae..0000000
--- a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0001-colibri-vf-remove-console-from-tty1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From f480a948551b0e5592d93cb7a5dc1653de900909 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 24 Feb 2016 16:01:33 +0200
4Subject: [PATCH] colibri vf: remove console from tty1
5
6---
7 include/configs/colibri_vf.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
11index b870812..0726fc5 100644
12--- a/include/configs/colibri_vf.h
13+++ b/include/configs/colibri_vf.h
14@@ -202,7 +202,7 @@
15 "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \
16 "source ${loadaddr}\0" \
17 "setup=setenv setupargs " \
18- "console=tty1 console=${console}" \
19+ "console=${console}" \
20 ",${baudrate}n8 ${memargs} consoleblank=0\0" \
21 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
22 "setusbupdate=usb start && setenv interface usb && " \
23--
241.9.1
25
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch b/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch
deleted file mode 100644
index 25476dd..0000000
--- a/meta-toradex-extras/recipes/u-boot/u-boot-toradex/0002-colibri-vf-fix-mmc-boot.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1diff -Naur git.orig/include/configs/colibri_vf.h git/include/configs/colibri_vf.h
2--- git.orig/include/configs/colibri_vf.h 2016-07-15 12:05:41.263873456 +0300
3+++ git/include/configs/colibri_vf.h 2016-07-15 12:06:19.759874976 +0300
4@@ -161,8 +161,8 @@
5 "sdargs=root=/dev/mmcblk0p2 rw rootwait\0" \
6 "sdboot=run setup; setenv bootargs ${defargs} ${sdargs} " \
7 "${setupargs} ${vidargs}; echo Booting from MMC/SD card...; " \
8- "load mmc 0:2 ${kernel_addr_r} /boot/${kernel_file} && " \
9- "load mmc 0:2 ${fdt_addr_r} /boot/${soc}-colibri-${fdt_board}.dtb && " \
10+ "load mmc 0:1 ${kernel_addr_r} /${kernel_file} && " \
11+ "load mmc 0:1 ${fdt_addr_r} /${soc}-colibri-${fdt_board}.dtb && " \
12 "run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
13
14 #define NFS_BOOTCMD \
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
index ec3125b..ed7c8dc 100644
--- a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
+++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
@@ -56,7 +56,6 @@ RDEPENDS_${PN} += " \
56 qtimageformats-dev \ 56 qtimageformats-dev \
57 qtlocation-dev \ 57 qtlocation-dev \
58 qtmultimedia-dev \ 58 qtmultimedia-dev \
59 qtotaupdate-dev \
60 qtquickcontrols-dev \ 59 qtquickcontrols-dev \
61 qtquickcontrols2-dev \ 60 qtquickcontrols2-dev \
62 qtsensors-dev \ 61 qtsensors-dev \
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb b/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
index c63ddb8..7d7160d 100644
--- a/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
+++ b/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
@@ -49,7 +49,6 @@ RDEPENDS_${PN} += " \
49 qtimageformats \ 49 qtimageformats \
50 qtlocation \ 50 qtlocation \
51 qtmultimedia \ 51 qtmultimedia \
52 qtotaupdate \
53 qtquickcontrols \ 52 qtquickcontrols \
54 qtquickcontrols2 \ 53 qtquickcontrols2 \
55 qtsensors \ 54 qtsensors \
diff --git a/recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch b/recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch
deleted file mode 100644
index f67a840..0000000
--- a/recipes/gstreamer/gstreamer1.0-plugins-base/fix-gstvolume.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c
2index 0f5b362..94d03a3 100644
3--- a/gst/volume/gstvolume.c
4+++ b/gst/volume/gstvolume.c
5@@ -250,10 +250,14 @@ volume_update_volume (GstVolume * self, const GstAudioInfo * info,
6 self->current_mute = FALSE;
7 self->current_volume = volume;
8
9- self->current_vol_i8 = volume * VOLUME_UNITY_INT8;
10- self->current_vol_i16 = volume * VOLUME_UNITY_INT16;
11- self->current_vol_i24 = volume * VOLUME_UNITY_INT24;
12- self->current_vol_i32 = volume * VOLUME_UNITY_INT32;
13+ self->current_vol_i8 =
14+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT8);
15+ self->current_vol_i16 =
16+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT16);
17+ self->current_vol_i24 =
18+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT24);
19+ self->current_vol_i32 =
20+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT32);
21
22 passthrough = (self->current_vol_i16 == VOLUME_UNITY_INT16);
23 }
diff --git a/recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend
deleted file mode 100644
index 646faa5..0000000
--- a/recipes/gstreamer/gstreamer1.0-plugins-base_%.bbappend
+++ /dev/null
@@ -1,32 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32SRC_URI += "file://fix-gstvolume.patch"
diff --git a/recipes/libgsystem/libgsystem.bb b/recipes/libgsystem/libgsystem.bb
deleted file mode 100644
index 0e14055..0000000
--- a/recipes/libgsystem/libgsystem.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
30SUMMARY = "LibGSystem is a GIO-based library, targeted primarily for use by operating system components."
31
32LICENSE = "LGPL-2.1"
33LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
34
35inherit autotools pkgconfig
36
37SRC_URI = "gitsm://github.com/GNOME/libgsystem.git;protocol=git"
38SRCREV = "86c24c181ec6c3ec334a39145efc022c3e744929"
39
40S = "${WORKDIR}/git"
41
42DEPENDS = "glib-2.0 attr libcap"
43
44do_configure_prepend() {
45 # Workaround a broken configure.ac. It should check first if GTK_DOC_CHECK
46 # macro is actually defined before trying to use it. For how-to see:
47 # https://developer.gnome.org/gtk-doc-manual/stable/settingup_autoconf.html.en
48 # We get a syntax error since we do not bundle gnome recipes that define this macro.
49 sed -i '/GTK_DOC_CHECK/d' ${S}/configure.ac
50}
diff --git a/recipes/ostree/ostree.bb b/recipes/ostree/ostree.bb
index 6e79395..75d5bd5 100644
--- a/recipes/ostree/ostree.bb
+++ b/recipes/ostree/ostree.bb
@@ -35,19 +35,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
35inherit autotools pkgconfig systemd 35inherit autotools pkgconfig systemd
36 36
37SRC_URI = " \ 37SRC_URI = " \
38 git://github.com/GNOME/ostree.git \ 38 git://github.com/ostreedev/ostree.git \
39 file://Fix-enable_rofiles_fuse-no-build.patch \
40 file://Mount-boot-partition.patch \ 39 file://Mount-boot-partition.patch \
40 file://ostree-prepare-root-enabler-for-simpler-kernel-arg.patch \
41 file://deploy-add-karg-none-argument.patch \
42 file://Support-for-booting-without-initramfs.patch \
41 file://Allow-updating-files-in-the-boot-directory.patch \ 43 file://Allow-updating-files-in-the-boot-directory.patch \
42 file://u-boot-Merge-ostree-s-and-systems-uEnv.txt.patch \ 44 file://u-boot-add-bootdir-to-the-generated-uEnv.txt.patch \
43 file://Create-firmware-convenience-symlinks.patch \ 45 file://Create-firmware-convenience-symlinks.patch \
44 " 46 "
45 47
46SRCREV = "v2016.5" 48SRCREV = "8ece4d6d51bdbe3e41ab318259276bb83e553aa0"
47 49
48S = "${WORKDIR}/git" 50S = "${WORKDIR}/git"
49 51
50DEPENDS = "glib-2.0 e2fsprogs gpgme attr libsoup-2.4 libgsystem libassuan xz systemd" 52DEPENDS = "glib-2.0 e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd"
51# Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. 53# Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image.
52# The production image do not require bash for proper working. 54# The production image do not require bash for proper working.
53RDEPENDS_${PN} += "bash" 55RDEPENDS_${PN} += "bash"
@@ -68,6 +70,8 @@ EXTRA_OECONF = "--with-dracut \
68 --enable-gtk-doc-html=no \ 70 --enable-gtk-doc-html=no \
69 --enable-man=no \ 71 --enable-man=no \
70 --with-soup \ 72 --with-soup \
73 --with-static-prepare-root \
74 --disable-otmpfile \
71 --enable-libsoup-client-certs" 75 --enable-libsoup-client-certs"
72 76
73do_configure_prepend() { 77do_configure_prepend() {
diff --git a/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch b/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch
index ffcc77c..d416543 100644
--- a/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch
+++ b/recipes/ostree/ostree/Allow-updating-files-in-the-boot-directory.patch
@@ -1,34 +1,90 @@
1From 7f4549c6e94494460be06311c3a4d23ae684ab21 Mon Sep 17 00:00:00 2001 1From cc31c80658a90cf1b13fdf9fe8b6dde1cc9a0d24 Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@theqtcompany.com> 2From: Gatis Paeglis <gatis.paeglis@qt.io>
3Date: Wed, 20 Apr 2016 13:58:27 +0200 3Date: Mon, 22 Aug 2016 11:32:16 +0200
4Subject: [PATCH 1/3] Allow updating files in the /boot directory. 4Subject: [PATCH 1/3] Allow updating files in the /boot directory
5 5
6Until now OSTree copied only the vmlinuz and initramfs 6This patch adds support for copying (or hardlinking on
7binaries to the boot/ directory (which in some setups 7single partition systems) all files from the deployment's
8might be on a separate partition). This patch adds 8/usr/lib/ostree-boot directory to the relevant
9support for copying other files from the deployment's 9/boot/ostree/$os-$bootcsum/ directory. This feature can
10/boot directory to the real /boot. 10be enabled by 'touch .ostree-bootcsumdir-source' in
11 11/usr/lib/ostree-boot.
12How this works:
13
14Ignore subdirectories, only files in root of the boot
15directory are copied. There is overhead of copying files
16to boot/, therefore the amount of files in boot/ should
17be kept to the minimum and subdirectories shouldn't
18really be necessary.
19
20Files in the boot/ directory are updated only with major
21releases, when kernel/initramfs bootcsum changes. Files
22that require frequent updates should not be stored here.
23--- 12---
24 src/libostree/ostree-sysroot-deploy.c | 52 +++++++++++++++++++++++++++++++++++ 13 src/libostree/ostree-sysroot-deploy.c | 101 +++++++++++++++++++++++++++++++---
25 1 file changed, 52 insertions(+) 14 1 file changed, 94 insertions(+), 7 deletions(-)
26 15
27diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c 16diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
28index 8877236..8cf080e 100644 17index a05ca30..f34e3f3 100644
29--- a/src/libostree/ostree-sysroot-deploy.c 18--- a/src/libostree/ostree-sysroot-deploy.c
30+++ b/src/libostree/ostree-sysroot-deploy.c 19+++ b/src/libostree/ostree-sysroot-deploy.c
31@@ -1295,6 +1295,7 @@ install_deployment_kernel (OstreeSysroot *sysroot, 20@@ -165,12 +165,31 @@ dirfd_copy_attributes_and_xattrs (int src_parent_dfd,
21 }
22
23 static gboolean
24+hardlink_or_copy_dir_recurse (int src_parent_dfd,
25+ int dest_parent_dfd,
26+ const char *name,
27+ gboolean hardlink,
28+ GCancellable *cancellable,
29+ GError **error);
30+
31+static gboolean
32 copy_dir_recurse (int src_parent_dfd,
33 int dest_parent_dfd,
34 const char *name,
35 GCancellable *cancellable,
36 GError **error)
37 {
38+ return hardlink_or_copy_dir_recurse (src_parent_dfd, dest_parent_dfd, name, FALSE, cancellable, error);
39+}
40+
41+static gboolean
42+hardlink_or_copy_dir_recurse (int src_parent_dfd,
43+ int dest_parent_dfd,
44+ const char *name,
45+ gboolean hardlink,
46+ GCancellable *cancellable,
47+ GError **error)
48+{
49 g_auto(GLnxDirFdIterator) src_dfd_iter = { 0, };
50 glnx_fd_close int dest_dfd = -1;
51 struct dirent *dent;
52@@ -210,17 +229,27 @@ copy_dir_recurse (int src_parent_dfd,
53
54 if (S_ISDIR (child_stbuf.st_mode))
55 {
56- if (!copy_dir_recurse (src_dfd_iter.fd, dest_dfd, dent->d_name,
57- cancellable, error))
58+ if (!hardlink_or_copy_dir_recurse (src_dfd_iter.fd, dest_dfd, dent->d_name,
59+ hardlink, cancellable, error))
60 return FALSE;
61 }
62 else
63 {
64- if (!glnx_file_copy_at (src_dfd_iter.fd, dent->d_name, &child_stbuf,
65- dest_dfd, dent->d_name,
66- GLNX_FILE_COPY_OVERWRITE,
67- cancellable, error))
68- return FALSE;
69+ if (hardlink)
70+ {
71+ if (!hardlink_or_copy_at (src_dfd_iter.fd, dent->d_name,
72+ dest_dfd, dent->d_name,
73+ cancellable, error))
74+ return FALSE;
75+ }
76+ else
77+ {
78+ if (!glnx_file_copy_at (src_dfd_iter.fd, dent->d_name, &child_stbuf,
79+ dest_dfd, dent->d_name,
80+ GLNX_FILE_COPY_OVERWRITE,
81+ cancellable, error))
82+ return FALSE;
83+ }
84 }
85 }
86
87@@ -1301,6 +1330,7 @@ install_deployment_kernel (OstreeSysroot *sysroot,
32 g_autofree char *version_key = NULL; 88 g_autofree char *version_key = NULL;
33 g_autofree char *ostree_kernel_arg = NULL; 89 g_autofree char *ostree_kernel_arg = NULL;
34 g_autofree char *options_key = NULL; 90 g_autofree char *options_key = NULL;
@@ -36,60 +92,66 @@ index 8877236..8cf080e 100644
36 GString *title_key; 92 GString *title_key;
37 __attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL; 93 __attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL;
38 const char *val; 94 const char *val;
39@@ -1361,6 +1362,57 @@ install_deployment_kernel (OstreeSysroot *sysroot, 95@@ -1367,6 +1397,63 @@ install_deployment_kernel (OstreeSysroot *sysroot,
40 } 96 }
41 } 97 }
42 98
43+ 99+ if (fstatat (tree_boot_dfd, ".ostree-bootcsumdir-source", &stbuf, 0) == 0)
44+ /* Copy other files that are stored in deployment's /usr/lib/ostree-boot. Lets keep this simple:
45+ *
46+ * - Ignore subdirectories. Only files in root of the /usr/lib/ostree-boot directory are copied.
47+ * There is an overhead of copying files to boot/, therefore the amount of files in a deployment's
48+ * usr/lib/ostree-boot should be kept to the minimum and subdirectories shouldn't really
49+ * be necessary.
50+ *
51+ * - Files in /boot are updated only with major releases, when kernel/initramfs
52+ * bootcsum changes. Files that require frequent updates should not be stored here.
53+ */
54+ if (!glnx_dirfd_iterator_init_take_fd (dup (tree_boot_dfd), &dfd_iter, error))
55+ goto out;
56+
57+ while (TRUE)
58+ { 100+ {
59+ struct dirent *dent; 101+ if (!glnx_dirfd_iterator_init_at (tree_boot_dfd, ".", FALSE, &dfd_iter, error))
60+
61+ if (!glnx_dirfd_iterator_next_dent (&dfd_iter, &dent, cancellable, error))
62+ goto out; 102+ goto out;
63+ 103+
64+ if (dent == NULL) 104+ while (TRUE)
65+ break;
66+
67+ if (fstatat (dfd_iter.fd, dent->d_name, &stbuf, 0) != 0)
68+ { 105+ {
69+ if (errno == ENOENT) 106+ struct dirent *dent;
70+ continue;
71+ glnx_set_error_from_errno (error);
72+ goto out;
73+ }
74+ 107+
75+ if (g_str_has_prefix (dent->d_name, "vmlinuz-") || g_str_has_prefix (dent->d_name, "initramfs-") 108+ if (!glnx_dirfd_iterator_next_dent (&dfd_iter, &dent, cancellable, error))
76+ || !S_ISREG(stbuf.st_mode)) 109+ goto out;
77+ continue; 110+ if (dent == NULL)
111+ break;
78+ 112+
79+ if (fstatat (bootcsum_dfd, dent->d_name, &stbuf, 0) != 0) 113+ /* Skip special files - vmlinuz-* and initramfs-* are handled separately */
80+ { 114+ if (g_str_has_prefix (dent->d_name, "vmlinuz-") || g_str_has_prefix (dent->d_name, "initramfs-"))
81+ if (errno != ENOENT) 115+ continue;
116+
117+ if (fstatat (bootcsum_dfd, dent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0)
82+ { 118+ {
83+ glnx_set_prefix_error_from_errno (error, "fstat %s", dent->d_name); 119+ if (errno != ENOENT)
84+ goto out; 120+ {
121+ glnx_set_prefix_error_from_errno (error, "fstatat %s", dent->d_name);
122+ goto out;
123+ }
124+
125+ if (fstatat (dfd_iter.fd, dent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0)
126+ {
127+ glnx_set_error_from_errno (error);
128+ goto out;
129+ }
130+
131+ if (S_ISDIR (stbuf.st_mode))
132+ {
133+ if (!hardlink_or_copy_dir_recurse (tree_boot_dfd, bootcsum_dfd, dent->d_name,
134+ TRUE, cancellable, error))
135+ goto out;
136+ }
137+ else
138+ {
139+ if (!hardlink_or_copy_at (tree_boot_dfd, dent->d_name,
140+ bootcsum_dfd, dent->d_name,
141+ cancellable, error))
142+ goto out;
143+ }
85+ } 144+ }
86+ if (!glnx_file_copy_at (tree_boot_dfd, dent->d_name, &stbuf,
87+ bootcsum_dfd, dent->d_name, 0,
88+ cancellable, error))
89+ goto out;
90+ } 145+ }
91+ } 146+ }
92+ 147+ else
148+ {
149+ if (errno != ENOENT)
150+ {
151+ glnx_set_prefix_error_from_errno (error, "fstatat %s", ".ostree-bootcsumdir-source");
152+ goto out;
153+ }
154+ }
93+ 155+
94 if (fstatat (deployment_dfd, "usr/lib/os-release", &stbuf, 0) != 0) 156 if (fstatat (deployment_dfd, "usr/lib/os-release", &stbuf, 0) != 0)
95 { 157 {
diff --git a/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch b/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch
index 960367c..656887d 100644
--- a/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch
+++ b/recipes/ostree/ostree/Create-firmware-convenience-symlinks.patch
@@ -1,44 +1,42 @@
1From 310ddd84dc353d93a2cc118725b459dba643cf0b Mon Sep 17 00:00:00 2001 1From c4df63488b9e09a9aa69e32ea5c0671c9dc50c9d Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@theqtcompany.com> 2From: Gatis Paeglis <gatis.paeglis@qt.io>
3Date: Thu, 21 Apr 2016 16:54:05 +0200 3Date: Wed, 24 Aug 2016 12:29:38 +0200
4Subject: [PATCH 3/3] Create firmware convenience symlinks. 4Subject: [PATCH] Create firmware convenience symlinks.
5 5
6Later this could be moved into utils or a similar 6Later this could be moved into utils or a similar
7location, if other boot loader backends will need 7location, if other boot loader backends will need
8this functionality. 8this functionality.
9--- 9---
10 src/libostree/ostree-bootloader-uboot.c | 97 ++++++++++++++++++++++++++++++++- 10 src/libostree/ostree-bootloader-uboot.c | 93 ++++++++++++++++++++++++++++++++-
11 1 file changed, 96 insertions(+), 1 deletion(-) 11 1 file changed, 92 insertions(+), 1 deletion(-)
12 12
13diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c 13diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c
14index 9bcde9c..be5e8c5 100644 14index 22251da..26a3127 100644
15--- a/src/libostree/ostree-bootloader-uboot.c 15--- a/src/libostree/ostree-bootloader-uboot.c
16+++ b/src/libostree/ostree-bootloader-uboot.c 16+++ b/src/libostree/ostree-bootloader-uboot.c
17@@ -66,6 +66,100 @@ _ostree_bootloader_uboot_get_name (OstreeBootloader *bootloader) 17@@ -62,6 +62,97 @@ _ostree_bootloader_uboot_get_name (OstreeBootloader *bootloader)
18 return "U-Boot"; 18 return "U-Boot";
19 } 19 }
20 20
21+/* It is common for firmware to search / on the boot partition for additional 21+/* It is common for firmware to search / on the boot partition for additional
22+ * files that are required for booting. It can be difficult to change this search 22+ * files that are required for booting. It can be difficult to change this search
23+ * logic if it is hardcoded somewhere low in the stack or is in a read-only memory. 23+ * logic if it is hardcoded somewhere low in the stack or is in a read-only memory.
24+ * This issue can be solved from the OS installer, by creating a symlink in the 24+ * This issue can be solved by system builders by creating a convenience symlink:
25+ * following way:
26+ * 25+ *
27+ * cd sysroot/boot 26+ * cd sysroot/boot
28+ * ln -s loader/second-stage-bootloader second-stage-bootloader 27+ * ln -s loader/second-stage-bootloader second-stage-bootloader
29+ * 28+ *
30+ * This function will make sure that loader/second-stage-bootloader points to the 29+ * This function will make sure that loader/second-stage-bootloader points to the
31+ * correct target file version. This function does nothing if boot/ does not contain 30+ * correct target file version. This function does nothing if boot/ does not contain
32+ * symlink files pointing into loader/. 31+ * symlink files pointing into the loader/ directory.
33+ */ 32+ */
34+static gboolean 33+static gboolean
35+create_firmware_convenience_symlinks (OstreeBootloaderUboot *self, 34+create_firmware_convenience_symlinks (OstreeBootloaderUboot *self,
36+ char *bootcsum_dir, 35+ char *bootcsum_dir,
37+ int bootversion, 36+ int bootversion,
38+ GCancellable *cancellable, 37+ GCancellable *cancellable,
39+ GError **error) 38+ GError **error)
40+{ 39+{
41+ gboolean ret = FALSE;
42+ glnx_fd_close int loader_dfd = -1; 40+ glnx_fd_close int loader_dfd = -1;
43+ glnx_fd_close int boot_dfd = -1; 41+ glnx_fd_close int boot_dfd = -1;
44+ g_autofree char *loader_dir = NULL; 42+ g_autofree char *loader_dir = NULL;
@@ -46,18 +44,18 @@ index 9bcde9c..be5e8c5 100644
46+ 44+
47+ loader_dir = g_strdup_printf ("boot/loader.%d/", bootversion); 45+ loader_dir = g_strdup_printf ("boot/loader.%d/", bootversion);
48+ if (!glnx_opendirat (self->sysroot->sysroot_fd, loader_dir, FALSE, &loader_dfd, error)) 46+ if (!glnx_opendirat (self->sysroot->sysroot_fd, loader_dir, FALSE, &loader_dfd, error))
49+ goto out; 47+ return FALSE;
50+ if (!glnx_opendirat (self->sysroot->sysroot_fd, "boot", FALSE, &boot_dfd, error)) 48+ if (!glnx_opendirat (self->sysroot->sysroot_fd, "boot", FALSE, &boot_dfd, error))
51+ goto out; 49+ return FALSE;
52+ if (!glnx_dirfd_iterator_init_take_fd (dup (boot_dfd), &dfd_iter, error)) 50+ if (!glnx_dirfd_iterator_init_take_fd (dup (boot_dfd), &dfd_iter, error))
53+ goto out; 51+ return FALSE;
54+ 52+
55+ while (TRUE) { 53+ while (TRUE) {
56+ struct dirent *dent; 54+ struct dirent *dent;
57+ struct stat stbuf; 55+ struct stat stbuf;
58+ 56+
59+ if (!glnx_dirfd_iterator_next_dent (&dfd_iter, &dent, cancellable, error)) 57+ if (!glnx_dirfd_iterator_next_dent (&dfd_iter, &dent, cancellable, error))
60+ goto out; 58+ return FALSE;
61+ if (dent == NULL) 59+ if (dent == NULL)
62+ break; 60+ break;
63+ 61+
@@ -66,7 +64,7 @@ index 9bcde9c..be5e8c5 100644
66+ if (errno == ENOENT) 64+ if (errno == ENOENT)
67+ continue; 65+ continue;
68+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "fstatat"); 66+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "fstatat");
69+ goto out; 67+ return FALSE;
70+ } 68+ }
71+ 69+
72+ if (S_ISLNK(stbuf.st_mode)) 70+ if (S_ISLNK(stbuf.st_mode))
@@ -87,44 +85,42 @@ index 9bcde9c..be5e8c5 100644
87+ if (errno == ENOENT) 85+ if (errno == ENOENT)
88+ continue; 86+ continue;
89+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "faccessat"); 87+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "faccessat");
90+ goto out; 88+ return FALSE;
91+ } 89+ }
92+ 90+
93+ /* In case 'ostree admin cleanup' was not run after an interrupted deployment */ 91+ /* Cleanup from stray symlinks. This can happend when the previous deployment was
92+ interrupted and no cleanup routines were run before restaring the deployment. */
94+ if (unlinkat (loader_dfd, dent->d_name, 0) == -1 && errno != ENOENT) 93+ if (unlinkat (loader_dfd, dent->d_name, 0) == -1 && errno != ENOENT)
95+ { 94+ {
96+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "unlinkat"); 95+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "unlinkat");
97+ goto out; 96+ return FALSE;
98+ } 97+ }
99+ /* Complete the link chain to the current boot file version */ 98+ /* Complete the link chain to the current boot file version. */
100+ snprintf (path_buffer, sizeof(path_buffer), "..%s/%s", bootcsum_dir, dent->d_name); 99+ snprintf (path_buffer, sizeof(path_buffer), "..%s/%s", bootcsum_dir, dent->d_name);
101+ if (symlinkat (path_buffer, loader_dfd, dent->d_name) == -1) 100+ if (symlinkat (path_buffer, loader_dfd, dent->d_name) == -1)
102+ { 101+ {
103+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "symlinkat"); 102+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "symlinkat");
104+ goto out; 103+ return FALSE;
105+ } 104+ }
106+ } 105+ }
107+ } 106+ }
108+ } 107+ }
109+ 108+
110+ ret = TRUE; 109+ return TRUE;
111+out:
112+ return ret;
113+} 110+}
114+ 111+
115 static gboolean 112 static gboolean
116 create_config_from_boot_loader_entries (OstreeBootloaderUboot *self, 113 create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
117 int bootversion, 114 int bootversion,
118@@ -130,7 +224,8 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self, 115@@ -138,7 +229,7 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
119 } 116 }
120 } 117 }
121 118
122- ret = TRUE; 119- return TRUE;
123+ ret = create_firmware_convenience_symlinks (self, bootdir, bootversion, cancellable, error); 120+ return create_firmware_convenience_symlinks (self, bootdir, bootversion, cancellable, error);
124+
125 out:
126 return ret;
127 } 121 }
122
123 static gboolean
128-- 124--
1292.7.4 1252.7.4
130 126
diff --git a/recipes/ostree/ostree/Fix-enable_rofiles_fuse-no-build.patch b/recipes/ostree/ostree/Fix-enable_rofiles_fuse-no-build.patch
deleted file mode 100644
index 480fc21..0000000
--- a/recipes/ostree/ostree/Fix-enable_rofiles_fuse-no-build.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From b54643153cade28523cccee44fdddea2c94e0684 Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
3Date: Mon, 25 Apr 2016 13:57:03 +0200
4Subject: [PATCH] Fix --enable_rofiles_fuse=no build
5
6---
7 Makefile.am | 2 ++
8 configure.ac | 2 +-
9 2 files changed, 3 insertions(+), 1 deletion(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index 488d4b6..e49b7c5 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -71,7 +71,9 @@ include Makefile-otutil.am
16 include Makefile-libostree.am
17 include Makefile-ostree.am
18 include Makefile-switchroot.am
19+if BUILDOPT_FUSE
20 include src/rofiles-fuse/Makefile-inc.am
21+endif
22 include Makefile-tests.am
23 include Makefile-boot.am
24 include Makefile-man.am
25diff --git a/configure.ac b/configure.ac
26index dca9f53..6af60e8 100644
27--- a/configure.ac
28+++ b/configure.ac
29@@ -222,7 +222,7 @@ AC_ARG_ENABLE(rofiles-fuse,
30 [AS_HELP_STRING([--enable-rofiles-fuse],
31 [generate rofiles-fuse helper [default=yes]])],,
32 enable_rofiles_fuse=yes)
33-AS_IF([ test $enable_rofiles_fuse != xno ], [
34+AS_IF([ test x$enable_rofiles_fuse != xno ], [
35 PKG_CHECK_MODULES(BUILDOPT_FUSE, $FUSE_DEPENDENCY)
36 ], [enable_rofiles_fuse=no])
37 AM_CONDITIONAL(BUILDOPT_FUSE, test x$enable_rofiles_fuse = xyes)
38--
392.7.4
40
diff --git a/recipes/ostree/ostree/Support-for-booting-without-initramfs.patch b/recipes/ostree/ostree/Support-for-booting-without-initramfs.patch
new file mode 100644
index 0000000..4ec137f
--- /dev/null
+++ b/recipes/ostree/ostree/Support-for-booting-without-initramfs.patch
@@ -0,0 +1,131 @@
1From a31c9083870fd934e242cc9cc56fdd39ad0a42cb Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@qt.io>
3Date: Wed, 24 Aug 2016 12:00:14 +0200
4Subject: [PATCH 3/4] Support for booting without initramfs
5
6Previously when initramfs-* was not found in a deployment's
7boot directory, it was assumed that rootfs is prepared for
8ostree booting by a kernel patch.
9
10With this patch, the behaviour changes to be - if initramfs-*
11is not found, assume that system is using a static
12ostree-prepare-root as init process. Booting without initramfs
13is a common use case on embedded systems. This approach is
14also more convenient, than having to patch the kernel.
15---
16 Makefile-switchroot.am | 3 +++
17 configure.ac | 8 ++++++++
18 src/boot/grub2/ostree-grub-generator | 8 +++++---
19 src/libostree/ostree-sysroot-deploy.c | 18 +++++++++++++-----
20 4 files changed, 29 insertions(+), 8 deletions(-)
21
22diff --git a/Makefile-switchroot.am b/Makefile-switchroot.am
23index ef837ce..70a6de7 100644
24--- a/Makefile-switchroot.am
25+++ b/Makefile-switchroot.am
26@@ -29,6 +29,9 @@ libswitchroot_mountutil_la_SOURCES = \
27 ostree_prepare_root_SOURCES = src/switchroot/ostree-prepare-root.c
28 ostree_prepare_root_LDADD = libswitchroot-mountutil.la
29 ostree_prepare_root_CFLAGS = $(AM_CFLAGS) -Isrc/switchroot
30+if BUILDOPT_STATIC_PREPARE_ROOT
31+ostree_prepare_root_LDFLAGS = --static
32+endif
33
34 ostree_remount_SOURCES = src/switchroot/ostree-remount.c
35 ostree_remount_LDADD = libswitchroot-mountutil.la
36diff --git a/configure.ac b/configure.ac
37index 4831bcc..97f3112 100644
38--- a/configure.ac
39+++ b/configure.ac
40@@ -294,6 +294,13 @@ AS_IF([test x$with_grub2_mkconfig_path = x], [
41 ],[GRUB2_MKCONFIG=$with_grub2_mkconfig_path])
42 AC_DEFINE_UNQUOTED([GRUB2_MKCONFIG_PATH], ["$GRUB2_MKCONFIG"], [The system grub2-mkconfig executible name])
43
44+AC_ARG_WITH(static-prepare-root,
45+ AS_HELP_STRING([--with-static-prepare-root],
46+ [Build static version of the 'ostree-prepare-root' binary. Useful when
47+ using 'ostree-prepare-root' as the init (PID 1) process. (default: no)]),,
48+ [with_static_prepare_root=no])
49+AM_CONDITIONAL(BUILDOPT_STATIC_PREPARE_ROOT, test x$with_static_prepare_root = xyes)
50+
51 dnl for tests
52 AS_IF([test "x$found_introspection" = xyes], [
53 AC_PATH_PROG(GJS, [gjs])
54@@ -327,6 +334,7 @@ echo "
55 libarchive (parse tar files directly): $with_libarchive
56 static deltas: yes (always enabled now)
57 O_TMPFILE: $enable_otmpfile
58+ static ostree-prepare-root $with_static_prepare_root
59 man pages (xsltproc): $enable_man
60 api docs (gtk-doc): $enable_gtk_doc
61 gjs-based tests: $have_gjs
62diff --git a/src/boot/grub2/ostree-grub-generator b/src/boot/grub2/ostree-grub-generator
63index 5673b26..ceca806 100644
64--- a/src/boot/grub2/ostree-grub-generator
65+++ b/src/boot/grub2/ostree-grub-generator
66@@ -28,7 +28,7 @@ entries_path=$(dirname $new_grub2_cfg)/entries
67
68 read_config()
69 {
70- config_file=${entries_path}/${1}
71+ config_file=${1}
72 title=""
73 initrd=""
74 options=""
75@@ -62,11 +62,13 @@ read_config()
76 populate_menu()
77 {
78 boot_prefix="${OSTREE_BOOT_PARTITION}"
79- for config in $(ls ${entries_path}); do
80+ for config in $(ls $entries_path/*.conf); do
81 read_config ${config}
82 menu="${menu}menuentry '${title}' {\n"
83 menu="${menu}\t linux ${boot_prefix}${linux} ${options}\n"
84- menu="${menu}\t initrd ${boot_prefix}${initrd}\n"
85+ if [ -n "${initrd}" ] ; then
86+ menu="${menu}\t initrd ${boot_prefix}${initrd}\n"
87+ fi
88 menu="${menu}}\n\n"
89 done
90 # The printf command seems to be more reliable across shells for special character (\n, \t) evaluation
91diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
92index a05ca30..c0a0347 100644
93--- a/src/libostree/ostree-sysroot-deploy.c
94+++ b/src/libostree/ostree-sysroot-deploy.c
95@@ -1458,20 +1458,28 @@ install_deployment_kernel (OstreeSysroot *sysroot,
96 ostree_bootconfig_parser_set (bootconfig, "linux", boot_relpath);
97 }
98
99+ val = ostree_bootconfig_parser_get (bootconfig, "options");
100+ kargs = _ostree_kernel_args_from_string (val);
101+
102 if (dest_initramfs_name)
103 {
104 g_autofree char * boot_relpath = g_strconcat ("/", bootcsumdir, "/", dest_initramfs_name, NULL);
105 ostree_bootconfig_parser_set (bootconfig, "initrd", boot_relpath);
106 }
107-
108- val = ostree_bootconfig_parser_get (bootconfig, "options");
109+ else
110+ {
111+ g_autofree char *prepare_root_arg = NULL;
112+ prepare_root_arg = g_strdup_printf ("init=/ostree/boot.%d/%s/%s/%d/usr/lib/ostree/ostree-prepare-root",
113+ new_bootversion, osname, bootcsum,
114+ ostree_deployment_get_bootserial (deployment));
115+ _ostree_kernel_args_replace_take (kargs, g_steal_pointer (&prepare_root_arg));
116+ }
117
118 ostree_kernel_arg = g_strdup_printf ("ostree=/ostree/boot.%d/%s/%s/%d",
119 new_bootversion, osname, bootcsum,
120 ostree_deployment_get_bootserial (deployment));
121- kargs = _ostree_kernel_args_from_string (val);
122- _ostree_kernel_args_replace_take (kargs, ostree_kernel_arg);
123- ostree_kernel_arg = NULL;
124+ _ostree_kernel_args_replace_take (kargs, g_steal_pointer (&ostree_kernel_arg));
125+
126 options_key = _ostree_kernel_args_to_string (kargs);
127 ostree_bootconfig_parser_set (bootconfig, "options", options_key);
128
129--
1302.7.4
131
diff --git a/recipes/ostree/ostree/deploy-add-karg-none-argument.patch b/recipes/ostree/ostree/deploy-add-karg-none-argument.patch
new file mode 100644
index 0000000..5eaf68f
--- /dev/null
+++ b/recipes/ostree/ostree/deploy-add-karg-none-argument.patch
@@ -0,0 +1,62 @@
1From 9ca3a2cc64bc709649d0d756fa715aaef807dca8 Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@qt.io>
3Date: Fri, 12 Aug 2016 11:51:04 +0200
4Subject: [PATCH 2/4] deploy: add --karg-none argument
5
6If the current deployment has "rootwait root=/dev/sda2",
7but the new deployment does not need "rootwait" anymore,
8there is no way to clear this arg at the moment (as opposed
9to "karg=root=", which overrides any earlier argument with
10the same name). With "--karg-none" users can now clear all
11the previous args and set new "root=":
12
13ostree admin deploy --karg-none --karg=root=LABEL=rootfs
14---
15 src/ostree/ot-admin-builtin-deploy.c | 10 +++++++++-
16 1 file changed, 9 insertions(+), 1 deletion(-)
17
18diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c
19index c66c9b3..420efa3 100644
20--- a/src/ostree/ot-admin-builtin-deploy.c
21+++ b/src/ostree/ot-admin-builtin-deploy.c
22@@ -38,6 +38,7 @@ static char **opt_kernel_argv_append;
23 static gboolean opt_kernel_proc_cmdline;
24 static char *opt_osname;
25 static char *opt_origin_path;
26+static gboolean opt_kernel_arg_none;
27
28 static GOptionEntry options[] = {
29 { "os", 0, 0, G_OPTION_ARG_STRING, &opt_osname, "Use a different operating system root than the current one", "OSNAME" },
30@@ -46,6 +47,7 @@ static GOptionEntry options[] = {
31 { "karg-proc-cmdline", 0, 0, G_OPTION_ARG_NONE, &opt_kernel_proc_cmdline, "Import current /proc/cmdline", NULL },
32 { "karg", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv, "Set kernel argument, like root=/dev/sda1; this overrides any earlier argument with the same name", "NAME=VALUE" },
33 { "karg-append", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_kernel_argv_append, "Append kernel argument; useful with e.g. console= that can be used multiple times", "NAME=VALUE" },
34+ { "karg-none", 0, 0, G_OPTION_ARG_NONE, &opt_kernel_arg_none, "Do not import kernel arguments", NULL },
35 { NULL }
36 };
37
38@@ -77,6 +79,12 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro
39 goto out;
40 }
41
42+ if (opt_kernel_proc_cmdline && opt_kernel_arg_none)
43+ {
44+ ot_util_usage_error (context, "Can't specify both --karg-proc-cmdline and --karg-none", error);
45+ goto out;
46+ }
47+
48 refspec = argv[1];
49
50 if (!ostree_sysroot_load (sysroot, cancellable, error))
51@@ -135,7 +143,7 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro
52 if (!_ostree_kernel_args_append_proc_cmdline (kargs, cancellable, error))
53 goto out;
54 }
55- else if (merge_deployment)
56+ else if (merge_deployment && !opt_kernel_arg_none)
57 {
58 OstreeBootconfigParser *bootconfig = ostree_deployment_get_bootconfig (merge_deployment);
59 g_auto(GStrv) previous_args = g_strsplit (ostree_bootconfig_parser_get (bootconfig, "options"), " ", -1);
60--
612.7.4
62
diff --git a/recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch b/recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch
new file mode 100644
index 0000000..2800618
--- /dev/null
+++ b/recipes/ostree/ostree/ostree-prepare-root-enabler-for-simpler-kernel-arg.patch
@@ -0,0 +1,54 @@
1From d183819e6e7bdc7a9476542cbef384285f592f3f Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@qt.io>
3Date: Fri, 12 Aug 2016 08:50:29 +0200
4Subject: [PATCH 1/4] ostree-prepare-root: enabler for simpler kernel arg
5
6With the current approach, when ostree-prepare-root is used
7on the kernel command line as init=, it always assumes that
8the next value in the argument list is a path to the sysroot.
9The code for falling back to a default path (if none is provided),
10would only work if init= is the last arg in the argument list.
11We can not rely on that and have to explicitly provide the
12path to the sysroot. Which defeats the purpose of a default
13path selection code.
14
15To keep command line neater assume that sysroot is on / when
16using ostree-prepare-root as init. This probably is what most
17people want anyways. Also _ostree_kernel_args* API assumes
18that args are space separated list. Which is problematic for:
19"init=${ostree}/usr/lib/ostree/ostree-prepare-root /" as it
20gets split in two.
21---
22 src/switchroot/ostree-prepare-root.c | 15 ++++++++++++---
23 1 file changed, 12 insertions(+), 3 deletions(-)
24
25diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c
26index 895b2e5..449fc33 100644
27--- a/src/switchroot/ostree-prepare-root.c
28+++ b/src/switchroot/ostree-prepare-root.c
29@@ -199,10 +199,19 @@ main(int argc, char *argv[])
30 char srcpath[PATH_MAX];
31 struct stat stbuf;
32
33- if (argc < 2)
34- root_mountpoint = "/";
35+ if (getpid() == 1)
36+ {
37+ root_mountpoint = "/";
38+ }
39 else
40- root_mountpoint = argv[1];
41+ {
42+ if (argc < 2)
43+ {
44+ fprintf (stderr, "usage: ostree-prepare-root SYSROOT\n");
45+ exit (EXIT_FAILURE);
46+ }
47+ root_mountpoint = argv[1];
48+ }
49
50 root_mountpoint = realpath (root_mountpoint, NULL);
51 deploy_path = resolve_deploy_path (root_mountpoint);
52--
532.7.4
54
diff --git a/recipes/ostree/ostree/u-boot-Merge-ostree-s-and-systems-uEnv.txt.patch b/recipes/ostree/ostree/u-boot-Merge-ostree-s-and-systems-uEnv.txt.patch
deleted file mode 100644
index 501f8d4..0000000
--- a/recipes/ostree/ostree/u-boot-Merge-ostree-s-and-systems-uEnv.txt.patch
+++ /dev/null
@@ -1,104 +0,0 @@
1From 86184e5a266b087ba222b03141b491241e27e284 Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
3Date: Thu, 21 Apr 2016 14:28:38 +0200
4Subject: [PATCH 2/3] u-boot: Merge ostree's and systems uEnv.txt
5
6This allow for simpler u-boot scripts and is a proper
7fix for: https://bugzilla.gnome.org/show_bug.cgi?id=755787
8
9With this patch admin can now:
10
111) Edit /usr/lib/ostree-boot/uEnv.txt
12
132) Download the update to a target. And during the deploy
14 process OSTree will prepend its env (loader/uEnv.txt)
15 to the system's uEnv.txt
16---
17 src/libostree/ostree-bootloader-uboot.c | 41 ++++++++++++++++++++++++++++++---
18 1 file changed, 38 insertions(+), 3 deletions(-)
19
20diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c
21index f67e9bd..9bcde9c 100644
22--- a/src/libostree/ostree-bootloader-uboot.c
23+++ b/src/libostree/ostree-bootloader-uboot.c
24@@ -29,6 +29,10 @@
25 #include "otutil.h"
26
27 #include <string.h>
28+#include <stdlib.h>
29+#include <stdio.h>
30+#include <unistd.h>
31+#include <fcntl.h>
32
33 struct _OstreeBootloaderUboot
34 {
35@@ -69,13 +73,17 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
36 GCancellable *cancellable,
37 GError **error)
38 {
39+ gboolean ret = FALSE;
40 g_autoptr(GPtrArray) boot_loader_configs = NULL;
41 OstreeBootconfigParser *config;
42 const char *val;
43+ g_autofree char *bootdir = NULL;
44+ g_autoptr(GFile) uenv_file = NULL;
45+ char uenv_path[PATH_MAX];
46
47 if (!_ostree_sysroot_read_boot_loader_configs (self->sysroot, bootversion, &boot_loader_configs,
48 cancellable, error))
49- return FALSE;
50+ goto out;
51
52 /* U-Boot doesn't support a menu so just pick the first one since the list is ordered */
53 config = boot_loader_configs->pdata[0];
54@@ -85,10 +93,13 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
55 {
56 g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
57 "No \"linux\" key in bootloader config");
58- return FALSE;
59+ goto out;
60 }
61 g_ptr_array_add (new_lines, g_strdup_printf ("kernel_image=%s", val));
62
63+ bootdir = strndup (val, strrchr(val, '/') - val);
64+ g_ptr_array_add (new_lines, g_strdup_printf ("bootdir=%s/", bootdir));
65+
66 val = ostree_bootconfig_parser_get (config, "initrd");
67 if (val)
68 g_ptr_array_add (new_lines, g_strdup_printf ("ramdisk_image=%s", val));
69@@ -97,7 +108,31 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
70 if (val)
71 g_ptr_array_add (new_lines, g_strdup_printf ("bootargs=%s", val));
72
73- return TRUE;
74+ /* Append user's uEnv.txt if it exists */
75+ snprintf (uenv_path, sizeof(uenv_path), "boot/%s/uEnv.txt", bootdir);
76+ uenv_file = g_file_get_child (self->sysroot->path, uenv_path);
77+ if (g_file_query_exists (uenv_file, cancellable))
78+ {
79+ g_autoptr(GInputStream) instream = NULL;
80+ g_autoptr(GDataInputStream) datastream = NULL;
81+ gsize len;
82+ instream = (GInputStream*)g_file_read (uenv_file, cancellable, error);
83+ if (!instream)
84+ goto out;
85+
86+ datastream = g_data_input_stream_new (instream);
87+ while (TRUE)
88+ {
89+ val = g_data_input_stream_read_line (datastream, &len, cancellable, error);
90+ if (!val)
91+ break;
92+ g_ptr_array_add (new_lines, (char *)val);
93+ }
94+ }
95+
96+ ret = TRUE;
97+out:
98+ return ret;
99 }
100
101 static gboolean
102--
1032.7.4
104
diff --git a/recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch b/recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch
new file mode 100644
index 0000000..e8c8f16
--- /dev/null
+++ b/recipes/ostree/ostree/u-boot-add-bootdir-to-the-generated-uEnv.txt.patch
@@ -0,0 +1,52 @@
1From 8323c038733522f7f31fefc8921b7c1760416638 Mon Sep 17 00:00:00 2001
2From: Gatis Paeglis <gatis.paeglis@qt.io>
3Date: Mon, 22 Aug 2016 15:52:21 +0200
4Subject: [PATCH 3/3] u-boot: add 'bootdir' to the generated uEnv.txt
5
6When doing a full copy of:
7
8$deployment/usr/lib/ostree-boot -> /boot/ostree/$os-$bootcsum/
9
10U-Boot bootscript can use the 'bootdir' to find, for example,
11the Device Tree (dtb) file, as in:
12
13load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname}
14
15Or u-boot external bootscript:
16
17load ${dtype} ${disk}:${bootpart} ${a_scr} ${bootdir}${scriptname}
18
19It could also be possible to point 'bootdir' directly to the
20$deployment/usr/lib/ostree-boot, but this would add unnecessary
21restrictions on what file system can be used for rootfs as u-boot,
22for example, can not read from BTRFS. So having
23bootdir=/boot/ostree/$os-$bootcsum/ is a better approach here, as
24/boot can be on a separate partition with its own file system type.
25---
26 src/libostree/ostree-bootloader-uboot.c | 3 +++
27 1 file changed, 3 insertions(+)
28
29diff --git a/src/libostree/ostree-bootloader-uboot.c b/src/libostree/ostree-bootloader-uboot.c
30index f95ea84..0786626 100644
31--- a/src/libostree/ostree-bootloader-uboot.c
32+++ b/src/libostree/ostree-bootloader-uboot.c
33@@ -72,6 +72,7 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
34 g_autoptr(GPtrArray) boot_loader_configs = NULL;
35 OstreeBootconfigParser *config;
36 const char *val;
37+ g_autofree char *bootdir = NULL;
38
39 if (!_ostree_sysroot_read_boot_loader_configs (self->sysroot, bootversion, &boot_loader_configs,
40 cancellable, error))
41@@ -88,6 +89,8 @@ create_config_from_boot_loader_entries (OstreeBootloaderUboot *self,
42 return FALSE;
43 }
44 g_ptr_array_add (new_lines, g_strdup_printf ("kernel_image=%s", val));
45+ bootdir = strndup (val, strrchr(val, '/') - val);
46+ g_ptr_array_add (new_lines, g_strdup_printf ("bootdir=%s/", bootdir));
47
48 val = ostree_bootconfig_parser_get (config, "initrd");
49 if (val)
50--
512.7.4
52
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb
index 0e77368..aa757b2 100644
--- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb
+++ b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb
@@ -67,7 +67,6 @@ RDEPENDS_${PN} = "\
67 tzdata-europe \ 67 tzdata-europe \
68 atk \ 68 atk \
69 libevent \ 69 libevent \
70 ostree \
71 dracut \ 70 dracut \
72 connman \ 71 connman \
73 ${@base_contains("DISTRO_FEATURES", "wayland", "wayland weston weston-examples", "", d)} \ 72 ${@base_contains("DISTRO_FEATURES", "wayland", "wayland weston weston-examples", "", d)} \
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb
index 31e0cb4..243c4de 100644
--- a/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb
+++ b/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb
@@ -58,7 +58,6 @@ RDEPENDS_${PN} += "\
58 libpq-dev \ 58 libpq-dev \
59 atk-dev \ 59 atk-dev \
60 libevent-dev \ 60 libevent-dev \
61 ostree-dev \
62 ${@base_contains("DISTRO_FEATURES", "wayland", "libxkbcommon-dev libgbm-dev libdrm-dev", "", d)} \ 61 ${@base_contains("DISTRO_FEATURES", "wayland", "libxkbcommon-dev libgbm-dev libdrm-dev", "", d)} \
63 ${@base_contains("DISTRO_FEATURES", "bluetooth", "${BLUEZ}-dev", "", d)} \ 62 ${@base_contains("DISTRO_FEATURES", "bluetooth", "${BLUEZ}-dev", "", d)} \
64 ${MACHINE_EXTRA_INSTALL_SDK} \ 63 ${MACHINE_EXTRA_INSTALL_SDK} \
diff --git a/recipes/python/nativesdk-prebuild-python.bb b/recipes/python/nativesdk-prebuild-python.bb
index 496f4eb..f09133e 100644
--- a/recipes/python/nativesdk-prebuild-python.bb
+++ b/recipes/python/nativesdk-prebuild-python.bb
@@ -31,6 +31,8 @@ LICENSE = "PSFv2"
31 31
32inherit bin_package nativesdk 32inherit bin_package nativesdk
33 33
34COMPATIBLE_HOST = ".*-mingw.*"
35
34SRC_URI[md5sum] = "6d37712f01fa836b1303141a6d4cabda" 36SRC_URI[md5sum] = "6d37712f01fa836b1303141a6d4cabda"
35SRC_URI[sha256sum] = "3835868c171dddb8cb68ed5578b6d4d639387a038e999a5b008f393b704d6ad7" 37SRC_URI[sha256sum] = "3835868c171dddb8cb68ed5578b6d4d639387a038e999a5b008f393b704d6ad7"
36SRC_URI = "http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip" 38SRC_URI = "http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip"
@@ -51,3 +53,6 @@ do_install() {
51sysroot_stage_dirs_append() { 53sysroot_stage_dirs_append() {
52 sysroot_stage_dir $from${bindir} $to${bindir} 54 sysroot_stage_dir $from${bindir} $to${bindir}
53} 55}
56
57# requires /usr/local/bin/python, but no providers found
58INSANE_SKIP_${PN} += "file-rdeps"
diff --git a/recipes/samba/samba_4.1.12.bbappend b/recipes/samba/samba_4.%.bbappend
index 4a86809..4a86809 100644
--- a/recipes/samba/samba_4.1.12.bbappend
+++ b/recipes/samba/samba_4.%.bbappend
diff --git a/recipes/systemd/systemd/usb-rndis.network b/recipes/systemd/systemd/usb-rndis.network
new file mode 100644
index 0000000..d529eeb
--- /dev/null
+++ b/recipes/systemd/systemd/usb-rndis.network
@@ -0,0 +1,5 @@
1[Match]
2Type=gadget
3
4[Network]
5LinkLocalAddressing=yes
diff --git a/recipes/systemd/systemd_%.bbappend b/recipes/systemd/systemd_%.bbappend
index 0877135..4dce1b2 100644
--- a/recipes/systemd/systemd_%.bbappend
+++ b/recipes/systemd/systemd_%.bbappend
@@ -28,11 +28,19 @@
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "file://0020-Revert-core-mount-add-dependencies-to-dynamically-mo.patch" 31SRC_URI += " \
32 file://0020-Revert-core-mount-add-dependencies-to-dynamically-mo.patch \
33 file://usb-rndis.network \
34"
35
36PACKAGECONFIG_append = " networkd"
32 37
33do_install_append() { 38do_install_append() {
34 # remove login from tty1 39 # remove login from tty1
35 rm -f ${D}${sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service 40 rm -f ${D}${sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service
41 # set up link-local IPs for USB network interface
42 install -d ${D}${prefix}/lib/systemd/network/
43 install -m 0644 ${WORKDIR}/usb-rndis.network ${D}${prefix}/lib/systemd/network/
36} 44}
37 45
38do_verify_patch_required() { 46do_verify_patch_required() {
diff --git a/recipes/udev/udev/0001-support-multitouch-screens.patch b/recipes/udev/udev/0001-support-multitouch-screens.patch
deleted file mode 100644
index aacb8e0..0000000
--- a/recipes/udev/udev/0001-support-multitouch-screens.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 51a9f15b10357a4ad1d8b2e50ec14031f68c0d48 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@digia.com>
3Date: Fri, 12 Apr 2013 09:41:41 +0300
4Subject: [PATCH] support multitouch screens
5
6---
7 src/udev-builtin-input_id.c | 5 +++--
8 1 file changed, 3 insertions(+), 2 deletions(-)
9
10diff --git a/src/udev-builtin-input_id.c b/src/udev-builtin-input_id.c
11index a062ef7..0c5358e 100644
12--- a/src/udev-builtin-input_id.c
13+++ b/src/udev-builtin-input_id.c
14@@ -108,8 +108,9 @@ static void test_pointers (struct udev_device *dev,
15 return;
16 }
17
18- if (test_bit (EV_ABS, bitmask_ev) &&
19- test_bit (ABS_X, bitmask_abs) && test_bit (ABS_Y, bitmask_abs)) {
20+ if (test_bit (EV_ABS, bitmask_ev) && (
21+ (test_bit (ABS_X, bitmask_abs) && test_bit (ABS_Y, bitmask_abs)) ||
22+ (test_bit (ABS_MT_POSITION_X, bitmask_abs) && test_bit (ABS_MT_POSITION_Y, bitmask_abs)))) {
23 if (test_bit (BTN_STYLUS, bitmask_key) || test_bit (BTN_TOOL_PEN, bitmask_key))
24 udev_builtin_add_property(dev, test, "ID_INPUT_TABLET", "1");
25 else if (test_bit (BTN_TOOL_FINGER, bitmask_key) && !test_bit (BTN_TOOL_PEN, bitmask_key))
26--
271.7.10.4
28
diff --git a/recipes/udev/udev/beagleboard/udev-cache.default b/recipes/udev/udev/beagleboard/udev-cache.default
deleted file mode 100644
index d0050b8..0000000
--- a/recipes/udev/udev/beagleboard/udev-cache.default
+++ /dev/null
@@ -1,4 +0,0 @@
1# Default for /etc/init.d/udev
2
3# Comment this out to disable device cache
4#DEVCACHE="/etc/dev.tar"
diff --git a/recipes/udev/udev/beaglebone/udev-cache.default b/recipes/udev/udev/beaglebone/udev-cache.default
deleted file mode 100644
index d0050b8..0000000
--- a/recipes/udev/udev/beaglebone/udev-cache.default
+++ /dev/null
@@ -1,4 +0,0 @@
1# Default for /etc/init.d/udev
2
3# Comment this out to disable device cache
4#DEVCACHE="/etc/dev.tar"
diff --git a/recipes/virtualbox/virtualbox-guest-additions_4.3.30.bb b/recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb
index 6fa6963..3522ed5 100644
--- a/recipes/virtualbox/virtualbox-guest-additions_4.3.30.bb
+++ b/recipes/virtualbox/virtualbox-guest-additions_5.1.4.bb
@@ -38,8 +38,8 @@ PR = "${MACHINE_KERNEL_PR}"
38 38
39SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" 39SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2"
40 40
41SRC_URI[md5sum] = "cc053340f88922a11ad9d4fab56557bd" 41SRC_URI[md5sum] = "e25a6a1f3c113c373dc0433f9c2526f3"
42SRC_URI[sha256sum] = "ea9569ec16cd6202ee61bcadb2506d31ac12fd343adb91565773a05eaaea9a36" 42SRC_URI[sha256sum] = "b9a14a7771059c55c44b97f8d4eef9bea84544f3e215e0caa563bc35e2f16aaf"
43 43
44S = "${WORKDIR}/vbox" 44S = "${WORKDIR}/vbox"
45 45
diff --git a/scripts/manifest.xml b/scripts/manifest.xml
index 89a97f7..2ad25df 100644
--- a/scripts/manifest.xml
+++ b/scripts/manifest.xml
@@ -6,8 +6,6 @@
6 <remote fetch="git://git.yoctoproject.org" name="yocto"/> 6 <remote fetch="git://git.yoctoproject.org" name="yocto"/>
7 <remote fetch="git://git.openembedded.org" name="oe"/> 7 <remote fetch="git://git.openembedded.org" name="oe"/>
8 <remote fetch="git://github.com/Freescale" name="freescale"/> 8 <remote fetch="git://github.com/Freescale" name="freescale"/>
9 <remote fetch="git://github.com/beagleboard" name="beagleboard"/>
10 <remote fetch="git://git.toradex.com" name="toradex"/>
11 <remote fetch="git://github.com/architech-boards" name="architech"/> 9 <remote fetch="git://github.com/architech-boards" name="architech"/>
12 <remote fetch="git://github.com/meta-qt5" name="meta-qt5"/> 10 <remote fetch="git://github.com/meta-qt5" name="meta-qt5"/>
13 <remote fetch="git://code.qt.io/yocto" name="qtyocto"/> 11 <remote fetch="git://code.qt.io/yocto" name="qtyocto"/>
@@ -17,11 +15,11 @@
17 15
18 <project name="poky" 16 <project name="poky"
19 remote="yocto" 17 remote="yocto"
20 revision="40376446904ae3529be41737fed9a0b650ed167d" 18 revision="fc75bea445bb57e1e942b5049ee2b6e5245649ea"
21 path="sources/poky"/> 19 path="sources/poky"/>
22 <project name="meta-openembedded" 20 <project name="meta-openembedded"
23 remote="oe-mirror" 21 remote="oe-mirror"
24 revision="8ab04afbffb4bc5184cfe0655049de6f44269990" 22 revision="247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
25 path="sources/meta-openembedded"/> 23 path="sources/meta-openembedded"/>
26 <project name="meta-qt5" 24 <project name="meta-qt5"
27 remote="qtyocto" 25 remote="qtyocto"
@@ -30,38 +28,28 @@
30 <project name="meta-mingw" 28 <project name="meta-mingw"
31 remote="qtyocto" 29 remote="qtyocto"
32 path="sources/meta-mingw" 30 path="sources/meta-mingw"
33 revision="bf2d66bbb26afbf4c22744af925daa53f61d98e1"/> 31 revision="70e42fd678d494bf11a12cb57eff820142543159"/>
34 32
35 <project name="meta-fsl-arm" 33 <project name="meta-fsl-arm"
36 remote="yocto" 34 remote="yocto"
37 revision="c9e576bdae8c481f5a836531c7865fe8b8a5a36f" 35 revision="a6b95df4d7ab122f1e5b7632e2273b75f853af4b"
38 path="sources/meta-fsl-arm" 36 path="sources/meta-fsl-arm"
39 groups="notdefault,external,fsl,toradex,architech,ti,bbb,smx6,renesas"/> 37 groups="notdefault,external,fsl,architech,ti,smx6,renesas"/>
40 <project name="meta-ti" 38 <project name="meta-ti"
41 remote="yocto" 39 remote="yocto"
42 revision="0da13d5a37a9d40ad6e41fe5eeeb532fef795a7a" 40 revision="f807c7185321fb407e82c529ddff310dc037f727"
43 path="sources/meta-ti" 41 path="sources/meta-ti"
44 groups="notdefault,external,ti,bbb"/> 42 groups="notdefault,external,ti"/>
45 <project name="meta-raspberrypi" 43 <project name="meta-raspberrypi"
46 remote="yocto" 44 remote="yocto"
47 revision="e82417d33b8147f65141ef937d56735d80ee7207" 45 revision="2745399f75d7564fcc586d0365ff73be47849d0e"
48 path="sources/meta-raspberrypi" 46 path="sources/meta-raspberrypi"
49 groups="notdefault,external,rpi"/> 47 groups="notdefault,external,rpi"/>
50 <project name="meta-fsl-arm-extra" 48 <project name="meta-fsl-arm-extra"
51 remote="freescale" 49 remote="freescale"
52 revision="dd074c47af53948041f6c5671e519fbf815b0980" 50 revision="99649b72f60fda4a2cfb2333791fe0f92997fa9e"
53 path="sources/meta-fsl-arm-extra" 51 path="sources/meta-fsl-arm-extra"
54 groups="notdefault,external,fsl,toradex,architech,smx6"/> 52 groups="notdefault,external,fsl,architech,smx6"/>
55 <project name="meta-beagleboard"
56 remote="beagleboard"
57 revision="b5c709b2b6bd3bf236df923fa8f245a00fbb1b60"
58 path="sources/meta-beagleboard"
59 groups="notdefault,external,bbb"/>
60 <project name="meta-toradex"
61 remote="toradex"
62 revision="485643678b2d39d37b1cc9d1aa2200bb934b08de"
63 path="sources/meta-toradex"
64 groups="notdefault,external,toradex"/>
65 <project name="meta-tibidabo" 53 <project name="meta-tibidabo"
66 remote="architech" 54 remote="architech"
67 revision="06c6b09e0776507e1230aa98b5ca10d9d3968286" 55 revision="06c6b09e0776507e1230aa98b5ca10d9d3968286"
@@ -69,12 +57,12 @@
69 groups="notdefault,external,architech"/> 57 groups="notdefault,external,architech"/>
70 <project name="meta-intel" 58 <project name="meta-intel"
71 remote="intel" 59 remote="intel"
72 revision="4e87c59bdedaa8c3e44fc02fd23be726c4d1dfb9" 60 revision="b8c199201ffe026485a14e1fcfc398e2b3551512"
73 path="sources/meta-intel" 61 path="sources/meta-intel"
74 groups="notdefault,external,intel"/> 62 groups="notdefault,external,intel"/>
75 <project name="meta-renesas" 63 <project name="meta-renesas"
76 remote="yocto" 64 remote="yocto"
77 revision="b7843bd6a2835e5199cab9ba196c5e67b15acaed" 65 revision="d20e5bffb582c6bfabdadc22e903df86c8cfd66b"
78 path="sources/meta-renesas" 66 path="sources/meta-renesas"
79 groups="notdefault,external,renesas"/> 67 groups="notdefault,external,renesas"/>
80 68
diff --git a/scripts/manifest_jethro.xml b/scripts/manifest_jethro.xml
deleted file mode 100644
index 829ffcb..0000000
--- a/scripts/manifest_jethro.xml
+++ /dev/null
@@ -1,108 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<manifest>
3
4 <default sync-j="4" revision="dizzy"/>
5
6 <remote fetch="git://git.yoctoproject.org" name="yocto"/>
7 <remote fetch="git://git.openembedded.org" name="oe"/>
8 <remote fetch="git://github.com/Freescale" name="freescale"/>
9 <remote fetch="git://github.com/beagleboard" name="beagleboard"/>
10 <remote fetch="git://git.toradex.com" name="toradex"/>
11 <remote fetch="git://github.com/architech-boards" name="architech"/>
12 <remote fetch="git://github.com/meta-qt5" name="meta-qt5"/>
13 <remote fetch="git://code.qt.io/yocto" name="qtyocto"/>
14 <remote fetch="git://git.yoctoproject.org" name="intel"/>
15 <remote fetch="git://github.com/openembedded" name="oe-mirror"/>
16 <remote fetch="ssh://git@git.qt.io/boot2qt" name="playground"/>
17
18 <project name="poky"
19 remote="yocto"
20 revision="jethro"
21 path="sources/poky"/>
22 <project name="meta-openembedded"
23 remote="oe-mirror"
24 revision="jethro"
25 path="sources/meta-openembedded"/>
26 <project name="meta-qt5"
27 remote="qtyocto"
28 revision="5.7"
29 path="sources/meta-qt5"/>
30 <project name="meta-mingw"
31 remote="qtyocto"
32 path="sources/meta-mingw"
33 revision="jethro"/>
34
35 <project name="meta-fsl-arm"
36 remote="yocto"
37 revision="jethro"
38 path="sources/meta-fsl-arm"
39 groups="notdefault,external,fsl,toradex,architech,ti,bbb,smx6,renesas"/>
40 <project name="meta-ti"
41 remote="yocto"
42 revision="master"
43 path="sources/meta-ti"
44 groups="notdefault,external,ti,bbb"/>
45 <project name="meta-raspberrypi"
46 remote="yocto"
47 revision="master"
48 path="sources/meta-raspberrypi"
49 groups="notdefault,external,rpi"/>
50 <project name="meta-fsl-arm-extra"
51 remote="freescale"
52 revision="jethro"
53 path="sources/meta-fsl-arm-extra"
54 groups="notdefault,external,fsl,toradex,architech,smx6"/>
55 <project name="meta-beagleboard"
56 remote="beagleboard"
57 revision="master"
58 path="sources/meta-beagleboard"
59 groups="notdefault,external,bbb"/>
60 <project name="meta-toradex"
61 remote="toradex"
62 revision="V2.5"
63 path="sources/meta-toradex"
64 groups="notdefault,external,toradex"/>
65 <project name="meta-tibidabo"
66 remote="architech"
67 revision="dora"
68 path="sources/meta-tibidabo"
69 groups="notdefault,external,architech"/>
70 <project name="meta-intel"
71 remote="intel"
72 revision="jethro"
73 path="sources/meta-intel"
74 groups="notdefault,external,intel"/>
75 <project name="meta-renesas"
76 remote="yocto"
77 revision="master"
78 path="sources/meta-renesas"
79 groups="notdefault,external,renesas"/>
80
81 <project name="nvidia-layer"
82 remote="playground"
83 revision="master"
84 path="sources/nvidia-layer"
85 groups="notdefault,internal"/>
86 <project name="jetson-tk1-pro"
87 remote="playground"
88 revision="master"
89 path="sources/jetson-tk1-pro"
90 groups="notdefault,internal"/>
91 <project name="vibrante-t186"
92 remote="playground"
93 revision="master"
94 path="sources/vibrante-t186"
95 groups="notdefault,internal"/>
96 <project name="meta-smx6"
97 remote="playground"
98 revision="fido"
99 path="sources/meta-smx6"
100 groups="notdefault,internal"/>
101 <project name="renesas-rcar-gen2"
102 remote="playground"
103 revision="master"
104 path="sources/renesas-rcar-gen2"
105 groups="notdefault,internal"/>
106
107</manifest>
108
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index 5ee1ad0..5825bf1 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -57,7 +57,7 @@ BUILDDIRECTORY=${BUILDDIRECTORY:-build-${MACHINE}}
57if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then 57if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
58 case ${MACHINE} in 58 case ${MACHINE} in
59 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) 59 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7)
60 LAYERSCONF="bblayers.conf.toradex.sample" 60 LAYERSCONF="bblayers.conf.fsl.sample"
61 ;; 61 ;;
62 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd) 62 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd)
63 LAYERSCONF="bblayers.conf.fsl.sample" 63 LAYERSCONF="bblayers.conf.fsl.sample"
@@ -68,13 +68,10 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
68 tibidabo) 68 tibidabo)
69 LAYERSCONF="bblayers.conf.tibidabo.sample" 69 LAYERSCONF="bblayers.conf.tibidabo.sample"
70 ;; 70 ;;
71 beagleboard|am335x-evm) 71 beagleboard|beaglebone|am335x-evm)
72 LAYERSCONF="bblayers.conf.ti.sample" 72 LAYERSCONF="bblayers.conf.ti.sample"
73 ;; 73 ;;
74 beaglebone) 74 raspberrypi0|raspberrypi|raspberrypi2|raspberrypi3)
75 LAYERSCONF="bblayers.conf.bbb.sample"
76 ;;
77 raspberrypi|raspberrypi2|raspberrypi3)
78 LAYERSCONF="bblayers.conf.rpi.sample" 75 LAYERSCONF="bblayers.conf.rpi.sample"
79 ;; 76 ;;
80 intel-corei7-64) 77 intel-corei7-64)
diff --git a/scripts/upload.sh b/scripts/upload.sh
index 96189ea..af7e1f2 100755
--- a/scripts/upload.sh
+++ b/scripts/upload.sh
@@ -31,7 +31,7 @@
31set -x 31set -x
32set -e 32set -e
33 33
34RELEASE=5.7 34RELEASE=5.8
35UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/ 35UPLOADPATH=QT@ci-files02-hki.ci.local:/srv/jenkins_data/enterprise/b2qt/yocto/${RELEASE}/
36 36
37if [ -e tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.hdd ]; then 37if [ -e tmp/deploy/images/${MACHINE}/b2qt-${PROJECT}-qt5-image-${MACHINE}.hdd ]; then