summaryrefslogtreecommitdiffstats
path: root/conf/distro/include/rcar-gen2.inc
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2017-03-29 15:43:15 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2017-03-31 10:27:53 +0000
commitb0061b9fc37e18b81b231eb05215e53736d9a710 (patch)
treebcded56b80a8d7d20bca853872c1e9b21475e362 /conf/distro/include/rcar-gen2.inc
parentbd776cb94282d10ece0c31762c909ae56f86b2c9 (diff)
downloadmeta-boot2qt-b0061b9fc37e18b81b231eb05215e53736d9a710.tar.gz
Remove support for Renesas R-Car H2 targets
H2 targets no longer build with morty branch and will be replaced with H3. Change-Id: Ibc6e60d4965537cffdc143801fb4ba32db7ffaee Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'conf/distro/include/rcar-gen2.inc')
-rw-r--r--conf/distro/include/rcar-gen2.inc139
1 files changed, 0 insertions, 139 deletions
diff --git a/conf/distro/include/rcar-gen2.inc b/conf/distro/include/rcar-gen2.inc
deleted file mode 100644
index 262fe81..0000000
--- a/conf/distro/include/rcar-gen2.inc
+++ /dev/null
@@ -1,139 +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# To build for the rcar devices you must install the binary gpu drivers as
31# follows. These are made available under the name R-Car Series Evaluation
32# Software Package for Linux at the following address:
33#
34# http://www.renesas.com/secret/r_car_download/rcar_demoboard.jsp
35#
36# You need two files named as follows:
37# - R-Car_Series_Evaluation_Software_Package_for_Linux-<yyyymmdd>.zip
38# - R-Car_Series_Evaluation_Software_Package_of_Linux_Drivers-<yyyymmdd>.zip
39#
40# You can place them in any location, below ~/Downloads is assumed. Now do
41# the following:
42#
43# $ mkdir build && cd build
44# $ export MACHINE=YourMachineHere
45# $ ~/meta-boot2qt/b2qt-init-build-env init --device $MACHINE
46# $ cd sources/meta-renesas
47# $ ./meta-rcar-gen2/docs/sample/copyscript/copy_eva_sw_pkgs.sh ~/Downloads
48#
49# The script takes as the sole argument the location of the two zips. You must
50# be in the right directory when you call the script!
51#
52# You can now build as usual:
53# $ cd ../..
54# $ . setup-environment.sh
55# $ bitbake b2qt-embedded-image
56#
57
58include conf/distro/include/fsl.inc
59
60# internal copy of R-Car_Series_Evaluation_Software_Packages used for CI
61FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen2/${PN}:"
62
63KERNEL_MODULE_AUTOLOAD += " \
64 phy-rcar-gen2-usb \
65 hid_multitouch \
66 renesas_usbhs \
67"
68
69GLES_DRIVER = "sgx"
70GLES_DRIVER_r8a7790 = "rgx"
71
72DISTRO_FEATURES += "h264avcenc_lib"
73MACHINE_FEATURES += "multimedia ${GLES_DRIVER}"
74
75PREFERRED_VERSION_gstreamer1.0-libav = "1.2.3"
76
77PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
78PREFERRED_PROVIDER_virtual/egl = "libegl"
79PREFERRED_PROVIDER_libgbm = "libgbm"
80PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
81
82MULTIMEDIA_PACKAGES = " \
83 gstreamer1.0-plugins-base-videorate \
84 gstreamer1.0-plugins-base-videotestsrc \
85 gstreamer1.0-plugins-base-audiotestsrc \
86 gstreamer1.0-plugins-base-alsa \
87 gstreamer1.0-plugins-good-autodetect \
88 gstreamer1.0-plugins-good-isomp4 \
89 gstreamer1.0-plugins-good-video4linux2 \
90 gstreamer1.0-plugins-good-videocrop \
91 gstreamer1.0-plugins-bad-asfmux \
92 gstreamer1.0-plugins-bad-fbdevsink \
93 gstreamer1.0-plugins-bad-faad \
94 gstreamer1.0-plugins-bad-videoparsersbad \
95 packagegroup-rcar-gen2-multimedia \
96"
97
98# Unfortunately several Renesas components suffer from various issues requiring workarounds
99# libgbm-dev is required as some part of the binary driver stack attempts to dlopen an unversioned so
100# bash is required as it is hardcoded in a system setup script
101# libdrm-tests appears to be required (to be confirmed?)
102RENESAS_WORKAROUNGS = " \
103 libgbm-dev \
104 bash \
105 libdrm-tests \
106"
107
108MACHINE_EXTRA_INSTALL += " \
109 kernel-devicetree \
110 libdrm-kms \
111 libegl \
112 gles-kernel-module \
113 gles-user-module \
114 ${RENESAS_WORKAROUNGS} \
115 ${@bb.utils.contains("MACHINE_FEATURES", "multimedia", "${MULTIMEDIA_PACKAGES}", "", d)} \
116"
117
118MACHINE_EXTRA_INSTALL_append_lcb = " \
119 can-utils \
120 libsocketcan \
121 ${@bb.utils.contains("MACHINE_FEATURES", "multimedia", "packagegroup-lcb-oss-codecs", "", d)} \
122"
123
124BB_MULTIMEDIA_TEST_MODULE = "\
125 fdpm-tp-user-module \
126 mmngr-tp-user-module \
127 mmngrbuf-tp-user-module \
128 s3ctl-tp-user-module \
129 vspm-tp-user-module \
130 "
131
132BBMASK += "\
133 ${BB_MULTIMEDIA_TEST_MODULE} \
134 dtv-module ssp-module scu-module \
135 gles-test-module \
136 poky/meta/recipes-graphics/mesa \
137 meta-freescale/recipes-graphics/mesa \
138 meta-rcar-gen2/recipes-devtools/file \
139 "