summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README3
-rwxr-xr-xb2qt-init-build-env35
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.draak.sample (renamed from meta-raspberrypi-extras/recipes/linux/linux-firmware_%.bbappend)35
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample1
-rw-r--r--meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf30
-rw-r--r--meta-boot2qt-distro/conf/distro/include/boundary.inc2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf8
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-vf.conf6
-rw-r--r--meta-boot2qt-distro/conf/distro/include/draak.conf46
-rw-r--r--meta-boot2qt-distro/conf/distro/include/ebisu.conf (renamed from meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf)6
-rw-r--r--meta-boot2qt-distro/conf/distro/include/emulator.conf12
-rw-r--r--meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc79
-rw-r--r--meta-boot2qt-distro/conf/distro/include/fsl.inc2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf35
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf41
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf6
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf30
-rw-r--r--meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf14
-rw-r--r--meta-boot2qt-distro/conf/distro/include/jetson.inc9
-rw-r--r--meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf39
-rw-r--r--meta-boot2qt-distro/conf/distro/include/nitrogen7.conf2
-rw-r--r--meta-boot2qt-distro/conf/distro/include/no-gpl3.inc48
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi.inc4
-rw-r--r--meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc26
-rw-r--r--meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf20
-rw-r--r--meta-boot2qt-distro/conf/distro/include/toradex.inc19
-rw-r--r--meta-boot2qt-distro/conf/layer.conf2
-rw-r--r--meta-boot2qt-distro/conf/machine/emulator.conf5
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend24
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch21
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch11
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch96
-rw-r--r--meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb2
-rw-r--r--meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend36
-rw-r--r--meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend (renamed from meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend)0
-rw-r--r--meta-boot2qt-distro/recipes-extended/libarchive/libarchive_%.bbappend (renamed from meta-intel-extras/recipes/initramfs-basic/initramfs-basic.bbappend)2
-rw-r--r--meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb3
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb6
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb1
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb1
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qt3d_git.bbappend (renamed from meta-boot2qt-distro/recipes-qt/qt5/qtwebengine_git.bbappend)3
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch33
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend5
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch11
-rw-r--r--meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend31
-rw-r--r--meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend19
-rw-r--r--meta-boot2qt-distro/wic/directdisk.wks7
-rw-r--r--meta-boot2qt/classes/deploy-conf.bbclass4
-rw-r--r--meta-boot2qt/classes/image-hdd.bbclass48
-rw-r--r--meta-boot2qt/classes/image_dd.bbclass87
-rw-r--r--meta-boot2qt/classes/image_types_sdcard.bbclass27
-rw-r--r--meta-boot2qt/classes/internal-build.bbclass4
-rw-r--r--meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass34
-rw-r--r--meta-boot2qt/classes/populate_b2qt_sdk.bbclass2
-rw-r--r--meta-boot2qt/classes/qbsp.bbclass6
-rw-r--r--meta-boot2qt/classes/qt5-features.bbclass (renamed from meta-boot2qt-distro/recipes-devtools/gcc/gcc-sanitizers_%.bbappend)15
-rw-r--r--meta-boot2qt/conf/layer.conf2
-rwxr-xr-xmeta-boot2qt/files/configure-qtcreator.sh13
-rw-r--r--meta-boot2qt/files/qbsp/base_installscript.qs58
-rw-r--r--meta-boot2qt/files/qbsp/base_package.xml2
-rw-r--r--meta-boot2qt/files/qbsp/image_package.xml1
-rw-r--r--meta-boot2qt/files/qbsp/toolchain_installscript.qs20
-rw-r--r--meta-boot2qt/files/qbsp/toolchain_package.xml1
-rw-r--r--meta-boot2qt/recipes-core/initramfs-basic/files/init.sh107
-rw-r--r--meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb43
-rw-r--r--meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb50
-rw-r--r--meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_5.2.18.bb (renamed from meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_4.3.30.bb)8
-rw-r--r--meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.2.18.bb (renamed from meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.1.16.bb)10
-rw-r--r--meta-boot2qt/recipes-qt/automotive/gammaray_git.bb7
-rw-r--r--meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb3
-rw-r--r--meta-boot2qt/recipes-qt/automotive/qmllive_git.bb2
-rw-r--r--meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb3
-rw-r--r--meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch18
-rw-r--r--meta-boot2qt/recipes-qt/automotive/qtivi_git.bb9
-rw-r--r--meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf9
-rw-r--r--meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf8
-rw-r--r--meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb6
-rw-r--r--meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb2
-rwxr-xr-xmeta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh19
-rw-r--r--meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb4
-rw-r--r--meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb2
-rw-r--r--meta-fsl-extras/conf/layer.conf2
-rw-r--r--meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc81
-rw-r--r--meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc28
-rw-r--r--meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend31
-rw-r--r--meta-fsl-extras/recipes/libsdl2/libsdl2_%.bbappend (renamed from meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend)2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend5
-rw-r--r--meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend8
-rw-r--r--meta-fsl-extras/recipes/linux/linux-warp7/defconfig444
-rw-r--r--meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb18
-rw-r--r--meta-fsl-extras/recipes/perf/perf.bbappend (renamed from meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend)3
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch45
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch8
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch36
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-boundary_%.bbappend (renamed from meta-fsl-extras/recipes/u-boot/u-boot-boundary_git.bbappend)5
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch11
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch37
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch10
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend3
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch13
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_%.bbappend (renamed from meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend)2
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb4
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch20
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch36
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr4
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr4
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch24
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch13
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch10
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch10
-rw-r--r--meta-fsl-extras/wic/imx8-uboot-bootpart.wks19
-rw-r--r--meta-intel-extras/classes/image_dd_efi.bbclass49
-rw-r--r--meta-intel-extras/conf/layer.conf2
-rw-r--r--meta-intel-extras/recipes/grub/grub-efi/grub.cfg10
-rw-r--r--meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend31
-rw-r--r--meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh3
-rw-r--r--meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc8
-rw-r--r--meta-intel-extras/recipes/initrdscripts/initramfs-framework_1.0.bbappend (renamed from meta-nvidia-extras/recipes/connman-conf/connman-conf.bbappend)16
-rw-r--r--meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch39
-rw-r--r--meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch37
-rw-r--r--meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch34
-rw-r--r--meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch44
-rw-r--r--meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch32
-rw-r--r--meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch36
-rw-r--r--meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch37
-rw-r--r--meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch29
-rw-r--r--meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch26
-rw-r--r--meta-intel-extras/recipes/mesa/mesa.inc233
-rw-r--r--meta-intel-extras/recipes/mesa/mesa_17.0.2.bb18
-rw-r--r--meta-intel-extras/recipes/mesa/mesa_18.1.9.bb21
-rw-r--r--meta-intel-extras/recipes/microcode-initramfs/microcode-initramfs.bb (renamed from meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend)39
-rw-r--r--meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks13
-rw-r--r--meta-nvidia-extras/conf/layer.conf2
-rw-r--r--meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf4
-rw-r--r--meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend33
-rw-r--r--meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend35
-rw-r--r--meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend30
-rw-r--r--meta-nvidia-extras/recipes/libdrm-nv/libdrm-nv_%.bbappend (renamed from meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend)4
-rw-r--r--meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend6
-rw-r--r--meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend9
-rw-r--r--meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch27
-rw-r--r--meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch42
-rw-r--r--meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend31
-rw-r--r--meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend3
-rw-r--r--meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc12
-rw-r--r--meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend14
-rw-r--r--meta-nvidia-extras/recipes/wayland/wayland_%.bbappend6
-rw-r--r--meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch30
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch29
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch80
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch174
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch125
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch70
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/libsystemd.patch53
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch43
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch37
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/weston.desktop9
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/weston.pngbin2383 -> 0 bytes
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start7
-rw-r--r--meta-nvidia-extras/recipes/weston/weston_%.bbappend105
-rw-r--r--meta-nvidia-extras/recipes/weston/weston_1.9.0.bb104
-rw-r--r--meta-raspberrypi-extras/conf/layer.conf2
-rw-r--r--meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend32
-rw-r--r--meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend13
-rw-r--r--meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch34
-rw-r--r--meta-raspberrypi-extras/recipes/userland/userland_git.bbappend (renamed from meta-intel-extras/recipes/initramfs-basic/init-basic.bbappend)9
-rw-r--r--meta-renesas-extras/conf/layer.conf2
-rw-r--r--meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend6
-rw-r--r--meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend4
-rw-r--r--meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend30
-rw-r--r--meta-renesas-extras/recipes/kernel-module-vsp2driver/kernel-module-vsp2driver.bbappend (renamed from meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend)6
-rw-r--r--meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend31
-rw-r--r--meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch124
-rw-r--r--meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend32
-rw-r--r--meta-renesas-extras/recipes/mesa/mesa_%.bbappend39
-rw-r--r--meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend30
-rw-r--r--meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf9
-rw-r--r--meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf9
-rw-r--r--meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch28
-rw-r--r--meta-renesas-extras/recipes/qt5/qtwebengine_git.bbappend (renamed from meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend)6
-rw-r--r--meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend12
-rw-r--r--meta-renesas-extras/recipes/wayland/libgbm.bbappend9
-rw-r--r--meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend4
-rw-r--r--meta-renesas-extras/recipes/wayland/weston_%.bbappend30
-rw-r--r--meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend30
-rw-r--r--meta-smx6-extras/conf/layer.conf2
-rw-r--r--meta-tegra-extras/conf/layer.conf2
-rw-r--r--meta-tegra-extras/recipes/drm/libdrm_%.bbappend15
-rw-r--r--meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend4
-rw-r--r--meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend37
-rw-r--r--meta-toradex-extras/conf/layer.conf6
-rw-r--r--meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch19
-rw-r--r--meta-toradex-extras/recipes/linux/linux-toradex_4.9-1.0.x.bbappend (renamed from meta-toradex-extras/recipes/linux/linux-toradex_4.1-2.0.x.bbappend)0
-rw-r--r--scripts/manifest.xml47
-rwxr-xr-xscripts/setup-environment.sh7
-rwxr-xr-xscripts/upload.sh2
203 files changed, 2652 insertions, 2436 deletions
diff --git a/README b/README
index 592faea..fc411c7 100644
--- a/README
+++ b/README
@@ -64,7 +64,8 @@ Samuli Piippo <samuli.piippo@qt.io>
64Setting up build environment 64Setting up build environment
65---------------------------- 65----------------------------
66 66
67To initialize build environment, use the b2qt-init-build-env script. 67To initialize build environment, use the b2qt-init-build-env script. Create a
68new directory for Yocto builds and run the script in it.
68 69
69Usage: b2qt-init-build-env COMMAND [ARGS] 70Usage: b2qt-init-build-env COMMAND [ARGS]
70 71
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index 5aa39f1..66ae73b 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -34,9 +34,10 @@ usage() {
34 echo "Usage: $(basename $0) COMMAND [ARGS]" 34 echo "Usage: $(basename $0) COMMAND [ARGS]"
35 echo 35 echo
36 echo "Initialize build environment:" 36 echo "Initialize build environment:"
37 echo " $(basename $0) init --device <name> [--reference <mirror path>] [--internal]" 37 echo " $(basename $0) init --device <name> [--reference <mirror path>] [--manifest-dir <dir path>] [--internal]"
38 echo " --device <name>: target device name or 'all'" 38 echo " --device <name>: target device name or 'all'"
39 echo " --reference <mirror path>: path to local mirror, initialized previously with '$(basename $0) mirror'" 39 echo " --reference <mirror path>: path to local mirror, initialized previously with '$(basename $0) mirror'"
40 echo " --manifest-dir <dir path>: path to a directory containing repo manifest file(s)"
40 echo " --internal: fetch internal repositories, available only inside The Qt Company network." 41 echo " --internal: fetch internal repositories, available only inside The Qt Company network."
41 echo "Initialize local mirror:" 42 echo "Initialize local mirror:"
42 echo " $(basename $0) mirror" 43 echo " $(basename $0) mirror"
@@ -62,6 +63,10 @@ while test -n "$1"; do
62 shift 63 shift
63 REPO_URL="--repo-url $1" 64 REPO_URL="--repo-url $1"
64 ;; 65 ;;
66 "--manifest-dir")
67 shift
68 MANIFEST_DIR=$1
69 ;;
65 "--internal") 70 "--internal")
66 INTERNAL="y" 71 INTERNAL="y"
67 ;; 72 ;;
@@ -87,6 +92,10 @@ if [ -n "${REFERENCE}" ]; then
87 REFERENCE="--reference $(readlink -f ${REFERENCE})" 92 REFERENCE="--reference $(readlink -f ${REFERENCE})"
88fi 93fi
89 94
95if [ -n "${MANIFEST_DIR}" ]; then
96 MANIFEST_DIR="$(readlink -f ${MANIFEST_DIR})"
97fi
98
90if [ -z "${REPO_URL}" ]; then 99if [ -z "${REPO_URL}" ]; then
91 REPO_URL="--repo-url git://github.com/theqtcompany/git-repo" 100 REPO_URL="--repo-url git://github.com/theqtcompany/git-repo"
92fi 101fi
@@ -115,7 +124,7 @@ get_groups() {
115 nitrogen6x|nitrogen7) 124 nitrogen6x|nitrogen7)
116 PROJECT_GROUPS="boundary" 125 PROJECT_GROUPS="boundary"
117 ;; 126 ;;
118 imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp) 127 imx6qdlsabresd|imx7dsabresd|imx7s-warp)
119 PROJECT_GROUPS="fsl" 128 PROJECT_GROUPS="fsl"
120 ;; 129 ;;
121 smarc-samx6i) 130 smarc-samx6i)
@@ -136,9 +145,12 @@ get_groups() {
136 jetson-tx1|jetson-tx2|jetson-tk1) 145 jetson-tx1|jetson-tx2|jetson-tk1)
137 PROJECT_GROUPS="jetson" 146 PROJECT_GROUPS="jetson"
138 ;; 147 ;;
139 salvator-x|h3ulcb|m3ulcb) 148 salvator-x|h3ulcb|m3ulcb|ebisu)
140 PROJECT_GROUPS="renesas-gen3" 149 PROJECT_GROUPS="renesas-gen3"
141 ;; 150 ;;
151 draak)
152 PROJECT_GROUPS="renesas-draak"
153 ;;
142 *) 154 *)
143 echo "Unknown device configuration, including all meta layers" 155 echo "Unknown device configuration, including all meta layers"
144 PROJECT_GROUPS="external" 156 PROJECT_GROUPS="external"
@@ -158,9 +170,18 @@ list_devices() {
158 done 170 done
159} 171}
160 172
161mirror() { 173copy_manifests() {
162 mkdir -p .repo/manifests 174 mkdir -p .repo/manifests
163 cp ${DIR}/scripts/manifest.xml .repo/manifests/ 175 rm -f .repo/manifests/manifest*.xml
176 if [ -z "${MANIFEST_DIR}" ]; then
177 cp ${DIR}/scripts/manifest*.xml .repo/manifests/
178 else
179 cp ${MANIFEST_DIR}/manifest*.xml .repo/manifests/
180 fi
181}
182
183mirror() {
184 copy_manifests
164 MANIFEST="manifest.xml" 185 MANIFEST="manifest.xml"
165 DEVICE=${DEVICE:-all} 186 DEVICE=${DEVICE:-all}
166 get_groups 187 get_groups
@@ -176,9 +197,7 @@ init() {
176 fi 197 fi
177 198
178 get_groups 199 get_groups
179 mkdir -p .repo/manifests 200 copy_manifests
180 rm -f .repo/manifests/manifest*.xml
181 cp ${DIR}/scripts/manifest*.xml .repo/manifests
182 if [ -f .repo/manifests/manifest_${DEVICE}.xml ]; then 201 if [ -f .repo/manifests/manifest_${DEVICE}.xml ]; then
183 MANIFEST="manifest_${DEVICE}.xml" 202 MANIFEST="manifest_${DEVICE}.xml"
184 else 203 else
diff --git a/meta-raspberrypi-extras/recipes/linux/linux-firmware_%.bbappend b/meta-boot2qt-distro/conf/bblayers.conf.draak.sample
index 8e52fa4..91e2add 100644
--- a/meta-raspberrypi-extras/recipes/linux/linux-firmware_%.bbappend
+++ b/meta-boot2qt-distro/conf/bblayers.conf.draak.sample
@@ -27,19 +27,28 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30SRCREV = "ba51e861f4444f51e7e83f778575a8146dc514d0" 30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
31 33
32LIC_FILES_CHKSUM_remove = "\ 34BBPATH = "${TOPDIR}"
33 file://LICENSE.amd-ucode;md5=3a0de451253cc1edbf30a3c621effee3 \ 35BBFILES ?= ""
34 file://LICENCE.Netronome;md5=cd2a3e6effe3cdf42731575b8e9477ed \ 36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
35 file://LICENCE.cypress;md5=cbc5f665d04f741f1e006d2096236ba7 \
36 file://WHENCE;md5=038edbc9e744171d8b6235e0224028ba \
37"
38 37
39LIC_FILES_CHKSUM_append = "\ 38BBLAYERS ?= " \
40 file://LICENSE.amd-ucode;md5=3c5399dc9148d7f0e1f41e34b69cf14f \ 39 ${BSPDIR}/sources/poky/meta \
41 file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \ 40 ${BSPDIR}/sources/poky/meta-poky \
42 file://LICENCE.cypress;md5=48cd9436c763bf873961f9ed7b5c147b \ 41 ${BSPDIR}/sources/meta-renesas-D3/meta-rcar-gen3 \
43 file://WHENCE;md5=df953899bb1431b3991f36950d32894f \ 42 ${BSPDIR}/sources/meta-linaro/meta-optee \
44" 43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
44 ${BSPDIR}/sources/meta-openembedded/meta-python \
45 ${BSPDIR}/sources/meta-openembedded/meta-networking \
46 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
47 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
50 ${BSPDIR}/sources/meta-boot2qt/meta-renesas-extras \
51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \
53 "
45 54
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample b/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample
index 6f502ea..0836f5a 100644
--- a/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample
+++ b/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample
@@ -39,7 +39,6 @@ BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \ 39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \ 40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-renesas/meta-rcar-gen3 \ 41 ${BSPDIR}/sources/meta-renesas/meta-rcar-gen3 \
42 ${BSPDIR}/sources/meta-freescale \
43 ${BSPDIR}/sources/meta-linaro/meta-optee \ 42 ${BSPDIR}/sources/meta-linaro/meta-optee \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \ 43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \ 44 ${BSPDIR}/sources/meta-openembedded/meta-python \
diff --git a/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf b/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
index 0d3fd29..b4f4eef 100644
--- a/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
+++ b/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
@@ -31,15 +31,13 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Apalis iMX6" 32DEPLOY_CONF_NAME = "Toradex Apalis iMX6"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \ 39 u-boot-${MACHINE}.img;${MACHINEDIR}/u-boot.img \
42 SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \ 40 SPL-${MACHINE}-spl;${MACHINEDIR}/SPL \
43 " 41 "
44 42
45SERIAL_CONSOLES = "115200;ttymxc0 \ 43SERIAL_CONSOLES = "115200;ttymxc0 \
diff --git a/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf b/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf
index d570e3a..7a7728c 100644
--- a/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf
+++ b/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf
@@ -27,36 +27,8 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl-imx8.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Apalis iMX8" 32DEPLOY_CONF_NAME = "Toradex Apalis iMX8"
33 33
34SERIAL_CONSOLE = "115200 ttyLP1" 34SERIAL_CONSOLE = "115200 ttyLP1"
35
36FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
37
38RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
39RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
40
41BBMASK += "\
42 meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
43 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
44 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
45 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
46 meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
47 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend \
48 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
49 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
50 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
51 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
52 meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
53 meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
54 meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
55 meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
56 meta-freescale/recipes-graphics/wayland/weston \
57 "
58
59KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}"
60EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
61
62MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
diff --git a/meta-boot2qt-distro/conf/distro/include/boundary.inc b/meta-boot2qt-distro/conf/distro/include/boundary.inc
index c8f5424..b08e11a 100644
--- a/meta-boot2qt-distro/conf/distro/include/boundary.inc
+++ b/meta-boot2qt-distro/conf/distro/include/boundary.inc
@@ -35,8 +35,6 @@ BBMASK += " \
35 meta-boundary/recipes-mozilla/firefox \ 35 meta-boundary/recipes-mozilla/firefox \
36 " 36 "
37 37
38EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary"
39
40MACHINE_EXTRA_INSTALL += "\ 38MACHINE_EXTRA_INSTALL += "\
41 kernel-module-qcacld \ 39 kernel-module-qcacld \
42 linux-firmware-bdsdmac-wlan \ 40 linux-firmware-bdsdmac-wlan \
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
index f1bf7d8..a216613 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
@@ -31,13 +31,11 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX6" 32DEPLOY_CONF_NAME = "Toradex Colibri iMX6"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \ 39 u-boot-${MACHINE}.img;${MACHINEDIR}/u-boot.img \
42 SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \ 40 SPL-${MACHINE}-spl;${MACHINEDIR}/SPL \
43 " 41 "
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf
index 9090055..da92ad3 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx6ull.conf
@@ -31,20 +31,18 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX6ULL" 32DEPLOY_CONF_NAME = "Toradex Colibri iMX6ULL"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-${MACHINE}.imx:${MACHINEDIR}/u-boot.imx \ 39 u-boot-${MACHINE}.imx;${MACHINEDIR}/u-boot.imx \
42 " 40 "
43 41
44PREFERRED_PROVIDER_virtual/egl_b2qt = "opengldummy" 42PREFERRED_PROVIDER_virtual/egl_b2qt = "opengldummy"
45PREFERRED_PROVIDER_virtual/libgles2_b2qt = "opengldummy" 43PREFERRED_PROVIDER_virtual/libgles2_b2qt = "opengldummy"
46 44
47DISTRO_FEATURES_remove = "webengine wayland" 45DISTRO_FEATURES_remove = "webengine wayland vulkan"
48 46
49# try to limit the maximum size of the tezi image 47# try to limit the maximum size of the tezi image
50RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" 48RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
index a5695f7..c7aa169 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
@@ -31,20 +31,18 @@ include conf/distro/include/toradex.inc
31 31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX7" 32DEPLOY_CONF_NAME = "Toradex Colibri iMX7"
33 33
34IMAGE_FSTYPES += "teziimg"
35
36QBSP_IMAGE_CONTENT += "\ 34QBSP_IMAGE_CONTENT += "\
37 ${IMAGE_LINK_NAME}.tezi.tar \ 35 ${IMAGE_LINK_NAME}.tezi.tar \
38 " 36 "
39 37
40BOOT_SCRIPTS += " \ 38IMAGE_BOOT_FILES += " \
41 u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \ 39 u-boot-nand.imx;${MACHINEDIR}/u-boot-nand.imx \
42 " 40 "
43 41
44PREFERRED_PROVIDER_virtual/egl = "opengldummy" 42PREFERRED_PROVIDER_virtual/egl = "opengldummy"
45PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 43PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
46 44
47DISTRO_FEATURES_remove = "webengine wayland" 45DISTRO_FEATURES_remove = "webengine wayland vulkan"
48 46
49# try to limit the maximum size of the tezi image 47# try to limit the maximum size of the tezi image
50RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" 48RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
index e4c025b..ecd01da 100644
--- a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
@@ -33,11 +33,11 @@ DEPLOY_CONF_NAME = "Toradex Colibri VF"
33 33
34IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024" 34IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024"
35 35
36BOOT_SCRIPTS += " \ 36IMAGE_BOOT_FILES += " \
37 u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \ 37 u-boot-nand.imx;${MACHINEDIR}/u-boot-nand.imx \
38 " 38 "
39 39
40PREFERRED_PROVIDER_virtual/egl = "opengldummy" 40PREFERRED_PROVIDER_virtual/egl = "opengldummy"
41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
42 42
43DISTRO_FEATURES_remove = "webengine wayland" 43DISTRO_FEATURES_remove = "webengine wayland vulkan"
diff --git a/meta-boot2qt-distro/conf/distro/include/draak.conf b/meta-boot2qt-distro/conf/distro/include/draak.conf
new file mode 100644
index 0000000..9b5dbbc
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/draak.conf
@@ -0,0 +1,46 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/rcar-gen3.inc
31
32DEPLOY_CONF_NAME = "Renesas R-Car-D3 (Draak)"
33
34PREFERRED_PROVIDER_virtual/egl = "gles-user-module"
35PREFERRED_VERSION_libdrm = "2.4.91"
36
37WKS_FILE_DEPENDS_remove = "optee-os"
38QBSP_IMAGE_CONTENT_remove = "tee-${MACHINE}.srec"
39
40BBMASK += "\
41 meta-rcar-gen3/recipes-multimedia/webp \
42 meta-rcar-gen3/recipes-connectivity/ppp \
43 meta-rcar-gen3/recipes-graphics/wayland/wayland-protocols \
44 meta-renesas/meta-rcar-gen3/recipes-graphics/drm \
45 meta-rcar-gen3/recipes-multimedia/gstreamer \
46 "
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf b/meta-boot2qt-distro/conf/distro/include/ebisu.conf
index af49983..24bdedd 100644
--- a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf
+++ b/meta-boot2qt-distro/conf/distro/include/ebisu.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,6 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30require imx6qsabresd.conf 30include conf/distro/include/rcar-gen3.inc
31 31
32DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Dual" 32DEPLOY_CONF_NAME = "Renesas R-Car-E3 Ebisu 4D"
diff --git a/meta-boot2qt-distro/conf/distro/include/emulator.conf b/meta-boot2qt-distro/conf/distro/include/emulator.conf
index b6125ae..619af16 100644
--- a/meta-boot2qt-distro/conf/distro/include/emulator.conf
+++ b/meta-boot2qt-distro/conf/distro/include/emulator.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,10 +27,7 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30IMAGE_CLASSES += "image-hdd" 30IMAGE_FSTYPES = "ext3 wic"
31IMAGE_ROOTFS_ALIGNMENT = "1048576"
32ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3"
33IMAGE_FSTYPES = "ext3"
34 31
35QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" 32QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd"
36 33
@@ -41,12 +38,13 @@ MACHINE_EXTRA_RRECOMMENDS += "\
41PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" 38PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client"
42PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" 39PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client"
43 40
41RDEPENDS_qtbase_pn-qtbase += "qtglesstream"
42
44KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" 43KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf"
45 44
46DISTRO_FEATURES_remove = "webengine opengl wayland" 45DISTRO_FEATURES_remove = "webengine opengl wayland vulkan"
47 46
48MACHINE_EXTRA_INSTALL += "\ 47MACHINE_EXTRA_INSTALL += "\
49 mount-vboxsf \ 48 mount-vboxsf \
50 qtsystems \ 49 qtsystems \
51 qtglesstream \
52 " 50 "
diff --git a/meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc b/meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc
new file mode 100644
index 0000000..4e4256b
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/fsl-imx8.inc
@@ -0,0 +1,79 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
33
34DISTRO_FEATURES_remove = "vulkan"
35
36RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
37RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
38
39BBMASK += "\
40 meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
41 meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
42 meta-freescale/recipes-graphics/wayland/weston \
43 meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
44 meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-test \
45 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
46 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/connman \
47 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
48 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
49 meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
50 meta-fsl-bsp-release/imx/meta-bsp/recipes-devtools/gdb \
51 meta-fsl-bsp-release/imx/meta-bsp/recipes-extended/logrotate \
52 meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv \
53 meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/xorg-driver \
54 meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/cryptodev \
55 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa \
56 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
57 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
58 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
59 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
60 meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
61 meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
62 "
63
64KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}"
65EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
66
67MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
68
69WKS_FILE = "imx8-uboot-bootpart.wks"
70WIC_CREATE_EXTRA_ARGS = "--no-fstab-update"
71WKS_FILE_DEPENDS += "imx-boot"
72
73BOOT_CONFIG_MACHINE_pn-imx-boot = "${BOOT_NAME}-${UBOOT_CONFIG}.bin"
74
75IMAGE_BOOT_FILES = "\
76 Image \
77 fsl-*.dtb \
78 hdmitxfw.bin \
79 "
diff --git a/meta-boot2qt-distro/conf/distro/include/fsl.inc b/meta-boot2qt-distro/conf/distro/include/fsl.inc
index 32fec1b..5f22dd4 100644
--- a/meta-boot2qt-distro/conf/distro/include/fsl.inc
+++ b/meta-boot2qt-distro/conf/distro/include/fsl.inc
@@ -29,7 +29,7 @@
29 29
30BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5" 30BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5"
31 31
32IMAGE_FSTYPES += "ext3 sdcard" 32IMAGE_FSTYPES += "ext3 wic"
33IMAGE_CLASSES += "image_types_fsl" 33IMAGE_CLASSES += "image_types_fsl"
34 34
35QBSP_IMAGE_CONTENT ?= "\ 35QBSP_IMAGE_CONTENT ?= "\
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf
new file mode 100644
index 0000000..5f3ddb3
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/imx6qdlsabresd.conf
@@ -0,0 +1,35 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31include conf/distro/include/opencv.inc
32
33DEPLOY_CONF_NAME = "NXP i.MX6QP/Q/DL SABRE Smart Device"
34
35KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf
deleted file mode 100644
index 683c601..0000000
--- a/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf
+++ /dev/null
@@ -1,41 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31include conf/distro/include/opencv.inc
32
33DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Quad"
34
35KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
36
37# add support for both imx6qsabresd and imx6dlsabresd
38KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb \
39 imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb imx6dl-sabresd-hdcp.dtb \
40 "
41MACHINE_FIRMWARE_append = " firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
index 1d30445..bcd4f7f 100644
--- a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
+++ b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -34,6 +34,8 @@ DEPLOY_CONF_NAME = "i.MX7S WaRP"
34PREFERRED_PROVIDER_virtual/egl = "opengldummy" 34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36 36
37DISTRO_FEATURES_remove = "webengine wayland" 37PREFERRED_PROVIDER_virtual/kernel = "linux-warp7"
38
39DISTRO_FEATURES_remove = "webengine wayland vulkan"
38 40
39KERNEL_DEVICETREE = "imx7d-warp.dtb" 41KERNEL_DEVICETREE = "imx7d-warp.dtb"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf b/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf
index 6dfaa3a..a3a2c29 100644
--- a/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf
+++ b/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf
@@ -27,36 +27,8 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl-imx8.inc
31 31
32DEPLOY_CONF_NAME = "NXP iMX8QM" 32DEPLOY_CONF_NAME = "NXP iMX8QM"
33 33
34PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" 34PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
35
36FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt"
37
38RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc"
39RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup"
40
41BBMASK += "\
42 meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \
43 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \
44 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \
45 meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \
46 meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \
47 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend \
48 meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \
49 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \
50 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \
51 meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \
52 meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \
53 meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \
54 meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \
55 meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \
56 meta-freescale/recipes-graphics/wayland/weston \
57 "
58
59KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}"
60EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection"
61
62MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin"
diff --git a/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
index 0c8200a..8d106ce 100644
--- a/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
+++ b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -31,20 +31,18 @@ DEPLOY_CONF_NAME = "Intel NUC"
31 31
32DISTRO_FEATURES_remove = "usbgadget" 32DISTRO_FEATURES_remove = "usbgadget"
33 33
34IMAGE_CLASSES += "image_dd_efi" 34IMAGE_FSTYPES += "wic"
35IMAGE_FSTYPES += "ext3 dd"
36 35
37QBSP_IMAGE_CONTENT ?= "\ 36QBSP_IMAGE_CONTENT ?= "\
38 ${IMAGE_LINK_NAME}.img \ 37 ${IMAGE_LINK_NAME}.img \
39 ${IMAGE_LINK_NAME}.conf \ 38 ${IMAGE_LINK_NAME}.conf \
40 " 39 "
41 40
42INITRAMFS_IMAGE = "initramfs-basic" 41INITRAMFS_IMAGE = "core-image-minimal-initramfs"
43 42
44SYSVINIT_ENABLED_GETTYS = "1" 43SYSVINIT_ENABLED_GETTYS = "1"
45 44
46MACHINE_EXTRA_INSTALL += "\
47 grub-efi-config \
48 "
49
50SERIAL_CONSOLES += "115200;ttyUSB0" 45SERIAL_CONSOLES += "115200;ttyUSB0"
46
47WKS_FILE = "systemd-bootdisk-microcode-initramfs.wks"
48WKS_FILE_DEPENDS += "microcode-initramfs"
diff --git a/meta-boot2qt-distro/conf/distro/include/jetson.inc b/meta-boot2qt-distro/conf/distro/include/jetson.inc
index e3e0292..3212cb9 100644
--- a/meta-boot2qt-distro/conf/distro/include/jetson.inc
+++ b/meta-boot2qt-distro/conf/distro/include/jetson.inc
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,8 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra"
31
32# use mmc0 30# use mmc0
33ROOTFS_DEVICE = "mmcblk1p1" 31ROOTFS_DEVICE = "mmcblk1p1"
34 32
@@ -43,8 +41,3 @@ QBSP_IMAGE_CONTENT = "\
43 ${IMAGE_LINK_NAME}.conf \ 41 ${IMAGE_LINK_NAME}.conf \
44 ${IMAGE_LINK_NAME}.flasher.tar.gz \ 42 ${IMAGE_LINK_NAME}.flasher.tar.gz \
45 " 43 "
46
47BBMASK += "\
48 meta-tegra/recipes-graphics/drm \
49 meta-tegra/external/openembedded-layer/recipes-support/opencv \
50 "
diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
index 894d51d..f6871be 100644
--- a/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
+++ b/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
@@ -33,25 +33,26 @@ include conf/distro/include/opencv.inc
33DEPLOY_CONF_NAME = "Boundary Devices i.MX6" 33DEPLOY_CONF_NAME = "Boundary Devices i.MX6"
34 34
35BOOT_SPACE = "16384" 35BOOT_SPACE = "16384"
36BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \ 36IMAGE_BOOT_FILES += "\
37 u-boot-nit6xlite-*.imx:u-boot.nit6xlite \ 37 upgrade.scr-${MACHINE};upgrade.scr \
38 u-boot-nit6xlite1g-*.imx:u-boot.nit6xlite1g \ 38 upgrade.scr-${MACHINE};6x_upgrade \
39 u-boot-nitrogen6dl-*.imx:u-boot.nitrogen6dl \ 39 u-boot-${MACHINE}.imx-nit6xlite;u-boot.nit6xlite \
40 u-boot-nitrogen6dl2g-*.imx:u-boot.nitrogen6dl2g \ 40 u-boot-${MACHINE}.imx-nit6xlite1g;u-boot.nit6xlite1g \
41 u-boot-nitrogen6q2g-*.imx:u-boot.nitrogen6q2g \ 41 u-boot-${MACHINE}.imx-nitrogen6dl;u-boot.nitrogen6dl \
42 u-boot-nitrogen6q-*.imx:u-boot.nitrogen6q \ 42 u-boot-${MACHINE}.imx-nitrogen6dl2g;u-boot.nitrogen6dl2g \
43 u-boot-nitrogen6q_fl-*.imx:u-boot.nitrogen6q_fl \ 43 u-boot-${MACHINE}.imx-nitrogen6q2g;u-boot.nitrogen6q2g \
44 u-boot-nitrogen6qp_max-*.imx:u-boot.nitrogen6qp_max \ 44 u-boot-${MACHINE}.imx-nitrogen6q;u-boot.nitrogen6q \
45 u-boot-nitrogen6s1g-*.imx:u-boot.nitrogen6s1g \ 45 u-boot-${MACHINE}.imx-nitrogen6q_fl;u-boot.nitrogen6q_fl \
46 u-boot-nitrogen6s-*.imx:u-boot.nitrogen6s \ 46 u-boot-${MACHINE}.imx-nitrogen6qp_max;u-boot.nitrogen6qp_max \
47 u-boot-nitrogen6sx-*.imx:u-boot.nitrogen6sx \ 47 u-boot-${MACHINE}.imx-nitrogen6s1g;u-boot.nitrogen6s1g \
48 u-boot-nitrogen6_lum_dl1-*.imx:u-boot.nitrogen6_lum_dl1 \ 48 u-boot-${MACHINE}.imx-nitrogen6s;u-boot.nitrogen6s \
49 u-boot-nitrogen6_max-*.imx:u-boot.nitrogen6_max \ 49 u-boot-${MACHINE}.imx-nitrogen6sx;u-boot.nitrogen6sx \
50 u-boot-nitrogen6_vm1g-*.imx:u-boot.nitrogen6_vm1g \ 50 u-boot-${MACHINE}.imx-nitrogen6_lum_dl1;u-boot.nitrogen6_lum_dl1 \
51 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \ 51 u-boot-${MACHINE}.imx-nitrogen6_max;u-boot.nitrogen6_max \
52 " 52 u-boot-${MACHINE}.imx-nitrogen6_vm1g;u-boot.nitrogen6_vm1g \
53 53 u-boot-${MACHINE}.imx-nitrogen6_vm;u-boot.nitrogen6_vm \
54PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary" 54 "
55WKS_FILE_DEPENDS += "u-boot"
55 56
56UBOOT_MACHINE = "" 57UBOOT_MACHINE = ""
57UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \ 58UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \
diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
index 1614b04..0d225fa 100644
--- a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
+++ b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
@@ -34,5 +34,5 @@ DEPLOY_CONF_NAME = "Boundary Devices i.MX7"
34PREFERRED_PROVIDER_virtual/egl = "opengldummy" 34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36 36
37DISTRO_FEATURES_remove = "webengine wayland" 37DISTRO_FEATURES_remove = "webengine wayland vulkan"
38 38
diff --git a/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc b/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc
new file mode 100644
index 0000000..ffb9741
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# Configuration for boot2qt image without (L)GPLv3 components
31# Include in your conf/local.conf and add meta-gplv2 layer to your configuration
32# https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-2.3-gplv2-and-gplv3-moves
33
34INCOMPATIBLE_LICENSE += "*GPLv3"
35
36IMAGE_FEATURES_remove_pn-b2qt-embedded-qt5-image = "tools-debug debug-tweaks"
37IMAGE_FEATURES_remove_pn-b2qt-automotive-qt5-image = "tools-debug debug-tweaks"
38
39RDEPENDS_packagegroup-b2qt-embedded-tools_remove_pn-packagegroup-b2qt-embedded-tools = "binutils binutils-symlinks perf"
40RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "ttf-freefont-mono"
41
42PACKAGECONFIG_remove_pn-qtvirtualkeyboard = "hunspell"
43PACKAGECONFIG_remove_pn-python3-pygobject = "cairo"
44
45# intel nuc specific changes
46IMAGE_FSTYPES_intel-corei7-64 = "tar.gz"
47MACHINE_EXTRA_INSTALL_remove_intel-corei7-64 = "grub-efi-config"
48QBSP_IMAGE_CONTENT_intel-corei7-64 = ""
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
index 1d2cf9d..65faba4 100644
--- a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
@@ -47,10 +47,6 @@ VIDEO_CAMERA = "1"
47 47
48MACHINE_FEATURES += "pitft" 48MACHINE_FEATURES += "pitft"
49 49
50BBMASK += "\
51 meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12%.bbappend \
52 "
53
54MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx" 50MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx"
55 51
56KERNEL_DEVICETREE += "\ 52KERNEL_DEVICETREE += "\
diff --git a/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc b/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc
index 4350dda..6b99603 100644
--- a/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc
+++ b/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,14 +27,28 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/fsl.inc 30IMAGE_FSTYPES += "wic"
31WKS_FILE = "sdimage-bootpart.wks"
32WIC_CREATE_EXTRA_ARGS = "--no-fstab-update"
33WKS_FILE_DEPENDS += "u-boot optee-os"
34
35IMAGE_BOOT_FILES = "\
36 Image \
37 r*.dtb \
38 "
31 39
32QBSP_IMAGE_CONTENT = "\ 40QBSP_IMAGE_CONTENT = "\
33 ${IMAGE_LINK_NAME}.img \ 41 ${IMAGE_LINK_NAME}.img \
34 ${IMAGE_LINK_NAME}.conf \ 42 ${IMAGE_LINK_NAME}.conf \
43 bl2-${MACHINE}.srec \
44 bl31-${MACHINE}.srec \
45 tee-${MACHINE}.srec \
46 bootparam_sa0.srec \
47 cert_header_sa6.srec \
48 u-boot-elf-${MACHINE}.srec \
35 " 49 "
36 50
37BOOT_SPACE = "16384" 51BOOT_SPACE = "32768"
38 52
39# uncomment following if using the evaluation drivers 53# uncomment following if using the evaluation drivers
40#DISTRO_FEATURES_append = " use_eva_pkg" 54#DISTRO_FEATURES_append = " use_eva_pkg"
@@ -46,7 +60,7 @@ MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/
46#DISTRO_FEATURES_append = " pam" 60#DISTRO_FEATURES_append = " pam"
47PREFERRED_PROVIDER_virtual/libgles1 = "" 61PREFERRED_PROVIDER_virtual/libgles1 = ""
48PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" 62PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
49PREFERRED_PROVIDER_virtual/egl = "gles-user-module" 63PREFERRED_PROVIDER_virtual/egl = "libegl"
50PREFERRED_PROVIDER_virtual/libgl = "" 64PREFERRED_PROVIDER_virtual/libgl = ""
51PREFERRED_PROVIDER_virtual/mesa = "" 65PREFERRED_PROVIDER_virtual/mesa = ""
52PREFERRED_PROVIDER_libgbm = "libgbm" 66PREFERRED_PROVIDER_libgbm = "libgbm"
@@ -59,9 +73,5 @@ FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen3/${PN}:"
59 73
60BBMASK += "\ 74BBMASK += "\
61 meta-linaro/meta-optee/recipes-security/optee \ 75 meta-linaro/meta-optee/recipes-security/optee \
62 meta-rcar-gen3/recipes-connectivity/ppp \
63 meta-rcar-gen3/recipes-core/packagegroups \ 76 meta-rcar-gen3/recipes-core/packagegroups \
64 meta-rcar-gen3/recipes-graphics/mesa \
65 meta-rcar-gen3/recipes-multimedia/gstreamer \
66 meta-rcar-gen3/recipes-multimedia/webp \
67 " 77 "
diff --git a/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf b/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
index 6c79d2c..dca0916 100644
--- a/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
+++ b/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -33,7 +33,7 @@ QBSP_IMAGE_CONTENT = "\
33 ${IMAGE_LINK_NAME}.tar.gz \ 33 ${IMAGE_LINK_NAME}.tar.gz \
34 " 34 "
35 35
36PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' 36PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/drive-t186")}'
37NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" 37NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer"
38 38
39MACHINE_EXTRA_INSTALL += "\ 39MACHINE_EXTRA_INSTALL += "\
@@ -55,6 +55,10 @@ MACHINE_EXTRA_INSTALL += "\
55 libdrm-nv \ 55 libdrm-nv \
56 " 56 "
57 57
58MACHINE_EXTRA_INSTALL_SDK = "\
59 tegra-drivers \
60 "
61
58PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers" 62PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers"
59PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers" 63PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers"
60PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers" 64PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers"
@@ -66,16 +70,21 @@ PREFERRED_PROVIDER_virtual/mesa = "tegra-drivers"
66PREFERRED_PROVIDER_drm = "libdrm-nv" 70PREFERRED_PROVIDER_drm = "libdrm-nv"
67PREFERRED_PROVIDER_libdrm = "libdrm-nv" 71PREFERRED_PROVIDER_libdrm = "libdrm-nv"
68PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia" 72PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia"
69PREFERRED_VERSION_linux-libc-headers = "4.4" 73PREFERRED_VERSION_linux-libc-headers = "4.9"
70PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.4" 74PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.9"
75
76DISTRO_FEATURES_remove = "vulkan"
71 77
72BBMASK += "\ 78BBMASK += "\
73 meta-tegra/recipes-bsp/flashing \ 79 meta-vib4/recipes-connectivity/bluez5 \
80 meta-vib4/recipes-connectivity/hostapd \
74 meta-vib4/recipes-connectivity/openssl \ 81 meta-vib4/recipes-connectivity/openssl \
82 meta-vib4/recipes-connectivity/soft66 \
75 meta-vib4/recipes-core/busybox \ 83 meta-vib4/recipes-core/busybox \
76 meta-vib4/recipes-core/glibc \ 84 meta-vib4/recipes-core/glibc \
77 meta-vib4/recipes-core/images \ 85 meta-vib4/recipes-core/images \
78 meta-vib4/recipes-core/kbd \ 86 meta-vib4/recipes-core/kbd \
87 meta-vib4/recipes-core/llvm \
79 meta-vib4/recipes-core/packagegroups \ 88 meta-vib4/recipes-core/packagegroups \
80 meta-vib4/recipes-core/toybox \ 89 meta-vib4/recipes-core/toybox \
81 meta-vib4/recipes-devtools/binutils \ 90 meta-vib4/recipes-devtools/binutils \
@@ -91,6 +100,7 @@ BBMASK += "\
91 meta-vib4/recipes-kernel/linux-libc-headers \ 100 meta-vib4/recipes-kernel/linux-libc-headers \
92 meta-vib4/recipes-multimedia/audiomanager \ 101 meta-vib4/recipes-multimedia/audiomanager \
93 meta-vib4/recipes-navigation/gpsd \ 102 meta-vib4/recipes-navigation/gpsd \
103 meta-vib4/recipes-navigation/navit \
94 meta-vib4/recipes-support/keyutils \ 104 meta-vib4/recipes-support/keyutils \
95 meta-vib4/recipes-support/lvm2 \ 105 meta-vib4/recipes-support/lvm2 \
96 meta-vib4/recipes-yocto-ivi \ 106 meta-vib4/recipes-yocto-ivi \
diff --git a/meta-boot2qt-distro/conf/distro/include/toradex.inc b/meta-boot2qt-distro/conf/distro/include/toradex.inc
index 85d9455..f61aad7 100644
--- a/meta-boot2qt-distro/conf/distro/include/toradex.inc
+++ b/meta-boot2qt-distro/conf/distro/include/toradex.inc
@@ -29,6 +29,9 @@
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl.inc
31 31
32# include file from meta-toradex-nxp
33require conf/machine/include/${MACHINE}.inc
34
32BBMASK += "\ 35BBMASK += "\
33 meta-toradex-nxp/recipes-graphics/xorg-xserver \ 36 meta-toradex-nxp/recipes-graphics/xorg-xserver \
34 meta-toradex-bsp-common/recipes-devtools/python \ 37 meta-toradex-bsp-common/recipes-devtools/python \
@@ -37,16 +40,12 @@ BBMASK += "\
37 40
38PREFERRED_PROVIDER_u-boot = "u-boot-toradex" 41PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
39 42
40EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" 43WKS_FILE_DEPENDS += "u-boot-script-toradex"
41 44
42MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}" 45MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}"
43BOOT_SCRIPTS += " \ 46IMAGE_BOOT_FILES += " \
44 fwd_blk.img:flash_blk.img \ 47 fwd_blk.img;flash_blk.img \
45 fwd_eth.img:flash_eth.img \ 48 fwd_eth.img;flash_eth.img \
46 fwd_mmc.img:flash_mmc.img \ 49 fwd_mmc.img;flash_mmc.img \
47 ${MACHINE}:${MACHINEDIR} \ 50 ${MACHINE}/*;${MACHINEDIR}/ \
48 " 51 "
49
50# fix: basehash value changed from ... to ....
51# The metadata is not deterministic and this needs to be fixed.
52rootfs_tezi_json[vardepsexclude] = "DATE"
diff --git a/meta-boot2qt-distro/conf/layer.conf b/meta-boot2qt-distro/conf/layer.conf
index 9a218d9..d9ededa 100644
--- a/meta-boot2qt-distro/conf/layer.conf
+++ b/meta-boot2qt-distro/conf/layer.conf
@@ -39,3 +39,5 @@ BBMASK += "meta-qt5/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bba
39BBFILE_COLLECTIONS += "b2qt-distro" 39BBFILE_COLLECTIONS += "b2qt-distro"
40BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" 40BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/"
41BBFILE_PRIORITY_b2qt-distro = "20" 41BBFILE_PRIORITY_b2qt-distro = "20"
42
43LAYERSERIES_COMPAT_b2qt-distro = "sumo"
diff --git a/meta-boot2qt-distro/conf/machine/emulator.conf b/meta-boot2qt-distro/conf/machine/emulator.conf
index 2ab622e..cb18983 100644
--- a/meta-boot2qt-distro/conf/machine/emulator.conf
+++ b/meta-boot2qt-distro/conf/machine/emulator.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -50,3 +50,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions"
50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" 50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen"
51 51
52SYSTEMD_DEFAULT_TARGET = "custom.target" 52SYSTEMD_DEFAULT_TARGET = "custom.target"
53
54WKS_FILE = "directdisk.wks"
55do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend b/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend
deleted file mode 100644
index fda246a..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend
+++ /dev/null
@@ -1,24 +0,0 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
23
24SRC_URI += "file://0001-disable-connman-when-booting-over-nfs-${PV}.patch"
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
deleted file mode 100644
index f893746..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1From df70770f33280a915abb413678088a078d82341a Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Tue, 20 Sep 2016 11:02:50 +0300
4Subject: [PATCH] Disable connman when booting over NFS
5
6---
7 src/connman.service.in | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/src/connman.service.in b/src/connman.service.in
11index 09dfec9..4132cf7 100644
12--- a/src/connman.service.in
13+++ b/src/connman.service.in
14@@ -6,6 +6,7 @@ RequiresMountsFor=@localstatedir@/lib/connman
15 After=dbus.service network-pre.target systemd-sysusers.service
16 Before=network.target multi-user.target shutdown.target
17 Wants=network.target
18+ConditionKernelCommandLine=!root=/dev/nfs
19
20 [Service]
21 Type=dbus
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
deleted file mode 100644
index 8b46666..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- a/src/connman.service.in
2+++ b/src/connman.service.in
3@@ -7,6 +7,7 @@
4 Before=network.target multi-user.target shutdown.target
5 Wants=network.target
6 Conflicts=systemd-resolved.service
7+ConditionKernelCommandLine=!root=/dev/nfs
8
9 [Service]
10 Type=dbus
11
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch b/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch
deleted file mode 100644
index 9aa9648..0000000
--- a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch
+++ /dev/null
@@ -1,96 +0,0 @@
1From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 9 Sep 2015 13:37:28 +0300
4Subject: [PATCH] Support SYSROOT in c_rehash
5
6update-ca-certificates is ran during image creation, which in turn runs
7c_rehash. Since the symlinks in /etc/ssl/certs/ are pointing to absolute
8location, c_rehash does not find the actual files. Add support for SYSROOT
9environment variable and use it to locate the actual files during image
10creation.
11
12Upstream-status: Pending
13---
14 tools/c_rehash.in | 30 +++++++++++++++++-------------
15 1 file changed, 17 insertions(+), 13 deletions(-)
16
17diff --git a/tools/c_rehash.in b/tools/c_rehash.in
18index 92cb503..f3d2703 100644
19--- a/tools/c_rehash.in
20+++ b/tools/c_rehash.in
21@@ -7,6 +7,7 @@ my $dir;
22 my $prefix;
23
24 my $openssl = $ENV{OPENSSL} || "openssl";
25+my $sysroot = $ENV{SYSROOT} || "";
26 my $pwd;
27 my $verbose = 0;
28 my $symlink_exists=eval {symlink("",""); 1};
29@@ -101,16 +102,17 @@ sub hash_dir {
30 }
31 }
32 FILE: foreach $fname (grep {/\.(pem)|(crt)|(cer)|(crl)$/} @flist) {
33+ $fullname = $sysroot . readlink($fname);
34 # Check to see if certificates and/or CRLs present.
35- my ($cert, $crl) = check_file($fname);
36+ my ($cert, $crl) = check_file($fullname);
37 if(!$cert && !$crl) {
38 print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";
39 next;
40 }
41- link_hash_cert($fname) if($cert);
42- link_hash_cert_old($fname) if($cert);
43- link_hash_crl($fname) if($crl);
44- link_hash_crl_old($fname) if($crl);
45+ link_hash_cert($fname, $fullname) if($cert);
46+ link_hash_cert_old($fname, $fullname) if($cert);
47+ link_hash_crl($fname, $fullname) if($crl);
48+ link_hash_crl_old($fname, $fullname) if($crl);
49 }
50 }
51
52@@ -143,9 +145,10 @@ sub check_file {
53
54 sub link_hash_cert {
55 my $fname = $_[0];
56- my $x509hash = $_[1] || '-subject_hash';
57- $fname =~ s/'/'\\''/g;
58- my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fname"`;
59+ my $fullname = $_[1];
60+ my $x509hash = $_[2] || '-subject_hash';
61+ $fullname =~ s/'/'\\''/g;
62+ my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fullname"`;
63 chomp $hash;
64 chomp $fprint;
65 $fprint =~ s/^.*=//;
66@@ -176,11 +179,11 @@ sub link_hash_cert {
67 }
68
69 sub link_hash_cert_old {
70- link_hash_cert($_[0], '-subject_hash_old');
71+ link_hash_cert($_[0], $_[1], '-subject_hash_old');
72 }
73
74 sub link_hash_crl_old {
75- link_hash_crl($_[0], '-hash_old');
76+ link_hash_crl($_[0], $_[1], '-hash_old');
77 }
78
79
80@@ -188,9 +191,10 @@ sub link_hash_crl_old {
81
82 sub link_hash_crl {
83 my $fname = $_[0];
84- my $crlhash = $_[1] || "-hash";
85- $fname =~ s/'/'\\''/g;
86- my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fname'`;
87+ my $fullname = $_[1];
88+ my $crlhash = $_[2] || "-hash";
89+ $fullname =~ s/'/'\\''/g;
90+ my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fullname'`;
91 chomp $hash;
92 chomp $fprint;
93 $fprint =~ s/^.*=//;
94--
951.9.1
96
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb
index 21552d7..c22a46c 100644
--- a/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb
+++ b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb
@@ -43,6 +43,8 @@ python __anonymous() {
43 43
44RDEPENDS_${PN} = "\ 44RDEPENDS_${PN} = "\
45 nativesdk-gperf \ 45 nativesdk-gperf \
46 nativesdk-cmake \
47 nativesdk-make \
46 ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ 48 ${MACHINE_EXTRA_INSTALL_SDK_HOST} \
47 " 49 "
48 50
diff --git a/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend b/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend
deleted file mode 100644
index 8a069ed..0000000
--- a/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend
+++ /dev/null
@@ -1,30 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LDGOLD_sdkmingw32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
diff --git a/meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend b/meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend
new file mode 100644
index 0000000..d3603bf
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/cmake/cmake_%.bbappend
@@ -0,0 +1,36 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DEPENDS_remove_mingw32 = "ncurses"
31
32cmake_do_generate_toolchain_file_append_mingw32() {
33 cat >> ${WORKDIR}/toolchain.cmake <<EOF
34set( CMAKE_SYSTEM_NAME Windows )
35EOF
36}
diff --git a/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend b/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
index 4e55e66..4e55e66 100644
--- a/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
+++ b/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
diff --git a/meta-intel-extras/recipes/initramfs-basic/initramfs-basic.bbappend b/meta-boot2qt-distro/recipes-extended/libarchive/libarchive_%.bbappend
index 1ac5f03..937c746 100644
--- a/meta-intel-extras/recipes/initramfs-basic/initramfs-basic.bbappend
+++ b/meta-boot2qt-distro/recipes-extended/libarchive/libarchive_%.bbappend
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30PACKAGE_INSTALL += "kernel-module-rtsx-pci-sdmmc" 30EXTRA_OECONF_append_mingw32 = " --without-cng"
diff --git a/meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend b/meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend
new file mode 100644
index 0000000..bef2c7a
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-graphics/libsdl2/libsdl2_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
index 73a5078..f115070 100644
--- a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
+++ b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
@@ -40,9 +40,10 @@ inherit qbsp
40 40
41PV := "${@d.getVar('PV', True).split('+')[0]}" 41PV := "${@d.getVar('PV', True).split('+')[0]}"
42 42
43VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}"
43QBSP_NAME = "Automotive ${PV}" 44QBSP_NAME = "Automotive ${PV}"
44QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" 45QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}"
45QBSP_INSTALLER_COMPONENT = "automotive.10.yocto.${QBSP_MACHINE}" 46QBSP_INSTALLER_COMPONENT = "automotive.${VERSION_SHORT}.yocto.${QBSP_MACHINE}"
46QBSP_INSTALL_PATH = "/${PV}/Automotive/${MACHINE}" 47QBSP_INSTALL_PATH = "/${PV}/Automotive/${MACHINE}"
47 48
48QBSP_SDK_TASK = "meta-toolchain-b2qt-automotive-qt5-sdk" 49QBSP_SDK_TASK = "meta-toolchain-b2qt-automotive-qt5-sdk"
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
index 9f2d197..2adad90 100644
--- a/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
@@ -42,9 +42,9 @@ python __anonymous() {
42RDEPENDS_${PN} += "\ 42RDEPENDS_${PN} += "\
43 nativesdk-packagegroup-b2qt-embedded-toolchain-host \ 43 nativesdk-packagegroup-b2qt-embedded-toolchain-host \
44 nativesdk-qt3d-tools \ 44 nativesdk-qt3d-tools \
45 nativesdk-qtbase-tools \ 45 nativesdk-qtbase \
46 nativesdk-qtbase-tools-dev \ 46 nativesdk-qtbase-dev \
47 nativesdk-qtbase-tools-staticdev \ 47 nativesdk-qtbase-staticdev \
48 nativesdk-qtdeclarative-staticdev \ 48 nativesdk-qtdeclarative-staticdev \
49 nativesdk-qtdeclarative-tools \ 49 nativesdk-qtdeclarative-tools \
50 nativesdk-qtremoteobjects-tools \ 50 nativesdk-qtremoteobjects-tools \
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
index c1d7f26..281d9b6 100644
--- a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
@@ -54,6 +54,7 @@ RDEPENDS_${PN} += " \
54 qtdeclarative-dev \ 54 qtdeclarative-dev \
55 qtdeclarative-staticdev \ 55 qtdeclarative-staticdev \
56 qtdeviceutilities-dev \ 56 qtdeviceutilities-dev \
57 qtgamepad-dev \
57 qtgraphicaleffects-dev \ 58 qtgraphicaleffects-dev \
58 qtimageformats-dev \ 59 qtimageformats-dev \
59 qtlocation-dev \ 60 qtlocation-dev \
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
index 38bddaa..6b78a82 100644
--- a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
@@ -46,6 +46,7 @@ RDEPENDS_${PN} += " \
46 qtdeclarative \ 46 qtdeclarative \
47 qtdeclarative-tools \ 47 qtdeclarative-tools \
48 qtdeviceutilities \ 48 qtdeviceutilities \
49 qtgamepad \
49 qtgraphicaleffects \ 50 qtgraphicaleffects \
50 qtimageformats \ 51 qtimageformats \
51 qtlocation \ 52 qtlocation \
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtwebengine_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qt3d_git.bbappend
index cfd3a39..d2906b9 100644
--- a/meta-boot2qt-distro/recipes-qt/qt5/qtwebengine_git.bbappend
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qt3d_git.bbappend
@@ -27,5 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# QTBUG-70348 30PACKAGECONFIG += "qtgamepad"
31EXTRA_QMAKEVARS_PRE_append_arm = " CONFIG-=ltcg"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch
new file mode 100644
index 0000000..a7ee953
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0015-Disable-ltcg-for-host_build.patch
@@ -0,0 +1,33 @@
1From 9b541f4f6272c4ed4bb5bf6591e9a65cded6fdfa Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Tue, 23 Oct 2018 09:54:57 +0300
4Subject: [PATCH] Disable ltcg for host_build
5
6debug-prefix-map does not work correctly for static libraries
7when using ltcg, and since host_build compilations link agaist
8the libQt5Bootstrap.a library, it breaks source file packaging
9into debug packages.
10
11Also disable ltcg when compiling on Windows host platform,
12as GCC7 does not support lto with mingw.
13
14Disable also for static builds since those libraries can be linked
15on Windows host, where the lto built binaries won't work.
16
17Task-number: QTBUG-71230
18Change-Id: I5bea76ea03bf1943b0cfaf03d46a4840bd99a28b
19Upstream-Status: Inappropriate [embedded specific]
20---
21 mkspecs/features/ltcg.prf | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24diff --git a/mkspecs/features/ltcg.prf b/mkspecs/features/ltcg.prf
25index ccf0226272..00118be872 100644
26--- a/mkspecs/features/ltcg.prf
27+++ b/mkspecs/features/ltcg.prf
28@@ -1,4 +1,4 @@
29-CONFIG(release, debug|release) {
30+CONFIG(release, debug|release):!host_build:!equals(QMAKE_HOST.os, Windows):!staticlib {
31 # We need fat object files when creating static libraries on some platforms
32 # so the linker will know to load a particular object from the library
33 # in the first place. On others, we have special ar and nm to create the symbol
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
index f24556e..5684832 100644
--- a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
@@ -36,10 +36,10 @@ PACKAGECONFIG += " \
36 accessibility \ 36 accessibility \
37 cups \ 37 cups \
38 fontconfig \ 38 fontconfig \
39 freetype \
40 getentropy \ 39 getentropy \
41 gif \ 40 gif \
42 glib \ 41 glib \
42 harfbuzz \
43 ico \ 43 ico \
44 icu \ 44 icu \
45 libinput \ 45 libinput \
@@ -64,6 +64,3 @@ SRC_URI += " \
64do_configure_prepend() { 64do_configure_prepend() {
65 install -m 0644 ${WORKDIR}/oe-device-extra.pri ${S}/mkspecs 65 install -m 0644 ${WORKDIR}/oe-device-extra.pri ${S}/mkspecs
66} 66}
67
68# make other libgbm providers possible
69PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
index ad4c7b8..b90d2f8 100644
--- a/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
@@ -1,23 +1,24 @@
1From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001 1From 5a68ac7a0121eff661a448e2fcbe5c02981c50a1 Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io> 2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Wed, 25 Oct 2017 13:22:16 +0300 3Date: Wed, 25 Oct 2017 13:22:16 +0300
4Subject: [PATCH] location: disable simulator content under plugins 4Subject: [PATCH] location: disable simulator content under plugins
5 5
6Does not build against more recent simulator 6Does not build against more recent simulator
7
7--- 8---
8 src/plugins/position/position.pro | 2 +- 9 src/plugins/position/position.pro | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
10 11
11diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro 12diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro
12index 1687a9d..347963f 100644 13index 4453b8a3..c36a1b58 100644
13--- a/src/plugins/position/position.pro 14--- a/src/plugins/position/position.pro
14+++ b/src/plugins/position/position.pro 15+++ b/src/plugins/position/position.pro
15@@ -5,7 +5,7 @@ QT_FOR_CONFIG += positioning-private 16@@ -6,7 +6,7 @@ qtHaveModule(dbus):SUBDIRS += geoclue
16 qtHaveModule(dbus):SUBDIRS += geoclue 17 qtHaveModule(dbus):SUBDIRS += geoclue2
17 qtConfig(gypsy):SUBDIRS += gypsy 18 qtConfig(gypsy):SUBDIRS += gypsy
18 qtConfig(winrt_geolocation):SUBDIRS += winrt 19 qtConfig(winrt_geolocation):SUBDIRS += winrt
19-qtHaveModule(simulator):SUBDIRS += simulator 20-qtHaveModule(simulator):SUBDIRS += simulator
20+#qtHaveModule(simulator):SUBDIRS += simulator 21+#qtHaveModule(simulator):SUBDIRS += simulator
21 osx|ios|tvos:SUBDIRS += corelocation 22 osx|ios|tvos:SUBDIRS += corelocation
22 android:SUBDIRS += android 23 android:SUBDIRS += android
23 win32:qtHaveModule(serialport):SUBDIRS += serialnmea 24 qtHaveModule(serialport):SUBDIRS += serialnmea
diff --git a/meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend b/meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend
new file mode 100644
index 0000000..6545343
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-support/curl/curl_%.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_remove_class-nativesdk_mingw32 = "ssl"
31RRECOMMENDS_lib${BPN}_remove_mingw32 = "ca-certificates"
diff --git a/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend
index dedddf0..dba4af2 100644
--- a/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend
+++ b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,19 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "\
32 file://rngd.service \
33 "
34
35inherit systemd
36
37do_install_append() {
38 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
39 install -d ${D}${systemd_unitdir}/system
40 install -m 644 ${WORKDIR}/rngd.service ${D}${systemd_unitdir}/system
41 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/rngd.service
42 fi
43}
44
45SYSTEMD_SERVICE_${PN} = "rngd.service"
diff --git a/meta-boot2qt-distro/wic/directdisk.wks b/meta-boot2qt-distro/wic/directdisk.wks
new file mode 100644
index 0000000..42bce62
--- /dev/null
+++ b/meta-boot2qt-distro/wic/directdisk.wks
@@ -0,0 +1,7 @@
1# short-description: Create a 'pcbios' direct disk image
2# long-description: Creates a partitioned legacy BIOS disk image that the user
3# can directly dd to boot media.
4
5include common.wks.inc
6
7bootloader --timeout=0 --append="rootwait rootfstype=ext4 video=vesafb console=tty0 console=ttyS0,115200n8"
diff --git a/meta-boot2qt/classes/deploy-conf.bbclass b/meta-boot2qt/classes/deploy-conf.bbclass
index 22c6ef7..4999d4d 100644
--- a/meta-boot2qt/classes/deploy-conf.bbclass
+++ b/meta-boot2qt/classes/deploy-conf.bbclass
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -29,7 +29,7 @@
29 29
30inherit image_types 30inherit image_types
31 31
32IMAGE_DEPENDS_conf = "qtbase-native" 32do_image_conf[depends] += "qtbase-native:do_populate_sysroot"
33 33
34DEPLOY_CONF_NAME ?= "${MACHINE}" 34DEPLOY_CONF_NAME ?= "${MACHINE}"
35DEPLOY_CONF_TYPE ?= "Boot2Qt" 35DEPLOY_CONF_TYPE ?= "Boot2Qt"
diff --git a/meta-boot2qt/classes/image-hdd.bbclass b/meta-boot2qt/classes/image-hdd.bbclass
deleted file mode 100644
index bceb1b1..0000000
--- a/meta-boot2qt/classes/image-hdd.bbclass
+++ /dev/null
@@ -1,48 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30VM_ROOTFS_TYPE = "ext3"
31ROOT_VM = "root=/dev/hda2"
32LABELS_VM = "boot"
33AUTO_SYSLINUXMENU = "0"
34SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200"
35
36inherit image_types image-vm
37
38create_hdd_image () {
39 cd ${IMGDEPLOYDIR}
40 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd
41 ln -s ${IMAGE_NAME}.hdddirect ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd
42}
43
44python do_hddimg() {
45 bb.build.exec_func('create_hdd_image', d)
46}
47
48addtask hddimg after do_bootdirectdisk before do_image_complete
diff --git a/meta-boot2qt/classes/image_dd.bbclass b/meta-boot2qt/classes/image_dd.bbclass
deleted file mode 100644
index e05536b..0000000
--- a/meta-boot2qt/classes/image_dd.bbclass
+++ /dev/null
@@ -1,87 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# This class is based on meta-freescale/classes/image_types_fsl.bbclass::generate_imx_sdcard()
31DESCRIPTION = "The base class for building images that can be deployed with GNU coreutils dd tool."
32inherit image_types
33
34IMAGE="${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.img"
35
36# Boot partition size [in KiB]
37BOOT_SPACE ?= "8192"
38
39# Set alignment to 4MB [in KiB]
40IMAGE_ROOTFS_ALIGNMENT = "4096"
41
42# Boot partition volume id
43BOOTDD_VOLUME_ID = "boot"
44
45IMAGE_TYPEDEP_dd = "ext3"
46IMAGE_DEPENDS_dd = "parted-native:do_populate_sysroot \
47 dosfstools-native:do_populate_sysroot \
48 mtools-native:do_populate_sysroot"
49
50image_dd_do_populate_boot() {
51}
52EXPORT_FUNCTIONS do_populate_boot
53
54IMAGE_CMD_dd() {
55
56 ROOTFS="${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext3"
57
58 # Align boot partition and calculate total binary image size
59 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1)
60 BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE_ALIGNED} - ${BOOT_SPACE_ALIGNED} % ${IMAGE_ROOTFS_ALIGNMENT})
61 IMAGE_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + ${BOOT_SPACE_ALIGNED} + $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT})
62
63 # Initialize a sparse file
64 dd if=/dev/zero of=${IMAGE} bs=1 count=0 seek=$(expr 1024 \* ${IMAGE_SIZE})
65
66 # Create partition table
67 parted -s ${IMAGE} mklabel msdos
68 parted -s ${IMAGE} unit KiB mkpart primary fat32 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED})
69 parted -s ${IMAGE} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE)
70 parted -s ${IMAGE} set 1 boot on
71 parted ${IMAGE} print
72
73 # Create boot partition image
74 BOOT_BLOCKS=$(LC_ALL=C parted -s ${IMAGE} unit b print \
75 | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }')
76 rm -f ${WORKDIR}/boot.img
77 mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS
78 do_populate_boot
79
80 # Burn Partitions
81 dd if=${WORKDIR}/boot.img of=${IMAGE} conv=notrunc seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync
82 dd if=${ROOTFS} of=${IMAGE} conv=notrunc seek=1 bs=$(expr ${BOOT_SPACE_ALIGNED} \* 1024 + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) && sync && sync
83
84 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
85 ln -s ${IMAGE_NAME}.rootfs.img ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
86}
87
diff --git a/meta-boot2qt/classes/image_types_sdcard.bbclass b/meta-boot2qt/classes/image_types_sdcard.bbclass
index 970c34b..a894bca 100644
--- a/meta-boot2qt/classes/image_types_sdcard.bbclass
+++ b/meta-boot2qt/classes/image_types_sdcard.bbclass
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -28,27 +28,23 @@
28############################################################################ 28############################################################################
29 29
30IMAGE_ROOTFS_EXTRA_SPACE = "100000" 30IMAGE_ROOTFS_EXTRA_SPACE = "100000"
31SDCARD_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext3"
32SDCARD_GENERATION_COMMAND ?= "generate_imx_sdcard"
33
34IMAGE_CMD_sdcard_append() {
35 parted -s ${SDCARD} set 1 boot on
36 31
32IMAGE_CMD_wic_append() {
37 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 33 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
38 ln -s ${IMAGE_NAME}.rootfs.sdcard ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 34 ln -s ${IMAGE_NAME}.rootfs.wic ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
39} 35}
40 36
41IMAGE_CMD_rpi-sdimg_append() { 37IMAGE_CMD_wic_append_emulator() {
42 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 38 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd
43 ln -s ${IMAGE_NAME}.rootfs.rpi-sdimg ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 39 ln -s ${IMAGE_NAME}.rootfs.wic ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.hdd
44} 40}
45 41
46build_hddimg_append() { 42IMAGE_CMD_rpi-sdimg_append() {
47 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 43 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
48 ln -s ${IMAGE_NAME}.hddimg ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 44 ln -s ${IMAGE_NAME}.rootfs.rpi-sdimg ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
49} 45}
50 46
51IMAGE_DEPENDS_tegraflash_append = " parted-native:do_populate_sysroot" 47do_image_tegraflash[depends] += "parted-native:do_populate_sysroot"
52create_tegraflash_pkg_prepend() { 48create_tegraflash_pkg_prepend() {
53 # Create partition table 49 # Create partition table
54 SDCARD=${IMGDEPLOYDIR}/${IMAGE_NAME}.img 50 SDCARD=${IMGDEPLOYDIR}/${IMAGE_NAME}.img
@@ -88,7 +84,10 @@ END
88 ln -sf ${IMAGE_NAME}.flasher.tar.gz ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.flasher.tar.gz 84 ln -sf ${IMAGE_NAME}.flasher.tar.gz ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.flasher.tar.gz
89} 85}
90 86
91IMAGE_DEPENDS_teziimg_append = " qtbase-native:do_populate_sysroot" 87# fix: basehash value changed from ... to ....
88# The metadata is not deterministic and this needs to be fixed.
89do_image_teziimg[vardepsexclude] += "DATETIME DATE TIME"
90do_image_teziimg[depends] += "qtbase-native:do_populate_sysroot"
92IMAGE_CMD_teziimg_append() { 91IMAGE_CMD_teziimg_append() {
93 ${IMAGE_CMD_TAR} --transform 's,^,${IMAGE_NAME}-Tezi_${PV}/,' -rhf ${IMGDEPLOYDIR}/${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar TEZI_B2QT_EULA.TXT Built_with_Qt.png 92 ${IMAGE_CMD_TAR} --transform 's,^,${IMAGE_NAME}-Tezi_${PV}/,' -rhf ${IMGDEPLOYDIR}/${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar TEZI_B2QT_EULA.TXT Built_with_Qt.png
94 ln -fs ${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.tezi.tar 93 ln -fs ${IMAGE_NAME}-Tezi_${PV}${TDX_VERDATE}.tar ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.tezi.tar
diff --git a/meta-boot2qt/classes/internal-build.bbclass b/meta-boot2qt/classes/internal-build.bbclass
index d842dcb..b1c581d 100644
--- a/meta-boot2qt/classes/internal-build.bbclass
+++ b/meta-boot2qt/classes/internal-build.bbclass
@@ -53,3 +53,7 @@ python enable_internal_build () {
53 53
54addhandler enable_internal_build 54addhandler enable_internal_build
55enable_internal_build[eventmask] = "bb.event.ConfigParsed" 55enable_internal_build[eventmask] = "bb.event.ConfigParsed"
56
57# bring back base_conditional as Draak is using too old meta layer
58def base_conditional(variable, checkvalue, truevalue, falsevalue, d):
59 return oe.utils.conditional(variable, checkvalue, truevalue, falsevalue, d)
diff --git a/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass b/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass
index e98565c..f35ebfe 100644
--- a/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass
+++ b/meta-boot2qt/classes/populate_b2qt_qt5_sdk.bbclass
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -33,7 +33,7 @@ SDK_MKSPEC_DIR = "${SDK_OUTPUT}${SDKTARGETSYSROOT}${libdir}/${QT_DIR_NAME}/mkspe
33NATIVE_SDK_MKSPEC_DIR = "${SDK_OUTPUT}${SDKPATHNATIVE}${libdir}/${QT_DIR_NAME}/mkspecs" 33NATIVE_SDK_MKSPEC_DIR = "${SDK_OUTPUT}${SDKPATHNATIVE}${libdir}/${QT_DIR_NAME}/mkspecs"
34SDK_MKSPEC = "devices/linux-oe-generic-g++" 34SDK_MKSPEC = "devices/linux-oe-generic-g++"
35SDK_DEVICE_PRI = "${SDK_MKSPEC_DIR}/qdevice.pri" 35SDK_DEVICE_PRI = "${SDK_MKSPEC_DIR}/qdevice.pri"
36SDK_DYNAMIC_FLAGS = "-O. -pipe -g" 36MACHINE_CMAKE = "${SDK_OUTPUT}${SDKPATHNATIVE}${datadir}/cmake/OEToolchainConfig.cmake.d/${MACHINE}.cmake"
37 37
38create_sdk_files_append () { 38create_sdk_files_append () {
39 # Create the toolchain user's generic device mkspec 39 # Create the toolchain user's generic device mkspec
@@ -49,23 +49,17 @@ EOF
49#include "../../linux-g++/qplatformdefs.h" 49#include "../../linux-g++/qplatformdefs.h"
50EOF 50EOF
51 51
52 # Fill in the qdevice.pri file which will be used by the device mksspec 52 # Fill in the qdevice.pri file which will be used by the device mkspec
53 static_cflags="${TARGET_CFLAGS}"
54 static_cxxflags="${TARGET_CXXFLAGS}"
55 for i in ${SDK_DYNAMIC_FLAGS}; do
56 static_cflags=$(echo $static_cflags | sed -e "s/$i //")
57 static_cxxflags=$(echo $static_cxxflags | sed -e "s/$i //")
58 done
59 echo "MACHINE = ${MACHINE}" > ${SDK_DEVICE_PRI} 53 echo "MACHINE = ${MACHINE}" > ${SDK_DEVICE_PRI}
60 echo "CROSS_COMPILE = \$\$[QT_HOST_PREFIX]${bindir_nativesdk}/${TARGET_SYS}/${TARGET_PREFIX}" >> ${SDK_DEVICE_PRI} 54 echo "CROSS_COMPILE = \$\$[QT_HOST_PREFIX]${bindir_nativesdk}/${TARGET_SYS}/${TARGET_PREFIX}" >> ${SDK_DEVICE_PRI}
61 echo "QMAKE_CFLAGS *= ${TARGET_CC_ARCH} ${static_cflags}" >> ${SDK_DEVICE_PRI} 55 echo "QMAKE_CFLAGS *= ${TARGET_CC_ARCH}" >> ${SDK_DEVICE_PRI}
62 echo "QMAKE_CXXFLAGS *= ${TARGET_CC_ARCH} ${static_cxxflags}" >> ${SDK_DEVICE_PRI} 56 echo "QMAKE_CXXFLAGS *= ${TARGET_CC_ARCH}" >> ${SDK_DEVICE_PRI}
63 echo "QMAKE_LFLAGS *= ${TARGET_CC_ARCH} ${TARGET_LDFLAGS}" >> ${SDK_DEVICE_PRI} 57 echo "QMAKE_LFLAGS *= ${TARGET_CC_ARCH} ${TARGET_LDFLAGS}" >> ${SDK_DEVICE_PRI}
64 58
65 # Setup qt.conf to point at the device mkspec by default 59 # Setup qt.conf to point at the device mkspec by default
66 qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf 60 qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf
67 echo 'HostSpec = linux-g++' >> $qtconf 61 echo 'HostSpec = linux-g++' >> $qtconf
68 echo 'TargetSpec = devices/linux-oe-generic-g++' >> $qtconf 62 echo 'TargetSpec = ${SDK_MKSPEC}' >> $qtconf
69 63
70 # Update correct host_build ARCH and ABI to mkspecs/qconfig.pri 64 # Update correct host_build ARCH and ABI to mkspecs/qconfig.pri
71 QT_ARCH=$(grep QT_ARCH ${NATIVE_SDK_MKSPEC_DIR}/qconfig.pri | tail -1) 65 QT_ARCH=$(grep QT_ARCH ${NATIVE_SDK_MKSPEC_DIR}/qconfig.pri | tail -1)
@@ -79,6 +73,18 @@ EOF
79 73
80 # Link /etc/resolv.conf is broken in the toolchain sysroot, remove it 74 # Link /etc/resolv.conf is broken in the toolchain sysroot, remove it
81 rm -f ${SDK_OUTPUT}${SDKTARGETSYSROOT}${sysconfdir}/resolv.conf 75 rm -f ${SDK_OUTPUT}${SDKTARGETSYSROOT}${sysconfdir}/resolv.conf
76
77 # Create and add cmake toolchain file
78 echo "set(CMAKE_SYSROOT ${SDKTARGETSYSROOT})" > ${MACHINE_CMAKE}
79 echo "set(CMAKE_PREFIX_PATH ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}/cmake)" >> ${MACHINE_CMAKE}
80 echo "set(compiler_flags \"${TARGET_CC_ARCH}\")" >> ${MACHINE_CMAKE}
81 echo "set(CMAKE_C_COMPILER_ARG1 \"\${compiler_flags}\")" >> ${MACHINE_CMAKE}
82 echo "set(CMAKE_CXX_COMPILER_ARG1 \"\${compiler_flags}\")" >> ${MACHINE_CMAKE}
83 echo "set(OE_QMAKE_PATH_EXTERNAL_HOST_BINS ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS})" >> ${MACHINE_CMAKE}
84}
85
86create_sdk_files_append_sdkmingw32 () {
87 echo "set(OE_QMAKE_BIN_SUFFIX .exe)" >> ${MACHINE_CMAKE}
82} 88}
83 89
84create_qtcreator_configure_script () { 90create_qtcreator_configure_script () {
@@ -88,5 +94,7 @@ create_qtcreator_configure_script () {
88 sed -i -e '/^ABI=/c\ABI="${ABI}-linux-generic-elf-${SITEINFO_BITS}bit"' ${SDK_OUTPUT}/${SDKPATH}/configure-qtcreator.sh 94 sed -i -e '/^ABI=/c\ABI="${ABI}-linux-generic-elf-${SITEINFO_BITS}bit"' ${SDK_OUTPUT}/${SDKPATH}/configure-qtcreator.sh
89} 95}
90 96
91create_qtcreator_configure_script_mingw32 () { 97create_qtcreator_configure_script_sdkmingw32 () {
98 # no script available for mingw
99 true
92} 100}
diff --git a/meta-boot2qt/classes/populate_b2qt_sdk.bbclass b/meta-boot2qt/classes/populate_b2qt_sdk.bbclass
index 8d600d0..ad863da 100644
--- a/meta-boot2qt/classes/populate_b2qt_sdk.bbclass
+++ b/meta-boot2qt/classes/populate_b2qt_sdk.bbclass
@@ -57,6 +57,6 @@ fakeroot tar_sdk_sdkmingw32() {
57 if [ -e ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z ]; then 57 if [ -e ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z ]; then
58 rm ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z 58 rm ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z
59 fi 59 fi
60 7zr a ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z sysroots 60 7zr a ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.7z *
61} 61}
62 62
diff --git a/meta-boot2qt/classes/qbsp.bbclass b/meta-boot2qt/classes/qbsp.bbclass
index da790bf..7c6f7ef 100644
--- a/meta-boot2qt/classes/qbsp.bbclass
+++ b/meta-boot2qt/classes/qbsp.bbclass
@@ -33,6 +33,7 @@ FILESEXTRAPATHS_prepend := "${B2QTBASE}/files/qbsp:"
33 33
34SRC_URI = "\ 34SRC_URI = "\
35 file://base_package.xml \ 35 file://base_package.xml \
36 file://base_installscript.qs \
36 file://image_package.xml \ 37 file://image_package.xml \
37 file://toolchain_package.xml \ 38 file://toolchain_package.xml \
38 file://toolchain_installscript.qs \ 39 file://toolchain_installscript.qs \
@@ -144,6 +145,7 @@ prepare_qbsp() {
144 mkdir -p ${COMPONENT_PATH}/meta 145 mkdir -p ${COMPONENT_PATH}/meta
145 146
146 cp ${WORKDIR}/base_package.xml ${COMPONENT_PATH}/meta/package.xml 147 cp ${WORKDIR}/base_package.xml ${COMPONENT_PATH}/meta/package.xml
148 cp ${WORKDIR}/base_installscript.qs ${COMPONENT_PATH}/meta/installscript.qs
147 patch_installer_files ${COMPONENT_PATH}/meta 149 patch_installer_files ${COMPONENT_PATH}/meta
148} 150}
149 151
@@ -154,10 +156,10 @@ create_qbsp() {
154 repogen -p ${B}/pkg ${B}/repository 156 repogen -p ${B}/pkg ${B}/repository
155 157
156 mkdir -p ${DEPLOY_DIR}/qbsp 158 mkdir -p ${DEPLOY_DIR}/qbsp
157 rm -f ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp 159 rm -f ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}-${PV}.qbsp
158 160
159 cd ${B}/repository 161 cd ${B}/repository
160 7zr a ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}.qbsp * 162 7zr a ${DEPLOY_DIR}/qbsp/${PN}-${SDK_MACHINE}-${MACHINE}-${PV}.qbsp *
161} 163}
162 164
163python do_qbsp() { 165python do_qbsp() {
diff --git a/meta-boot2qt-distro/recipes-devtools/gcc/gcc-sanitizers_%.bbappend b/meta-boot2qt/classes/qt5-features.bbclass
index bbbffe3..89b3ee6 100644
--- a/meta-boot2qt-distro/recipes-devtools/gcc/gcc-sanitizers_%.bbappend
+++ b/meta-boot2qt/classes/qt5-features.bbclass
@@ -27,7 +27,14 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# aarch64 is compatible since GCC 5.1. See poky/master commit 30FEATURES := "${THISDIR}/features/${QT_MODULE}.opt"
31# b46caed47b0f74520cd9280bbe3e3676d9a19046 31do_configure[file-checksums] += "${FEATURES}:True"
32RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan" 32
33COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux' 33def qt_features(d):
34 featurefile = d.getVar('FEATURES', True)
35 with open(featurefile, 'r') as f:
36 features = f.read().replace('\n', ' ')
37 return features
38
39QT_CONFIG_FLAGS_append_class-target = " ${@qt_features(d)}"
40EXTRA_QMAKEVARS_CONFIGURE_append_class-target = " ${@qt_features(d)}"
diff --git a/meta-boot2qt/conf/layer.conf b/meta-boot2qt/conf/layer.conf
index b8ba222..c51ea68 100644
--- a/meta-boot2qt/conf/layer.conf
+++ b/meta-boot2qt/conf/layer.conf
@@ -43,3 +43,5 @@ QT_LICENSE = "${LAYERDIR}/licenses/The-Qt-Company-Commercial"
43B2QTBASE = "${LAYERDIR}" 43B2QTBASE = "${LAYERDIR}"
44 44
45HOSTTOOLS += "git-lfs" 45HOSTTOOLS += "git-lfs"
46
47LAYERSERIES_COMPAT_b2qt = "sumo"
diff --git a/meta-boot2qt/files/configure-qtcreator.sh b/meta-boot2qt/files/configure-qtcreator.sh
index 105e476..a7ea288 100755
--- a/meta-boot2qt/files/configure-qtcreator.sh
+++ b/meta-boot2qt/files/configure-qtcreator.sh
@@ -100,6 +100,7 @@ ${SDKTOOL} rmQt --id ${BASEID}.qt || true
100${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc || true 100${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc || true
101${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.g++ || true 101${SDKTOOL} rmTC --id ProjectExplorer.ToolChain.Gcc:${BASEID}.g++ || true
102${SDKTOOL} rmDebugger --id ${BASEID}.gdb 2>/dev/null || true 102${SDKTOOL} rmDebugger --id ${BASEID}.gdb 2>/dev/null || true
103${SDKTOOL} rmCMake --id ${BASEID}.cmake 2>/dev/null || true
103 104
104if [ -n "${REMOVEONLY}" ]; then 105if [ -n "${REMOVEONLY}" ]; then
105 echo "Kit removed: ${NAME}" 106 echo "Kit removed: ${NAME}"
@@ -133,6 +134,11 @@ ${SDKTOOL} addQt \
133 --type "Qdb.EmbeddedLinuxQt" \ 134 --type "Qdb.EmbeddedLinuxQt" \
134 --qmake "$(type -p qmake)" 135 --qmake "$(type -p qmake)"
135 136
137${SDKTOOL} addCMake \
138 --id "${BASEID}.cmake" \
139 --name "CMake ${NAME}" \
140 --path "$(type -p cmake)"
141
136${SDKTOOL} addKit \ 142${SDKTOOL} addKit \
137 --id "${BASEID}.kit" \ 143 --id "${BASEID}.kit" \
138 --name "${NAME}" \ 144 --name "${NAME}" \
@@ -143,6 +149,11 @@ ${SDKTOOL} addKit \
143 --Ctoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \ 149 --Ctoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.gcc" \
144 --Cxxtoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.g++" \ 150 --Cxxtoolchain "ProjectExplorer.ToolChain.Gcc:${BASEID}.g++" \
145 --icon ":/boot2qt/images/B2Qt_QtC_icon.png" \ 151 --icon ":/boot2qt/images/B2Qt_QtC_icon.png" \
146 --mkspec "${MKSPEC}" 152 --mkspec "${MKSPEC}" \
153 --cmake "${BASEID}.cmake" \
154 --cmake-config "CMAKE_TOOLCHAIN_FILE:FILEPATH=${OECORE_NATIVE_SYSROOT}/usr/share/cmake/OEToolchainConfig.cmake" \
155 --cmake-config "CMAKE_MAKE_PROGRAM:FILEPATH=$(type -p make)" \
156 --cmake-config "CMAKE_CXX_COMPILER:FILEPATH=$(type -p ${CXX})" \
157 --cmake-config "CMAKE_C_COMPILER:FILEPATH=$(type -p ${CC})"
147 158
148echo "Configured Qt Creator with new kit: ${NAME}" 159echo "Configured Qt Creator with new kit: ${NAME}"
diff --git a/meta-boot2qt/files/qbsp/base_installscript.qs b/meta-boot2qt/files/qbsp/base_installscript.qs
new file mode 100644
index 0000000..e6c5fbc
--- /dev/null
+++ b/meta-boot2qt/files/qbsp/base_installscript.qs
@@ -0,0 +1,58 @@
1/****************************************************************************
2**
3** Copyright (C) 2018 The Qt Company Ltd.
4** Contact: https://www.qt.io/licensing/
5**
6** This file is part of the Boot to Qt meta layer.
7**
8** $QT_BEGIN_LICENSE:GPL$
9** Commercial License Usage
10** Licensees holding valid commercial Qt licenses may use this file in
11** accordance with the commercial license agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and The Qt Company. For licensing terms
14** and conditions see https://www.qt.io/terms-conditions. For further
15** information use the contact form at https://www.qt.io/contact-us.
16**
17** GNU General Public License Usage
18** Alternatively, this file may be used under the terms of the GNU
19** General Public License version 3 or (at your option) any later version
20** approved by the KDE Free Qt Foundation. The licenses are as published by
21** the Free Software Foundation and appearing in the file LICENSE.GPL3
22** included in the packaging of this file. Please review the following
23** information to ensure the GNU General Public License requirements will
24** be met: https://www.gnu.org/licenses/gpl-3.0.html.
25**
26** $QT_END_LICENSE$
27**
28****************************************************************************/
29
30var targetHost = "Linux";
31var currentHost = "Linux";
32
33function Component()
34{
35 if ("@SDKFILE@".indexOf("mingw32") >= 0)
36 targetHost = "Windows";
37
38 if (systemInfo.kernelType === "winnt")
39 currentHost = "Windows";
40 else if (systemInfo.kernelType === "darwin")
41 currentHost = "macOS";
42
43 if (currentHost != targetHost) {
44 component.enabled = false;
45 component.setValue("Default", false);
46 installer.componentByName(component.name + ".toolchain").setValue("Default", false);
47 installer.componentByName(component.name + ".toolchain").enabled = false;
48 installer.componentByName(component.name + ".system").setValue("Default", false);
49 installer.componentByName(component.name + ".system").enabled = false;
50
51 gui.currentPageWidget().completeChanged.connect(this, Component.prototype.completeChanged)
52 }
53}
54
55Component.prototype.completeChanged = function ()
56{
57 QMessageBox.critical("error", "Invalid QBSP package", "The selected QBSP supports only " + targetHost + " host platform.\nPlease restart the installer before continuing.");
58}
diff --git a/meta-boot2qt/files/qbsp/base_package.xml b/meta-boot2qt/files/qbsp/base_package.xml
index 5f16dfa..57b5076 100644
--- a/meta-boot2qt/files/qbsp/base_package.xml
+++ b/meta-boot2qt/files/qbsp/base_package.xml
@@ -5,4 +5,6 @@
5 <DisplayName>@TARGET@</DisplayName> 5 <DisplayName>@TARGET@</DisplayName>
6 <Description>@NAME@ for @TARGET@</Description> 6 <Description>@NAME@ for @TARGET@</Description>
7 <Dependencies>@LICENSEDEPENDENCY@</Dependencies> 7 <Dependencies>@LICENSEDEPENDENCY@</Dependencies>
8 <Script>installscript.qs</Script>
9 <Default>true</Default>
8</Package> 10</Package>
diff --git a/meta-boot2qt/files/qbsp/image_package.xml b/meta-boot2qt/files/qbsp/image_package.xml
index 27e5f2e..326b443 100644
--- a/meta-boot2qt/files/qbsp/image_package.xml
+++ b/meta-boot2qt/files/qbsp/image_package.xml
@@ -5,4 +5,5 @@
5 <DisplayName>@TARGET@ Linux System</DisplayName> 5 <DisplayName>@TARGET@ Linux System</DisplayName>
6 <Description>System image for @TARGET@ hardware</Description> 6 <Description>System image for @TARGET@ hardware</Description>
7 <DownloadableArchives>image.7z</DownloadableArchives> 7 <DownloadableArchives>image.7z</DownloadableArchives>
8 <Default>true</Default>
8</Package> 9</Package>
diff --git a/meta-boot2qt/files/qbsp/toolchain_installscript.qs b/meta-boot2qt/files/qbsp/toolchain_installscript.qs
index 4afab71..feee04d 100644
--- a/meta-boot2qt/files/qbsp/toolchain_installscript.qs
+++ b/meta-boot2qt/files/qbsp/toolchain_installscript.qs
@@ -1,6 +1,6 @@
1/**************************************************************************** 1/****************************************************************************
2** 2**
3** Copyright (C) 2016 The Qt Company Ltd. 3** Copyright (C) 2018 The Qt Company Ltd.
4** Contact: https://www.qt.io/licensing/ 4** Contact: https://www.qt.io/licensing/
5** 5**
6** This file is part of the Boot to Qt meta layer. 6** This file is part of the Boot to Qt meta layer.
@@ -56,17 +56,22 @@ Component.prototype.createOperations = function()
56 component.addOperation("Replace", 56 component.addOperation("Replace",
57 path + "/sysroots/i686-pokysdk-mingw32/usr/bin/qt.conf", 57 path + "/sysroots/i686-pokysdk-mingw32/usr/bin/qt.conf",
58 sdkPath, path); 58 sdkPath, path);
59 component.addOperation("Replace",
60 path + "/sysroots/i686-pokysdk-mingw32/usr/share/cmake/OEToolchainConfig.cmake.d/" + device + ".cmake",
61 sdkPath, path);
59 } 62 }
60 var basecomponent = component.name.substring(0, component.name.lastIndexOf(".")); 63 var basecomponent = component.name.substring(0, component.name.lastIndexOf("."));
61 var toolchainId = "ProjectExplorer.ToolChain.Gcc:" + component.name; 64 var toolchainId = "ProjectExplorer.ToolChain.Gcc:" + component.name;
62 var debuggerId = basecomponent + ".gdb"; 65 var debuggerId = basecomponent + ".gdb";
63 var qtId = basecomponent + ".qt"; 66 var qtId = basecomponent + ".qt";
67 var cmakeId = basecomponent + ".cmake";
64 var icon = installer.value("B2QtDeviceIcon"); 68 var icon = installer.value("B2QtDeviceIcon");
65 var executableExt = ""; 69 var executableExt = "";
66 var hostSysroot = "x86_64-pokysdk-linux"; 70 var hostSysroot = "x86_64-pokysdk-linux";
67 if (systemInfo.kernelType === "winnt") { 71 if (systemInfo.kernelType === "winnt") {
68 executableExt = ".exe"; 72 executableExt = ".exe";
69 hostSysroot = "i686-pokysdk-mingw32"; 73 hostSysroot = "i686-pokysdk-mingw32";
74 toolchainId = "ProjectExplorer.ToolChain.Mingw:" + component.name;
70 } 75 }
71 76
72 component.addOperation("Execute", 77 component.addOperation("Execute",
@@ -109,6 +114,14 @@ Component.prototype.createOperations = function()
109 "@SDKToolBinary@", "rmQt", "--id", qtId]); 114 "@SDKToolBinary@", "rmQt", "--id", qtId]);
110 115
111 component.addOperation("Execute", 116 component.addOperation("Execute",
117 ["@SDKToolBinary@", "addCMake",
118 "--id", cmakeId,
119 "--name", "CMake (" + platform + " " + target + ")",
120 "--path", path + "/sysroots/" + hostSysroot + "/usr/bin/cmake" + executableExt,
121 "UNDOEXECUTE",
122 "@SDKToolBinary@", "rmCMake", "--id", cmakeId]);
123
124 component.addOperation("Execute",
112 ["@SDKToolBinary@", "addKit", 125 ["@SDKToolBinary@", "addKit",
113 "--id", basecomponent, 126 "--id", basecomponent,
114 "--name", platform + " " + target, 127 "--name", platform + " " + target,
@@ -120,6 +133,11 @@ Component.prototype.createOperations = function()
120 "--Ctoolchain", toolchainId + ".gcc", 133 "--Ctoolchain", toolchainId + ".gcc",
121 "--Cxxtoolchain", toolchainId + ".g++", 134 "--Cxxtoolchain", toolchainId + ".g++",
122 "--icon", icon, 135 "--icon", icon,
136 "--cmake", cmakeId,
137 "--cmake-config", "CMAKE_TOOLCHAIN_FILE:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/share/cmake/OEToolchainConfig.cmake",
138 "--cmake-config", "CMAKE_MAKE_PROGRAM:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/bin/make" + executableExt,
139 "--cmake-config", "CMAKE_CXX_COMPILER:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-g++" + executableExt,
140 "--cmake-config", "CMAKE_C_COMPILER:FILEPATH=" + path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-gcc" + executableExt,
123 "UNDOEXECUTE", 141 "UNDOEXECUTE",
124 "@SDKToolBinary@", "rmKit", "--id", basecomponent]); 142 "@SDKToolBinary@", "rmKit", "--id", basecomponent]);
125} 143}
diff --git a/meta-boot2qt/files/qbsp/toolchain_package.xml b/meta-boot2qt/files/qbsp/toolchain_package.xml
index 166e09b..89a73b7 100644
--- a/meta-boot2qt/files/qbsp/toolchain_package.xml
+++ b/meta-boot2qt/files/qbsp/toolchain_package.xml
@@ -7,4 +7,5 @@
7 <DownloadableArchives>toolchain.7z</DownloadableArchives> 7 <DownloadableArchives>toolchain.7z</DownloadableArchives>
8 <Dependencies>qt.tools.qtcreator</Dependencies> 8 <Dependencies>qt.tools.qtcreator</Dependencies>
9 <Script>installscript.qs</Script> 9 <Script>installscript.qs</Script>
10 <Default>true</Default>
10</Package> 11</Package>
diff --git a/meta-boot2qt/recipes-core/initramfs-basic/files/init.sh b/meta-boot2qt/recipes-core/initramfs-basic/files/init.sh
deleted file mode 100644
index 94eb39b..0000000
--- a/meta-boot2qt/recipes-core/initramfs-basic/files/init.sh
+++ /dev/null
@@ -1,107 +0,0 @@
1#!/bin/sh
2
3PATH=/sbin:/bin:/usr/sbin:/usr/bin
4ROOT_MOUNT="/sysroot/"
5ROOT_DEVICE=""
6
7early_setup() {
8
9 mkdir -p /proc
10 mkdir -p /sys
11 mount -t proc proc /proc
12 mount -t sysfs sysfs /sys
13 mount -t devtmpfs none /dev
14
15 mkdir -p /run
16 mkdir -p /var/run
17}
18
19read_args() {
20
21 for arg in $(cat /proc/cmdline); do
22 value=$(echo ${arg} | cut -s -f2- -d '=')
23 case $arg in
24 root=*)
25 root=$value
26 ;;
27 debugshell*)
28 if [ -z "$value" ]; then
29 shelltimeout=30
30 else
31 shelltimeout=$value
32 fi
33 ;;
34 esac
35 done
36
37 if [ -z "$root" ] ; then
38 debug_shell "No root= specified via kernel command line."
39 else
40 case $root in
41 LABEL=*)
42 label=${root#LABEL=}
43 ;;
44 *)
45 debug_shell "This init script only supports root=LABEL=* for specifying root file system, but root=$root was provided."
46 ;;
47 esac
48 fi
49}
50
51mount_rootfs() {
52
53 mkdir -p $ROOT_MOUNT
54 mount $ROOT_DEVICE $ROOT_MOUNT
55 mount -n --move /proc $ROOT_MOUNT/proc
56 mount -n --move /sys $ROOT_MOUNT/sys
57 mount -n --move /dev $ROOT_MOUNT/dev
58
59 exec switch_root $ROOT_MOUNT /sbin/init || debug_shell "Couldn't switch_root."
60}
61
62switch_real_root() {
63
64 echo "Searching for media..."
65 C=0
66 while true
67 do
68
69 rootfs=$(findfs LABEL=$label)
70 if [ -n "$rootfs" ] ; then
71 ROOT_DEVICE=$rootfs
72 mount_rootfs
73 fi
74
75 # don't wait for more than $shelltimeout seconds, if it's set
76 if [ -n "$shelltimeout" ]; then
77 echo -n " " $(( $shelltimeout - $C ))
78 if [ $C -ge $shelltimeout ]; then
79 debug_shell "Cannot find root file system."
80 fi
81 C=$(( C + 1 ))
82 fi
83
84 sleep 1
85 done
86}
87
88debug_shell() {
89
90 echo ${1}
91 echo "Dropping to a shell."
92 exec sh
93}
94
95main() {
96
97 early_setup
98 read_args
99
100 if [ -f init-device ]; then
101 source init-device
102 fi
103
104 switch_real_root
105}
106
107main
diff --git a/meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb b/meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb
deleted file mode 100644
index 39d590a..0000000
--- a/meta-boot2qt/recipes-core/initramfs-basic/init-basic.bb
+++ /dev/null
@@ -1,43 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30SUMMARY = "Simple init script that mounts root filesystem by label."
31LICENSE = "The-Qt-Company-Commercial"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625"
33SRC_URI = "file://init.sh"
34
35S = "${WORKDIR}"
36
37do_install () {
38 install -m 0755 ${WORKDIR}/init.sh ${D}/init
39}
40
41inherit allarch
42
43FILES_${PN} += "/init"
diff --git a/meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb b/meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb
deleted file mode 100644
index 283a681..0000000
--- a/meta-boot2qt/recipes-core/initramfs-basic/initramfs-basic.bb
+++ /dev/null
@@ -1,50 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Basic initramfs image. Useful as a template for more advanced functionality."
31LICENSE = "The-Qt-Company-Commercial"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625"
33
34# findfs from busybox fails to do its jobs, the full version from util-linux-findfs works fine
35PACKAGE_INSTALL = "init-basic busybox util-linux-findfs ${ROOTFS_BOOTSTRAP_INSTALL}"
36
37# Do not pollute the initramfs image with rootfs features
38IMAGE_FEATURES = ""
39
40export IMAGE_BASENAME = "initramfs-basic"
41IMAGE_LINGUAS = ""
42
43IMAGE_FSTYPES = "cpio.gz"
44inherit core-image
45
46IMAGE_ROOTFS_SIZE = "8192"
47IMAGE_ROOTFS_EXTRA_SPACE = "0"
48
49BAD_RECOMMENDATIONS += "busybox-syslog"
50
diff --git a/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_4.3.30.bb b/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_5.2.18.bb
index 1eb2652..6dba661 100644
--- a/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_4.3.30.bb
+++ b/meta-boot2qt/recipes-devtools/virtualbox/mount-vboxsf_5.2.18.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -36,13 +36,13 @@ SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.
36 file://mount-vboxsf.service \ 36 file://mount-vboxsf.service \
37 " 37 "
38 38
39SRC_URI[md5sum] = "cc053340f88922a11ad9d4fab56557bd" 39SRC_URI[md5sum] = "d8e291525b84569356773eef507c49ce"
40SRC_URI[sha256sum] = "ea9569ec16cd6202ee61bcadb2506d31ac12fd343adb91565773a05eaaea9a36" 40SRC_URI[sha256sum] = "ed0a7efd56c7f39fae79c7ec3321473da412ef0d7914457b66f42679d513efcf"
41 41
42S = "${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/sharedfolders" 42S = "${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/sharedfolders"
43 43
44do_compile() { 44do_compile() {
45 ${CC} ${LDFLAGS} mount.vboxsf.c vbsfmount.c -o mount.vboxsf 45 ${CC} ${LDFLAGS} -I../../../../../include -DIN_RING3 mount.vboxsf.c vbsfmount.c -o mount.vboxsf
46} 46}
47 47
48do_install() { 48do_install() {
diff --git a/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.1.16.bb b/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.2.18.bb
index 752d8cb..a727c6f 100644
--- a/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.1.16.bb
+++ b/meta-boot2qt/recipes-devtools/virtualbox/virtualbox-guest-additions_5.2.18.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -38,18 +38,20 @@ PR = "${MACHINE_KERNEL_PR}"
38 38
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] = "37ebbd51370841eed8ab80f2f38446d6" 41SRC_URI[md5sum] = "d8e291525b84569356773eef507c49ce"
42SRC_URI[sha256sum] = "78071c3172f3bd3c7981c352c3ae6c6a9c01f6ab24bc0aa7ec79f3528b2291a7" 42SRC_URI[sha256sum] = "ed0a7efd56c7f39fae79c7ec3321473da412ef0d7914457b66f42679d513efcf"
43 43
44S = "${WORKDIR}/vbox" 44S = "${WORKDIR}/vbox"
45 45
46export KERN_DIR="${STAGING_KERNEL_DIR}" 46export KERN_DIR="${STAGING_KERNEL_DIR}"
47export KERN_VER="${KERNEL_VERSION}"
47export KBUILD_VERBOSE="1" 48export KBUILD_VERBOSE="1"
48export BUILD_TARGET_ARCH="${ARCH}" 49export BUILD_TARGET_ARCH="${ARCH}"
49 50
50do_compile_prepend() { 51do_compile_prepend() {
51 ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules ${WORKDIR}/vbox.tar.gz 52 ${WORKDIR}/VirtualBox-${PV}/src/VBox/Additions/linux/export_modules.sh ${WORKDIR}/vbox.tar.gz
52 tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox 53 tar xf ${WORKDIR}/vbox.tar.gz -C ${WORKDIR}/vbox
54 find ${WORKDIR}/vbox -name Makefile.include.header | xargs sed -i -e '/KERN_DIR :=/d'
53} 55}
54 56
55do_install() { 57do_install() {
diff --git a/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb b/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb
index 3f2f680..6f14c6e 100644
--- a/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb
+++ b/meta-boot2qt/recipes-qt/automotive/gammaray_git.bb
@@ -8,12 +8,13 @@ inherit cmake_qt5
8 8
9SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" 9SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}"
10 10
11BRANCH = "5.11" 11BRANCH = "5.12"
12SRCREV = "3a35d9ec64a3c32503c1252edc2608ad49f05b40" 12SRCREV = "f9cb19adc34684bbca56fd6eb3903e041764e742"
13PV = "${BRANCH}+git${SRCPV}" 13PV = "${BRANCH}+git${SRCPV}"
14 14
15DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ 15DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \
16 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" 16 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)} \
17 elfutils"
17 18
18S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
19 20
diff --git a/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb b/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb
index 061e3a8..3ad29b1 100644
--- a/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb
+++ b/meta-boot2qt/recipes-qt/automotive/neptune3-ui_git.bb
@@ -39,12 +39,13 @@ inherit qt5-module systemd
39require recipes-qt/qt5/qt5-git.inc 39require recipes-qt/qt5/qt5-git.inc
40 40
41QT_GIT_PROJECT = "qt-apps" 41QT_GIT_PROJECT = "qt-apps"
42QT_MODULE_BRANCH = "dev"
42 43
43SRC_URI += " \ 44SRC_URI += " \
44 file://neptune.service \ 45 file://neptune.service \
45 " 46 "
46 47
47SRCREV = "4509d7d8a1e5675cebf17ffeb74ba72a90ed296f" 48SRCREV = "d8332c73ccda36e1da2661317d7ed3c787b17c68"
48 49
49QMAKE_PROFILES = "${S}/neptune3-ui.pro" 50QMAKE_PROFILES = "${S}/neptune3-ui.pro"
50 51
diff --git a/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb b/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb
index 76cd9b1..d87dd13 100644
--- a/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb
+++ b/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb
@@ -37,7 +37,7 @@ require recipes-qt/qt5/qt5-git.inc
37 37
38QT_GIT_PROJECT = "qt-apps" 38QT_GIT_PROJECT = "qt-apps"
39 39
40SRCREV = "a239d45ce6e185eb0a3b5e947698a8f08e783189" 40SRCREV = "e400161c6ec932c180e8b9fe5e5d00a593ee254a"
41 41
42DEPENDS = "qtbase qtdeclarative" 42DEPENDS = "qtbase qtdeclarative"
43 43
diff --git a/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb b/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb
index 82a9bcd..89fcaa2 100644
--- a/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb
+++ b/meta-boot2qt/recipes-qt/automotive/qtapplicationmanager_git.bb
@@ -34,7 +34,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=ff238b33ff354a0d8d79851a9c061717"
34inherit qt5-module 34inherit qt5-module
35require recipes-qt/qt5/qt5-git.inc 35require recipes-qt/qt5/qt5-git.inc
36 36
37SRCREV = "201656bedec57dbd22b3fc3089148e6c7453875c" 37QT_MODULE_BRANCH = "dev"
38SRCREV = "941d493f47d1e15430ed062ea0aa4b1f7c087a04"
38 39
39DEPENDS = "qtbase qtdeclarative libyaml libarchive \ 40DEPENDS = "qtbase qtdeclarative libyaml libarchive \
40 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland qtwayland-native", "", d)}" 41 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland qtwayland-native", "", d)}"
diff --git a/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch b/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch
index 9f6c0c0..256f706 100644
--- a/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch
+++ b/meta-boot2qt/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch
@@ -1,4 +1,4 @@
1From b4ed8c9d4a391771cba485bfa685147126260dc2 Mon Sep 17 00:00:00 2001 1From 2d99a2a0c728cb28332fb35dac3af88b0f256116 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 7 Sep 2017 10:24:11 +0300 3Date: Thu, 7 Sep 2017 10:24:11 +0300
4Subject: [PATCH] Use QT_HOST_BINS/get for getting correct path 4Subject: [PATCH] Use QT_HOST_BINS/get for getting correct path
@@ -8,22 +8,26 @@ the EffectivePath instead of installation path.
8 8
9Change-Id: I3e9c04019c432e182dcb5c0898275173f20de1e2 9Change-Id: I3e9c04019c432e182dcb5c0898275173f20de1e2
10--- 10---
11 mkspecs/features/ivigenerator.prf | 4 ++-- 11 mkspecs/features/ivigenerator.prf | 4 +++-
12 1 file changed, 2 insertions(+), 2 deletions(-) 12 1 file changed, 3 insertions(+), 1 deletion(-)
13 13
14diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf 14diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf
15index 65c497e..7634355 100644 15index 8d36aae..149116c 100644
16--- a/mkspecs/features/ivigenerator.prf 16--- a/mkspecs/features/ivigenerator.prf
17+++ b/mkspecs/features/ivigenerator.prf 17+++ b/mkspecs/features/ivigenerator.prf
18@@ -31,9 +31,9 @@ QFACE_YAML = $$QFACE_ABS_PWD/$${QFACE_BASE_NAME}.yaml 18@@ -36,9 +36,11 @@ equals(QMAKE_HOST.os, Windows): ENV = chcp 65001 &&
19 OTHER_FILES += $$QFACE_FILE 19 else: ENV = LC_ALL="en_US.UTF-8"
20 20
21 # Detect whether we are using the feature inside the qtivi repository 21 # Detect whether we are using the feature inside the qtivi repository
22-VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv 22-VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv
23+VIRTUALENV_PATH = $$[QT_HOST_BINS/get]/ivigenerator/qtivi_qface_virtualenv 23+VIRTUALENV_PATH = $$[QT_HOST_BINS/get]/ivigenerator/qtivi_qface_virtualenv
24 INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv 24 INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv
25-IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator 25 IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator
26+IVI_GENERATOR_PATH = $$[QT_HOST_BINS/get]/ivigenerator 26+IVI_GENERATOR_PATH = $$[QT_HOST_BINS/get]/ivigenerator
27+
27 QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT)) 28 QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT))
28 29
29 # Try to use the internal virtualenv when building qtivi 30 # Try to use the internal virtualenv when building qtivi
31--
322.17.1
33
diff --git a/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb b/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb
index 8665142..01a7d4b 100644
--- a/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb
+++ b/meta-boot2qt/recipes-qt/automotive/qtivi_git.bb
@@ -43,15 +43,16 @@ inherit qt5-module
43inherit python3native 43inherit python3native
44require recipes-qt/qt5/qt5-git.inc 44require recipes-qt/qt5/qt5-git.inc
45 45
46QT_MODULE_BRANCH_QFACE = "upstream/develop" 46QT_MODULE_BRANCH = "dev"
47QT_MODULE_BRANCH_QFACE = "upstream/master"
47 48
48SRC_URI += " \ 49SRC_URI += " \
49 ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \ 50 ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \
50 file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ 51 file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \
51" 52"
52 53
53SRCREV_qtivi = "c3da57cf0c7213120803fe63003d0cc14d14f871" 54SRCREV_qtivi = "142d7174863c2acf2792ba723c8dd273f8d07b22"
54SRCREV_qface = "9da793d6cbc63d617ad5e2ffd13e9f6d055c88e8" 55SRCREV_qface = "0a3ae7686e1100be452b8c435bdcd84ec242340e"
55SRCREV = "${SRCREV_qtivi}" 56SRCREV = "${SRCREV_qtivi}"
56SRCREV_FORMAT = "qtivi_qface" 57SRCREV_FORMAT = "qtivi_qface"
57 58
@@ -109,4 +110,4 @@ BBCLASSEXTEND += "native nativesdk"
109 110
110INSANE_SKIP_${PN}_class-native = "already-stripped" 111INSANE_SKIP_${PN}_class-native = "already-stripped"
111INSANE_SKIP_${PN}_class-nativesdk = "already-stripped" 112INSANE_SKIP_${PN}_class-nativesdk = "already-stripped"
112INSANE_SKIP_${PN}-tools_class-nativesdk = "staticdev" 113INSANE_SKIP_${PN}-tools_class-nativesdk = "staticdev file-rdeps libdir build-deps"
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf
new file mode 100644
index 0000000..38d06e6
--- /dev/null
+++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf
@@ -0,0 +1,9 @@
1env=QMLSCENE_DEVICE=softwarecontext
2env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins
3env=QT_QPA_PLATFORM=linuxfb
4env=QSG_RENDER_LOOP=basic
5env=QT_IM_MODULE=qtvirtualkeyboard
6env=QT_QUICK_CONTROLS_1_STYLE=Flat
7env=XDG_RUNTIME_DIR=/run/user/0
8env=QTWEBENGINE_DISABLE_SANDBOX=1
9base=linux
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf
new file mode 100644
index 0000000..85227c2
--- /dev/null
+++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf
@@ -0,0 +1,8 @@
1env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins
2env=QT_IM_MODULE=qtvirtualkeyboard
3env=QT_QPA_EGLFS_FORCE888=0
4env=QT_QUICK_CONTROLS_1_STYLE=Flat
5env=XDG_RUNTIME_DIR=/run/user/0
6env=QSG_RENDER_LOOP=basic
7env=QTWEBENGINE_DISABLE_SANDBOX=1
8base=linux
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb
index 3900abb..6e1d324 100644
--- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb
+++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb
@@ -42,11 +42,11 @@ SRC_URI = " \
42 https://qt-files.s3.amazonaws.com/examples/Videos/The+Future+is+Written+with+Qt.mp4;name=video3 \ 42 https://qt-files.s3.amazonaws.com/examples/Videos/The+Future+is+Written+with+Qt.mp4;name=video3 \
43 " 43 "
44 44
45PV = "5.11.2+git${SRCPV}" 45PV = "5.12.0+git${SRCPV}"
46 46
47BRANCH = "5.11" 47BRANCH = "5.12"
48 48
49SRCREV = "ca03367f33d6430d3ddbbd70edf832bced59ff74" 49SRCREV = "0fad7db4b7d34972b5b11fe31ceede43b3e6d0ea"
50 50
51SRC_URI[video1.md5sum] = "25d9e963a02675a4f3ba83abeebb32da" 51SRC_URI[video1.md5sum] = "25d9e963a02675a4f3ba83abeebb32da"
52SRC_URI[video1.sha256sum] = "33125518c2eb7848f378ddb6bebaf39f3327c92f1e33daa7fc09e4260e54d54a" 52SRC_URI[video1.sha256sum] = "33125518c2eb7848f378ddb6bebaf39f3327c92f1e33daa7fc09e4260e54d54a"
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb
index cda1ac7..9575045 100644
--- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb
+++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb
@@ -43,7 +43,7 @@ SRC_URI += " \
43 file://ebikedata.service \ 43 file://ebikedata.service \
44 " 44 "
45 45
46SRCREV = "ce4d3833f5193168fb61392d08f61e73997632eb" 46SRCREV = "64f65e26feb4f6b0b3ac31cfc4e22c5971c1c41d"
47 47
48DEPENDS = "\ 48DEPENDS = "\
49 qtbase qtdeclarative qtquickcontrols2 \ 49 qtbase qtdeclarative qtquickcontrols2 \
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh
index 15981b0..15e048f 100755
--- a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh
+++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh
@@ -46,19 +46,6 @@ GADGET_CONFIG=$CONFIGFS_PATH/usb_gadget/g1
46 46
47. /etc/default/qdbd 47. /etc/default/qdbd
48 48
49initialize_gadget() {
50 # Initialize gadget with first UDC driver
51 for driverpath in /sys/class/udc/*; do
52 drivername=`basename $driverpath`
53 echo "$drivername" > $GADGET_CONFIG/UDC
54 break
55 done
56}
57
58disable_gadget() {
59 echo "" > $GADGET_CONFIG/UDC
60}
61
62case "$1" in 49case "$1" in
63start) 50start)
64 b2qt-gadget-network.sh --reset 51 b2qt-gadget-network.sh --reset
@@ -86,11 +73,8 @@ start)
86 mount -t functionfs qdb /dev/usb-ffs/qdb -o uid=0,gid=0 73 mount -t functionfs qdb /dev/usb-ffs/qdb -o uid=0,gid=0
87 shift 74 shift
88 start-stop-daemon --start --quiet --exec $DAEMON -- $@ & 75 start-stop-daemon --start --quiet --exec $DAEMON -- $@ &
89 sleep 1
90 initialize_gadget
91 ;; 76 ;;
92stop) 77stop)
93 disable_gadget
94 start-stop-daemon --stop --quiet --exec $DAEMON 78 start-stop-daemon --stop --quiet --exec $DAEMON
95 sleep 1 79 sleep 1
96 umount /dev/usb-ffs/qdb 80 umount /dev/usb-ffs/qdb
@@ -104,14 +88,11 @@ stop)
104 rmdir $GADGET_CONFIG 88 rmdir $GADGET_CONFIG
105 ;; 89 ;;
106restart) 90restart)
107 disable_gadget
108 start-stop-daemon --stop --quiet --exec $DAEMON 91 start-stop-daemon --stop --quiet --exec $DAEMON
109 b2qt-gadget-network.sh --reset 92 b2qt-gadget-network.sh --reset
110 sleep 1 93 sleep 1
111 shift 94 shift
112 start-stop-daemon --start --quiet --exec $DAEMON -- $@ & 95 start-stop-daemon --start --quiet --exec $DAEMON -- $@ &
113 sleep 1
114 initialize_gadget
115 ;; 96 ;;
116*) 97*)
117 echo "Usage: $0 {start|stop|restart}" 98 echo "Usage: $0 {start|stop|restart}"
diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb
index 5eebaea..ceeb17e 100644
--- a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb
+++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb
@@ -45,8 +45,8 @@ SRC_URI += "file://b2qt-gadget-network.sh \
45 file://qdbd-init.sh \ 45 file://qdbd-init.sh \
46 " 46 "
47 47
48SRCREV = "69f95b6a8d2ca0912a8d502a2b6871109725731e" 48SRCREV = "59ea3a9ed6c10248ecdfb7cf111c3b7d1f70cba6"
49PV = "1.1.0+git${SRCPV}" 49PV = "1.2.0+git${SRCPV}"
50 50
51REQUIRED_DISTRO_FEATURES = "systemd" 51REQUIRED_DISTRO_FEATURES = "systemd"
52DEPENDS = "qtbase" 52DEPENDS = "qtbase"
diff --git a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb
index 6313c5c..a669f5e 100644
--- a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb
+++ b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb
@@ -39,7 +39,7 @@ PACKAGECONFIG[wpasupplicant] = "CONFIG+=wpasupplicant,,wpa-supplicant"
39 39
40EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" 40EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}"
41 41
42SRCREV = "0ecd391912f6338d5aef6105600fc8c321c83bd8" 42SRCREV = "4b4ed3262fafc93fe510f27f09fa45393eb14852"
43 43
44DEPENDS = "\ 44DEPENDS = "\
45 qtbase qtdeclarative qtconnectivity qtdeclarative-native \ 45 qtbase qtdeclarative qtconnectivity qtdeclarative-native \
diff --git a/meta-fsl-extras/conf/layer.conf b/meta-fsl-extras/conf/layer.conf
index f52a419..74e2652 100644
--- a/meta-fsl-extras/conf/layer.conf
+++ b/meta-fsl-extras/conf/layer.conf
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_fsl" 38BBFILE_COLLECTIONS += "b2qt_fsl"
39BBFILE_PATTERN_b2qt_fsl := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_fsl := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_fsl = "20" 40BBFILE_PRIORITY_b2qt_fsl = "20"
41
42LAYERSERIES_COMPAT_b2qt_fsl = "sumo"
diff --git a/meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc b/meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc
new file mode 100644
index 0000000..5407a5a
--- /dev/null
+++ b/meta-fsl-extras/recipes-bsp/firmware-imx/firmware-imx.inc
@@ -0,0 +1,81 @@
1SUMMARY = "Freescale IMX firmware"
2DESCRIPTION = "Freescale IMX firmware such as for the VPU"
3SECTION = "base"
4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a"
6
7PE = "1"
8
9#BRCM firmware git
10SRCBRANCH ?= "master"
11
12SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
13 git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git "
14
15inherit fsl-eula-unpack allarch
16
17do_install() {
18 install -d ${D}${base_libdir}/firmware/imx
19 install -d ${D}${base_libdir}/firmware/bcm
20 install -d ${D}${sysconfdir}/firmware
21
22 cp -rfv firmware/* ${D}${base_libdir}/firmware/
23
24 #1BW_BCM43340
25 install -d ${D}${base_libdir}/firmware/bcm/1BW_BCM43340
26 cp -rfv git/brcm/1BW_BCM43340/*.bin ${D}${base_libdir}/firmware/bcm/1BW_BCM43340
27 cp -rfv git/brcm/1BW_BCM43340/*.cal ${D}${base_libdir}/firmware/bcm/1BW_BCM43340
28 cp -rfv git/brcm/1BW_BCM43340/*.hcd ${D}${sysconfdir}/firmware/
29
30 #1DX_BCM4343W
31 install -d ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
32 cp -rfv git/brcm/1DX_BCM4343W/*.bin ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
33 cp -rfv git/brcm/1DX_BCM4343W/*.cal ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
34 cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/
35
36 #SN8000_BCM43362
37 install -d ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
38 cp -rfv git/brcm/SN8000_BCM43362/*.bin ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
39 cp -rfv git/brcm/SN8000_BCM43362/*.cal ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
40 cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/
41
42 #ZP_BCM4339
43 install -d ${D}${base_libdir}/firmware/bcm/ZP_BCM4339
44 cp -rfv git/brcm/ZP_BCM4339/*.bin ${D}${base_libdir}/firmware/bcm/ZP_BCM4339
45 cp -rfv git/brcm/ZP_BCM4339/*.cal ${D}${base_libdir}/firmware/bcm/ZP_BCM4339
46 cp -rfv git/brcm/ZP_BCM4339/*.hcd ${D}${sysconfdir}/firmware/
47
48 mv ${D}${base_libdir}/firmware/epdc/ ${D}${base_libdir}/firmware/imx/epdc/
49 mv ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted ${D}${base_libdir}/firmware/imx/epdc/epdc_ED060XH2C1.fw
50
51 find ${D}${base_libdir}/firmware -type f -exec chmod 644 '{}' ';'
52 find ${D}${base_libdir}/firmware -type f -exec chown root:root '{}' ';'
53
54 # Remove files not going to be installed
55 find ${D}${base_libdir}/firmware/ -name '*.mk' -exec rm '{}' ';'
56}
57
58python populate_packages_prepend() {
59 vpudir = bb.data.expand('${base_libdir}/firmware/vpu', d)
60 do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin',
61 output_pattern='firmware-imx-vpu-%s',
62 description='Freescale IMX Firmware %s',
63 extra_depends='',
64 prepend=True)
65
66 sdmadir = bb.data.expand('${base_libdir}/firmware/sdma', d)
67 do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin',
68 output_pattern='firmware-imx-sdma-%s',
69 description='Freescale IMX Firmware %s',
70 extra_depends='',
71 prepend=True)
72}
73
74ALLOW_EMPTY_${PN} = "1"
75
76PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*"
77
78PACKAGES =+ "${PN}-epdc ${PN}-brcm"
79
80FILES_${PN}-epdc = "${base_libdir}/firmware/imx/epdc/"
81FILES_${PN}-brcm = "${base_libdir}/firmware/bcm/*/*.bin ${base_libdir}/firmware/bcm/*/*.cal ${sysconfdir}/firmware/"
diff --git a/meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc b/meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc
new file mode 100644
index 0000000..7b33956
--- /dev/null
+++ b/meta-fsl-extras/recipes-bsp/imx-vpu/imx-vpu.inc
@@ -0,0 +1,28 @@
1# Copyright (C) 2013-2017 O.S. Systems Software LTDA.
2# Copyright (C) 2013 Freescale Semiconductor
3# Copyright 2017 NXP
4
5DESCRIPTION = "Freescale VPU library"
6LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://vpu/EULA.txt;md5=b063366b066c9f10037c59756a9ced54"
8DEPENDS = "virtual/kernel"
9
10PROVIDES = "virtual/imxvpu"
11
12inherit fsl-eula-unpack
13
14PLATFORM_mx6 = "IMX6Q"
15
16SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
17
18do_compile () {
19 INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"
20
21 oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
22}
23
24do_install () {
25 oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
26}
27
28PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend b/meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend
new file mode 100644
index 0000000..4a99874
--- /dev/null
+++ b/meta-fsl-extras/recipes/imx-dpu-g2d/imx-dpu-g2d_%.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# dependency missing in meta-fsl-bsp-release
31RDEPENDS_${PN} += "libdrm"
diff --git a/meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend b/meta-fsl-extras/recipes/libsdl2/libsdl2_%.bbappend
index ca8f573..4d6a52b 100644
--- a/meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend
+++ b/meta-fsl-extras/recipes/libsdl2/libsdl2_%.bbappend
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30SRC_URI_remove = "file://ppp-fix-building-with-linux-4.8.patch" 30CFLAGS += "-DLINUX=1 -DEGL_API_FB=1"
diff --git a/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend
index da4b2c1..9bf3498 100644
--- a/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-boundary_4.%.bbappend
@@ -33,7 +33,7 @@ SRC_URI += " \
33 " 33 "
34 34
35# kernel image files are not needed in the image 35# kernel image files are not needed in the image
36RDEPENDS_kernel-base = "" 36RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
37 37
38do_preconfigure_prepend() { 38do_preconfigure_prepend() {
39 echo "CONFIG_HID_MULTITOUCH=m" >> ${WORKDIR}/defconfig 39 echo "CONFIG_HID_MULTITOUCH=m" >> ${WORKDIR}/defconfig
diff --git a/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend
index 74fa4ab..a668575 100644
--- a/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-fslc-imx_4.%.bbappend
@@ -28,7 +28,7 @@
28############################################################################ 28############################################################################
29 29
30# kernel image files are not needed in the image 30# kernel image files are not needed in the image
31RDEPENDS_kernel-base = "" 31RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
32 32
33do_preconfigure_prepend() { 33do_preconfigure_prepend() {
34 # FunctionFS for qdbd 34 # FunctionFS for qdbd
diff --git a/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend
index 47fd1bf..9b4cc9b 100644
--- a/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-imx_4.%.bbappend
@@ -28,7 +28,10 @@
28############################################################################ 28############################################################################
29 29
30# kernel image files are not needed in the image 30# kernel image files are not needed in the image
31RDEPENDS_kernel-base = "" 31RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
32
33# remove from imx8 kernel build
34SRC_URI_remove = " file://Install-dma-buf-h.patch"
32 35
33do_preconfigure_prepend() { 36do_preconfigure_prepend() {
34 # FunctionFS for qdbd 37 # FunctionFS for qdbd
diff --git a/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend b/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend
index 58dc715..4850f8a 100644
--- a/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-toradex_4.%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,12 +27,14 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30RDEPENDS_kernel-base = "kernel-image kernel-devicetree" 30RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-devicetree"
31
32# remove from imx8 kernel build
33SRC_URI_remove = " file://Install-dma-buf-h.patch"
31 34
32do_preconfigure_prepend () { 35do_preconfigure_prepend () {
33 # FunctionFS for qdbd 36 # FunctionFS for qdbd
34 echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig 37 echo "CONFIG_USB_FUNCTIONFS=m" >> ${WORKDIR}/defconfig
35 echo "TOUCHSCREEN_FUSION_F0710A=y" >> ${WORKDIR}/defconfig
36 38
37 # Enable uprobe for profiling 39 # Enable uprobe for profiling
38 echo "CONFIG_UPROBE_EVENT=y" >> ${WORKDIR}/defconfig 40 echo "CONFIG_UPROBE_EVENT=y" >> ${WORKDIR}/defconfig
diff --git a/meta-fsl-extras/recipes/linux/linux-warp7/defconfig b/meta-fsl-extras/recipes/linux/linux-warp7/defconfig
new file mode 100644
index 0000000..267fa97
--- /dev/null
+++ b/meta-fsl-extras/recipes/linux/linux-warp7/defconfig
@@ -0,0 +1,444 @@
1CONFIG_KERNEL_LZO=y
2CONFIG_SYSVIPC=y
3CONFIG_FHANDLE=y
4CONFIG_NO_HZ=y
5CONFIG_HIGH_RES_TIMERS=y
6CONFIG_IKCONFIG=y
7CONFIG_IKCONFIG_PROC=y
8CONFIG_LOG_BUF_SHIFT=18
9CONFIG_CGROUPS=y
10CONFIG_RELAY=y
11CONFIG_BLK_DEV_INITRD=y
12CONFIG_EXPERT=y
13CONFIG_KALLSYMS_ALL=y
14CONFIG_PERF_EVENTS=y
15# CONFIG_SLUB_DEBUG is not set
16# CONFIG_COMPAT_BRK is not set
17CONFIG_MODULES=y
18CONFIG_MODULE_UNLOAD=y
19CONFIG_MODVERSIONS=y
20CONFIG_MODULE_SRCVERSION_ALL=y
21# CONFIG_BLK_DEV_BSG is not set
22CONFIG_ARCH_MXC=y
23CONFIG_SOC_IMX50=y
24CONFIG_SOC_IMX53=y
25CONFIG_SOC_IMX6Q=y
26CONFIG_SOC_IMX6SL=y
27CONFIG_SOC_IMX6SX=y
28CONFIG_SOC_IMX6UL=y
29CONFIG_SOC_IMX7D=y
30CONFIG_SOC_VF610=y
31# CONFIG_SWP_EMULATE is not set
32CONFIG_SMP=y
33CONFIG_HAVE_ARM_ARCH_TIMER=y
34CONFIG_VMSPLIT_2G=y
35CONFIG_PREEMPT=y
36CONFIG_AEABI=y
37CONFIG_HIGHMEM=y
38CONFIG_CMA=y
39CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
40CONFIG_CPU_FREQ=y
41CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
42CONFIG_CPU_FREQ_GOV_POWERSAVE=y
43CONFIG_CPU_FREQ_GOV_USERSPACE=y
44CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
45CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
46CONFIG_ARM_IMX6Q_CPUFREQ=y
47CONFIG_ARM_IMX7D_CPUFREQ=y
48CONFIG_CPU_IDLE=y
49CONFIG_VFP=y
50CONFIG_NEON=y
51CONFIG_BINFMT_MISC=m
52CONFIG_PM_DEBUG=y
53CONFIG_PM_TEST_SUSPEND=y
54CONFIG_NET=y
55CONFIG_PACKET=y
56CONFIG_UNIX=y
57CONFIG_INET=y
58CONFIG_IP_PNP=y
59CONFIG_IP_PNP_DHCP=y
60# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
61# CONFIG_INET_XFRM_MODE_TUNNEL is not set
62# CONFIG_INET_XFRM_MODE_BEET is not set
63# CONFIG_INET_LRO is not set
64CONFIG_IPV6=y
65CONFIG_VLAN_8021Q=y
66CONFIG_LLC2=y
67CONFIG_CAN=y
68CONFIG_CAN_FLEXCAN=y
69CONFIG_CAN_M_CAN=y
70CONFIG_BT=y
71CONFIG_BT_RFCOMM=y
72CONFIG_BT_RFCOMM_TTY=y
73CONFIG_BT_BNEP=y
74CONFIG_BT_BNEP_MC_FILTER=y
75CONFIG_BT_BNEP_PROTO_FILTER=y
76CONFIG_BT_HIDP=y
77# CONFIG_BT_HCIBTUSB is not set
78CONFIG_BT_HCIUART=y
79CONFIG_BT_HCIUART_H4=y
80# CONFIG_BT_HCIUART_BCSP is not set
81# CONFIG_BT_HCIUART_ATH3K is not set
82CONFIG_BT_HCIBCM203X=y
83# CONFIG_BT_ATH3K is not set
84CONFIG_CFG80211=y
85CONFIG_MAC80211=y
86CONFIG_DEVTMPFS=y
87CONFIG_DEVTMPFS_MOUNT=y
88# CONFIG_STANDALONE is not set
89CONFIG_DMA_CMA=y
90CONFIG_CMA_SIZE_MBYTES=0
91CONFIG_IMX_WEIM=y
92CONFIG_CONNECTOR=y
93CONFIG_MTD=y
94CONFIG_MTD_CMDLINE_PARTS=y
95CONFIG_MTD_BLOCK=y
96CONFIG_MTD_CFI=y
97CONFIG_MTD_JEDECPROBE=y
98CONFIG_MTD_CFI_INTELEXT=y
99CONFIG_MTD_CFI_AMDSTD=y
100CONFIG_MTD_CFI_STAA=y
101CONFIG_MTD_PHYSMAP_OF=y
102CONFIG_MTD_DATAFLASH=y
103CONFIG_MTD_M25P80=y
104CONFIG_MTD_SST25L=y
105CONFIG_MTD_NAND=y
106CONFIG_MTD_NAND_GPMI_NAND=y
107CONFIG_MTD_NAND_MXC=y
108CONFIG_MTD_SPI_NOR=y
109CONFIG_SPI_FSL_QUADSPI=y
110CONFIG_MTD_UBI=y
111CONFIG_BLK_DEV_LOOP=y
112CONFIG_BLK_DEV_RAM=y
113CONFIG_BLK_DEV_RAM_SIZE=65536
114CONFIG_SENSORS_FXOS8700=y
115CONFIG_SENSORS_FXAS2100X=y
116CONFIG_EEPROM_AT24=y
117CONFIG_EEPROM_AT25=y
118# CONFIG_SCSI_PROC_FS is not set
119CONFIG_BLK_DEV_SD=y
120CONFIG_SCSI_CONSTANTS=y
121CONFIG_SCSI_LOGGING=y
122CONFIG_SCSI_SCAN_ASYNC=y
123# CONFIG_SCSI_LOWLEVEL is not set
124CONFIG_ATA=y
125CONFIG_SATA_AHCI_PLATFORM=y
126CONFIG_AHCI_IMX=y
127CONFIG_PATA_IMX=y
128CONFIG_NETDEVICES=y
129# CONFIG_NET_VENDOR_BROADCOM is not set
130CONFIG_CS89x0=y
131CONFIG_CS89x0_PLATFORM=y
132# CONFIG_NET_VENDOR_FARADAY is not set
133# CONFIG_NET_VENDOR_INTEL is not set
134# CONFIG_NET_VENDOR_MARVELL is not set
135# CONFIG_NET_VENDOR_MICREL is not set
136# CONFIG_NET_VENDOR_MICROCHIP is not set
137# CONFIG_NET_VENDOR_NATSEMI is not set
138# CONFIG_NET_VENDOR_SEEQ is not set
139CONFIG_SMC91X=y
140CONFIG_SMC911X=y
141CONFIG_SMSC911X=y
142# CONFIG_NET_VENDOR_STMICRO is not set
143CONFIG_MICREL_PHY=y
144CONFIG_USB_PEGASUS=m
145CONFIG_USB_RTL8150=m
146CONFIG_USB_RTL8152=m
147CONFIG_USB_USBNET=m
148CONFIG_USB_NET_CDC_EEM=m
149CONFIG_BCMDHD=m
150CONFIG_BCMDHD_SDIO=y
151CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin"
152CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal"
153# CONFIG_RTL_CARDS is not set
154# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
155CONFIG_INPUT_EVDEV=y
156CONFIG_INPUT_EVBUG=m
157CONFIG_KEYBOARD_GPIO=y
158CONFIG_KEYBOARD_IMX=y
159CONFIG_MOUSE_PS2=m
160CONFIG_MOUSE_PS2_ELANTECH=y
161CONFIG_INPUT_TOUCHSCREEN=y
162CONFIG_TOUCHSCREEN_HIMAX_HX852xES=y
163CONFIG_TOUCHSCREEN_HIMAX_I2C=y
164CONFIG_TOUCHSCREEN_HIMAX_DEBUG=y
165CONFIG_TOUCHSCREEN_ADS7846=y
166CONFIG_TOUCHSCREEN_EGALAX=y
167CONFIG_TOUCHSCREEN_ELAN_TS=y
168CONFIG_TOUCHSCREEN_MAX11801=y
169CONFIG_TOUCHSCREEN_IMX6UL_TSC=y
170CONFIG_TOUCHSCREEN_MC13783=y
171CONFIG_TOUCHSCREEN_TSC2007=y
172CONFIG_TOUCHSCREEN_STMPE=y
173CONFIG_INPUT_MISC=y
174CONFIG_INPUT_MMA8450=y
175CONFIG_SENSOR_FXLS8471=y
176CONFIG_INPUT_ISL29023=y
177CONFIG_SERIO_SERPORT=m
178# CONFIG_LEGACY_PTYS is not set
179# CONFIG_DEVKMEM is not set
180CONFIG_SERIAL_IMX=y
181CONFIG_SERIAL_IMX_CONSOLE=y
182CONFIG_SERIAL_FSL_LPUART=y
183CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
184CONFIG_FSL_OTP=y
185# CONFIG_I2C_COMPAT is not set
186CONFIG_I2C_CHARDEV=y
187# CONFIG_I2C_HELPER_AUTO is not set
188CONFIG_I2C_ALGOPCF=m
189CONFIG_I2C_ALGOPCA=m
190CONFIG_I2C_IMX=y
191CONFIG_SPI=y
192CONFIG_SPI_GPIO=y
193CONFIG_SPI_IMX=y
194CONFIG_GPIO_SYSFS=y
195CONFIG_GPIO_MAX732X=y
196CONFIG_GPIO_PCA953X=y
197CONFIG_GPIO_74X164=y
198CONFIG_POWER_SUPPLY=y
199CONFIG_SABRESD_MAX8903=y
200CONFIG_POWER_RESET=y
201CONFIG_POWER_RESET_SYSCON_POWEROFF=y
202CONFIG_SENSORS_MAX17135=y
203CONFIG_SENSORS_MAG3110=y
204CONFIG_THERMAL=y
205CONFIG_CPU_THERMAL=y
206CONFIG_IMX_THERMAL=y
207CONFIG_DEVICE_THERMAL=y
208CONFIG_WATCHDOG=y
209CONFIG_IMX2_WDT=y
210CONFIG_MFD_DA9052_I2C=y
211CONFIG_MFD_MC13XXX_SPI=y
212CONFIG_MFD_MC13XXX_I2C=y
213CONFIG_MFD_MAX17135=y
214CONFIG_MFD_SI476X_CORE=y
215CONFIG_MFD_STMPE=y
216CONFIG_REGULATOR=y
217CONFIG_REGULATOR_FIXED_VOLTAGE=y
218CONFIG_REGULATOR_ANATOP=y
219CONFIG_REGULATOR_DA9052=y
220CONFIG_REGULATOR_GPIO=y
221CONFIG_REGULATOR_MAX17135=y
222CONFIG_REGULATOR_MC13783=y
223CONFIG_REGULATOR_MC13892=y
224CONFIG_REGULATOR_PFUZE100=y
225CONFIG_MEDIA_SUPPORT=y
226CONFIG_MEDIA_CAMERA_SUPPORT=y
227CONFIG_MEDIA_RADIO_SUPPORT=y
228CONFIG_MEDIA_RC_SUPPORT=y
229CONFIG_RC_DEVICES=y
230CONFIG_IR_GPIO_CIR=y
231CONFIG_MEDIA_USB_SUPPORT=y
232CONFIG_USB_VIDEO_CLASS=m
233CONFIG_V4L_PLATFORM_DRIVERS=y
234CONFIG_VIDEO_MXC_OUTPUT=y
235CONFIG_VIDEO_MXC_CAPTURE=m
236CONFIG_MXC_CAMERA_OV5640=m
237CONFIG_MXC_CAMERA_OV5642=m
238CONFIG_MXC_CAMERA_OV5640_MIPI=m
239CONFIG_MXC_TVIN_ADV7180=m
240CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
241CONFIG_VIDEO_MXC_IPU_OUTPUT=y
242CONFIG_VIDEO_MXC_PXP_V4L2=y
243CONFIG_VIDEO_MXC_CSI_CAMERA=m
244CONFIG_MXC_VADC=m
245CONFIG_MXC_MIPI_CSI=m
246CONFIG_MXC_CAMERA_OV5647_MIPI=m
247CONFIG_SOC_CAMERA=y
248CONFIG_VIDEO_MX3=y
249CONFIG_V4L_MEM2MEM_DRIVERS=y
250CONFIG_VIDEO_CODA=y
251CONFIG_RADIO_SI476X=y
252CONFIG_SOC_CAMERA_OV2640=y
253CONFIG_DRM=y
254CONFIG_DRM_VIVANTE=y
255CONFIG_FB=y
256CONFIG_FB_MXS=y
257CONFIG_FB_MXC_SYNC_PANEL=y
258CONFIG_FB_MXC_MIPI_DSI=y
259CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
260CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
261CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y
262CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y
263CONFIG_FB_MXC_TRULY_PANEL_TDO_QVGA0150A90049=y
264CONFIG_FB_MXC_TRULY_PANEL_TFT320RND=y
265CONFIG_FB_MXC_LDB=y
266CONFIG_FB_MXC_HDMI=y
267CONFIG_FB_MXS_SII902X=y
268CONFIG_FB_MXC_DCIC=m
269CONFIG_HANNSTAR_CABC=y
270CONFIG_FB_MXC_EINK_PANEL=y
271CONFIG_FB_MXC_EINK_V2_PANEL=y
272CONFIG_LCD_CLASS_DEVICE=y
273CONFIG_LCD_L4F00242T03=y
274CONFIG_LCD_PLATFORM=y
275CONFIG_BACKLIGHT_PWM=y
276CONFIG_FRAMEBUFFER_CONSOLE=y
277CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
278CONFIG_LOGO=y
279CONFIG_SOUND=y
280CONFIG_SND=y
281CONFIG_SND_USB_AUDIO=m
282CONFIG_SND_SOC=y
283CONFIG_SND_IMX_SOC=y
284CONFIG_SND_SOC_EUKREA_TLV320=y
285CONFIG_SND_SOC_IMX_WM8960=y
286CONFIG_SND_SOC_IMX_SII902X=y
287CONFIG_SND_SOC_IMX_WM8958=y
288CONFIG_SND_SOC_IMX_CS42888=y
289CONFIG_SND_SOC_IMX_WM8962=y
290CONFIG_SND_SOC_IMX_SGTL5000=y
291CONFIG_SND_SOC_IMX_MQS=y
292CONFIG_SND_SOC_IMX_SPDIF=y
293CONFIG_SND_SOC_IMX_MC13783=y
294CONFIG_SND_SOC_IMX_SI476X=y
295CONFIG_SND_SOC_IMX_HDMI=y
296CONFIG_SND_SIMPLE_CARD=y
297CONFIG_USB=y
298CONFIG_USB_OTG_WHITELIST=y
299CONFIG_USB_OTG_FSM=y
300CONFIG_USB_EHCI_HCD=y
301CONFIG_USB_EHCI_MXC=y
302CONFIG_USB_HCD_TEST_MODE=y
303CONFIG_USB_ACM=m
304CONFIG_USB_STORAGE=y
305CONFIG_USB_CHIPIDEA=y
306CONFIG_USB_CHIPIDEA_UDC=y
307CONFIG_USB_CHIPIDEA_HOST=y
308CONFIG_USB_SERIAL=m
309CONFIG_USB_SERIAL_GENERIC=y
310CONFIG_USB_SERIAL_FTDI_SIO=m
311CONFIG_USB_SERIAL_OPTION=m
312CONFIG_USB_EHSET_TEST_FIXTURE=y
313CONFIG_NOP_USB_XCEIV=y
314CONFIG_USB_MXS_PHY=y
315CONFIG_USB_GADGET=y
316CONFIG_USB_CONFIGFS=m
317CONFIG_USB_CONFIGFS_SERIAL=y
318CONFIG_USB_CONFIGFS_ACM=y
319CONFIG_USB_CONFIGFS_OBEX=y
320CONFIG_USB_CONFIGFS_NCM=y
321CONFIG_USB_CONFIGFS_ECM=y
322CONFIG_USB_CONFIGFS_ECM_SUBSET=y
323CONFIG_USB_CONFIGFS_RNDIS=y
324CONFIG_USB_CONFIGFS_EEM=y
325CONFIG_USB_CONFIGFS_MASS_STORAGE=y
326CONFIG_USB_CONFIGFS_F_LB_SS=y
327CONFIG_USB_CONFIGFS_F_FS=y
328CONFIG_USB_ZERO=m
329CONFIG_USB_ETH=m
330CONFIG_USB_G_NCM=m
331CONFIG_USB_GADGETFS=m
332CONFIG_USB_MASS_STORAGE=m
333CONFIG_USB_G_SERIAL=m
334CONFIG_MMC=y
335CONFIG_MMC_SDHCI=y
336CONFIG_MMC_SDHCI_PLTFM=y
337CONFIG_MMC_SDHCI_ESDHC_IMX=y
338CONFIG_MXC_IPU=y
339CONFIG_MXC_IPU_V3_PRE=y
340CONFIG_MXC_SIM=y
341CONFIG_MXC_MIPI_CSI2=y
342CONFIG_MXC_HDMI_CEC=y
343CONFIG_NEW_LEDS=y
344CONFIG_LEDS_CLASS=y
345CONFIG_LEDS_GPIO=y
346CONFIG_LEDS_TRIGGERS=y
347CONFIG_LEDS_TRIGGER_TIMER=y
348CONFIG_LEDS_TRIGGER_ONESHOT=y
349CONFIG_LEDS_TRIGGER_HEARTBEAT=y
350CONFIG_LEDS_TRIGGER_BACKLIGHT=y
351CONFIG_LEDS_TRIGGER_GPIO=y
352CONFIG_RTC_CLASS=y
353CONFIG_RTC_INTF_DEV_UIE_EMUL=y
354CONFIG_RTC_DRV_MC13XXX=y
355CONFIG_RTC_DRV_MXC=y
356CONFIG_RTC_DRV_SNVS=y
357CONFIG_DMADEVICES=y
358CONFIG_MXC_PXP_V2=y
359CONFIG_MXC_PXP_V3=y
360CONFIG_IMX_SDMA=y
361CONFIG_MXS_DMA=y
362CONFIG_DMATEST=m
363CONFIG_STAGING=y
364CONFIG_STAGING_MEDIA=y
365# CONFIG_IOMMU_SUPPORT is not set
366CONFIG_IIO=y
367CONFIG_IMX7D_ADC=y
368CONFIG_VF610_ADC=y
369CONFIG_INPUT_MPL3115=y
370CONFIG_PWM=y
371CONFIG_PWM_IMX=y
372CONFIG_EXT2_FS=y
373CONFIG_EXT2_FS_XATTR=y
374CONFIG_EXT2_FS_POSIX_ACL=y
375CONFIG_EXT2_FS_SECURITY=y
376CONFIG_EXT3_FS=y
377CONFIG_EXT3_FS_POSIX_ACL=y
378CONFIG_EXT3_FS_SECURITY=y
379CONFIG_EXT4_FS=y
380CONFIG_EXT4_FS_POSIX_ACL=y
381CONFIG_EXT4_FS_SECURITY=y
382CONFIG_QUOTA=y
383CONFIG_QUOTA_NETLINK_INTERFACE=y
384# CONFIG_PRINT_QUOTA_WARNING is not set
385CONFIG_AUTOFS4_FS=y
386CONFIG_FUSE_FS=y
387CONFIG_ISO9660_FS=m
388CONFIG_JOLIET=y
389CONFIG_ZISOFS=y
390CONFIG_UDF_FS=m
391CONFIG_MSDOS_FS=m
392CONFIG_VFAT_FS=y
393CONFIG_TMPFS=y
394CONFIG_JFFS2_FS=y
395CONFIG_UBIFS_FS=y
396CONFIG_NFS_FS=y
397CONFIG_NFS_V3_ACL=y
398CONFIG_NFS_V4=y
399CONFIG_ROOT_NFS=y
400CONFIG_NLS_DEFAULT="cp437"
401CONFIG_NLS_CODEPAGE_437=y
402CONFIG_NLS_ASCII=y
403CONFIG_NLS_ISO8859_1=y
404CONFIG_NLS_ISO8859_15=m
405CONFIG_NLS_UTF8=y
406CONFIG_DEBUG_FS=y
407CONFIG_MAGIC_SYSRQ=y
408# CONFIG_SCHED_DEBUG is not set
409# CONFIG_DEBUG_BUGVERBOSE is not set
410# CONFIG_FTRACE is not set
411CONFIG_SECURITYFS=y
412CONFIG_CRYPTO_USER=y
413CONFIG_CRYPTO_TEST=m
414CONFIG_CRYPTO_CBC=y
415CONFIG_CRYPTO_CTS=y
416CONFIG_CRYPTO_LRW=y
417CONFIG_CRYPTO_XTS=y
418CONFIG_CRYPTO_MD4=y
419CONFIG_CRYPTO_MD5=y
420CONFIG_CRYPTO_MICHAEL_MIC=y
421CONFIG_CRYPTO_RMD128=y
422CONFIG_CRYPTO_RMD160=y
423CONFIG_CRYPTO_RMD256=y
424CONFIG_CRYPTO_RMD320=y
425CONFIG_CRYPTO_SHA1=y
426CONFIG_CRYPTO_SHA512=y
427CONFIG_CRYPTO_TGR192=y
428CONFIG_CRYPTO_WP512=y
429CONFIG_CRYPTO_BLOWFISH=y
430CONFIG_CRYPTO_CAMELLIA=y
431CONFIG_CRYPTO_DES=y
432CONFIG_CRYPTO_TWOFISH=y
433# CONFIG_CRYPTO_ANSI_CPRNG is not set
434CONFIG_CRYPTO_DEV_FSL_CAAM=y
435CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
436CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
437CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
438CONFIG_CRC_CCITT=m
439CONFIG_CRC_T10DIF=y
440CONFIG_CRC7=m
441CONFIG_LIBCRC32C=m
442CONFIG_FONTS=y
443CONFIG_FONT_8x8=y
444CONFIG_FONT_8x16=y
diff --git a/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb b/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb
new file mode 100644
index 0000000..71341dc
--- /dev/null
+++ b/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bb
@@ -0,0 +1,18 @@
1# Copyright (C) 2016 NXP Semiconductors
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4include recipes-kernel/linux/linux-fslc.inc
5
6DESCRIPTION = "Linux kernel based on linux-fsl-imx branch 4.1-1.0.x-imx from FSL Community BSP \
7with additional patches to cover devices specific on WaRP7 board."
8
9DEPENDS += "lzop-native bc-native"
10
11SRCBRANCH = "4.1-1.0.x-imx"
12SRCREV = "a543d1bd884028bed97c06ae4087e051a9176499"
13LOCALVERSION = "-${SRCBRANCH}-warp7"
14
15SRC_URI = "git://github.com/warp7/linux-fslc.git;branch=${SRCBRANCH} \
16 file://defconfig"
17
18COMPATIBLE_MACHINE = "(imx7s-warp)"
diff --git a/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend b/meta-fsl-extras/recipes/perf/perf.bbappend
index f8a9591..c4bd322 100644
--- a/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend
+++ b/meta-fsl-extras/recipes/perf/perf.bbappend
@@ -27,4 +27,5 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30PACKAGECONFIG_append = " libunwind" 30PERF_SRC_append_imx7s-warp = " lib"
31PERF_SRC_remove_imx7s-warp = "tools/arch"
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
index 0343f06..123782e 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
@@ -1,23 +1,23 @@
1From 554d219b3485402c6992abc0aa32c74e8f251876 Mon Sep 17 00:00:00 2001 1From 07234c1c0f991a560010672a619740e385778f90 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com> 2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Thu, 11 Feb 2016 10:17:51 +0200 3Date: Thu, 11 Feb 2016 10:17:51 +0200
4Subject: [PATCH] Add support for KOE tx31d200vm0baa display 4Subject: [PATCH] Add support for KOE tx31d200vm0baa display
5 5
6Used for the cluster demo 6Used for the cluster demo
7--- 7---
8 arch/arm/include/asm/imx-common/fbpanel.h | 27 +++++++++++++++++++++++++++ 8 arch/arm/include/asm/imx-common/fbpanel.h | 27 ++++++++++++++++++++
9 board/boundary/nitrogen6_max/nitrogen6_max.c | 1 + 9 board/boundary/nitrogen6_max/nitrogen6_max.c | 1 +
10 board/boundary/nitrogen6sx/nitrogen6sx.c | 1 + 10 board/boundary/nitrogen6sx/nitrogen6sx.c | 1 +
11 board/boundary/nitrogen6x/nitrogen6x.c | 1 + 11 board/boundary/nitrogen6x/nitrogen6x.c | 1 +
12 4 files changed, 30 insertions(+) 12 4 files changed, 30 insertions(+)
13 13
14diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h 14diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h
15index b6f7af4..b8acdae 100644 15index f5465c3c80..643cd86e29 100644
16--- a/arch/arm/include/asm/imx-common/fbpanel.h 16--- a/arch/arm/include/asm/imx-common/fbpanel.h
17+++ b/arch/arm/include/asm/imx-common/fbpanel.h 17+++ b/arch/arm/include/asm/imx-common/fbpanel.h
18@@ -39,6 +39,33 @@ void fbp_enable_fb(struct display_info_t const *di, int enable); 18@@ -116,6 +116,33 @@ void fbp_setup_display(const struct display_info_t *displays, int cnt);
19 int fbp_detect_i2c(struct display_info_t const *di); 19 .fbtype = FB_##_mode,\
20 void fbp_setup_display(const struct display_info_t *displays, int cnt); 20 .fbflags = _flags
21 21
22+/* tx31d200vm0baa == koe */ 22+/* tx31d200vm0baa == koe */
23+#define IMX_VD_KOE(_mode, _detect, _bus) \ 23+#define IMX_VD_KOE(_mode, _detect, _bus) \
@@ -47,44 +47,41 @@ index b6f7af4..b8acdae 100644
47+} 47+}
48+ 48+
49 /* hdmi settings */ 49 /* hdmi settings */
50 #define IMX_VD50_1280_720M_60(_mode, _detect, _bus) \ 50 #define VDF_1280_720M_60(_mode, _name, _fmt, _flags, _detect, _bus, _addr) \
51 {\ 51 {\
52diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c 52diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c
53index 337e9b5..ba29aee 100644 53index 1c4106e735..51bc0bd8f3 100644
54--- a/board/boundary/nitrogen6_max/nitrogen6_max.c 54--- a/board/boundary/nitrogen6_max/nitrogen6_max.c
55+++ b/board/boundary/nitrogen6_max/nitrogen6_max.c 55+++ b/board/boundary/nitrogen6_max/nitrogen6_max.c
56@@ -568,6 +568,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) 56@@ -497,6 +497,7 @@ int fbp_detect_serializer(struct display_info_t const *di)
57 } 57 }
58 58
59 static const struct display_info_t displays[] = { 59 static const struct display_info_t displays[] = {
60+ IMX_VD_KOE(LVDS, 0, 2), 60+ IMX_VD_KOE(LVDS, 0, 2),
61 /* hdmi */ 61 /* hdmi */
62 IMX_VD50_1280_720M_60(HDMI, 1, 1), 62 VD_1280_720M_60(HDMI, fbp_detect_i2c, 1, 0x50),
63 IMX_VD50_1920_1080M_60(HDMI, 0, 1), 63 VD_1920_1080M_60(HDMI, NULL, 1, 0x50),
64diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c 64diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c
65index cdabcd8..de6582e 100644 65index dc05042add..3725d63cf3 100644
66--- a/board/boundary/nitrogen6sx/nitrogen6sx.c 66--- a/board/boundary/nitrogen6sx/nitrogen6sx.c
67+++ b/board/boundary/nitrogen6sx/nitrogen6sx.c 67+++ b/board/boundary/nitrogen6sx/nitrogen6sx.c
68@@ -685,6 +685,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) 68@@ -436,6 +436,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable)
69 69 }
70 70
71 static const struct display_info_t displays[] = { 71 static const struct display_info_t displays[] = {
72+ IMX_VD_KOE(LVDS, 0, 2), 72+ IMX_VD_KOE(LVDS, 0, 2),
73 /* hdmi/lcd */ 73 /* hdmi/lcd via tfp410 */
74 _IMX_VD_1280_720M_60(LCD, 1, 2, 50, 0), 74 VDF_1280_720M_60(LCD, "1280x720M@60", RGB24, 0, fbp_detect_i2c, 2, 0x50),
75 _IMX_VD_1920_1080M_60(LCD, 0, 2, 50, 0), 75 VDF_1920_1080M_60(LCD, "1920x1080M@60", RGB24, 0, NULL, 2, 0x50),
76diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c 76diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
77index 21d6cd7..b24f2f6 100644 77index d9f6a829f1..80b102e206 100644
78--- a/board/boundary/nitrogen6x/nitrogen6x.c 78--- a/board/boundary/nitrogen6x/nitrogen6x.c
79+++ b/board/boundary/nitrogen6x/nitrogen6x.c 79+++ b/board/boundary/nitrogen6x/nitrogen6x.c
80@@ -525,6 +525,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) 80@@ -359,6 +359,7 @@ void board_pre_enable(const struct display_info_t *di)
81 } 81 }
82 82
83 static const struct display_info_t displays[] = { 83 static const struct display_info_t displays[] = {
84+ IMX_VD_KOE(LVDS, 0, 2), 84+ IMX_VD_KOE(LVDS, 0, 2),
85 /* hdmi */ 85 /* hdmi */
86 IMX_VD50_1280_720M_60(HDMI, 1, 1), 86 VD_1280_720M_60(HDMI, fbp_detect_i2c, 1, 0x50),
87 IMX_VD50_1920_1080M_60(HDMI, 0, 1), 87 VD_1920_1080M_60(HDMI, NULL, 1, 0x50),
88--
891.9.1
90
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch
index 9eda199..b0791e9 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0002-set-CMA-reserved-size-to-384MB.patch
@@ -1,4 +1,4 @@
1From 59d272d9df5337bb4bd62a96fc16c8e280c49344 Mon Sep 17 00:00:00 2001 1From fa2e83db63fe5abdfa00d205301d12e1a271a291 Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io> 2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Sun, 23 Apr 2017 21:47:01 +0300 3Date: Sun, 23 Apr 2017 21:47:01 +0300
4Subject: [PATCH] set CMA reserved size to 384MB 4Subject: [PATCH] set CMA reserved size to 384MB
@@ -10,12 +10,12 @@ video decoding cannot work for high resolution videos.
10 1 file changed, 1 insertion(+) 10 1 file changed, 1 insertion(+)
11 11
12diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h 12diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
13index 646c505..ddbb4c5 100644 13index bd4e54cb67..48114d5739 100644
14--- a/include/configs/nitrogen6x.h 14--- a/include/configs/nitrogen6x.h
15+++ b/include/configs/nitrogen6x.h 15+++ b/include/configs/nitrogen6x.h
16@@ -28,6 +28,7 @@ 16@@ -33,6 +33,7 @@
17 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 17 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
18 #define CONFIG_VIDEO 18
19 #define BD_I2C_MASK 7 19 #define BD_I2C_MASK 7
20+#define BD_CMA "384M" 20+#define BD_CMA "384M"
21 21
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch
new file mode 100644
index 0000000..c5fa923
--- /dev/null
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0003-Disable-build-for-tools.patch
@@ -0,0 +1,36 @@
1From 22c5a278b98cf6ea4e4a402bca19d1354ab3c431 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Tue, 25 Sep 2018 16:05:17 +0300
4Subject: [PATCH] Disable build for tools and use mkimage from sysroot
5
6fails when trying to compile with host gcc: unable to execute
7'x86_64-linux-gnu-gcc': No such file or directory
8---
9 Makefile | 2 +-
10 scripts/Makefile.lib | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/Makefile b/Makefile
14index 119ad49eec..022690e26e 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -698,7 +698,7 @@ libs-y += $(if $(BOARDDIR),board/$(BOARDDIR)/)
18
19 libs-y := $(sort $(libs-y))
20
21-u-boot-dirs := $(patsubst %/,%,$(filter %/, $(libs-y))) tools examples
22+u-boot-dirs := $(patsubst %/,%,$(filter %/, $(libs-y)))
23
24 u-boot-alldirs := $(sort $(u-boot-dirs) $(patsubst %/,%,$(filter %/, $(libs-))))
25
26diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
27index 80ddb08474..e86c949f08 100644
28--- a/scripts/Makefile.lib
29+++ b/scripts/Makefile.lib
30@@ -493,5 +493,5 @@ cmd_xzmisc = (cat $(filter-out FORCE,$^) | \
31 # ---------------------------------------------------------------------------
32 MKIMAGEOUTPUT ?= /dev/null
33 quiet_cmd_mkimage = MKIMAGE $@
34-cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
35+cmd_mkimage = mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
36 $(if $(KBUILD_VERBOSE:1=), >$(MKIMAGEOUTPUT))
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary_git.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-boundary_%.bbappend
index 013e54b..3b5235f 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary_git.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -31,4 +31,7 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += " \ 31SRC_URI += " \
32 file://0001-Add-support-for-KOE-tx31d200vm0baa-display.patch \ 32 file://0001-Add-support-for-KOE-tx31d200vm0baa-display.patch \
33 file://0002-set-CMA-reserved-size-to-384MB.patch \ 33 file://0002-set-CMA-reserved-size-to-384MB.patch \
34 file://0003-Disable-build-for-tools.patch \
34 " 35 "
36
37DEPENDS += "u-boot-mkimage-native"
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch
index 928fb8c..fbf83da 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Updated-kernel-arguments-for-sabre-sd.patch
@@ -1,4 +1,4 @@
1From 15ba0d8f9e2ad8f3024734810088e4caddaaec5a Mon Sep 17 00:00:00 2001 1From 2d762386376baadfe6a6447c2c19fa2d6329b985 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@digia.com> 2From: Samuli Piippo <samuli.piippo@digia.com>
3Date: Fri, 9 May 2014 10:23:50 +0300 3Date: Fri, 9 May 2014 10:23:50 +0300
4Subject: [PATCH] Updated kernel arguments for sabre sd 4Subject: [PATCH] Updated kernel arguments for sabre sd
@@ -9,18 +9,15 @@ Subject: [PATCH] Updated kernel arguments for sabre sd
9 1 file changed, 2 insertions(+) 9 1 file changed, 2 insertions(+)
10 10
11diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h 11diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
12index a8746a4..251b28b 100644 12index 03d4f34904..50e84d144f 100644
13--- a/include/configs/mx6sabre_common.h 13--- a/include/configs/mx6sabre_common.h
14+++ b/include/configs/mx6sabre_common.h 14+++ b/include/configs/mx6sabre_common.h
15@@ -171,6 +171,8 @@ 15@@ -111,6 +111,8 @@
16 "done\0" \ 16 "done\0" \
17 "mmcargs=setenv bootargs console=${console},${baudrate} " \ 17 "mmcargs=setenv bootargs console=${console},${baudrate} " \
18 "root=${mmcroot} " \ 18 "root=PARTUUID=${uuid} rootwait rw " \
19+ "consoleblank=0 " \ 19+ "consoleblank=0 " \
20+ "vt.global_cursor_default=0 " \ 20+ "vt.global_cursor_default=0 " \
21 VIDEO_ARGS "\0" \ 21 VIDEO_ARGS "\0" \
22 "loadbootscript=" \ 22 "loadbootscript=" \
23 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ 23 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
24--
251.9.1
26
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch
deleted file mode 100644
index ddd90c6..0000000
--- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-Use-hdmi-as-primary-display-only-if-connected.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 734ccf82db363efddb960b1c4f7db4081f2fdd7c Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Thu, 18 Feb 2016 12:49:01 +0200
4Subject: [PATCH] Use hdmi as primary display only if connected
5
6Test if HDMI display is connected before setting it as primary display.
7Otherwise set lvds as primary display. Test can be overridden by
8setting video_interfaces env.
9---
10 include/configs/mx6sabre_common.h | 10 +++++++++-
11 1 file changed, 9 insertions(+), 1 deletion(-)
12
13diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
14index a8746a4..485f232 100644
15--- a/include/configs/mx6sabre_common.h
16+++ b/include/configs/mx6sabre_common.h
17@@ -163,8 +163,16 @@
18 "video_args_lcd=setenv video_args $video_args " \
19 "video=mxcfb${fb}:dev=lcd,CLAA-WVGA,if=RGB666\0" \
20 "fb=0\0" \
21- "video_interfaces=hdmi lvds lcd\0" \
22+ "video_interfaces=\0" \
23 "video_args_script=" \
24+ "if test -z \"${video_interfaces}\"; then " \
25+ "i2c dev 1; " \
26+ "if i2c probe 0x50; then " \
27+ "setenv video_interfaces hdmi lvds lcd; " \
28+ "else " \
29+ "setenv video_interfaces lvds hdmi lcd; " \
30+ "fi; " \
31+ "fi; " \
32 "for v in ${video_interfaces}; do " \
33 "run video_args_${v}; " \
34 "setexpr fb $fb + 1; " \
35--
361.9.1
37
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch
index e8a0573..2c1c70d 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch
@@ -1,4 +1,4 @@
1From ef2f2eeef6974bda0fd878c5f76b8b05ac16aa3d Mon Sep 17 00:00:00 2001 1From d9489c704107e85a0c3ba68211adbca695c88644 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 13 Sep 2017 09:40:44 +0300 3Date: Wed, 13 Sep 2017 09:40:44 +0300
4Subject: [PATCH] use imx7d-warp.dtb 4Subject: [PATCH] use imx7d-warp.dtb
@@ -8,15 +8,15 @@ Subject: [PATCH] use imx7d-warp.dtb
8 1 file changed, 1 insertion(+), 1 deletion(-) 8 1 file changed, 1 insertion(+), 1 deletion(-)
9 9
10diff --git a/include/configs/warp7.h b/include/configs/warp7.h 10diff --git a/include/configs/warp7.h b/include/configs/warp7.h
11index b3e1f2e..edbd43f 100644 11index 2a7789baa2..7b44f85a87 100644
12--- a/include/configs/warp7.h 12--- a/include/configs/warp7.h
13+++ b/include/configs/warp7.h 13+++ b/include/configs/warp7.h
14@@ -35,7 +35,7 @@ 14@@ -39,7 +39,7 @@
15 "ethact=usb_ether\0" \ 15 "ethact=usb_ether\0" \
16 "fdt_high=0xffffffff\0" \ 16 "fdt_high=0xffffffff\0" \
17 "initrd_high=0xffffffff\0" \ 17 "initrd_high=0xffffffff\0" \
18- "fdt_file=imx7s-warp.dtb\0" \ 18- "fdt_file=imx7s-warp.dtb\0" \
19+ "fdt_file=imx7d-warp.dtb\0" \ 19+ "fdt_file=imx7d-warp.dtb\0" \
20 "fdt_addr=0x83000000\0" \ 20 "fdt_addr=" __stringify(CONFIG_SYS_FDT_ADDR)"\0" \
21 "optee_addr=" __stringify(CONFIG_OPTEE_LOAD_ADDR)"\0" \
21 "boot_fdt=try\0" \ 22 "boot_fdt=try\0" \
22 "ip_dyn=yes\0" \
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend
index b1df421..815244f 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -30,6 +30,5 @@
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += " \ 31SRC_URI += " \
32 file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ 32 file://0001-Updated-kernel-arguments-for-sabre-sd.patch \
33 file://0001-Use-hdmi-as-primary-display-only-if-connected.patch \
34 file://0001-use-imx7d-warp.dtb.patch \ 33 file://0001-use-imx7d-warp.dtb.patch \
35 " 34 "
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch
index 7d8e8ec..02a1e33 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary/0001-Set-screen-resolution-for-ft5x06_ts-based-on-selecte.patch
@@ -1,4 +1,4 @@
1From 3fdf74d6934858d04d9e7df7cd24779bf7d9fdbb Mon Sep 17 00:00:00 2001 1From 3c3c3284727076f4ae751bfc9cadb222423c9a4b Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com> 2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 13 Jan 2016 08:55:41 +0200 3Date: Wed, 13 Jan 2016 08:55:41 +0200
4Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display 4Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display
@@ -8,12 +8,12 @@ Subject: [PATCH] Set screen resolution for ft5x06_ts based on selected display
8 1 file changed, 6 insertions(+) 8 1 file changed, 6 insertions(+)
9 9
10diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt 10diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt
11index 7c11f4c..86242b5 100644 11index f6bf2f5..427d837 100644
12--- a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt 12--- a/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt
13+++ b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt 13+++ b/board/boundary/nitrogen6x/6x_bootscript-yocto-3.14.txt
14@@ -105,6 +105,12 @@ else 14@@ -130,6 +130,12 @@ if itest.s "x" != "x${disable_msi}" ; then
15 setenv bootargs "${bootargs} root=/dev/mmcblk${disk}p${bpart}" 15 setenv bootargs ${bootargs} pci=nomsi
16 fi 16 fi;
17 17
18+if test "hannstar" = "${fb_lvds}" || test "hannstar" = "${fb_lvds2}" ; then 18+if test "hannstar" = "${fb_lvds}" || test "hannstar" = "${fb_lvds2}" ; then
19+ setenv bootargs ${bootargs} ft5x06_ts.screenres=1024,600 19+ setenv bootargs ${bootargs} ft5x06_ts.screenres=1024,600
@@ -24,6 +24,3 @@ index 7c11f4c..86242b5 100644
24 if itest.s "x" != "x${disable_giga}" ; then 24 if itest.s "x" != "x${disable_giga}" ; then
25 setenv bootargs ${bootargs} fec.disable_giga=1 25 setenv bootargs ${bootargs} fec.disable_giga=1
26 fi 26 fi
27--
281.9.1
29
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_%.bbappend
index dafcf84..e4b3730 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_git.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-boundary_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb
index 136fb80..ff25ec5 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -31,7 +31,7 @@ LICENSE = "The-Qt-Company-Commercial"
31LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625" 31LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625"
32DEPENDS = "u-boot-mkimage-native" 32DEPENDS = "u-boot-mkimage-native"
33 33
34PV = "2.7" 34PV = "2.8b3"
35 35
36SRC_URI = " \ 36SRC_URI = " \
37 file://fwd_mmc.scr \ 37 file://fwd_mmc.scr \
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch
index cf90c35..2235fae 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-imx7/0001-Update-only-u-boot.patch
@@ -1,19 +1,19 @@
1From c02da9f92f6ffaee65f428e1978bd3ff379a2612 Mon Sep 17 00:00:00 2001 1From 7e05ac9e6dc984bd060d766740ff494e0e3519d7 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 14 Sep 2016 10:19:28 +0300 3Date: Wed, 14 Sep 2016 10:19:28 +0300
4Subject: [PATCH] Update only u-boot 4Subject: [PATCH] Update only u-boot
5 5
6--- 6---
7 flash_blk.scr | 4 ++-- 7 flash_blk.scr | 2 +-
8 flash_eth.scr | 4 ++-- 8 flash_eth.scr | 2 +-
9 2 files changed, 4 insertions(+), 4 deletions(-) 9 2 files changed, 2 insertions(+), 2 deletions(-)
10 10
11diff --git a/flash_blk.scr b/flash_blk.scr 11diff --git a/flash_blk.scr b/flash_blk.scr
12index cc4cf38..b63366a 100644 12index 9fa6296..e599070 100644
13--- a/flash_blk.scr 13--- a/flash_blk.scr
14+++ b/flash_blk.scr 14+++ b/flash_blk.scr
15@@ -15,7 +15,7 @@ setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-col 15@@ -15,7 +15,7 @@ setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-c
16 setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' 16 setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}'
17 17
18 # Test which version of U-Boot we are currently running on 18 # Test which version of U-Boot we are currently running on
19-setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' 19-setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi'
@@ -22,11 +22,11 @@ index cc4cf38..b63366a 100644
22 if itest.b *0x30360800 -lt 0x11; then 22 if itest.b *0x30360800 -lt 0x11; then
23 echo && 23 echo &&
24diff --git a/flash_eth.scr b/flash_eth.scr 24diff --git a/flash_eth.scr b/flash_eth.scr
25index 01be124..13025de 100644 25index 20244d7..7f3372c 100644
26--- a/flash_eth.scr 26--- a/flash_eth.scr
27+++ b/flash_eth.scr 27+++ b/flash_eth.scr
28@@ -15,7 +15,7 @@ setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board 28@@ -15,7 +15,7 @@ setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_boa
29 setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' 29 setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}'
30 30
31 # Test which version of U-Boot we are currently running on 31 # Test which version of U-Boot we are currently running on
32-setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi' 32-setenv update 'mtdparts default && env default -f updlevel && if test $updlevel -lt 1; then; run update_uboot_old; else; run update_uboot && run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs && reset; fi'
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch
index 86d21fd..2aa8421 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/colibri-vf/0001-Update-only-u-boot.patch
@@ -1,27 +1,27 @@
1From 2b11117dcc616843a6dce1a5e97fcecefa7e3f4b Mon Sep 17 00:00:00 2001 1From 7d0fc874871d79125b1c17b32fec9742b2f5839e Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 14 Sep 2016 10:22:27 +0300 3Date: Wed, 14 Sep 2016 10:22:27 +0300
4Subject: [PATCH] Update only u-boot 4Subject: [PATCH] Update only u-boot
5 5
6--- 6---
7 flash_blk.scr | 6 +++--- 7 flash_blk.scr | 4 ++--
8 flash_eth.scr | 6 +++--- 8 flash_eth.scr | 4 ++--
9 2 files changed, 6 insertions(+), 6 deletions(-) 9 2 files changed, 4 insertions(+), 4 deletions(-)
10 10
11diff --git a/flash_blk.scr b/flash_blk.scr 11diff --git a/flash_blk.scr b/flash_blk.scr
12index 401c47a..8fa5af9 100644 12index ae0fd5c..1b34c75 100644
13--- a/flash_blk.scr 13--- a/flash_blk.scr
14+++ b/flash_blk.scr 14+++ b/flash_blk.scr
15@@ -11,7 +11,7 @@ setenv update_kernel 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/zImage 15@@ -11,7 +11,7 @@ setenv update_kernel 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/zImag
16 setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${loadaddr} dtb ${filesize}' 16 setenv update_fdt 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${fdt_addr_r} dtb ${filesize}'
17 setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' 17 setenv update_rootfs 'fatload ${interface} 0:1 ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}'
18 18
19-setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' 19-setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset'
20+setenv update_new 'run update_uboot; reset' 20+setenv update_new 'run update_uboot; reset'
21 21
22 # Upgrade part 1, write new U-Boot, but with old ECC format still... 22 # Upgrade part 1, write new U-Boot, but with old ECC format still...
23 # Store config block temporarly in memory at kernel_addr_r. 23 # Store config block temporarly in memory at kernel_addr_r.
24@@ -19,10 +19,10 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 24@@ -19,7 +19,7 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20
25 setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' 25 setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.'
26 26
27 # Upgrade part 2, use new ECC format for the whole device... 27 # Upgrade part 2, use new ECC format for the whole device...
@@ -30,24 +30,20 @@ index 401c47a..8fa5af9 100644
30 setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' 30 setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.'
31 31
32 # fsl_nfc indicates old NAND format (24-bit ECC), start migration process 32 # fsl_nfc indicates old NAND format (24-bit ECC), start migration process
33 setenv update 'mtdparts default && if test "${mtdids}" = "nand0=fsl_nfc"; then; run upgrade_part1; else run update_new; fi'
34
35-echo 'enter "run update" to update the entire module'
36+echo 'enter "run update" to update the uboot'
37diff --git a/flash_eth.scr b/flash_eth.scr 33diff --git a/flash_eth.scr b/flash_eth.scr
38index 15aab1c..aa98b3a 100644 34index b0e4904..0a8e3cc 100644
39--- a/flash_eth.scr 35--- a/flash_eth.scr
40+++ b/flash_eth.scr 36+++ b/flash_eth.scr
41@@ -11,7 +11,7 @@ setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && ubi write ${l 37@@ -11,7 +11,7 @@ setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && ubi write $
42 setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${loadaddr} dtb ${filesize}' 38 setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${soc}-colibri-${fdt_board}.dtb && ubi write ${fdt_addr_r} dtb ${filesize}'
43 setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${loadaddr} rootfs ${filesize}' 39 setenv update_rootfs 'tftpboot ${fdt_addr_r} ${board_name}/ubifs.img && ubi write ${fdt_addr_r} rootfs ${filesize}'
44 40
45-setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset' 41-setenv update_new 'run update_uboot; run prepare_ubi && run update_kernel && run update_fdt && run update_rootfs; reset'
46+setenv update_new 'run update_uboot; reset' 42+setenv update_new 'run update_uboot; reset'
47 43
48 # Upgrade part 1, write new U-Boot, but with old ECC format still... 44 # Upgrade part 1, write new U-Boot, but with old ECC format still...
49 # Store config block temporarly in memory at kernel_addr_r. 45 # Store config block temporarly in memory at kernel_addr_r.
50@@ -19,10 +19,10 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20 46@@ -19,7 +19,7 @@ setenv upgrade_part1 'run update_uboot && nand read ${kernel_addr_r} 0x800 0x20
51 setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.' 47 setenv upgrade_part1_msg 'Successfully updated U-Boot, NAND upgrade required. Enter "reset", interrupt boot process and enter "run setupdate; run upgrade_part2" to complete upgrade.'
52 48
53 # Upgrade part 2, use new ECC format for the whole device... 49 # Upgrade part 2, use new ECC format for the whole device...
@@ -56,7 +52,3 @@ index 15aab1c..aa98b3a 100644
56 setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.' 52 setenv upgrade_part2_msg 'Successfully upgraded module, enter "reset" to restart the module.'
57 53
58 # fsl_nfc indicates old NAND format (24-bit ECC), start migration process 54 # fsl_nfc indicates old NAND format (24-bit ECC), start migration process
59 setenv update 'mtdparts default && if test "${mtdids}" = "nand0=fsl_nfc"; then; run upgrade_part1; else run update_new; fi'
60
61-echo 'enter "run update" to update the entire module'
62+echo 'enter "run update" to update the uboot'
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr
index 5c75100..12d89cf 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr
@@ -17,10 +17,10 @@ setenv migrate_uboot 'run update_spl && run update_uboot_bin && mmc bootbus 0 2
17setenv cp_file_chunk 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' 17setenv cp_file_chunk 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}'
18 18
19setenv update_spl 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' 19setenv update_spl 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}'
20setenv update_uboot_bin 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/u-boot.imx-spl && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' 20setenv update_uboot_bin 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/u-boot.img && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}'
21setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' 21setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1'
22 22
23setenv update_kernel 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/uImage && fatwrite mmc 0:1 ${fdt_addr_r} uImage ${filesize}' 23setenv update_kernel 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/zImage && fatwrite mmc 0:1 ${fdt_addr_r} zImage ${filesize}'
24 24
25setenv update_fdt 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' 25setenv update_fdt 'load ${interface} ${drive}:1 ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}'
26 26
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr
index 16f91e8..ee91523 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_eth.scr
@@ -15,10 +15,10 @@ setenv migrate_uboot 'run update_spl && run update_uboot_bin && mmc bootbus 0 2
15setenv cp_file_chunk 'tftpboot ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}' 15setenv cp_file_chunk 'tftpboot ${fdt_addr_r} ${board_name}/root.ext4-${filenum} || setenv filesize 0; run set_blkcnt; mmc dev 0 0 && mmc write ${fdt_addr_r} ${blkstart} ${blkcnt}'
16 16
17setenv update_spl 'tftpboot ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}' 17setenv update_spl 'tftpboot ${fdt_addr_r} ${board_name}/SPL && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 2 ${blkcnt}'
18setenv update_uboot_bin 'tftpboot ${fdt_addr_r} ${board_name}/u-boot.imx-spl && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}' 18setenv update_uboot_bin 'tftpboot ${fdt_addr_r} ${board_name}/u-boot.img && run set_blkcnt && mmc dev 0 ${uboot_hwpart} && mmc write ${fdt_addr_r} 8a ${blkcnt}'
19setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1' 19setenv update_uboot 'run update_uboot_bin && updt_fuse && mmc bootbus 0 2 0 1 && mmc partconf 0 1 1 0 && mmc rst-function 0 1'
20 20
21setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/uImage && fatwrite mmc 0:1 ${fdt_addr_r} uImage ${filesize}' 21setenv update_kernel 'tftpboot ${fdt_addr_r} ${board_name}/zImage && fatwrite mmc 0:1 ${fdt_addr_r} zImage ${filesize}'
22 22
23setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}' 23setenv update_fdt 'tftpboot ${fdt_addr_r} ${board_name}/${fdt_file} && fatwrite mmc 0:1 ${fdt_addr_r} ${fdt_file} ${filesize}'
24 24
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch
index f6dc0cc..083ec6d 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Make-sdboot-default-on-all-boards.patch
@@ -1,7 +1,7 @@
1From f86bb70bd270967082cb8132eb68c3c3dea4a7a7 Mon Sep 17 00:00:00 2001 1From 0f7d6eecead2c079ac050e6d16b64f280d9feab0 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Mon, 15 May 2017 15:31:36 +0300 3Date: Mon, 15 May 2017 15:31:36 +0300
4Subject: [PATCH 1/2] Make sdboot default on all boards 4Subject: [PATCH] Make sdboot default on all boards
5 5
6... and remove console=tty1 from kernel args 6... and remove console=tty1 from kernel args
7--- 7---
@@ -12,10 +12,10 @@ Subject: [PATCH 1/2] Make sdboot default on all boards
12 4 files changed, 10 insertions(+), 8 deletions(-) 12 4 files changed, 10 insertions(+), 8 deletions(-)
13 13
14diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h 14diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
15index 76cbdf2..9b42af9 100644 15index 71dfeb56f5..b687dab91d 100644
16--- a/include/configs/apalis_imx6.h 16--- a/include/configs/apalis_imx6.h
17+++ b/include/configs/apalis_imx6.h 17+++ b/include/configs/apalis_imx6.h
18@@ -257,7 +257,8 @@ 18@@ -256,7 +256,8 @@
19 #endif 19 #endif
20 #define CONFIG_EXTRA_ENV_SETTINGS \ 20 #define CONFIG_EXTRA_ENV_SETTINGS \
21 BOOTENV \ 21 BOOTENV \
@@ -25,20 +25,20 @@ index 76cbdf2..9b42af9 100644
25 "run distro_bootcmd ; " \ 25 "run distro_bootcmd ; " \
26 "usb start ;" \ 26 "usb start ;" \
27 "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ 27 "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
28@@ -280,7 +281,7 @@ 28@@ -279,7 +280,7 @@
29 " ${loadaddr} flash_blk.img && " \ 29 " ${loadaddr} flash_blk.img && " \
30 "source ${loadaddr}\0" \ 30 "source ${loadaddr}\0" \
31 "setup=setenv setupargs fec_mac=${ethaddr} " \ 31 "setup=setenv setupargs fec_mac=${ethaddr} " \
32- "consoleblank=0 no_console_suspend=1 console=tty1 " \ 32- "consoleblank=0 no_console_suspend=1 console=tty1 " \
33+ "consoleblank=0 no_console_suspend=1 " \ 33+ "consoleblank=0 no_console_suspend=1 " \
34 "console=${console},${baudrate}n8\0 " \ 34 "console=${console},${baudrate}n8\0" \
35 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ 35 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
36 "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ 36 "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \
37diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h 37diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
38index ab561f3..cbaeece 100644 38index f1fd5b422e..c7d75cea2a 100644
39--- a/include/configs/colibri_imx6.h 39--- a/include/configs/colibri_imx6.h
40+++ b/include/configs/colibri_imx6.h 40+++ b/include/configs/colibri_imx6.h
41@@ -232,7 +232,8 @@ 41@@ -231,7 +231,8 @@
42 #define FDT_FILE "imx6dl-colibri-eval-v3.dtb" 42 #define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
43 #define CONFIG_EXTRA_ENV_SETTINGS \ 43 #define CONFIG_EXTRA_ENV_SETTINGS \
44 BOOTENV \ 44 BOOTENV \
@@ -48,17 +48,17 @@ index ab561f3..cbaeece 100644
48 "run distro_bootcmd ; " \ 48 "run distro_bootcmd ; " \
49 "usb start ;" \ 49 "usb start ;" \
50 "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \ 50 "setenv stdout serial,vga ; setenv stdin serial,usbkbd\0" \
51@@ -253,7 +254,7 @@ 51@@ -252,7 +253,7 @@
52 "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ 52 "${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \
53 "source ${loadaddr}\0" \ 53 "source ${loadaddr}\0" \
54 "setup=setenv setupargs fec_mac=${ethaddr} " \ 54 "setup=setenv setupargs fec_mac=${ethaddr} " \
55- "consoleblank=0 no_console_suspend=1 console=tty1 " \ 55- "consoleblank=0 no_console_suspend=1 console=tty1 " \
56+ "consoleblank=0 no_console_suspend=1 " \ 56+ "consoleblank=0 no_console_suspend=1 " \
57 "console=${console},${baudrate}n8\0 " \ 57 "console=${console},${baudrate}n8\0" \
58 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ 58 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
59 "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ 59 "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \
60diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h 60diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
61index 2d6cee3..6773296 100644 61index ea04762b49..ca827a8a58 100644
62--- a/include/configs/colibri_imx7.h 62--- a/include/configs/colibri_imx7.h
63+++ b/include/configs/colibri_imx7.h 63+++ b/include/configs/colibri_imx7.h
64@@ -104,7 +104,7 @@ 64@@ -104,7 +104,7 @@
@@ -80,7 +80,7 @@ index 2d6cee3..6773296 100644
80 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ 80 "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \
81 "setusbupdate=usb start && setenv interface usb && " \ 81 "setusbupdate=usb start && setenv interface usb && " \
82diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h 82diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
83index 7fea78b..5bc3e3d 100644 83index db610d53f1..aafd4bc95e 100644
84--- a/include/configs/colibri_vf.h 84--- a/include/configs/colibri_vf.h
85+++ b/include/configs/colibri_vf.h 85+++ b/include/configs/colibri_vf.h
86@@ -155,7 +155,7 @@ 86@@ -155,7 +155,7 @@
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch
index 469009b..ea94c0c 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch
@@ -1,8 +1,7 @@
1From 138f477c5a1990429d35ffadc8f5cea5b1e9f945 Mon Sep 17 00:00:00 2001 1From 41be67109ab0c0fd156ee8615592827624fab12e Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 19 May 2017 12:41:38 +0300 3Date: Fri, 19 May 2017 12:41:38 +0300
4Subject: [PATCH 2/2] apalis-imx6: test for Capacitive Touch Display 7" 4Subject: [PATCH] apalis-imx6: test for Capacitive Touch Display 7" Parallel
5 Parallel
6 5
7Test i2c bus if Capacitive Touch Display 7" Parallel display is present 6Test i2c bus if Capacitive Touch Display 7" Parallel display is present
8during boot. If found, enable it as the primary display in kernel args. 7during boot. If found, enable it as the primary display in kernel args.
@@ -14,10 +13,10 @@ support for the atmel_mxt_ts touch controller.
14 1 file changed, 7 insertions(+), 2 deletions(-) 13 1 file changed, 7 insertions(+), 2 deletions(-)
15 14
16diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h 15diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
17index 9b42af9..121eaa7 100644 16index b687dab91d..3351a18e4c 100644
18--- a/include/configs/apalis_imx6.h 17--- a/include/configs/apalis_imx6.h
19+++ b/include/configs/apalis_imx6.h 18+++ b/include/configs/apalis_imx6.h
20@@ -250,7 +250,7 @@ 19@@ -249,7 +249,7 @@
21 "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" 20 "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
22 21
23 #ifndef CONFIG_TDX_APALIS_IMX6_V1_0 22 #ifndef CONFIG_TDX_APALIS_IMX6_V1_0
@@ -26,14 +25,14 @@ index 9b42af9..121eaa7 100644
26 #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb" 25 #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb"
27 #else 26 #else
28 #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb" 27 #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb"
29@@ -280,9 +280,14 @@ 28@@ -279,9 +279,14 @@
30 "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ 29 "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \
31 " ${loadaddr} flash_blk.img && " \ 30 " ${loadaddr} flash_blk.img && " \
32 "source ${loadaddr}\0" \ 31 "source ${loadaddr}\0" \
33- "setup=setenv setupargs fec_mac=${ethaddr} " \ 32- "setup=setenv setupargs fec_mac=${ethaddr} " \
34+ "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \ 33+ "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \
35 "consoleblank=0 no_console_suspend=1 " \ 34 "consoleblank=0 no_console_suspend=1 " \
36 "console=${console},${baudrate}n8\0 " \ 35 "console=${console},${baudrate}n8\0" \
37+ "setupvideo=i2c dev 0; if i2c probe 4A; " \ 36+ "setupvideo=i2c dev 0; if i2c probe 4A; " \
38+ "then setenv vidargs mxc_hdmi.only_cea=1 " \ 37+ "then setenv vidargs mxc_hdmi.only_cea=1 " \
39+ "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \ 38+ "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch
index 1bf7c27..d2e82a7 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0003-apalis-imx6-Ixora-v1.0-support.patch
@@ -1,7 +1,7 @@
1From 1f3926a8e90a7e582d28b845e812d0642a4dc5ce Mon Sep 17 00:00:00 2001 1From ccbaab75abc8d5f5cbadc6a0285dd496a45252cf Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 12 Oct 2017 11:02:54 +0300 3Date: Thu, 12 Oct 2017 11:02:54 +0300
4Subject: [PATCH 3/3] apalis-imx6: Ixora v1.0 support 4Subject: [PATCH] apalis-imx6: Ixora v1.0 support
5 5
6Add sddrive variable that can be changed to boot from different mmc card 6Add sddrive variable that can be changed to boot from different mmc card
7slot when using different versions of ixora carrier board. 7slot when using different versions of ixora carrier board.
@@ -11,10 +11,10 @@ Default to drive 1, which is correct for Ixora v1.1.
11 1 file changed, 5 insertions(+), 4 deletions(-) 11 1 file changed, 5 insertions(+), 4 deletions(-)
12 12
13diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h 13diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
14index 121eaa7..77a8874 100644 14index 3351a18e4c..7aabb1334b 100644
15--- a/include/configs/apalis_imx6.h 15--- a/include/configs/apalis_imx6.h
16+++ b/include/configs/apalis_imx6.h 16+++ b/include/configs/apalis_imx6.h
17@@ -227,15 +227,16 @@ 17@@ -226,15 +226,16 @@
18 "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0" 18 "&& setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
19 19
20 #define SD_BOOTCMD \ 20 #define SD_BOOTCMD \
@@ -29,7 +29,7 @@ index 121eaa7..77a8874 100644
29- "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \ 29- "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \
30+ "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \ 30+ "run sddtbload; load mmc ${sddrive}:1 ${kernel_addr_r} " \
31 "${boot_file} && run fdt_fixup && " \ 31 "${boot_file} && run fdt_fixup && " \
32 "bootm ${kernel_addr_r} ${dtbparam}\0" \ 32 "bootz ${kernel_addr_r} ${dtbparam}\0" \
33- "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \ 33- "sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} " \
34+ "sddtbload=setenv dtbparam; load mmc ${sddrive}:1 ${fdt_addr_r} " \ 34+ "sddtbload=setenv dtbparam; load mmc ${sddrive}:1 ${fdt_addr_r} " \
35 "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" 35 "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0"
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch
index c259f7f..acc5a16 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch
@@ -1,22 +1,22 @@
1From 0b31b8e73bfbc02e7687ea521e9e92f892e7052a Mon Sep 17 00:00:00 2001 1From 6c83b14450862c63ebd755fdf81afde43cddfe6c Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 18 Oct 2017 13:20:25 +0300 3Date: Wed, 18 Oct 2017 13:20:25 +0300
4Subject: [PATCH 4/4] apalis-imx6: lower default resolution on HDMI to 720p 4Subject: [PATCH] apalis-imx6: lower default resolution on HDMI to 720p
5 5
6--- 6---
7 include/configs/apalis_imx6.h | 2 +- 7 include/configs/apalis_imx6.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-) 8 1 file changed, 1 insertion(+), 1 deletion(-)
9 9
10diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h 10diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
11index 77a8874..0292e74 100644 11index 7aabb1334b..da34817a7a 100644
12--- a/include/configs/apalis_imx6.h 12--- a/include/configs/apalis_imx6.h
13+++ b/include/configs/apalis_imx6.h 13+++ b/include/configs/apalis_imx6.h
14@@ -295,7 +295,7 @@ 14@@ -294,7 +294,7 @@
15 "source ${loadaddr}\0" \ 15 "source ${loadaddr}\0" \
16 "splashpos=m,m\0" \ 16 "splashpos=m,m\0" \
17 "vidargs=mxc_hdmi.only_cea=1 " \ 17 "vidargs=mxc_hdmi.only_cea=1 " \
18- "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 " \ 18- "video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 " \
19+ "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \ 19+ "video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 " \
20 "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \ 20 "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \
21 "fbmem=32M\0 " 21 "fbmem=32M\0"
22 22
diff --git a/meta-fsl-extras/wic/imx8-uboot-bootpart.wks b/meta-fsl-extras/wic/imx8-uboot-bootpart.wks
new file mode 100644
index 0000000..33de776
--- /dev/null
+++ b/meta-fsl-extras/wic/imx8-uboot-bootpart.wks
@@ -0,0 +1,19 @@
1# short-description: Create SD card image with a boot partition
2# long-description:
3# Create an image that can be written onto a SD card using dd for use
4# with i.MX SoC family
5# It uses u-boot
6#
7# The disk layout used is:
8# - --------- -------------- --------------
9# | | u-boot | boot | rootfs |
10# - --------- -------------- --------------
11# ^ ^ ^ ^
12# | | | |
13# 0 33kiB 4MiB 32MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14#
15part u-boot --source rawcopy --sourceparams="file=imx-boot-sd.bin" --ondisk mmcblk --no-table --align 33
16part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 32
17part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
18
19bootloader --ptable msdos
diff --git a/meta-intel-extras/classes/image_dd_efi.bbclass b/meta-intel-extras/classes/image_dd_efi.bbclass
deleted file mode 100644
index 4454051..0000000
--- a/meta-intel-extras/classes/image_dd_efi.bbclass
+++ /dev/null
@@ -1,49 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Extends image_dd class to boot via GRUB-EFI and initramfs."
31LICENSE = "CLOSED"
32
33inherit image_dd
34
35EXTRA_IMAGECMD_ext3 += "-L rootfs"
36
37do_populate_boot() {
38 GRUB_IMAGE="grub-efi-bootia32.efi"
39 DEST_IMAGE="bootia32.efi"
40 if [ "${TARGET_ARCH}" = "x86_64" ]; then
41 GRUB_IMAGE="grub-efi-bootx64.efi"
42 DEST_IMAGE="bootx64.efi"
43 fi
44
45 mkdir -p ${WORKDIR}/EFI/BOOT/
46 # Path where EFI firmware searches for EFI executable
47 cp ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${WORKDIR}/EFI/BOOT/${DEST_IMAGE}
48 mcopy -s -i ${WORKDIR}/boot.img ${WORKDIR}/EFI ::/EFI
49}
diff --git a/meta-intel-extras/conf/layer.conf b/meta-intel-extras/conf/layer.conf
index 3306ada..ef83d53 100644
--- a/meta-intel-extras/conf/layer.conf
+++ b/meta-intel-extras/conf/layer.conf
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_intel" 38BBFILE_COLLECTIONS += "b2qt_intel"
39BBFILE_PATTERN_b2qt_intel := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_intel := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_intel = "20" 40BBFILE_PRIORITY_b2qt_intel = "20"
41
42LAYERSERIES_COMPAT_b2qt_intel = "sumo"
diff --git a/meta-intel-extras/recipes/grub/grub-efi/grub.cfg b/meta-intel-extras/recipes/grub/grub-efi/grub.cfg
deleted file mode 100644
index 287cf7c..0000000
--- a/meta-intel-extras/recipes/grub/grub-efi/grub.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
1# Created by meta-b2qt
2serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
3default=boot
4timeout=0
5
6menuentry 'boot' {
7 linux /boot/bzImage root=LABEL=rootfs
8 initrd /boot/initramfs
9}
10
diff --git a/meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend b/meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend
new file mode 100644
index 0000000..c1918ba
--- /dev/null
+++ b/meta-intel-extras/recipes/images/core-image-minimal-initramfs.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30INITRAMFS_SCRIPTS += "initramfs-module-rtsx-pci-sdmmc"
31PACKAGE_INSTALL += "kernel-module-rtsx-pci-sdmmc"
diff --git a/meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh b/meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh
deleted file mode 100644
index 09eadbf..0000000
--- a/meta-intel-extras/recipes/initramfs-basic/init-basic/init-device.sh
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3modprobe rtsx_pci_sdmmc
diff --git a/meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc b/meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc
new file mode 100644
index 0000000..dd14d6d
--- /dev/null
+++ b/meta-intel-extras/recipes/initrdscripts/initramfs-framework/rtsx_pci_sdmmc
@@ -0,0 +1,8 @@
1#!/bin/sh
2rtsx_pci_sdmmc_enabled() {
3 return 0
4}
5
6rtsx_pci_sdmmc_run() {
7 load_kernel_module rtsx_pci_sdmmc
8}
diff --git a/meta-nvidia-extras/recipes/connman-conf/connman-conf.bbappend b/meta-intel-extras/recipes/initrdscripts/initramfs-framework_1.0.bbappend
index 3cfe234..cfd05cd 100644
--- a/meta-nvidia-extras/recipes/connman-conf/connman-conf.bbappend
+++ b/meta-intel-extras/recipes/initrdscripts/initramfs-framework_1.0.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -29,12 +29,14 @@
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31 31
32FILES_${PN} += "etc/connman/main.conf" 32SRC_URI += "file://rtsx_pci_sdmmc"
33
34SRC_URI += "file://main.conf \
35 "
36 33
37do_install_append() { 34do_install_append() {
38 install -d ${D}${sysconfdir}/connman 35 install -m 0755 ${WORKDIR}/rtsx_pci_sdmmc ${D}/init.d/20-rtsx_pci_sdmmc
39 install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman/main.conf
40} 36}
37
38PACKAGES += "initramfs-module-rtsx-pci-sdmmc"
39
40SUMMARY_initramfs-module-rtsx-pci-sdmmc = "initramfs support for rtsx_pci_sdmmc"
41RDEPENDS_initramfs-module-rtsx-pci-sdmmc = "${PN}-base"
42FILES_initramfs-module-rtsx-pci-sdmmc = "/init.d/20-rtsx_pci_sdmmc"
diff --git a/meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch b/meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
new file mode 100644
index 0000000..a50d2a2
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/files/0001-Simplify-wayland-scanner-lookup.patch
@@ -0,0 +1,39 @@
1From 7e8e0f8a8ac2425e19a2f340c9e3da9345f25940 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Tue, 15 Nov 2016 15:20:49 +0200
4Subject: [PATCH 1/6] Simplify wayland-scanner lookup
5Organization: O.S. Systems Software LTDA.
6
7Don't use pkg-config to lookup the path of a binary that's in the path.
8
9Alternatively we'd have to prefix the path returned by pkg-config with
10PKG_CONFIG_SYSROOT_DIR.
11
12Upstream-Status: Pending
13Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
14Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
15---
16 configure.ac | 7 +------
17 1 file changed, 1 insertion(+), 6 deletions(-)
18
19diff --git a/configure.ac b/configure.ac
20index 14f1af2b2f..916d0bd207 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -1825,12 +1825,7 @@ for plat in $platforms; do
24 PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED])
25 WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
26
27- PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner],
28- WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`,
29- WAYLAND_SCANNER='')
30- if test "x$WAYLAND_SCANNER" = x; then
31- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
32- fi
33+ AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
34
35 if test "x$WAYLAND_SCANNER" = "x:"; then
36 AC_MSG_ERROR([wayland-scanner is needed to compile the wayland platform])
37--
382.18.0
39
diff --git a/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch b/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch
deleted file mode 100644
index e49695b..0000000
--- a/meta-intel-extras/recipes/mesa/files/0001-Use-wayland-scanner-in-the-path.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 2f68fcaaf4964e7feeb383f5c26851965cda037c Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Tue, 15 Nov 2016 15:20:49 +0200
4Subject: [PATCH] Simplify wayland-scanner lookup
5
6Don't use pkg-config to lookup the path of a binary that's in the path.
7
8Alternatively we'd have to prefix the path returned by pkg-config with
9PKG_CONFIG_SYSROOT_DIR.
10
11Upstream-Status: Pending
12Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
13---
14 configure.ac | 7 +------
15 1 file changed, 1 insertion(+), 6 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index e56e35a..a92005a 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -2020,12 +2020,7 @@ if test "x$with_egl_platforms" != "x" -a "x$enable_egl" != xyes; then
22 AC_MSG_ERROR([cannot build egl state tracker without EGL library])
23 fi
24
25-PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner],
26- WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`,
27- WAYLAND_SCANNER='')
28-if test "x$WAYLAND_SCANNER" = x; then
29- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
30-fi
31+AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
32
33 # Do per-EGL platform setups and checks
34 egl_platforms=`IFS=', '; echo $with_egl_platforms`
35--
362.1.4
37
diff --git a/meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch b/meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
new file mode 100644
index 0000000..ffb3bf7
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
@@ -0,0 +1,34 @@
1From 7792f228991744a0396b8bf811e281dca86165d3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 16 Aug 2017 18:58:20 -0700
4Subject: [PATCH 2/6] winsys/svga/drm: Include sys/types.h
5Organization: O.S. Systems Software LTDA.
6
7vmw_screen.h uses dev_t which is defines in sys/types.h
8this header is required to be included for getting dev_t
9definition. This issue happens on musl C library, it is hidden
10on glibc since sys/types.h is included through another
11system headers
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864]
15Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
16---
17 src/gallium/winsys/svga/drm/vmw_screen.h | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h
21index f21cabb51f..4c972fdaa9 100644
22--- a/src/gallium/winsys/svga/drm/vmw_screen.h
23+++ b/src/gallium/winsys/svga/drm/vmw_screen.h
24@@ -41,6 +41,7 @@
25 #include "svga_winsys.h"
26 #include "pipebuffer/pb_buffer_fenced.h"
27 #include <os/os_thread.h>
28+#include <sys/types.h>
29
30 #define VMW_GMR_POOL_SIZE (16*1024*1024)
31 #define VMW_QUERY_POOL_SIZE (8192)
32--
332.18.0
34
diff --git a/meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch b/meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch
new file mode 100644
index 0000000..5e735ca
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch
@@ -0,0 +1,44 @@
1From 8b42fb47138f91d9378439ab716bac7701e4e326 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Tue, 5 Jun 2018 11:11:10 -0300
4Subject: [PATCH 3/6] Properly get LLVM version when using LLVM Git releases
5Organization: O.S. Systems Software LTDA.
6
7$ llvm-config-host --version
85.0.0git-9a5c333388c
9
10We need to ignore everything after 5.0.0 which is what the cut cmd is
11doing
12
13Upstream-Status: Pending
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
16---
17 configure.ac | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/configure.ac b/configure.ac
21index 916d0bd207..dd172f1ebe 100644
22--- a/configure.ac
23+++ b/configure.ac
24@@ -1090,7 +1090,7 @@ strip_unwanted_llvm_flags() {
25
26 llvm_set_environment_variables() {
27 if test "x$LLVM_CONFIG" != xno; then
28- LLVM_VERSION=`$LLVM_CONFIG --version | egrep -o '^[[0-9.]]+'`
29+ LLVM_VERSION=`$LLVM_CONFIG --version | cut -c1-5`
30 LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"`
31 LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir`
32 LLVM_LIBDIR=`$LLVM_CONFIG --libdir`
33@@ -2808,7 +2808,7 @@ detect_old_buggy_llvm() {
34 dnl ourselves.
35 dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823)
36 dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
37- LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version`
38+ LLVM_SO_NAME=LLVM-`$LLVM_CONFIG --version | cut -c1-5`
39 AS_IF([test -f "$LLVM_LIBDIR/lib$LLVM_SO_NAME.$IMP_LIB_EXT"], [llvm_have_one_so=yes])
40
41 if test "x$llvm_have_one_so" = xyes; then
42--
432.18.0
44
diff --git a/meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch b/meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch
new file mode 100644
index 0000000..8953c4a
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch
@@ -0,0 +1,32 @@
1From ebe6077a1d74e56b28249f71e8760295fa846ed2 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Fri, 29 Dec 2017 10:27:59 -0200
4Subject: [PATCH 4/6] Use Python 3 to execute the scripts
5Organization: O.S. Systems Software LTDA.
6
7The MESA build system uses Python 2 but as OE-Core has moved away from
8it, we change it to use Python 3 instead.
9
10Upstream-Status: Inappropriate [ configuration ]
11
12Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13---
14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/configure.ac b/configure.ac
18index dd172f1ebe..40cac36ac2 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -122,7 +122,7 @@ AM_PROG_CC_C_O
22 AC_PROG_NM
23 AM_PROG_AS
24 AX_CHECK_GNU_MAKE
25-AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
26+AC_CHECK_PROGS([PYTHON2], [python3.5 python3 python])
27 AC_PROG_SED
28 AC_PROG_MKDIR_P
29
30--
312.18.0
32
diff --git a/meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch b/meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch
new file mode 100644
index 0000000..d40e7b5
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch
@@ -0,0 +1,36 @@
1From 9e0368af471af3a36e0eb526453f892598120065 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Wed, 6 Jun 2018 09:50:35 -0300
4Subject: [PATCH 5/6] dri: i965: Add missing time.h include
5Organization: O.S. Systems Software LTDA.
6
7This fixes a build error when using musl:
8
9,----
10| In file included from .../src/mesa/drivers/dri/i965/intel_upload.c:33:0:
11| .../src/mesa/drivers/dri/i965/brw_bufmgr.h:132:4: error: unknown type name 'time_t'
12| time_t free_time;
13| ^~~~~~
14`----
15
16Upstream-Status: Backport [3c288da5eec81ee58b85927df18d9194ead8f5c2]
17Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
18---
19 src/mesa/drivers/dri/i965/brw_bufmgr.h | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
23index 68f5e0c2c8..5b60a23763 100644
24--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
25+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
26@@ -37,6 +37,7 @@
27 #include <stdbool.h>
28 #include <stdint.h>
29 #include <stdio.h>
30+#include <time.h>
31 #include "util/u_atomic.h"
32 #include "util/list.h"
33
34--
352.18.0
36
diff --git a/meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch b/meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch
new file mode 100644
index 0000000..0212922
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch
@@ -0,0 +1,37 @@
1From 754ccf89a732fc3da6e9bc62ebd6b28686ff3d26 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Wed, 29 Aug 2018 22:10:30 -0300
4Subject: [PATCH 6/6] use PKG_CHECK_VAR for defining WAYLAND_PROTOCOLS_DATADIR
5Organization: O.S. Systems Software LTDA.
6
7This allows to override the wayland-protocols pkgdatadir with the
8WAYLAND_PROTOCOLS_DATADIR from environment.
9
10pkgconfig would return an absolute path in
11/usr/share/wayland-protocols
12for the pkgdatadir value, which is not suitable for cross-compiling.
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15Upstream-Status: Pending
16
17Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
18---
19 configure.ac | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/configure.ac b/configure.ac
23index 40cac36ac2..728bbdcbc4 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -1823,7 +1823,7 @@ for plat in $platforms; do
27 PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= $WAYLAND_REQUIRED])
28 PKG_CHECK_MODULES([WAYLAND_SERVER], [wayland-server >= $WAYLAND_REQUIRED])
29 PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED])
30- WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
31+ PKG_CHECK_VAR([WAYLAND_PROTOCOLS_DATADIR], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED], pkgdatadir)
32
33 AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:])
34
35--
362.18.0
37
diff --git a/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch b/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch
deleted file mode 100644
index d2d6755..0000000
--- a/meta-intel-extras/recipes/mesa/files/disable-asm-on-non-gcc.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1Configure checks for compiler to be gcc and then it enables asm_offsets
2generation. see
3
4https://cgit.freedesktop.org/mesa/mesa/commit/?id=73c9b4b0e05fc66629ba250846948dc55c0e7a0d
5
6However, we missed the check when enabling this on cross compilation
7when architecture for both host and target is x86
8
9Fixes errors like
10./gen_matypes > matypes.h
11/bin/bash: ./gen_matypes: No such file or directory
12
13-Khem
14
15Upstream-Status: Submitted
16
17Index: mesa-12.0.1/configure.ac
18===================================================================
19--- mesa-12.0.1.orig/configure.ac
20+++ mesa-12.0.1/configure.ac
21@@ -732,7 +732,7 @@ test "x$enable_asm" = xno && AC_MSG_RESU
22 if test "x$enable_asm" = xyes -a "x$cross_compiling" = xyes; then
23 case "$host_cpu" in
24 i?86 | x86_64 | amd64)
25- if test "x$host_cpu" != "x$target_cpu"; then
26+ if test "x$host_cpu" != "x$target_cpu" -o "x$acv_mesa_CLANG" = xyes; then
27 enable_asm=no
28 AC_MSG_RESULT([no, cross compiling])
29 fi
diff --git a/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch b/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch
deleted file mode 100644
index 0280ee8..0000000
--- a/meta-intel-extras/recipes/mesa/files/replace_glibc_check_with_linux.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1endianness check is OS wide and not specific to libc
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5
6Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
7---
8 src/util/u_endian.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/util/u_endian.h b/src/util/u_endian.h
12index b9d563d..2d5eab9 100644
13--- a/src/util/u_endian.h
14+++ b/src/util/u_endian.h
15@@ -27,7 +27,7 @@
16 #ifndef U_ENDIAN_H
17 #define U_ENDIAN_H
18
19-#if defined(__GLIBC__) || defined(ANDROID)
20+#if defined(__linux__)
21 #include <endian.h>
22
23 #if __BYTE_ORDER == __LITTLE_ENDIAN
24--
252.1.4
26
diff --git a/meta-intel-extras/recipes/mesa/mesa.inc b/meta-intel-extras/recipes/mesa/mesa.inc
new file mode 100644
index 0000000..0219ded
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/mesa.inc
@@ -0,0 +1,233 @@
1SUMMARY = "A free implementation of the OpenGL API"
2DESCRIPTION = "Mesa is an open-source implementation of the OpenGL specification - \
3a system for rendering interactive 3D graphics. \
4A variety of device drivers allows Mesa to be used in many different environments \
5ranging from software emulation to complete hardware acceleration for modern GPUs. \
6Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \
7environment."
8
9HOMEPAGE = "http://mesa3d.org"
10BUGTRACKER = "https://bugs.freedesktop.org"
11SECTION = "x11"
12LICENSE = "MIT"
13LIC_FILES_CHKSUM = "file://docs/license.html;md5=725f991a1cc322aa7a0cd3a2016621c4"
14
15PE = "2"
16
17DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native"
18EXTRANATIVEPATH += "chrpath-native"
19PROVIDES = " \
20 ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
21 ${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2', '', d)} \
22 ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
23 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \
24 virtual/mesa \
25 "
26
27inherit autotools pkgconfig python3native gettext distro_features_check
28
29ANY_OF_DISTRO_FEATURES = "opengl vulkan"
30
31PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \
32 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', d)} \
33 surfaceless"
34
35export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}"
36export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
37export YOCTO_ALTERNATE_MULTILIB_NAME = "${base_libdir}"
38EXTRA_OECONF = "--enable-shared-glapi \
39 --disable-opencl \
40 --enable-glx-read-only-text \
41 PYTHON2=python2 \
42 --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \
43 --with-platforms='${PLATFORMS}'"
44
45PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \
46 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm dri', '', d)} \
47 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
49 "
50
51# "gbm" requires "dri", "opengl"
52PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
53
54X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
55# "x11" requires "opengl"
56PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
57PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc"
58PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols"
59
60DRIDRIVERS = "swrast"
61DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"
62DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915"
63# "dri" requires "opengl"
64PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm"
65PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, dri3proto presentproto libxshmfence"
66
67# Vulkan drivers need dri3 enabled
68# radeon could be enabled as well but requires gallium-llvm with llvm >= 3.9
69VULKAN_DRIVERS = ""
70VULKAN_DRIVERS_append_x86 = ",intel"
71VULKAN_DRIVERS_append_x86-64 = ",intel"
72PACKAGECONFIG[vulkan] = "--with-vulkan-drivers=${VULKAN_DRIVERS}, --without-vulkan-drivers, python3-mako-native"
73
74PACKAGECONFIG[opengl] = "--enable-opengl, --disable-opengl"
75
76# "gles" requires "opengl"
77PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"
78
79# "egl" requires "dri", "opengl"
80PACKAGECONFIG[egl] = "--enable-egl, --disable-egl"
81
82PACKAGECONFIG[etnaviv] = ""
83PACKAGECONFIG[imx] = ""
84
85GALLIUMDRIVERS = "swrast"
86GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
87GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
88GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 'radeonsi,r600', '', d)}"
89PACKAGECONFIG[r600] = ""
90GALLIUMDRIVERS_LLVM33_ENABLED = "${@oe.utils.version_less_or_equal('MESA_LLVM_RELEASE', '3.2', False, len('${GALLIUMDRIVERS_LLVM33}') > 0, d)}"
91GALLIUMDRIVERS_LLVM = "r300,svga,nouveau${@',${GALLIUMDRIVERS_LLVM33}' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
92GALLIUMDRIVERS_append_x86 = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}"
93GALLIUMDRIVERS_append_x86-64 = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}"
94GALLIUMDRIVERS_append_qemux86 = ",virgl"
95GALLIUMDRIVERS_append_qemux86-64 = ",virgl"
96# keep --with-gallium-drivers separate, because when only one of gallium versions is enabled, other 2 were adding --without-gallium-drivers
97PACKAGECONFIG[gallium] = "--enable-texture-float --with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers"
98MESA_LLVM_RELEASE ?= "6.0"
99PACKAGECONFIG[gallium-llvm] = "--enable-llvm --enable-llvm-shared-libs, --disable-llvm, llvm${MESA_LLVM_RELEASE} llvm-native \
100 ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
101export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
102PACKAGECONFIG[xa] = "--enable-xa, --disable-xa"
103
104OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium-osmesa', 'osmesa', d)}"
105PACKAGECONFIG[osmesa] = "--enable-${OSMESA},--disable-${OSMESA}"
106
107PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
108
109EXTRA_OECONF_remove_libc-musl = "--enable-glx-tls"
110EXTRA_OECONF_append_libc-musl = " --disable-glx-tls"
111EXTRA_OECONF_append_libc-musl_x86 = " --disable-asm"
112
113# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
114FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
115
116CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS"
117EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols"
118
119# Remove the mesa dependency on mesa-dev, as mesa is empty
120RDEPENDS_${PN}-dev = ""
121
122# Add dependency so that GLES3 header don't need to be added manually
123RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev"
124
125PACKAGES =+ "libegl-mesa libegl-mesa-dev \
126 libosmesa libosmesa-dev \
127 libgl-mesa libgl-mesa-dev \
128 libglapi libglapi-dev \
129 libgbm libgbm-dev \
130 libgles1-mesa libgles1-mesa-dev \
131 libgles2-mesa libgles2-mesa-dev \
132 libgles3-mesa libgles3-mesa-dev \
133 libwayland-egl libwayland-egl-dev \
134 libxatracker libxatracker-dev \
135 mesa-megadriver mesa-vulkan-drivers \
136 "
137
138do_install_append () {
139 # Drivers never need libtool .la files
140 rm -f ${D}${libdir}/dri/*.la
141 rm -f ${D}${libdir}/egl/*.la
142 rm -f ${D}${libdir}/gallium-pipe/*.la
143 rm -f ${D}${libdir}/gbm/*.la
144
145 # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used
146 rm -f ${D}${sysconfdir}/drirc
147 chrpath --delete ${D}${libdir}/dri/*_dri.so || true
148}
149
150# For the packages that make up the OpenGL interfaces, inject variables so that
151# they don't get Debian-renamed (which would remove the -mesa suffix), and
152# RPROVIDEs/RCONFLICTs on the generic libgl name.
153python __anonymous() {
154 pkgconfig = (d.getVar('PACKAGECONFIG') or "").split()
155 for p in (("egl", "libegl", "libegl1"),
156 ("dri", "libgl", "libgl1"),
157 ("gles", "libgles1", "libglesv1-cm1"),
158 ("gles", "libgles2", "libglesv2-2"),
159 ("gles", "libgles3",)):
160 if not p[0] in pkgconfig:
161 continue
162 fullp = p[1] + "-mesa"
163 pkgs = " ".join(p[1:])
164 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
165 d.appendVar("RREPLACES_" + fullp, pkgs)
166 d.appendVar("RPROVIDES_" + fullp, pkgs)
167 d.appendVar("RCONFLICTS_" + fullp, pkgs)
168
169 d.appendVar("RRECOMMENDS_" + fullp, " mesa-megadriver")
170
171 # For -dev, the first element is both the Debian and original name
172 fullp += "-dev"
173 pkgs = p[1] + "-dev"
174 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
175 d.appendVar("RREPLACES_" + fullp, pkgs)
176 d.appendVar("RPROVIDES_" + fullp, pkgs)
177 d.appendVar("RCONFLICTS_" + fullp, pkgs)
178}
179
180python mesa_populate_packages() {
181 pkgs = ['mesa', 'mesa-dev', 'mesa-dbg']
182 for pkg in pkgs:
183 d.setVar("RPROVIDES_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
184 d.setVar("RCONFLICTS_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
185 d.setVar("RREPLACES_%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
186
187 import re
188 dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri")
189 if os.path.isdir(dri_drivers_root):
190 dri_pkgs = os.listdir(dri_drivers_root)
191 lib_name = d.expand("${MLPREFIX}mesa-megadriver")
192 for p in dri_pkgs:
193 m = re.match('^(.*)_dri\.so$', p)
194 if m:
195 pkg_name = " ${MLPREFIX}mesa-driver-%s" % legitimize_package_name(m.group(1))
196 d.appendVar("RPROVIDES_%s" % lib_name, pkg_name)
197 d.appendVar("RCONFLICTS_%s" % lib_name, pkg_name)
198 d.appendVar("RREPLACES_%s" % lib_name, pkg_name)
199
200 pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe")
201 do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
202}
203
204PACKAGESPLITFUNCS_prepend = "mesa_populate_packages "
205
206PACKAGES_DYNAMIC += "^mesa-driver-.*"
207
208FILES_${PN} += "${sysconfdir}/drirc"
209FILES_mesa-megadriver = "${libdir}/dri/*"
210FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan"
211FILES_libegl-mesa = "${libdir}/libEGL.so.*"
212FILES_libgbm = "${libdir}/libgbm.so.*"
213FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*"
214FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
215FILES_libgl-mesa = "${libdir}/libGL.so.*"
216FILES_libglapi = "${libdir}/libglapi.so.*"
217FILES_libosmesa = "${libdir}/libOSMesa.so.*"
218FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
219FILES_libxatracker = "${libdir}/libxatracker.so.*"
220
221FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan"
222FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
223FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
224FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
225FILES_libglapi-dev = "${libdir}/libglapi.*"
226FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc"
227FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc"
228FILES_libgles3-mesa-dev = "${includedir}/GLES3"
229FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
230FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
231FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
232 ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
233 ${libdir}/pkgconfig/xatracker.pc"
diff --git a/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb b/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb
deleted file mode 100644
index b95f301..0000000
--- a/meta-intel-extras/recipes/mesa/mesa_17.0.2.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1require recipes-graphics/mesa/${BPN}.inc
2
3SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \
4 file://replace_glibc_check_with_linux.patch \
5 file://disable-asm-on-non-gcc.patch \
6 file://0001-Use-wayland-scanner-in-the-path.patch \
7"
8
9SRC_URI[md5sum] = "8f808e92b893d412fbd6510e1d16f5c5"
10SRC_URI[sha256sum] = "f8f191f909e01e65de38d5bdea5fb057f21649a3aed20948be02348e77a689d4"
11
12#because we cannot rely on the fact that all apps will use pkgconfig,
13#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
14do_install_append() {
15 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
16 sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
17 fi
18}
diff --git a/meta-intel-extras/recipes/mesa/mesa_18.1.9.bb b/meta-intel-extras/recipes/mesa/mesa_18.1.9.bb
new file mode 100644
index 0000000..86d6a6b
--- /dev/null
+++ b/meta-intel-extras/recipes/mesa/mesa_18.1.9.bb
@@ -0,0 +1,21 @@
1require ${BPN}.inc
2
3SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
4 file://0001-Simplify-wayland-scanner-lookup.patch \
5 file://0002-winsys-svga-drm-Include-sys-types.h.patch \
6 file://0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \
7 file://0004-Use-Python-3-to-execute-the-scripts.patch \
8 file://0005-dri-i965-Add-missing-time.h-include.patch \
9 file://0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch \
10"
11
12SRC_URI[md5sum] = "2f8d2098ab478bc3907e42130577b54a"
13SRC_URI[sha256sum] = "55f5778d58a710a63d6635f000535768faf7db9e8144dc0f4fd1989f936c1a83"
14
15#because we cannot rely on the fact that all apps will use pkgconfig,
16#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
17do_install_append() {
18 if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
19 sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
20 fi
21}
diff --git a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend b/meta-intel-extras/recipes/microcode-initramfs/microcode-initramfs.bb
index f3a95f2..8682c27 100644
--- a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
+++ b/meta-intel-extras/recipes/microcode-initramfs/microcode-initramfs.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,33 +27,26 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30SUMMARY = "Initramfs with early load intel microcode"
31SRC_URI += "file://grub.cfg" 31LICENSE = "The-Qt-Company-Commercial"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=948f8877345cd66106f11031977a4625"
32 33
33do_install[depends] += " \ 34inherit deploy nopackages
34 virtual/kernel:do_deploy \ 35
36do_compile[depends] += " \
35 ${INITRAMFS_IMAGE}:do_image_complete \ 37 ${INITRAMFS_IMAGE}:do_image_complete \
36 ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \ 38 ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \
37" 39 "
38
39do_deploy_prepend() {
40 40
41cat > ${WORKDIR}/cfg <<EOF 41do_compile() {
42search.file /boot/grub2/grub.cfg root 42 # https://www.kernel.org/doc/Documentation/x86/microcode.txt
43set prefix=/boot/grub2 43 microcode="${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}"
44EOF 44 cat ${microcode} ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz > ${S}/microcode-initramfs
45} 45}
46 46
47do_install_append() { 47do_deploy() {
48 48 install -d ${DEPLOYDIR}
49 install -d ${D}/boot/grub2/ 49 install -m 0644 ${S}/microcode-initramfs ${DEPLOYDIR}/
50 install -m 644 ${WORKDIR}/grub.cfg ${D}/boot/grub2/
51
52 # https://www.kernel.org/doc/Documentation/x86/early-microcode.txt
53 microcode="${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}"
54 cat ${microcode} ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz > ${D}/boot/initramfs
55 chmod 0644 ${D}/boot/initramfs
56} 50}
57 51
58PACKAGES += "${PN}-config" 52addtask deploy before do_build after do_compile
59FILES_${PN}-config = "/boot/grub2/ /boot/initramfs"
diff --git a/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks b/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks
new file mode 100644
index 0000000..4907631
--- /dev/null
+++ b/meta-intel-extras/wic/systemd-bootdisk-microcode-initramfs.wks
@@ -0,0 +1,13 @@
1# short-description: Create an EFI disk image with systemd-boot
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# It also includes intel-microcode as an initrd for early update support.
5# Based on OE-core's systemd-bootdisk.wks file.
6
7part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode-initramfs" --ondisk sda --label msdos --active --align 1024 --use-uuid
8
9part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
10
11part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
12
13bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0"
diff --git a/meta-nvidia-extras/conf/layer.conf b/meta-nvidia-extras/conf/layer.conf
index f1717ac..fb31624 100644
--- a/meta-nvidia-extras/conf/layer.conf
+++ b/meta-nvidia-extras/conf/layer.conf
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_nvidia" 38BBFILE_COLLECTIONS += "b2qt_nvidia"
39BBFILE_PATTERN_b2qt_nvidia := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_nvidia := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_nvidia = "20" 40BBFILE_PRIORITY_b2qt_nvidia = "20"
41
42LAYERSERIES_COMPAT_b2qt_nvidia = "sumo"
diff --git a/meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf b/meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf
deleted file mode 100644
index a1e45b9..0000000
--- a/meta-nvidia-extras/recipes/connman-conf/connman-conf/main.conf
+++ /dev/null
@@ -1,4 +0,0 @@
1[General]
2PreferredTechnologies=ethernet,wifi,cellular
3NetworkInterfaceBlacklist=eth0
4
diff --git a/meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend b/meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend
deleted file mode 100644
index 4314a20..0000000
--- a/meta-nvidia-extras/recipes/egl-gles-nv/egl-gles-nv_1.0.bbappend
+++ /dev/null
@@ -1,33 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PROVIDES = "virtual/egl virtual/libgles2"
31RPROVIDES_${PN} = "libegl libegl-dev libgles2 libgles2-dev"
32RCONFLICTS_${PN} = "libegl-mesa libegl-mesa-dev libgles2-mesa libgles2-mesa-dev"
33RREPLACES_${PN} = "libegl-mesa lbegl-mesa-dev libgles2-mesa libgles2-mesa-dev"
diff --git a/meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend b/meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend
deleted file mode 100644
index d3e2337..0000000
--- a/meta-nvidia-extras/recipes/firmware/tegra-firmware_1.0.bbappend
+++ /dev/null
@@ -1,35 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
31FILESEXTRAPATHS_tegra-x1_prepend = "__default:"
32FILESEXTRAPATHS_tegra-t18x_prepend = "__default:"
33
34# ERROR: QA Issue: Files/directories were installed but not shipped in any package
35FILES_${PN}-gk20a = "${FILES__${PN}-gk20a}"
diff --git a/meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend b/meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend
deleted file mode 100644
index df91dfe..0000000
--- a/meta-nvidia-extras/recipes/graphics-headers/graphics-headers_1.0.bbappend
+++ /dev/null
@@ -1,30 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30ALLOW_EMPTY_${PN} = "1"
diff --git a/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/meta-nvidia-extras/recipes/libdrm-nv/libdrm-nv_%.bbappend
index 33bcc34..46e3bbb 100644
--- a/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
+++ b/meta-nvidia-extras/recipes/libdrm-nv/libdrm-nv_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30LICENSE_CREATE_PACKAGE = "0" 30RDEPENDS_${PN} += "tegra-drivers"
diff --git a/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend b/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend
index c7730c6..9fa1a9c 100644
--- a/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend
+++ b/meta-nvidia-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend
@@ -16,11 +16,11 @@
16KERN_DIR := "${LNX_TOPDIR}_src/kernel" 16KERN_DIR := "${LNX_TOPDIR}_src/kernel"
17# Kernel source is the kernel tarball in PDK 17# Kernel source is the kernel tarball in PDK
18SRC_URI = "file://${KERN_DIR}/linux.tar.bz2" 18SRC_URI = "file://${KERN_DIR}/linux.tar.bz2"
19PV = "4.4" 19PV = "4.9"
20 20
21# Extracting linux.tar.bz2 creates directories 21# Extracting linux.tar.bz2 creates directories
22# <top>/vibrante-oss-src/kernel 22# <top>/drive-oss-src/kernel
23S = "${WORKDIR}/vibrante-oss-src/kernel" 23S = "${WORKDIR}/drive-oss-src/kernel"
24 24
25# Need to pass this to for oe_runmake explicitly for building outside kerneldir 25# Need to pass this to for oe_runmake explicitly for building outside kerneldir
26EXTRA_OEMAKE += " -C ${S} O=${B}" 26EXTRA_OEMAKE += " -C ${S} O=${B}"
diff --git a/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend b/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend
index 835dfe8..a2103ba 100644
--- a/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend
+++ b/meta-nvidia-extras/recipes/linux/linux-nvidia.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -28,14 +28,11 @@
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += "file://0001-Fix-misleading-indentation-error.patch;patchdir=.." 31SRC_URI += "file://0001-Disable-more-warnings.patch"
32 32
33CROSS_COMPILE_PREFIX = "${CROSS_COMPILE}" 33CROSS_COMPILE_PREFIX = "${CROSS_COMPILE}"
34 34
35PACKAGES += "kernel-devicetree" 35RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-image ${KERNEL_PACKAGE_NAME}-devicetree"
36FILES_kernel-devicetree = "/boot/*.dtb"
37
38RDEPENDS_kernel-base = "kernel-image kernel-devicetree"
39 36
40python do_patch () { 37python do_patch () {
41 bb.build.exec_func('patch_do_patch', d) 38 bb.build.exec_func('patch_do_patch', d)
diff --git a/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch b/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch
new file mode 100644
index 0000000..d881d57
--- /dev/null
+++ b/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Disable-more-warnings.patch
@@ -0,0 +1,27 @@
1From d863ce14300576c53492713140eb0dfacba1d8ab Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 28 Sep 2018 13:30:56 +0300
4Subject: [PATCH] Disable more warnings
5
6Current compiler options are more strict than the old kernel is
7prepared. Disable those warnings.
8---
9 Makefile | 5 +++++
10 1 file changed, 5 insertions(+)
11
12diff --git a/Makefile b/Makefile
13index 43a6127..d3e40f3 100644
14--- a/Makefile
15+++ b/Makefile
16@@ -627,6 +627,11 @@ ARCH_AFLAGS :=
17 ARCH_CFLAGS :=
18 include arch/$(SRCARCH)/Makefile
19
20+KBUILD_CFLAGS += $(call cc-disable-warning,format-overflow,)
21+KBUILD_CFLAGS += $(call cc-disable-warning,format-truncation,)
22+KBUILD_CFLAGS += $(call cc-disable-warning,int-in-bool-context,)
23+KBUILD_CFLAGS += $(call cc-disable-warning,misleading-indentation,)
24+KBUILD_CFLAGS += $(call cc-disable-warning,tautological-compare,)
25 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
26 KBUILD_CFLAGS += $(call cc-disable-warning,frame-address,)
27
diff --git a/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch b/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch
deleted file mode 100644
index a344adc..0000000
--- a/meta-nvidia-extras/recipes/linux/linux-nvidia/0001-Fix-misleading-indentation-error.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 33d112e943590020f2cda2a403a755531833b016 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 31 Mar 2017 09:42:18 +0300
4Subject: [PATCH] Fix misleading-indentation error
5
6error: this 'if' clause does not guard... [-Werror=misleading-indentation]
7 if (!runlist->active_channels)
8---
9 nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 16 ++++++++--------
10 1 file changed, 8 insertions(+), 8 deletions(-)
11
12diff --git a/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
13index 3e57c67..e2fe4db 100644
14--- a/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
15+++ b/nvgpu/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
16@@ -209,15 +209,15 @@ static int init_runlist(struct gk20a *g, struct fifo_gk20a *f)
17 if (!runlist->active_channels)
18 goto clean_up_runlist;
19
20- runlist_size = sizeof(u16) * f->num_channels;
21- for (i = 0; i < MAX_RUNLIST_BUFFERS; i++) {
22- int err = gk20a_gmmu_alloc_sys(g, runlist_size,
23- &runlist->mem[i]);
24- if (err) {
25- dev_err(d, "memory allocation failed\n");
26- goto clean_up_runlist;
27- }
28+ runlist_size = sizeof(u16) * f->num_channels;
29+ for (i = 0; i < MAX_RUNLIST_BUFFERS; i++) {
30+ int err = gk20a_gmmu_alloc_sys(g, runlist_size,
31+ &runlist->mem[i]);
32+ if (err) {
33+ dev_err(d, "memory allocation failed\n");
34+ goto clean_up_runlist;
35 }
36+ }
37 mutex_init(&runlist->mutex);
38
39 /* None of buffers is pinned if this value doesn't change.
40--
412.7.4
42
diff --git a/meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend b/meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend
deleted file mode 100644
index 94178db..0000000
--- a/meta-nvidia-extras/recipes/qt5/qtwebengine_git.bbappend
+++ /dev/null
@@ -1,31 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30CXXFLAGS +=" -DWIN_INTERFACE_CUSTOM"
31COMPATIBLE_MACHINE_aarch64 = "(.*)"
diff --git a/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
index 7c2f7b5..c9081a5 100644
--- a/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
+++ b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -28,3 +28,4 @@
28############################################################################ 28############################################################################
29 29
30LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 30LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
31RDEPENDS_${PN} += "bash"
diff --git a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc b/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc
deleted file mode 100644
index da1f5f7..0000000
--- a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers/egl.pc
+++ /dev/null
@@ -1,12 +0,0 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=/usr/lib
4includedir=/usr/include
5
6Name: egl
7Description: Mesa EGL library
8Requires.private: libdrm >= 2.4.24
9Version: 9.1.6
10Libs: -L${libdir} -lEGL
11Libs.private: -lm -lpthread -ldl
12Cflags: -I${includedir}
diff --git a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend b/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend
index 2cc22df..7e23d32 100644
--- a/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend
+++ b/meta-nvidia-extras/recipes/tegra-drivers/tegra-drivers_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,11 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31
32SRC_URI += " file://egl.pc"
33FILES_${PN} += "egl.pc"
34
35GRAPHICS_PACKAGES = " \ 30GRAPHICS_PACKAGES = " \
36 virtual/libgles2 \ 31 virtual/libgles2 \
37 virtual/libegl \ 32 virtual/libegl \
@@ -42,8 +37,5 @@ GRAPHICS_PACKAGES = " \
42 libgbm \ 37 libgbm \
43 libgbm-dev \ 38 libgbm-dev \
44 " 39 "
45 40RDEPENDS_${PN}-nvidia-egl-wayland += "wayland"
46do_install_append_tegra-t18x() { 41INSANE_SKIP_${PN}-gst += "file-rdeps"
47 install -d ${D}/usr/lib/pkgconfig
48 install -m 0775 ${WORKDIR}/egl.pc ${D}/${libdir}/pkgconfig
49}
diff --git a/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend b/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend
index f05607c..209cc19 100644
--- a/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend
+++ b/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,8 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_append := ":${LNX_TOPDIR}_src/wayland"
31
32SRC_URI = "file://wayland-1.11.0-src.tar.gz"
33
34DEPENDS_append_class-target = " wayland-egl" 30DEPENDS_append_class-target = " wayland-egl"
diff --git a/meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch b/meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch
new file mode 100644
index 0000000..b7230cb
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/NVIDIA-weston-configure.patch
@@ -0,0 +1,30 @@
1diff --git a/configure.ac b/configure.ac
2index 691878f..0564bb2 100644
3--- a/configure.ac
4+++ b/configure.ac
5@@ -174,10 +174,10 @@ AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],,
6 AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes)
7 if test x$enable_drm_compositor = xyes; then
8 AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor])
9- PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0])
10- PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2],
11- [AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])],
12- [AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])])
13+ PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm mtdev >= 1.1.0])
14+ #PKG_CHECK_MODULES(DRM_COMPOSITOR_GBM, [gbm >= 10.2],
15+ #[AC_DEFINE([HAVE_GBM_FD_IMPORT], 1, [gbm supports dmabuf import])],
16+ #[AC_MSG_WARN([gbm does not support dmabuf import, will omit that capability])])
17 fi
18
19 AC_ARG_ENABLE(eglstream-compositor, [ --enable-eglstream-compositor],,
20@@ -190,8 +190,8 @@ fi
21 PKG_CHECK_MODULES(LIBINPUT_BACKEND, [libinput >= 0.8.0])
22 PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES])
23
24-PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.2],
25- [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
26+#PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.2],
27+# [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
28 AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
29
30 AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],,
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch b/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
deleted file mode 100644
index 5f4d79c..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 1cfc1434a5d385a74de593ec7601674dba39e2fe Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 11 May 2016 16:16:30 +0300
4Subject: [PATCH] configure.ac: Fix wayland-protocols path
5
6The wayland-protocols directory is used during build: Fix the path
7to point to sysroot specified in recipe.
8
9Normally PKG_CONFIG_SYSROOT_DIR could be used in configure.ac but that
10breaks multilib weston as it would point to multilib sysroot when the
11(allarch) wayland-protocols is actually in the machine sysroot.
12
13Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
14Upstream-Status: Inappropriate [embedded specific]
15---
16 configure.ac | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19--- a/configure.ac
20+++ b/configure.ac
21@@ -187,7 +187,7 @@ PKG_CHECK_MODULES(LIBINPUT_BACKEND, [lib
22 PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES])
23
24 PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.7],
25- [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
26+ [ac_wayland_protocols_pkgdatadir=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
27 AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
28
29 AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],,
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch b/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch
deleted file mode 100644
index 148848d..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch
+++ /dev/null
@@ -1,80 +0,0 @@
1From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 May 2015 20:56:00 -0700
4Subject: [PATCH weston] make error() portable
5
6error() is not posix but gnu extension so may not be available on all
7kind of systemsi e.g. musl.
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Submitted
12
13 configure.ac | 2 ++
14 src/weston-error.h | 20 ++++++++++++++++++++
15 src/weston-launch.c | 2 +-
16 3 files changed, 23 insertions(+), 1 deletion(-)
17 create mode 100644 src/weston-error.h
18
19diff --git a/configure.ac b/configure.ac
20index 263fc22..f52cd62 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -57,6 +57,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
24 [[#include <time.h>]])
25 AC_CHECK_HEADERS([execinfo.h])
26
27+AC_CHECK_HEADERS([error.h])
28+
29 AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
30
31 COMPOSITOR_MODULES="wayland-server >= 1.7.93 pixman-1 >= 0.25.2"
32diff --git a/src/weston-error.h b/src/weston-error.h
33new file mode 100644
34index 0000000..2089d02
35--- /dev/null
36+++ b/src/weston-error.h
37@@ -0,0 +1,20 @@
38+#ifndef _WESTON_ERROR_H
39+#define _WESTON_ERROR_H
40+
41+#if defined(HAVE_ERROR_H)
42+#include <error.h>
43+#else
44+#include <err.h>
45+#include <string.h>
46+#define _weston_error(S, E, F, ...) do { \
47+ if (E) \
48+ err(S, F ": %s", ##__VA_ARGS__, strerror(E)); \
49+ else \
50+ err(S, F, ##__VA_ARGS__); \
51+} while(0)
52+
53+#define error _weston_error
54+#endif
55+
56+#endif
57+
58diff --git a/src/weston-launch.c b/src/weston-launch.c
59index 10c66de..3e6d30a 100644
60--- a/src/weston-launch.c
61+++ b/src/weston-launch.c
62@@ -30,7 +30,6 @@
63 #include <poll.h>
64 #include <errno.h>
65
66-#include <error.h>
67 #include <getopt.h>
68
69 #include <sys/types.h>
70@@ -56,6 +55,7 @@
71 #endif
72
73 #include "weston-launch.h"
74+#include "weston-error.h"
75
76 #define DRM_MAJOR 226
77
78--
792.1.4
80
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch b/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
deleted file mode 100644
index 70b9888..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
+++ /dev/null
@@ -1,174 +0,0 @@
1From 8ff6ed03ec4079f32e9b34085414e57be4730e04 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Wed, 22 Feb 2017 15:53:30 +0200
4Subject: [PATCH] weston-launch: Provide a default version that doesn't require
5 PAM
6
7weston-launch requires PAM for starting weston as a non-root user.
8
9Since starting weston as root is a valid use case by itself, if
10PAM is not available, provide a default version of weston-launch
11without non-root-user support.
12
13Upstream-Status: Pending
14
15Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
16Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
17---
18 configure.ac | 9 +++++++--
19 libweston/weston-launch.c | 20 ++++++++++++++++++++
20 2 files changed, 27 insertions(+), 2 deletions(-)
21
22diff --git a/configure.ac b/configure.ac
23index 46cb2c7..bb45f46 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -435,13 +435,17 @@ AC_ARG_ENABLE(resize-optimization,
27 AS_IF([test "x$enable_resize_optimization" = "xyes"],
28 [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
29
30+AC_ARG_WITH(pam,
31+ AS_HELP_STRING([--with-pam], [Use PAM]),
32+ [use_pam=$withval], [use_pam=yes])
33 AC_ARG_ENABLE(weston-launch, [ --enable-weston-launch],, enable_weston_launch=yes)
34 AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch = xyes)
35-if test x$enable_weston_launch = xyes; then
36+if test x$enable_weston_launch = xyes -a x$use_pam = xyes; then
37 WESTON_SEARCH_LIBS([PAM], [pam], [pam_open_session], [have_pam=yes], [have_pam=no])
38 if test x$have_pam = xno; then
39- AC_ERROR([weston-launch requires pam])
40+ AC_ERROR([PAM support is explicitly requested, but libpam couldn't be found])
41 fi
42+ AC_DEFINE([HAVE_PAM], [1], [Define if PAM is available])
43 fi
44
45 AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes")
46@@ -701,6 +705,7 @@ AC_MSG_RESULT([
47 Enable developer documentation ${enable_devdocs}
48
49 weston-launch utility ${enable_weston_launch}
50+ PAM support ${use_pam}
51 systemd-login support ${have_systemd_login}
52 systemd notify support ${enable_systemd_notify}
53
54diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c
55index 0491896..07e7469 100644
56--- a/libweston/weston-launch.c
57+++ b/libweston/weston-launch.c
58@@ -51,7 +51,9 @@
59
60 #include <pwd.h>
61 #include <grp.h>
62+#ifdef HAVE_PAM
63 #include <security/pam_appl.h>
64+#endif
65
66 #ifdef HAVE_SYSTEMD_LOGIN
67 #include <systemd/sd-login.h>
68@@ -93,8 +95,10 @@ drmSetMaster(int drm_fd)
69 #endif
70
71 struct weston_launch {
72+#ifdef HAVE_PAM
73 struct pam_conv pc;
74 pam_handle_t *ph;
75+#endif
76 int tty;
77 int ttynr;
78 int sock[2];
79@@ -181,6 +185,7 @@ weston_launch_allowed(struct weston_launch *wl)
80 return false;
81 }
82
83+#ifdef HAVE_PAM
84 static int
85 pam_conversation_fn(int msg_count,
86 const struct pam_message **messages,
87@@ -221,6 +226,7 @@ setup_pam(struct weston_launch *wl)
88
89 return 0;
90 }
91+#endif
92
93 static int
94 setup_launcher_socket(struct weston_launch *wl)
95@@ -414,6 +420,7 @@ quit(struct weston_launch *wl, int status)
96 close(wl->signalfd);
97 close(wl->sock[0]);
98
99+#ifdef HAVE_PAM
100 if (wl->new_user) {
101 err = pam_close_session(wl->ph, 0);
102 if (err)
103@@ -421,6 +428,7 @@ quit(struct weston_launch *wl, int status)
104 err, pam_strerror(wl->ph, err));
105 pam_end(wl->ph, err);
106 }
107+#endif
108
109 if (ioctl(wl->tty, KDSKBMUTE, 0) &&
110 ioctl(wl->tty, KDSKBMODE, wl->kb_mode))
111@@ -600,6 +608,7 @@ setup_session(struct weston_launch *wl, char **child_argv)
112 setenv("HOME", wl->pw->pw_dir, 1);
113 setenv("SHELL", wl->pw->pw_shell, 1);
114
115+#ifdef HAVE_PAM
116 env = pam_getenvlist(wl->ph);
117 if (env) {
118 for (i = 0; env[i]; ++i) {
119@@ -608,6 +617,7 @@ setup_session(struct weston_launch *wl, char **child_argv)
120 }
121 free(env);
122 }
123+#endif
124
125 /*
126 * We open a new session, so it makes sense
127@@ -675,7 +685,9 @@ static void
128 help(const char *name)
129 {
130 fprintf(stderr, "Usage: %s [args...] [-- [weston args..]]\n", name);
131+#ifdef HAVE_PAM
132 fprintf(stderr, " -u, --user Start session as specified username\n");
133+#endif
134 fprintf(stderr, " -t, --tty Start session on alternative tty\n");
135 fprintf(stderr, " -v, --verbose Be verbose\n");
136 fprintf(stderr, " -h, --help Display this help message\n");
137@@ -688,7 +700,9 @@ main(int argc, char *argv[])
138 int i, c;
139 char *tty = NULL;
140 struct option opts[] = {
141+#ifdef HAVE_PAM
142 { "user", required_argument, NULL, 'u' },
143+#endif
144 { "tty", required_argument, NULL, 't' },
145 { "verbose", no_argument, NULL, 'v' },
146 { "help", no_argument, NULL, 'h' },
147@@ -700,9 +714,13 @@ main(int argc, char *argv[])
148 while ((c = getopt_long(argc, argv, "u:t::vh", opts, &i)) != -1) {
149 switch (c) {
150 case 'u':
151+#ifdef HAVE_PAM
152 wl.new_user = optarg;
153 if (getuid() != 0)
154 error(1, 0, "Permission denied. -u allowed for root only");
155+#else
156+ error(1, 0, "-u is unsupported in this weston-launch build");
157+#endif
158 break;
159 case 't':
160 tty = optarg;
161@@ -740,8 +758,10 @@ main(int argc, char *argv[])
162 if (setup_tty(&wl, tty) < 0)
163 exit(EXIT_FAILURE);
164
165+#ifdef HAVE_PAM
166 if (wl.new_user && setup_pam(&wl) < 0)
167 exit(EXIT_FAILURE);
168+#endif
169
170 if (setup_launcher_socket(&wl) < 0)
171 exit(EXIT_FAILURE);
172--
1732.1.4
174
diff --git a/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch b/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch
deleted file mode 100644
index 93376ef..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch
+++ /dev/null
@@ -1,125 +0,0 @@
1From 6c89292024cc08d4499916dc153c354175bd81c4 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Daniel=20D=C3=ADaz?= <daniel.diaz@linaro.org>
3Date: Fri, 21 Oct 2016 14:03:13 -0500
4Subject: [PATCH] Add configuration option for no input device.
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9[Backported from master, 75b7197.)
10
11As it has been discussed in the past [1], running Weston
12without any input device at launch might be beneficial for
13some use cases.
14
15Certainly, it's best for the vast majority of users (and
16the project) to require an input device to be present, as
17to avoid frustration and hassle, but for those brave souls
18that so prefer, this patch lets them run without any input
19device at all.
20
21This introduces a simple configuration in weston.ini:
22 [core]
23 require-input=true
24
25True is the default, so no behavioral change is introduced.
26
27[1] https://lists.freedesktop.org/archives/wayland-devel/2015-November/025193.html
28
29Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
30Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
31Reviewed-by: Daniel Stone <daniels@collabora.com>
32---
33 man/weston.ini.man | 5 +++++
34 src/compositor.h | 4 ++++
35 src/libinput-seat.c | 6 ++++++
36 src/main.c | 5 +++++
37 weston.ini.in | 1 +
38 5 files changed, 21 insertions(+)
39
40diff --git a/man/weston.ini.man b/man/weston.ini.man
41index a9b6026..668b16f 100644
42--- a/man/weston.ini.man
43+++ b/man/weston.ini.man
44@@ -169,6 +169,11 @@ time, the one specified in the command-line will be used. On the other
45 hand, if none of these sets the value, default idle timeout will be
46 set to 300 seconds.
47 .RS
48+.PP
49+.RE
50+.TP 7
51+.BI "require-input=" true
52+require an input device for launch
53
54 .SH "LIBINPUT SECTION"
55 The
56diff --git a/src/compositor.h b/src/compositor.h
57index c4c81f0..292a412 100644
58--- a/src/compositor.h
59+++ b/src/compositor.h
60@@ -701,6 +701,10 @@ struct weston_compositor {
61
62 void *user_data;
63 void (*exit)(struct weston_compositor *c);
64+
65+ /* Whether to let the compositor run without any input device. */
66+ bool require_input;
67+
68 };
69
70 struct weston_buffer {
71diff --git a/src/libinput-seat.c b/src/libinput-seat.c
72index c9f9ed2..1c4c358 100644
73--- a/src/libinput-seat.c
74+++ b/src/libinput-seat.c
75@@ -250,6 +250,12 @@ udev_input_enable(struct udev_input *input)
76 devices_found = 1;
77 }
78
79+ if (devices_found == 0 && !c->require_input) {
80+ weston_log("warning: no input devices found, but none required "
81+ "as per configuration.\n");
82+ return 0;
83+ }
84+
85 if (devices_found == 0) {
86 weston_log(
87 "warning: no input devices on entering Weston. "
88diff --git a/src/main.c b/src/main.c
89index a98570e..b8632e9 100644
90--- a/src/main.c
91+++ b/src/main.c
92@@ -658,6 +658,7 @@ int main(int argc, char *argv[])
93 struct wl_client *primary_client;
94 struct wl_listener primary_client_destroyed;
95 struct weston_seat *seat;
96+ int require_input;
97
98 const struct weston_option core_options[] = {
99 { WESTON_OPTION_STRING, "backend", 'B', &backend },
100@@ -737,6 +738,10 @@ int main(int argc, char *argv[])
101 if (weston_compositor_init_config(ec, config) < 0)
102 goto out_signals;
103
104+ weston_config_section_get_bool(section, "require-input",
105+ &require_input, true);
106+ ec->require_input = require_input;
107+
108 if (backend_init(ec, &argc, argv, config) < 0) {
109 weston_log("fatal: failed to create compositor backend\n");
110 goto out_signals;
111diff --git a/weston.ini.in b/weston.ini.in
112index 06b51df..e9ef992 100644
113--- a/weston.ini.in
114+++ b/weston.ini.in
115@@ -2,6 +2,7 @@
116 #modules=xwayland.so,cms-colord.so
117 #shell=desktop-shell.so
118 #gbm-format=xrgb2101010
119+#require-input=true
120
121 [shell]
122 background-image=/usr/share/backgrounds/gnome/Aqua.jpg
123--
1241.9.1
125
diff --git a/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch b/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch
deleted file mode 100644
index a40eaf1..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From 8e1efcd40b3bad81c83744e2e120d70c2b567ef2 Mon Sep 17 00:00:00 2001
2From: Frederico Cadete <frederico@cadete.eu>
3Date: Mon, 28 Sep 2015 00:30:10 +0200
4Subject: configure.ac: add explicit enable/disable for systemd-login support
5
6Otherwise, auto-enable depending on whether the system has the necessary
7libraries.
8
9[Updated help text as per pq suggestion -- bwh]
10
11Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
12Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
13Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
14
15Upstream-Status: Backport
16Backported from Weston git:
17http://cgit.freedesktop.org/wayland/weston/commit/?id=8e1efc
18
19Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
20
21diff --git a/configure.ac b/configure.ac
22index a9cd429..67e80d0 100644
23--- a/configure.ac
24+++ b/configure.ac
25@@ -380,18 +380,30 @@ AC_ARG_ENABLE(resize-optimization,
26 AS_IF([test "x$enable_resize_optimization" = "xyes"],
27 [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
28
29-PKG_CHECK_MODULES(SYSTEMD_LOGIN,
30- [libsystemd >= 209],
31- [have_systemd_login_209=yes;have_systemd_login=yes],
32- [have_systemd_login_209=no;have_systemd_login=no])
33-
34-# Older versions of systemd package systemd-login separately. Fall back on that
35-AS_IF([test x$have_systemd_login != xyes],[
36- PKG_CHECK_MODULES(SYSTEMD_LOGIN,
37- [libsystemd-login >= 198],
38- [have_systemd_login=yes],
39- [have_systemd_login=no])
40- ])
41+AC_ARG_ENABLE(systemd-login,
42+ AS_HELP_STRING([--enable-systemd-login],
43+ [Enable logind support]),,
44+ enable_systemd_login=auto)
45+if test x$enable_systemd_login != xno; then
46+ PKG_CHECK_MODULES(SYSTEMD_LOGIN,
47+ [libsystemd >= 209],
48+ [have_systemd_login_209=yes;have_systemd_login=yes],
49+ [have_systemd_login_209=no;have_systemd_login=no])
50+
51+ # Older versions of systemd package systemd-login separately. Fall back on that
52+ AS_IF([test x$have_systemd_login != xyes],[
53+ PKG_CHECK_MODULES(SYSTEMD_LOGIN,
54+ [libsystemd-login >= 198],
55+ [have_systemd_login=yes],
56+ [have_systemd_login=no])
57+ ])
58+else
59+ have_systemd_login=no
60+fi
61+
62+if test "x$have_systemd_login" = "xno" -a "x$enable_systemd_login" = "xyes"; then
63+ AC_MSG_ERROR([systemd-login support explicitly enabled, but can't find libsystemd>=209 or libsystemd-login])
64+fi
65
66 AS_IF([test "x$have_systemd_login" = "xyes"],
67 [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])])
68--
69cgit v0.10.2
70
diff --git a/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch b/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch
deleted file mode 100644
index 2d28d56..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch
+++ /dev/null
@@ -1,53 +0,0 @@
1From 5eb025a867b42f8bc7bc73279eac8de58e51a13e Mon Sep 17 00:00:00 2001
2From: Frederico Cadete <frederico@cadete.eu>
3Date: Mon, 28 Sep 2015 00:30:09 +0200
4Subject: configure.ac: add support for new versions of systemd
5
6Starting from systemd version 209, a single libsystemd.pc is provided.
7For previous versions, fall back on libsystemd-login.pc.
8
9Signed-off-by: Frederico Cadete <frederico@cadete.eu>
10Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
11Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
12
13Upstream-Status: Backport
14Backported from Weston git:
15http://cgit.freedesktop.org/wayland/weston/commit/?id=5eb025
16
17Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
18
19diff --git a/configure.ac b/configure.ac
20index 045291c..a9cd429 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -380,14 +380,23 @@ AC_ARG_ENABLE(resize-optimization,
24 AS_IF([test "x$enable_resize_optimization" = "xyes"],
25 [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
26
27-PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login >= 198],
28- [have_systemd_login=yes], [have_systemd_login=no])
29+PKG_CHECK_MODULES(SYSTEMD_LOGIN,
30+ [libsystemd >= 209],
31+ [have_systemd_login_209=yes;have_systemd_login=yes],
32+ [have_systemd_login_209=no;have_systemd_login=no])
33+
34+# Older versions of systemd package systemd-login separately. Fall back on that
35+AS_IF([test x$have_systemd_login != xyes],[
36+ PKG_CHECK_MODULES(SYSTEMD_LOGIN,
37+ [libsystemd-login >= 198],
38+ [have_systemd_login=yes],
39+ [have_systemd_login=no])
40+ ])
41+
42 AS_IF([test "x$have_systemd_login" = "xyes"],
43 [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])])
44 AM_CONDITIONAL(HAVE_SYSTEMD_LOGIN, test "x$have_systemd_login" = "xyes")
45
46-PKG_CHECK_MODULES(SYSTEMD_LOGIN_209, [libsystemd-login >= 209],
47- [have_systemd_login_209=yes], [have_systemd_login_209=no])
48 AS_IF([test "x$have_systemd_login_209" = "xyes"],
49 [AC_DEFINE([HAVE_SYSTEMD_LOGIN_209], [1], [Have systemd-login >= 209])])
50
51--
52cgit v0.10.2
53
diff --git a/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch b/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch
deleted file mode 100644
index 35e6d6f..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1weston-1.5.0/configure.ac: make lcms explicitly configurable
2
3The lcms package is outside of openembedded-core, so make it
4explicitly configurable. Make it deterministic, so that if lcms
5dependencies are missing, autoconf throws a fatal error. Follow
6upstream style to make it more likely to be merged.
7
8Upstream-Status: Pending
9
10Index: weston-1.5.0/configure.ac
11===================================================================
12--- weston-1.5.0.orig/configure.ac
13+++ weston-1.5.0/configure.ac
14@@ -491,12 +491,24 @@ AC_ARG_ENABLE(demo-clients-install,
15 enable_demo_clients_install=no)
16 AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "x$enable_demo_clients_install" = "xyes"])
17
18-PKG_CHECK_MODULES(LCMS, lcms2,
19- [have_lcms=yes], [have_lcms=no])
20-if test "x$have_lcms" = xyes; then
21- AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
22+AC_ARG_ENABLE(lcms,
23+ AS_HELP_STRING([--disable-lcms],
24+ [Disable lcms support]),,
25+ enable_lcms=auto)
26+AM_CONDITIONAL(HAVE_LCMS, [test "x$enable_lcms" = xyes])
27+if test "x$enable_lcms" != "xno"; then
28+ PKG_CHECK_MODULES(LCMS,
29+ lcms2,
30+ [have_lcms=yes],
31+ [have_lcms=no])
32+ if test "x$have_lcms" = "xno" -a "x$enable_lcms" = "xyes"; then
33+ AC_MSG_ERROR([lcms support explicitly requested, but lcms couldn't be found])
34+ fi
35+ if test "x$have_lcms" = "xyes"; then
36+ enable_lcms=yes
37+ AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
38+ fi
39 fi
40-AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes])
41
42 AC_PATH_PROG([wayland_scanner], [wayland-scanner])
43 if test x$wayland_scanner = x; then
diff --git a/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch b/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch
deleted file mode 100644
index ad07d4f..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1
2The libwebp package is outside of openembedded-core, so make it
3explicitly configurable. Make it deterministic, so that if libwebp
4dependencies are missing, autoconf throws a fatal error.
5
6Upstream-Status: Pending
7
8Index: weston-1.5.0/configure.ac
9===================================================================
10--- weston-1.5.0.orig/configure.ac
11+++ weston-1.5.0/configure.ac
12@@ -268,9 +268,22 @@ fi
13
14 PKG_CHECK_MODULES(PIXMAN, [pixman-1])
15 PKG_CHECK_MODULES(PNG, [libpng])
16-PKG_CHECK_MODULES(WEBP, [libwebp], [have_webp=yes], [have_webp=no])
17-AS_IF([test "x$have_webp" = "xyes"],
18- [AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
19+AC_ARG_ENABLE(webp,
20+ AS_HELP_STRING([--disable-webp],
21+ [Disable libwebp support]),,
22+ enable_webp=auto)
23+AM_CONDITIONAL(HAVE_WEBP, [test "x$enable_webp" = xyes])
24+AS_IF([test "x$enable_webp" != "xno"],
25+ PKG_CHECK_MODULES(WEBP,
26+ [libwebp],
27+ [have_webp=yes],
28+ [have_webp=no])
29+ AS_IF([test "x$have_webp" = "xno" -a "x$enable_webp" = "xyes"],
30+ AC_MSG_ERROR([libwebp support explicitly request, but lipwebp could not be found]))
31+ AS_IF([test "x$have_webp" = "xyes"],
32+ [enable_webp=yes]
33+ [AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
34+)
35
36 AC_ARG_ENABLE(vaapi-recorder, [ --enable-vaapi-recorder],,
37 enable_vaapi_recorder=auto)
diff --git a/meta-nvidia-extras/recipes/weston/weston/weston.desktop b/meta-nvidia-extras/recipes/weston/weston/weston.desktop
deleted file mode 100644
index 1086ae8..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/weston.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
1[Desktop Entry]
2Encoding=UTF-8
3Type=Application
4Name=Weston
5Comment=Wayland Compostitor
6Exec=weston
7Icon=weston
8Terminal=false
9Categories=Utility;
diff --git a/meta-nvidia-extras/recipes/weston/weston/weston.png b/meta-nvidia-extras/recipes/weston/weston/weston.png
deleted file mode 100644
index ea8b7e0..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/weston.png
+++ /dev/null
Binary files differ
diff --git a/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start b/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start
deleted file mode 100644
index b483c97..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start
+++ /dev/null
@@ -1,7 +0,0 @@
1#!/bin/sh
2
3if type Xwayland >/dev/null 2>/dev/null; then
4 mkdir -p /tmp/.X11-unix
5
6 add_weston_argument "--modules=xwayland.so"
7fi
diff --git a/meta-nvidia-extras/recipes/weston/weston_%.bbappend b/meta-nvidia-extras/recipes/weston/weston_%.bbappend
index e9a2154..c58b81b 100644
--- a/meta-nvidia-extras/recipes/weston/weston_%.bbappend
+++ b/meta-nvidia-extras/recipes/weston/weston_%.bbappend
@@ -1,33 +1,72 @@
1############################################################################ 1# Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
2## 2#
3## Copyright (C) 2017 The Qt Company Ltd. 3# This program is free software; you can redistribute it and/or modify it
4## Contact: https://www.qt.io/licensing/ 4# under the terms and conditions of the GNU General Public License,
5## 5# version 2, as published by the Free Software Foundation.
6## This file is part of the Boot to Qt meta layer. 6#
7## 7# This program is distributed in the hope it will be useful, but WITHOUT
8## $QT_BEGIN_LICENSE:GPL$ 8# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9## Commercial License Usage 9# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
10## Licensees holding valid commercial Qt licenses may use this file in 10# more details.
11## accordance with the commercial license agreement provided with the 11#
12## Software or, alternatively, in accordance with the terms contained in 12# You should have received a copy of the GNU General Public License
13## a written agreement between you and The Qt Company. For licensing terms 13# along with this program. If not, see <http://www.gnu.org/licenses/>.
14## and conditions see https://www.qt.io/terms-conditions. For further 14
15## information use the contact form at https://www.qt.io/contact-us. 15LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \
16## 16 file://src/compositor.c;endline=24;md5=70efe6a96837805b300f0317a6306837"
17## GNU General Public License Usage 17
18## Alternatively, this file may be used under the terms of the GNU 18SRC_URI = "file://${LNX_TOPDIR}/samples/wayland/weston \
19## General Public License version 3 or (at your option) any later version 19 file://NVIDIA-weston-configure.patch"
20## approved by the KDE Free Qt Foundation. The licenses are as published by 20
21## the Free Software Foundation and appearing in the file LICENSE.GPL3 21FILESEXTRAPATHS_prepend := "${THISDIR}/../${PN}:"
22## included in the packaging of this file. Please review the following 22PV = "1.11.0"
23## information to ensure the GNU General Public License requirements will 23
24## be met: https://www.gnu.org/licenses/gpl-3.0.html. 24S = "${WORKDIR}/${LNX_TOPDIR}/samples/wayland/weston"
25## 25B = "${S}"
26## $QT_END_LICENSE$ 26
27## 27DEPENDS += "wayland-egl tegra-drivers"
28############################################################################ 28
29 29PACKAGECONFIG = "egl kms libinput"
30PACKAGECONFIG_remove = "kms" 30
31DEPENDS += "drm" 31# Fix warnings by removing redundant configure flags passed to weston
32 32EXTRA_OECONF_remove = "--enable-libinput-backend --disable-webp --disable-lcms"
33TARGET_CFLAGS += "-DWIN_INTERFACE_CUSTOM" 33
34#
35# Compositor choices
36#
37# Weston with EGL support
38PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
39# Weston on egloutput
40PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev mtdev"
41
42CFLAGS += " -DWAYLAND=1 "
43
44LDFLAGS += " -lnvidia-egl-wayland "
45
46do_configure_prepend() {
47 cd ${S}
48 NOCONFIGURE=1 ./autogen.sh
49 cd ${B}
50}
51
52do_install_append() {
53 # create dir
54 install -d ${D}/${ROOT_HOME}/.config
55
56 sed -i 's/\/usr\/local\/bin\/weston-ivi-shell-user-interface/\/usr\/lib\/weston\/weston-ivi-shell-user-interface/g' ${S}/tools/weston.ini
57 sed -i 's/\/usr\/local\/share\/weston\/background.png/\/usr\/share\/weston\/background.png/g' ${S}/tools/weston.ini
58 sed -i 's/\/usr\/local\/share\/weston\/panel.png/\/usr\/share\/weston\/panel.png/g' ${S}/tools/weston.ini
59 sed -i 's/\/usr\/local\/share\/weston\/tiling.png/\/usr\/share\/weston\/tiling.png/g' ${S}/tools/weston.ini
60 sed -i 's/\/usr\/local\/share\/weston\/sidebyside.png/\/usr\/share\/weston\/sidebyside.png/g' ${S}/tools/weston.ini
61 sed -i 's/\/usr\/local\/share\/weston\/fullscreen.png/\/usr\/share\/weston\/fullscreen.png/g' ${S}/tools/weston.ini
62 sed -i 's/\/usr\/local\/share\/weston\/home.png/\/usr\/share\/weston\/home.png/g' ${S}/tools/weston.ini
63 sed -i 's/\/usr\/local\/share\/weston\/random.png/\/usr\/share\/weston\/random.png/g' ${S}/tools/weston.ini
64
65 # weston.ini
66 install -m 0775 ${S}/tools/weston.ini ${D}/${ROOT_HOME}/.config
67 sed -i 's/\/include/\/include\/weston/g' ${D}/usr/lib/pkgconfig/weston.pc
68}
69
70FILES_${PN} += " ${ROOT_HOME}/* ${ROOT_HOME}/.config "
71
72ALLOW_EMPTY_${PN}-examples = "1"
diff --git a/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb b/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb
deleted file mode 100644
index 3fdfbab..0000000
--- a/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb
+++ /dev/null
@@ -1,104 +0,0 @@
1SUMMARY = "Weston, a Wayland compositor"
2DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
3HOMEPAGE = "http://wayland.freedesktop.org"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \
6 file://src/compositor.c;endline=23;md5=1d535fed266cf39f6d8c0647f52ac331"
7
8SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
9 file://weston.png \
10 file://weston.desktop \
11 file://make-lcms-explicitly-configurable.patch \
12 file://make-libwebp-explicitly-configurable.patch \
13 file://0001-make-error-portable.patch \
14 file://libsystemd.patch \
15 file://explicit-enable-disable-systemd.patch \
16 file://add-config-option-for-no-input-device.patch \
17"
18SRC_URI[md5sum] = "66bbba12f546570b4d97f676bc79a28e"
19SRC_URI[sha256sum] = "9c1b03f3184fa0b0dfdf67e215048085156e1a2ca344af6613fed36794ac48cf"
20
21inherit autotools pkgconfig useradd distro_features_check
22# depends on virtual/egl
23REQUIRED_DISTRO_FEATURES = "opengl"
24
25DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
26DEPENDS += "wayland libinput virtual/egl pango wayland-native"
27
28EXTRA_OECONF = "--enable-setuid-install \
29 --enable-simple-clients \
30 --enable-clients \
31 --enable-demo-clients-install \
32 --disable-rpi-compositor \
33 --disable-rdp-compositor \
34 "
35
36EXTRA_OECONF_append_qemux86 = "\
37 WESTON_NATIVE_BACKEND=fbdev-backend.so \
38 "
39EXTRA_OECONF_append_qemux86-64 = "\
40 WESTON_NATIVE_BACKEND=fbdev-backend.so \
41 "
42PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
44 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
45 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
46 "
47#
48# Compositor choices
49#
50# Weston on KMS
51PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
52# Weston on Wayland (nested Weston)
53PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
54# Weston on X11
55PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
56# Headless Weston
57PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
58# Weston on framebuffer
59PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
60# weston-launch
61PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
62# VA-API desktop recorder
63PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
64# Weston with EGL support
65PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
66# Weston with cairo glesv2 support
67PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
68# Weston with lcms support
69PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
70# Weston with webp support
71PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
72# Weston with unwinding support
73PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
74# Weston with systemd-login support
75PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus"
76# Weston with Xwayland support
77PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,libxcb libxcursor cairo"
78# colord CMS support
79PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
80
81do_install_append() {
82 # Weston doesn't need the .la files to load modules, so wipe them
83 rm -f ${D}/${libdir}/weston/*.la
84
85 # If X11, ship a desktop file to launch it
86 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "x11" ]; then
87 install -d ${D}${datadir}/applications
88 install ${WORKDIR}/weston.desktop ${D}${datadir}/applications
89
90 install -d ${D}${datadir}/icons/hicolor/48x48/apps
91 install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
92 fi
93}
94
95PACKAGES += "${PN}-examples"
96
97FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
98FILES_${PN}-examples = "${bindir}/*"
99
100RDEPENDS_${PN} += "xkeyboard-config"
101RRECOMMENDS_${PN} = "liberation-fonts"
102
103USERADD_PACKAGES = "${PN}"
104GROUPADD_PARAM_${PN} = "--system weston-launch"
diff --git a/meta-raspberrypi-extras/conf/layer.conf b/meta-raspberrypi-extras/conf/layer.conf
index 9e64b87..0e85afe 100644
--- a/meta-raspberrypi-extras/conf/layer.conf
+++ b/meta-raspberrypi-extras/conf/layer.conf
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_rpi" 38BBFILE_COLLECTIONS += "b2qt_rpi"
39BBFILE_PATTERN_b2qt_rpi := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_rpi := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_rpi = "20" 40BBFILE_PRIORITY_b2qt_rpi = "20"
41
42LAYERSERIES_COMPAT_b2qt_rpi = "sumo"
diff --git a/meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend b/meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend
deleted file mode 100644
index 1b8e44e..0000000
--- a/meta-raspberrypi-extras/recipes/bootfiles/rpi-config_git.bbappend
+++ /dev/null
@@ -1,32 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_deploy_append() {
31 echo "dtparam=audio=on" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
32}
diff --git a/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend b/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend
deleted file mode 100644
index 5f5e919..0000000
--- a/meta-raspberrypi-extras/recipes/gstreamer/gstreamer1.0-omx_1.10%.bbappend
+++ /dev/null
@@ -1,13 +0,0 @@
1#
2# Need to make this conditional to gstreamer1
3#
4SRC_URI_append_rpi = " \
5 file://0001-config-files-path.patch \
6 file://0001-Don-t-try-to-acquire-buffer-when-src-pad-isn-t-activ.patch \
7 file://0002-fix-decoder-flushing.patch \
8 file://0003-no-timeout-on-get-state.patch \
9 file://0004-Properly-handle-drain-requests-while-flushing.patch \
10 file://0005-Don-t-abort-gst_omx_video_dec_set_format-if-there-s-.patch \
11"
12
13FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-omx-1.12:"
diff --git a/meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch b/meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch
new file mode 100644
index 0000000..d21fd09
--- /dev/null
+++ b/meta-raspberrypi-extras/recipes/userland/userland/0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch
@@ -0,0 +1,34 @@
1From e977e56df364e3a89e08bd7b8a27d30360b0ccc7 Mon Sep 17 00:00:00 2001
2From: Hugo Hromic <hhromic@gmail.com>
3Date: Sun, 13 May 2018 10:49:04 +0100
4Subject: [PATCH] khronos: backport typedef for EGL_EXT_image_dma_buf_import
5
6The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which
7expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos.
8However, the older version included in userland does not provide it.
9
10This patch backports the missing typedef from recent Khronos into userland.
11See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h>
12
13Submitted to userland in <https://github.com/raspberrypi/userland/pull/467>
14
15Upstream-Status: Submitted
16---
17 interface/khronos/include/EGL/eglext.h | 4 ++++
18 1 file changed, 4 insertions(+)
19
20diff --git a/interface/khronos/include/EGL/eglext.h b/interface/khronos/include/EGL/eglext.h
21index 89a3369..87cf7d2 100755
22--- a/interface/khronos/include/EGL/eglext.h
23+++ b/interface/khronos/include/EGL/eglext.h
24@@ -190,6 +190,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSy
25 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
26 #endif
27
28+#ifndef EGL_KHR_uint64_typedef
29+#define EGL_KHR_uint64_typedef 1
30+typedef khronos_uint64_t EGLuint64KHR;
31+#endif /* EGL_KHR_uint64_typedef */
32
33 #ifdef __cplusplus
34 }
diff --git a/meta-intel-extras/recipes/initramfs-basic/init-basic.bbappend b/meta-raspberrypi-extras/recipes/userland/userland_git.bbappend
index ab69a09..dc421e5 100644
--- a/meta-intel-extras/recipes/initramfs-basic/init-basic.bbappend
+++ b/meta-raspberrypi-extras/recipes/userland/userland_git.bbappend
@@ -29,10 +29,7 @@
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31 31
32SRC_URI += "file://init-device.sh" 32SRC_URI += "file://0001-khronos-backport-typedef-for-EGL_EXT_image_dma_buf_i.patch"
33 33
34do_install_append () { 34SRCREV = "2448644657e5fbfd82299416d218396ee1115ece"
35 install -m 0755 ${WORKDIR}/init-device.sh ${D}/init-device 35PV = "20180511"
36}
37
38FILES_${PN} += "/init-device"
diff --git a/meta-renesas-extras/conf/layer.conf b/meta-renesas-extras/conf/layer.conf
index 36091df..83dde0e 100644
--- a/meta-renesas-extras/conf/layer.conf
+++ b/meta-renesas-extras/conf/layer.conf
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_renesas" 38BBFILE_COLLECTIONS += "b2qt_renesas"
39BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_renesas = "20" 40BBFILE_PRIORITY_b2qt_renesas = "20"
41
42LAYERSERIES_COMPAT_b2qt_renesas = "sumo"
diff --git a/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend b/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend
index 801a073..8a62d82 100644
--- a/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend
+++ b/meta-renesas-extras/recipes/arm-trusted-firmware/arm-trusted-firmware_git.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,5 +27,5 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30CFLAGS[unexport] = "" 30LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443"
31CFLAGS = "-Wno-error=pedantic" 31SRCREV = "dcb310296c07bce69149fa9d74f1848cdfd01f5a"
diff --git a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 85be953..9658abf 100644
--- a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30DEPENDS += "wayland-kms libgbm" 30DEPENDS_append_draak = " wayland-kms libgbm"
diff --git a/meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend b/meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend
new file mode 100644
index 0000000..ad0959f
--- /dev/null
+++ b/meta-renesas-extras/recipes/kernel-module-gles/kernel-module-gles.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30EXTRA_OEMAKE_append_draak = " COMMON_FLAGS="-Wno-error=expansion-to-defined""
diff --git a/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/kernel-module-vsp2driver/kernel-module-vsp2driver.bbappend
index 35f66f4..19fbff6 100644
--- a/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend
+++ b/meta-renesas-extras/recipes/kernel-module-vsp2driver/kernel-module-vsp2driver.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,5 +27,5 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev" 30# upstream recipe includes kernel module to wrong package
31PROVIDES += "virtual/libgbm" 31FILES_${PN}_draak = ""
diff --git a/meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend b/meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend
new file mode 100644
index 0000000..19fbff6
--- /dev/null
+++ b/meta-renesas-extras/recipes/kernel-module-vspm/kernel-module-vspm.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# upstream recipe includes kernel module to wrong package
31FILES_${PN}_draak = ""
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch b/meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch
new file mode 100644
index 0000000..f7e0c48
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux/linux-renesas/0001-give-up-on-gcc-ilog2-constant-optimizations.patch
@@ -0,0 +1,124 @@
1From 32e78d93f53889686bc1d90865fcc33ec5c9e80d Mon Sep 17 00:00:00 2001
2From: Linus Torvalds <torvalds@linux-foundation.org>
3Date: Thu, 2 Mar 2017 12:17:22 -0800
4Subject: [PATCH] give up on gcc ilog2() constant optimizations
5
6gcc-7 has an "optimization" pass that completely screws up, and
7generates the code expansion for the (impossible) case of calling
8ilog2() with a zero constant, even when the code gcc compiles does not
9actually have a zero constant.
10
11And we try to generate a compile-time error for anybody doing ilog2() on
12a constant where that doesn't make sense (be it zero or negative). So
13now gcc7 will fail the build due to our sanity checking, because it
14created that constant-zero case that didn't actually exist in the source
15code.
16
17There's a whole long discussion on the kernel mailing about how to work
18around this gcc bug. The gcc people themselevs have discussed their
19"feature" in
20
21 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72785
22
23but it's all water under the bridge, because while it looked at one
24point like it would be solved by the time gcc7 was released, that was
25not to be.
26
27So now we have to deal with this compiler braindamage.
28
29And the only simple approach seems to be to just delete the code that
30tries to warn about bad uses of ilog2().
31
32So now "ilog2()" will just return 0 not just for the value 1, but for
33any non-positive value too.
34
35It's not like I can recall anybody having ever actually tried to use
36this function on any invalid value, but maybe the sanity check just
37meant that such code never made it out in public.
38
39Reported-by: Laura Abbott <labbott@redhat.com>
40Cc: John Stultz <john.stultz@linaro.org>,
41Cc: Thomas Gleixner <tglx@linutronix.de>
42Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
43Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
44---
45 include/linux/log2.h | 13 ++-----------
46 tools/include/linux/log2.h | 13 ++-----------
47 2 files changed, 4 insertions(+), 22 deletions(-)
48
49diff --git a/include/linux/log2.h b/include/linux/log2.h
50index fd7ff3d91e6a..f38fae23bdac 100644
51--- a/include/linux/log2.h
52+++ b/include/linux/log2.h
53@@ -15,12 +15,6 @@
54 #include <linux/types.h>
55 #include <linux/bitops.h>
56
57-/*
58- * deal with unrepresentable constant logarithms
59- */
60-extern __attribute__((const, noreturn))
61-int ____ilog2_NaN(void);
62-
63 /*
64 * non-constant log of base 2 calculators
65 * - the arch may override these in asm/bitops.h if they can be implemented
66@@ -85,7 +79,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
67 #define ilog2(n) \
68 ( \
69 __builtin_constant_p(n) ? ( \
70- (n) < 1 ? ____ilog2_NaN() : \
71+ (n) < 2 ? 0 : \
72 (n) & (1ULL << 63) ? 63 : \
73 (n) & (1ULL << 62) ? 62 : \
74 (n) & (1ULL << 61) ? 61 : \
75@@ -148,10 +142,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
76 (n) & (1ULL << 4) ? 4 : \
77 (n) & (1ULL << 3) ? 3 : \
78 (n) & (1ULL << 2) ? 2 : \
79- (n) & (1ULL << 1) ? 1 : \
80- (n) & (1ULL << 0) ? 0 : \
81- ____ilog2_NaN() \
82- ) : \
83+ 1 ) : \
84 (sizeof(n) <= 4) ? \
85 __ilog2_u32(n) : \
86 __ilog2_u64(n) \
87diff --git a/tools/include/linux/log2.h b/tools/include/linux/log2.h
88index 41446668ccce..d5677d39c1e4 100644
89--- a/tools/include/linux/log2.h
90+++ b/tools/include/linux/log2.h
91@@ -12,12 +12,6 @@
92 #ifndef _TOOLS_LINUX_LOG2_H
93 #define _TOOLS_LINUX_LOG2_H
94
95-/*
96- * deal with unrepresentable constant logarithms
97- */
98-extern __attribute__((const, noreturn))
99-int ____ilog2_NaN(void);
100-
101 /*
102 * non-constant log of base 2 calculators
103 * - the arch may override these in asm/bitops.h if they can be implemented
104@@ -78,7 +72,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
105 #define ilog2(n) \
106 ( \
107 __builtin_constant_p(n) ? ( \
108- (n) < 1 ? ____ilog2_NaN() : \
109+ (n) < 2 ? 0 : \
110 (n) & (1ULL << 63) ? 63 : \
111 (n) & (1ULL << 62) ? 62 : \
112 (n) & (1ULL << 61) ? 61 : \
113@@ -141,10 +135,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n)
114 (n) & (1ULL << 4) ? 4 : \
115 (n) & (1ULL << 3) ? 3 : \
116 (n) & (1ULL << 2) ? 2 : \
117- (n) & (1ULL << 1) ? 1 : \
118- (n) & (1ULL << 0) ? 0 : \
119- ____ilog2_NaN() \
120- ) : \
121+ 1 ) : \
122 (sizeof(n) <= 4) ? \
123 __ilog2_u32(n) : \
124 __ilog2_u64(n) \
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend b/meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend
new file mode 100644
index 0000000..1a9a9da
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux/linux-renesas_%.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend_draak := "${THISDIR}/${PN}:"
31
32SRC_URI_append_draak = " file://0001-give-up-on-gcc-ilog2-constant-optimizations.patch"
diff --git a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
index 0542b65..1da4547 100644
--- a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
+++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
@@ -1,10 +1,31 @@
1require include/gles-control.inc 1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
2 29
3def map_libs(d): 30# pick random header to make build work
4 if base_conditional('USE_GLES_WAYLAND', "1", "1", "0", d) == "1": 31INSTALLED_HEADER_draak = "src/egl/wayland/wayland-egl/wayland-egl-backend.h"
5 return "wayland"
6
7 return "dummy"
8
9MESATARGET := "${@map_libs(d)}"
10include recipes-graphics/mesa/mesa-${MESATARGET}.inc
diff --git a/meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend b/meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend
deleted file mode 100644
index 03862c5..0000000
--- a/meta-renesas-extras/recipes/optee-os/optee-os_git.bbappend
+++ /dev/null
@@ -1,30 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30CFLAGS = "-Wno-error=unused-const-variable= -Wno-error=strict-aliasing -Wno-error=shift-negative-value"
diff --git a/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf
new file mode 100644
index 0000000..4cbbf49
--- /dev/null
+++ b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/draak/kms.conf
@@ -0,0 +1,9 @@
1{
2 "device": "/dev/dri/card0",
3 "outputs": [
4 {
5 "name": "VGA1",
6 "mode": "off"
7 }
8 ]
9}
diff --git a/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf
new file mode 100644
index 0000000..4cbbf49
--- /dev/null
+++ b/meta-renesas-extras/recipes/qt5/boot2qt-appcontroller/ebisu/kms.conf
@@ -0,0 +1,9 @@
1{
2 "device": "/dev/dri/card0",
3 "outputs": [
4 {
5 "name": "VGA1",
6 "mode": "off"
7 }
8 ]
9}
diff --git a/meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch b/meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch
new file mode 100644
index 0000000..ed1339b
--- /dev/null
+++ b/meta-renesas-extras/recipes/qt5/qtwebengine/0001-Workaround-missing-eglGetProcAddress.patch
@@ -0,0 +1,28 @@
1From 4b59d8fa3ba5647834d29fad58b9231c154b9136 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Tue, 16 Oct 2018 13:43:43 +0300
4Subject: [PATCH] Workaround missing eglGetProcAddress
5
6Renesas boards are unable to find address for the eglGetProcAddress
7symbol at runtime, instead do it already at link time.
8
9Task-number: QTBUG-71152
10Change-Id: Ibc4251c0ab7e878a65d8c6e7b4da3952807cbc91
11---
12 src/core/ozone/gl_ozone_egl_qt.cpp | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/src/core/ozone/gl_ozone_egl_qt.cpp b/src/core/ozone/gl_ozone_egl_qt.cpp
16index 2fa86d79..d2362477 100644
17--- a/src/core/ozone/gl_ozone_egl_qt.cpp
18+++ b/src/core/ozone/gl_ozone_egl_qt.cpp
19@@ -98,6 +98,9 @@ bool GLOzoneEGLQt::LoadGLES2Bindings(gl::GLImplementation /*implementation*/)
20 }
21 #endif
22
23+ if (!get_proc_address)
24+ get_proc_address = &eglGetProcAddress;
25+
26 if (!get_proc_address) {
27 LOG(ERROR) << "eglGetProcAddress not found.";
28 base::UnloadNativeLibrary(eglgles2Library);
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend b/meta-renesas-extras/recipes/qt5/qtwebengine_git.bbappend
index bac366d..cc13b74 100644
--- a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend
+++ b/meta-renesas-extras/recipes/qt5/qtwebengine_git.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -28,7 +28,5 @@
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "file://0001-Support-SYSROOT-in-c_rehash.patch"
32
33PACKAGECONFIG += "perl"
34 31
32SRC_URI += "file://0001-Workaround-missing-eglGetProcAddress.patch"
diff --git a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend
index 47fe2ce..3a7bb52 100644
--- a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend
+++ b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,14 +27,14 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30LICENSE = "GPLv2+" 30FILESEXTRAPATHS_prepend_draak := "${THISDIR}/${PN}:"
31 31
32FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 32SRC_URI_append_draak = " file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch"
33 33
34SRC_URI += "file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch" 34LICENSE_draak = "GPLv2+"
35 35
36S = "${WORKDIR}/git" 36S_draak = "${WORKDIR}/git"
37 37
38do_deploy_prepend() { 38do_deploy_prepend_draak() {
39 cp ${B}/${UBOOT_SREC} ${S}/${UBOOT_SREC} 39 cp ${B}/${UBOOT_SREC} ${S}/${UBOOT_SREC}
40} 40}
diff --git a/meta-renesas-extras/recipes/wayland/libgbm.bbappend b/meta-renesas-extras/recipes/wayland/libgbm.bbappend
index fd11a50..502c7cc 100644
--- a/meta-renesas-extras/recipes/wayland/libgbm.bbappend
+++ b/meta-renesas-extras/recipes/wayland/libgbm.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -28,3 +28,10 @@
28############################################################################ 28############################################################################
29 29
30PROVIDES += "virtual/libgbm" 30PROVIDES += "virtual/libgbm"
31
32DEPENDS_append_draak = " udev"
33
34SRCREV = "a0c7d6c97fe1fffe45eee524060cbb12767c6461"
35SRCREV_draak = "bc04aefc9d5322f8b2dc1ecb15d0713bbab684b8"
36
37SRC_URI = "git://github.com/renesas-rcar/libgbm;branch=rcar-gen3"
diff --git a/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend
index 0cd3eec..1330d5f 100644
--- a/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend
+++ b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30DEPENDS += "wayland-native" 30DEPENDS_append_draak = " wayland-native"
diff --git a/meta-renesas-extras/recipes/wayland/weston_%.bbappend b/meta-renesas-extras/recipes/wayland/weston_%.bbappend
new file mode 100644
index 0000000..9385f7a
--- /dev/null
+++ b/meta-renesas-extras/recipes/wayland/weston_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30EXTRA_OECONF_append_draak = " WAYLAND_PROTOCOLS_SYSROOT_DIR="
diff --git a/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend b/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend
deleted file mode 100644
index ef14c2f..0000000
--- a/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend
+++ /dev/null
@@ -1,30 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30EXTRA_OECONF += "WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}"
diff --git a/meta-smx6-extras/conf/layer.conf b/meta-smx6-extras/conf/layer.conf
index 566fb41..8a68860 100644
--- a/meta-smx6-extras/conf/layer.conf
+++ b/meta-smx6-extras/conf/layer.conf
@@ -43,3 +43,5 @@ BBFILE_PRIORITY_b2qt_smx6 = "20"
43LAYERDEPENDS_smx6 = "" 43LAYERDEPENDS_smx6 = ""
44# meta-smx6 layer.conf modifies qtbase PACKAGECONFIG 44# meta-smx6 layer.conf modifies qtbase PACKAGECONFIG
45PACKAGECONFIG_remove_pn-qtbase = "examples" 45PACKAGECONFIG_remove_pn-qtbase = "examples"
46
47LAYERSERIES_COMPAT_b2qt_smx6 = "sumo"
diff --git a/meta-tegra-extras/conf/layer.conf b/meta-tegra-extras/conf/layer.conf
index c170570..f5b4906 100644
--- a/meta-tegra-extras/conf/layer.conf
+++ b/meta-tegra-extras/conf/layer.conf
@@ -38,3 +38,5 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_tegra" 38BBFILE_COLLECTIONS += "b2qt_tegra"
39BBFILE_PATTERN_b2qt_tegra := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_tegra := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_tegra = "20" 40BBFILE_PRIORITY_b2qt_tegra = "20"
41
42LAYERSERIES_COMPAT_b2qt_tegra = "sumo"
diff --git a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend b/meta-tegra-extras/recipes/drm/libdrm_%.bbappend
deleted file mode 100644
index bf4cc08..0000000
--- a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend
+++ /dev/null
@@ -1,15 +0,0 @@
1inherit update-alternatives
2
3do_install_append() {
4 mv ${D}${libdir}/libdrm.so.2.4.0 ${D}${libdir}/libdrm-freedesktop.so.2.4.0
5 rm ${D}${libdir}/libdrm.so
6 rm ${D}${libdir}/libdrm.so.2
7 ln -sf libdrm-freedesktop.so.2.4.0 ${D}${libdir}/libdrm.so
8 ln -sf libdrm-freedesktop.so.2.4.0 ${D}${libdir}/libdrm.so.2
9}
10
11ALTERNATIVE_${PN} = "libdrm.so.2.4.0 libdrm.so.2"
12ALTERNATIVE_LINK_NAME[libdrm.so.2.4.0] = "${libdir}/libdrm.so.2.4.0"
13ALTERNATIVE_LINK_NAME[libdrm.so.2] = "${libdir}/libdrm.so.2"
14ALTERNATIVE_TARGET = "${libdir}/libdrm-freedesktop.so.2.4.0"
15ALTERNATIVE_PRIORITY = "20"
diff --git a/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend b/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend
index d3c4803..1450622 100644
--- a/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend
+++ b/meta-tegra-extras/recipes/linux/linux-tegra_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2017 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -31,5 +31,3 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "\ 31SRC_URI += "\
32 file://0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch \ 32 file://0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch \
33 " 33 "
34
35require recipes-kernel/linux/linux-dtb.inc
diff --git a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend b/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend
deleted file mode 100644
index 84a817c..0000000
--- a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend
+++ /dev/null
@@ -1,37 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGES += "${PN}-dev"
31RRECOMMENDS_${PN}-dev += "\
32 libgles1-mesa-dev \
33 libgles2-mesa-dev \
34 libgles3-mesa-dev \
35 libegl-mesa-dev \
36 libgl-mesa-dev \
37 "
diff --git a/meta-toradex-extras/conf/layer.conf b/meta-toradex-extras/conf/layer.conf
index e39649f..3a43fd7 100644
--- a/meta-toradex-extras/conf/layer.conf
+++ b/meta-toradex-extras/conf/layer.conf
@@ -38,3 +38,9 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
38BBFILE_COLLECTIONS += "b2qt_toradex" 38BBFILE_COLLECTIONS += "b2qt_toradex"
39BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/" 39BBFILE_PATTERN_b2qt_toradex := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_toradex = "20" 40BBFILE_PRIORITY_b2qt_toradex = "20"
41
42LAYERSERIES_COMPAT_b2qt_toradex = "sumo"
43
44# override toradex layer COMPATs
45LAYERSERIES_COMPAT_toradex-bsp-common-layer = "sumo"
46LAYERSERIES_COMPAT_toradex-nxp-layer = "sumo"
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch b/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch
index 1535234..1f63fee 100644
--- a/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch
+++ b/meta-toradex-extras/recipes/linux/linux-toradex/0001-Enable-atmel-mxt-multitouch-controller.patch
@@ -1,4 +1,4 @@
1From 37a2e407172b37a880d04c5a7721aeff498854ad Mon Sep 17 00:00:00 2001 1From 823475bf681e1dbb4ad8e43935232ae39b918d9c Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 6 Oct 2017 15:54:35 +0300 3Date: Fri, 6 Oct 2017 15:54:35 +0300
4Subject: [PATCH] Enable atmel mxt multitouch controller for ixora v1.1 dtb 4Subject: [PATCH] Enable atmel mxt multitouch controller for ixora v1.1 dtb
@@ -6,24 +6,25 @@ Subject: [PATCH] Enable atmel mxt multitouch controller for ixora v1.1 dtb
6Need to disable fusion touch to get the new atmel mxt multitouch 6Need to disable fusion touch to get the new atmel mxt multitouch
7controller to work. 7controller to work.
8--- 8---
9 arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 2 +- 9 arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi | 3 ++-
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 2 insertions(+), 1 deletion(-)
11 11
12diff --git a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi 12diff --git a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi
13index 354bf80d..1181502 100644 13index 26525e24a6c7..78a1011c1ea2 100644
14--- a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi 14--- a/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi
15+++ b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi 15+++ b/arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi
16@@ -166,7 +166,6 @@ 16@@ -160,7 +160,7 @@
17 reg = <0x4a>;
18 interrupt-parent = <&gpio6>; 17 interrupt-parent = <&gpio6>;
19 interrupts = <10 IRQ_TYPE_EDGE_FALLING>; 18 interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
19 reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* SODIMM 13 */
20- status = "disabled"; 20- status = "disabled";
21+ status = "okay";
21 }; 22 };
22 23
23 pcap@10 { 24 pcap@10 {
24@@ -176,6 +175,7 @@ 25@@ -170,6 +170,7 @@
25 gpios = <&gpio6 10 0 /* MXM3 11, Pen down interrupt */ 26 gpios = <&gpio6 10 GPIO_ACTIVE_HIGH /* MXM3 11, Pen down interrupt */
26 &gpio6 9 0 /* MXM3 13, Reset */ 27 &gpio6 9 GPIO_ACTIVE_HIGH /* MXM3 13, Reset */
27 >; 28 >;
28+ status = "disabled"; 29+ status = "disabled";
29 }; 30 };
diff --git a/meta-toradex-extras/recipes/linux/linux-toradex_4.1-2.0.x.bbappend b/meta-toradex-extras/recipes/linux/linux-toradex_4.9-1.0.x.bbappend
index eadfa15..eadfa15 100644
--- a/meta-toradex-extras/recipes/linux/linux-toradex_4.1-2.0.x.bbappend
+++ b/meta-toradex-extras/recipes/linux/linux-toradex_4.9-1.0.x.bbappend
diff --git a/scripts/manifest.xml b/scripts/manifest.xml
index 3910d63..2adcbbf 100644
--- a/scripts/manifest.xml
+++ b/scripts/manifest.xml
@@ -18,69 +18,74 @@
18 18
19 <project name="poky" 19 <project name="poky"
20 remote="yocto" 20 remote="yocto"
21 revision="b0ede5088b2f4338ea5faf5db46d67eb1c7e8243" 21 revision="36d5cee56bd389ecbe66dbfad9e5d57c13b56b95"
22 path="sources/poky"/> 22 path="sources/poky"/>
23 <project name="meta-openembedded" 23 <project name="meta-openembedded"
24 remote="oe-mirror" 24 remote="oe-mirror"
25 revision="9eaebc6e783f1394bb5444326cd05a976b3122e9" 25 revision="2bb21ef27c4b0c9d52d30b3b2c5a0160fd02b966"
26 path="sources/meta-openembedded"/> 26 path="sources/meta-openembedded"/>
27 <project name="meta-qt5" 27 <project name="meta-qt5"
28 remote="qtyocto" 28 remote="qtyocto"
29 revision="3439f344fbb4c1ee2b13ddb54435716c53d79be2" 29 revision="decb5d93229f8c381e7509e139bf0c865d8ab0c3"
30 path="sources/meta-qt5"/> 30 path="sources/meta-qt5"/>
31 <project name="meta-mingw" 31 <project name="meta-mingw"
32 remote="qtyocto" 32 remote="qtyocto"
33 revision="2a5619ffdc0f02f57e0c36387fd25c8540c60a8a" 33 revision="fde300483f2133489c1f16b5b03a22050613787b"
34 path="sources/meta-mingw"/> 34 path="sources/meta-mingw"/>
35 35
36 <project name="meta-freescale" 36 <project name="meta-freescale"
37 remote="freescale" 37 remote="freescale"
38 revision="af5a8cf74d488ba45715ed0b0e0441e60b10c31d" 38 revision="2813c0c59a81498afab26a2b1f90db07728df2ed"
39 path="sources/meta-freescale" 39 path="sources/meta-freescale"
40 groups="notdefault,external,fsl,toradex,smx6,renesas-gen3,boundary,fsl-imx8"/> 40 groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/>
41 <project name="meta-freescale-3rdparty" 41 <project name="meta-freescale-3rdparty"
42 remote="freescale" 42 remote="freescale"
43 revision="9613dbc02ca970122a01c935bc9e5789ced73a9d" 43 revision="ba684412e6983eeda0ef7158a724305f0f1a2f0a"
44 path="sources/meta-freescale-3rdparty" 44 path="sources/meta-freescale-3rdparty"
45 groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/> 45 groups="notdefault,external,fsl,toradex,smx6,boundary,fsl-imx8"/>
46 <project name="meta-raspberrypi" 46 <project name="meta-raspberrypi"
47 remote="yocto" 47 remote="yocto"
48 revision="f2e2a4376e84dec6e5efeabaa86a4406fddf7dcd" 48 revision="2d40b000021bc8a9ef7f329ed0ad410f8d227b97"
49 path="sources/meta-raspberrypi" 49 path="sources/meta-raspberrypi"
50 groups="notdefault,external,rpi"/> 50 groups="notdefault,external,rpi"/>
51 <project name="meta-intel" 51 <project name="meta-intel"
52 remote="intel" 52 remote="intel"
53 revision="9b37952d6af36358b6397cedf3dd53ec8962b6bf" 53 revision="b736eed4746899e76a84545471bf06da09a8b64a"
54 path="sources/meta-intel" 54 path="sources/meta-intel"
55 groups="notdefault,external,intel"/> 55 groups="notdefault,external,intel"/>
56 <project name="meta-tegra" 56 <project name="meta-tegra"
57 remote="madisongh" 57 remote="madisongh"
58 revision="4aea5e3785dc400e31981467f475b54e652dbd67" 58 revision="6b6942c8dd15c2b4a460d46e803b962663955fde"
59 path="sources/meta-tegra" 59 path="sources/meta-tegra"
60 groups="notdefault,external,jetson"/> 60 groups="notdefault,external,jetson"/>
61 <project name="meta-renesas" 61 <project name="meta-renesas"
62 remote="renesas" 62 remote="renesas"
63 revision="95cb48ba09bc7e55fd549817e3e26723409e68d5" 63 revision="276e6ae724d7e604e0d28e4670b8c9edea2957e3"
64 path="sources/meta-renesas" 64 path="sources/meta-renesas"
65 groups="notdefault,external,renesas-gen3"/> 65 groups="notdefault,external,renesas-gen3"/>
66 <project name="meta-renesas"
67 remote="renesas"
68 revision="0f865eb8b464ca717b1651e10c4ddc0c4f798423"
69 path="sources/meta-renesas-D3"
70 groups="notdefault,external,renesas-draak"/>
66 <project name="meta-linaro" 71 <project name="meta-linaro"
67 remote="linaro" 72 remote="linaro"
68 revision="74dacb34c13d1c85fe4627a890b9c04940f9ffeb" 73 revision="282b47a10940c26854c1cca0ec40950192af16fc"
69 path="sources/meta-linaro" 74 path="sources/meta-linaro"
70 groups="notdefault,external,renesas-gen3"/> 75 groups="notdefault,external,renesas-gen3,renesas-draak"/>
71 <project name="meta-toradex-bsp-common" 76 <project name="meta-toradex-bsp-common"
72 remote="toradex" 77 remote="toradex"
73 revision="b6b6be765ba19454246a488f24873b9ef1f4cb78" 78 revision="3e713eef6e056c955b82adaf4b45286a98c3fcdf"
74 path="sources/meta-toradex-bsp-common" 79 path="sources/meta-toradex-bsp-common"
75 groups="notdefault,external,toradex"/> 80 groups="notdefault,external,toradex"/>
76 <project name="meta-toradex-nxp" 81 <project name="meta-toradex-nxp"
77 remote="toradex" 82 remote="toradex"
78 revision="c4f34b34bf34f44b974a7add623cafff17d880ad" 83 revision="656677f4a68e6747971a4a30550cd72c3beb6a76"
79 path="sources/meta-toradex-nxp" 84 path="sources/meta-toradex-nxp"
80 groups="notdefault,external,toradex"/> 85 groups="notdefault,external,toradex"/>
81 <project name="meta-boundary" 86 <project name="meta-boundary"
82 remote="boundary" 87 remote="boundary"
83 revision="42b00061076b2a6e15c1eeed7da6fc14a0dae9d8" 88 revision="107a7ceba84b87e1e2a463fea27ae5c53c4e452f"
84 path="sources/meta-boundary" 89 path="sources/meta-boundary"
85 groups="notdefault,external,boundary"/> 90 groups="notdefault,external,boundary"/>
86 <project name="meta-fsl-bsp-release" 91 <project name="meta-fsl-bsp-release"
@@ -91,17 +96,17 @@
91 96
92 <project name="nvidia-layer" 97 <project name="nvidia-layer"
93 remote="playground" 98 remote="playground"
94 revision="1fa971efec70d999ac2a57782c12625fb70e5c76" 99 revision="af6f41cb527f35263cf7bfde222d92600f5e66e2"
95 path="sources/nvidia-layer" 100 path="sources/nvidia-layer"
96 groups="notdefault,internal"/> 101 groups="notdefault,internal"/>
97 <project name="vibrante-t186" 102 <project name="drive-t186"
98 remote="playground" 103 remote="playground"
99 revision="5e04f79155936ae10bbbea72e012336be6631448" 104 revision="a3dc22511ed845b7fe85a7b26c64b1c37a4763c4"
100 path="sources/vibrante-t186" 105 path="sources/drive-t186"
101 groups="notdefault,internal"/> 106 groups="notdefault,internal"/>
102 <project name="renesas-rcar-gen3" 107 <project name="renesas-rcar-gen3"
103 remote="playground" 108 remote="playground"
104 revision="41c966df95fad1d8fca5c24676c437a46e997c5f" 109 revision="53a345942e4207b2fa1b19d932b5b72bd5c4761c"
105 path="sources/renesas-rcar-gen3" 110 path="sources/renesas-rcar-gen3"
106 groups="notdefault,internal"/> 111 groups="notdefault,internal"/>
107 <project name="meta-smx6" 112 <project name="meta-smx6"
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index 44f529c..5520f53 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -65,7 +65,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
65 nitrogen6x|nitrogen7) 65 nitrogen6x|nitrogen7)
66 LAYERSCONF="bblayers.conf.boundary.sample" 66 LAYERSCONF="bblayers.conf.boundary.sample"
67 ;; 67 ;;
68 imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp) 68 imx6qdlsabresd|imx7dsabresd|imx7s-warp)
69 LAYERSCONF="bblayers.conf.fsl.sample" 69 LAYERSCONF="bblayers.conf.fsl.sample"
70 ;; 70 ;;
71 smarc-samx6i) 71 smarc-samx6i)
@@ -80,9 +80,12 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
80 tegra-x1|tegra-t18x) 80 tegra-x1|tegra-t18x)
81 LAYERSCONF="bblayers.conf.nvidia-tegra.sample" 81 LAYERSCONF="bblayers.conf.nvidia-tegra.sample"
82 ;; 82 ;;
83 salvator-x|h3ulcb|m3ulcb) 83 salvator-x|h3ulcb|m3ulcb|ebisu)
84 LAYERSCONF="bblayers.conf.rcar-gen3.sample" 84 LAYERSCONF="bblayers.conf.rcar-gen3.sample"
85 ;; 85 ;;
86 draak)
87 LAYERSCONF="bblayers.conf.draak.sample"
88 ;;
86 emulator) 89 emulator)
87 LAYERSCONF="bblayers.conf.emulator.sample" 90 LAYERSCONF="bblayers.conf.emulator.sample"
88 ;; 91 ;;
diff --git a/scripts/upload.sh b/scripts/upload.sh
index e77f96d..9d4448c 100755
--- a/scripts/upload.sh
+++ b/scripts/upload.sh
@@ -38,6 +38,8 @@ UPLOADS="\
38 tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.sh \ 38 tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.sh \
39 tmp/deploy/sdk/b2qt-i686-mingw32-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.7z \ 39 tmp/deploy/sdk/b2qt-i686-mingw32-meta-toolchain-b2qt-${PROJECT}-qt5-sdk-${MACHINE}.7z \
40 tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-${MACHINE}.sh \ 40 tmp/deploy/sdk/b2qt-x86_64-meta-toolchain-b2qt-embedded-sdk-${MACHINE}.sh \
41 tmp/deploy/qbsp/meta-b2qt-${PROJECT}-qbsp-x86_64-${MACHINE}-${RELEASE}.qbsp \
42 tmp/deploy/qbsp/meta-b2qt-${PROJECT}-qbsp-i686-mingw32-${MACHINE}-${RELEASE}.qbsp \
41 " 43 "
42 44
43for f in ${UPLOADS}; do 45for f in ${UPLOADS}; do