diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2016-10-13 13:06:09 +0300 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-10-14 10:22:37 +0000 |
| commit | f956591bbe246fae0dc4ed9b6d911bcec526463f (patch) | |
| tree | 6a0da0066d8b9850cf913287ea55872041c67411 /conf | |
| parent | 776b174f4b54f8913933a67392f1cc3fa1085506 (diff) | |
| download | meta-boot2qt-f956591bbe246fae0dc4ed9b6d911bcec526463f.tar.gz | |
Revert "tegra: update to latest vibrante pdk"
Problems with eglfs, so revert back to previous PDK.
This reverts commit 323408406d9133a5462a24fea4ec86e649088180.
Change-Id: I3ee36809cb823aefdc03f8a24d052c2a76f308db
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/bblayers.conf.nvidia-logan.sample | 53 | ||||
| -rw-r--r-- | conf/distro/include/nvidia-logan.conf | 66 | ||||
| -rw-r--r-- | conf/distro/include/tegra-t18x.conf | 18 | ||||
| -rw-r--r-- | conf/distro/include/tegra.inc | 17 |
4 files changed, 148 insertions, 6 deletions
diff --git a/conf/bblayers.conf.nvidia-logan.sample b/conf/bblayers.conf.nvidia-logan.sample new file mode 100644 index 0000000..9a7272c --- /dev/null +++ b/conf/bblayers.conf.nvidia-logan.sample | |||
| @@ -0,0 +1,53 @@ | |||
| 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 | # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
| 31 | # changes incompatibly | ||
| 32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
| 33 | |||
| 34 | BBPATH = "${TOPDIR}" | ||
| 35 | BBFILES ?= "" | ||
| 36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
| 37 | |||
| 38 | BBLAYERS ?= " \ | ||
| 39 | ${BSPDIR}/sources/poky/meta \ | ||
| 40 | ${BSPDIR}/sources/poky/meta-poky \ | ||
| 41 | ${BSPDIR}/sources/nvidia-layer/meta-tegra \ | ||
| 42 | ${BSPDIR}/sources/nvidia-layer/meta-vib3 \ | ||
| 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 \ | ||
| 49 | ${BSPDIR}/sources/meta-boot2qt/meta-vib3-extras \ | ||
| 50 | ${BSPDIR}/sources/meta-boot2qt/meta-tegra-extras \ | ||
| 51 | ${BSPDIR}/sources/meta-mingw \ | ||
| 52 | ${BSPDIR}/sources/meta-qt5 \ | ||
| 53 | " | ||
diff --git a/conf/distro/include/nvidia-logan.conf b/conf/distro/include/nvidia-logan.conf new file mode 100644 index 0000000..0dc1d84 --- /dev/null +++ b/conf/distro/include/nvidia-logan.conf | |||
| @@ -0,0 +1,66 @@ | |||
| 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 | TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM" | ||
| 31 | |||
| 32 | DEFAULTTUNE = "cortexa15hf-neon" | ||
| 33 | |||
| 34 | KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/jetson-tk1-pro/vibrante-vcm30t124-linux")}' | ||
| 35 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/jetson-tk1-pro/vibrante-vcm30t124-linux")}' | ||
| 36 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" | ||
| 37 | |||
| 38 | MACHINE_EXTRA_INSTALL = "\ | ||
| 39 | libegl \ | ||
| 40 | libgles2 \ | ||
| 41 | tegra-firmware-gk20a \ | ||
| 42 | graphics-fw \ | ||
| 43 | libdrm-nv \ | ||
| 44 | " | ||
| 45 | |||
| 46 | MACHINE_EXTRA_INSTALL_SDK = "\ | ||
| 47 | libegl-dev \ | ||
| 48 | libgles2-dev \ | ||
| 49 | graphics-headers-dev \ | ||
| 50 | libdrm-nv-dev \ | ||
| 51 | " | ||
| 52 | |||
| 53 | PREFERRED_PROVIDER_libdrm ?= "libdrm-nv" | ||
| 54 | PREFERRED_PROVIDER_drm ?= "libdrm-nv" | ||
| 55 | |||
| 56 | BBMASK += "\ | ||
| 57 | meta-vib3/recipes-kernel/linux-libc-headers \ | ||
| 58 | meta-vib3/recipes-devtools/binutils \ | ||
| 59 | meta-vib3/recipes-core/eglibc \ | ||
| 60 | meta-vib3/recipes-core/systemd \ | ||
| 61 | meta-vib3/recipes-connectivity \ | ||
| 62 | meta-vib3/recipes-multimedia/pulseaudio \ | ||
| 63 | meta-vib3/recipes-core/meta \ | ||
| 64 | meta-vib3/recipes-core/packagegroups \ | ||
| 65 | meta-vib3/recipes-devtools/gcc \ | ||
| 66 | " | ||
diff --git a/conf/distro/include/tegra-t18x.conf b/conf/distro/include/tegra-t18x.conf index 34d23a9..a1fad00 100644 --- a/conf/distro/include/tegra-t18x.conf +++ b/conf/distro/include/tegra-t18x.conf | |||
| @@ -20,13 +20,15 @@ | |||
| 20 | ## | 20 | ## |
| 21 | ############################################################################# | 21 | ############################################################################# |
| 22 | 22 | ||
| 23 | include conf/distro/include/tegra.inc | ||
| 24 | |||
| 23 | OLDEST_KERNEL_aarch64 = "3.18" | 25 | OLDEST_KERNEL_aarch64 = "3.18" |
| 24 | 26 | ||
| 25 | TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM" | 27 | TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM" |
| 26 | DISTRO_FEATURES_DEFAULT += "wayland" | 28 | DISTRO_FEATURES_DEFAULT += "wayland" |
| 27 | 29 | ||
| 28 | KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/kernel")}' | 30 | KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/kernel")}' |
| 29 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' | 31 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/vibrante-t186ref-linux")}' |
| 30 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" | 32 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" |
| 31 | 33 | ||
| 32 | MACHINE_EXTRA_INSTALL += "\ | 34 | MACHINE_EXTRA_INSTALL += "\ |
| @@ -46,6 +48,7 @@ MACHINE_EXTRA_INSTALL += "\ | |||
| 46 | virtual/libegl \ | 48 | virtual/libegl \ |
| 47 | virtual/libgles2 \ | 49 | virtual/libgles2 \ |
| 48 | libdrm-nv \ | 50 | libdrm-nv \ |
| 51 | asound-conf \ | ||
| 49 | " | 52 | " |
| 50 | 53 | ||
| 51 | PREFERRED_PROVIDER_virtual/libgles2 ?= "tegra-drivers" | 54 | PREFERRED_PROVIDER_virtual/libgles2 ?= "tegra-drivers" |
| @@ -57,18 +60,21 @@ PREFERRED_PROVIDER_virtual/libgl ?= "tegra-drivers" | |||
| 57 | PREFERRED_PROVIDER_virtual/libgles1 ?= "tegra-drivers" | 60 | PREFERRED_PROVIDER_virtual/libgles1 ?= "tegra-drivers" |
| 58 | PREFERRED_PROVIDER_virtual/mesa ?= "tegra-drivers" | 61 | PREFERRED_PROVIDER_virtual/mesa ?= "tegra-drivers" |
| 59 | 62 | ||
| 63 | PREFERRED_PROVIDER_wayland ?= "wayland-nv" | ||
| 64 | PREFERRED_PROVIDER_wayland-native ?= "wayland-nv" | ||
| 65 | PREFERRED_PROVIDER_nativesdk-wayland ?= "wayland-nv" | ||
| 66 | |||
| 60 | BBMASK += "\ | 67 | BBMASK += "\ |
| 61 | meta-vib4/recipes-connectivity/connman \ | 68 | meta-vib4/recipes-connectivity/connman \ |
| 62 | meta-vib4/recipes-core/toybox \ | 69 | meta-vib4/recipes-core/busybox \ |
| 63 | meta-vib4/recipes-core/images \ | 70 | meta-vib4/recipes-core/images \ |
| 71 | meta-vib4/recipes-core/meta \ | ||
| 64 | meta-vib4/recipes-core/packagegroups \ | 72 | meta-vib4/recipes-core/packagegroups \ |
| 73 | meta-vib4/recipes-core/systemd/systemd \ | ||
| 74 | meta-vib4/recipes-devtools \ | ||
| 65 | meta-vib4/recipes-extended \ | 75 | meta-vib4/recipes-extended \ |
| 66 | meta-vib4/recipes-multimedia/audiomanager \ | 76 | meta-vib4/recipes-multimedia/audiomanager \ |
| 67 | meta-vib4/recipes-core/glibc \ | 77 | meta-vib4/recipes-core/glibc \ |
| 68 | meta-vib4/recipes-support/lvm2 \ | 78 | meta-vib4/recipes-support/lvm2 \ |
| 69 | meta-vib4/recipes-kernel/linux-libc-headers \ | 79 | meta-vib4/recipes-kernel/linux-libc-headers \ |
| 70 | meta-vib4/recipes-devtools/binutils \ | ||
| 71 | meta-vib4/recipes-yocto-ivi/packagegroups \ | ||
| 72 | meta-vib4/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend \ | ||
| 73 | meta-vib4/recipes-graphics/wayland/libinput_%.bbappend \ | ||
| 74 | " | 80 | " |
diff --git a/conf/distro/include/tegra.inc b/conf/distro/include/tegra.inc new file mode 100644 index 0000000..618a634 --- /dev/null +++ b/conf/distro/include/tegra.inc | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | python set_nv_drv_version () { | ||
| 2 | # Boiler plate code to setup bitbake objects | ||
| 3 | d = e.data | ||
| 4 | |||
| 5 | nv_drv_version = d.getVar('NV_DRV_VER', True) | ||
| 6 | if nv_drv_version != "ignore": | ||
| 7 | # FIXME: When we add support to internal builds, both debug and release | ||
| 8 | # builds will need to be considered | ||
| 9 | path = d.getVar('PLATFORM_TOPDIR', True) | ||
| 10 | get_nv_drv_cmd = "strings " + path + "/lib-target/nvidia_drv.so \ | ||
| 11 | | grep -o -P '(?<=Driver ).*(?=Release)' | awk {'print $1'}" | ||
| 12 | # Execute cmd | ||
| 13 | nv_drv_version = bb.process.run(get_nv_drv_cmd)[0].strip() | ||
| 14 | # Store returned value in NV_DRV_VER | ||
| 15 | d.setVar('NV_DRV_VER', nv_drv_version) | ||
| 16 | } | ||
| 17 | |||
