summaryrefslogtreecommitdiffstats
path: root/meta-renesas-extras
diff options
context:
space:
mode:
authorLouai Al-Khanji <louai.al-khanji@theqtcompany.com>2016-03-14 16:53:56 -0700
committerLouai Al-Khanji <louai.al-khanji@qt.io>2016-05-10 15:26:17 +0000
commita42496a9498739cb7362d11dd7c22d08b39ccbb9 (patch)
treeb6a6e84fcc9c69f81689979a043234ff748bab8d /meta-renesas-extras
parent4a0beee17a7b3be144771363920419604f1facec (diff)
downloadmeta-boot2qt-a42496a9498739cb7362d11dd7c22d08b39ccbb9.tar.gz
Add Support for Renesas R-Car Gen2 Devices
I have only personally tested the porter build as it's the only device I have, but getting the others to work as well should be straight forward. Please see the note in conf/distro/include/rcar-gen2.inc about the binary drivers. The documentation we ship with Qt Creator should expand on how to install the drivers. Additionally we must check with Renesas how we could redistribute prebuilt images if we want to do that. Change-Id: I82e03aad9b43bee068aaa0472aeac4d394f049a8 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'meta-renesas-extras')
-rw-r--r--meta-renesas-extras/classes/renesas-module.bbclass71
-rw-r--r--meta-renesas-extras/conf/layer.conf32
-rw-r--r--meta-renesas-extras/recipes/adbd/adbd.bbappend22
-rw-r--r--meta-renesas-extras/recipes/adbd/files/defaults4
-rwxr-xr-xmeta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb50
-rw-r--r--meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend22
-rw-r--r--meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend24
-rw-r--r--meta-renesas-extras/recipes/glibc/glibc_%.bbappend24
-rw-r--r--meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch34
-rw-r--r--meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb27
-rw-r--r--meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend22
-rw-r--r--meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg77
-rw-r--r--meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend27
-rw-r--r--meta-renesas-extras/recipes/mesa/mesa_%.bbappend22
-rwxr-xr-xmeta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb46
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend22
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend22
-rwxr-xr-xmeta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb33
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend22
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend22
-rw-r--r--meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend33
-rw-r--r--meta-renesas-extras/recipes/qt5/qtbase_git.bbappend22
-rwxr-xr-xmeta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb32
-rw-r--r--meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend22
-rw-r--r--meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend22
-rwxr-xr-xmeta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb40
-rw-r--r--meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend22
-rwxr-xr-xmeta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb53
-rw-r--r--meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend22
-rwxr-xr-xmeta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb55
-rw-r--r--meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend22
-rw-r--r--meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend22
32 files changed, 992 insertions, 0 deletions
diff --git a/meta-renesas-extras/classes/renesas-module.bbclass b/meta-renesas-extras/classes/renesas-module.bbclass
new file mode 100644
index 0000000..49ccc51
--- /dev/null
+++ b/meta-renesas-extras/classes/renesas-module.bbclass
@@ -0,0 +1,71 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22### Unfortunately the kernel module recipes in meta-renesas/meta-rcar-gen2
23### are fairly broken, as they tend to install their include files into the
24### staging area. That breaks when recompiling the kernel and is just flaky
25### in general. Try to make things work reliably.
26
27inherit module
28addtask shared_workdir after do_compile
29
30EXTRA_OEMAKE += "ARCH=${ARCH}"
31
32export BUILDDIR = "${STAGING_DIR_HOST}"
33export LIBSHARED = "${STAGING_LIBDIR}"
34export KERNELSRC = "${STAGING_KERNEL_DIR}"
35export CROSS_COMPILE = "${TARGET_PREFIX}"
36export KERNELDIR = "${STAGING_KERNEL_BUILDDIR}"
37export LDFLAGS = ""
38export CP = "cp"
39
40MODULE_SOURCE_DIR ?= "${S}/drv/"
41
42do_compile() {
43 cd ${MODULE_SOURCE_DIR}
44 module_do_compile
45 cd -
46}
47
48deploy_build_deps() {
49 targetdir="$1"
50
51 install -d ${targetdir}/include
52 install ${MODULE_SOURCE_DIR}/Module.symvers $targetdir/include/${MODULE_NAME}.symvers
53
54 for header in ${MODULE_HEADERS} ; do
55 install -t ${targetdir}/include ${S}/${header}
56 done
57}
58
59do_shared_workdir () {
60 deploy_build_deps ${STAGING_KERNEL_BUILDDIR}
61}
62
63do_install() {
64 install -D ${MODULE_SOURCE_DIR}/${MODULE_NAME}${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/extra/${MODULE_NAME}${KERNEL_OBJECT_SUFFIX}
65 deploy_build_deps ${D}/usr/src/kernel
66}
67
68FILES_${PN}-dev = " \
69 /usr/src/kernel/include/${MODULE_NAME}.symvers \
70 /usr/src/kernel/include/*.h \
71"
diff --git a/meta-renesas-extras/conf/layer.conf b/meta-renesas-extras/conf/layer.conf
new file mode 100644
index 0000000..7961748
--- /dev/null
+++ b/meta-renesas-extras/conf/layer.conf
@@ -0,0 +1,32 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22# We have a conf and classes directory, append to BBPATH
23BBPATH .= ":${LAYERDIR}"
24
25# We have a recipes directory, add to BBFILES
26BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
27 ${LAYERDIR}/recipes*/*/*.bbappend \
28 "
29
30BBFILE_COLLECTIONS += "b2qt_renesas"
31BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/"
32BBFILE_PRIORITY_b2qt_renesas = "20"
diff --git a/meta-renesas-extras/recipes/adbd/adbd.bbappend b/meta-renesas-extras/recipes/adbd/adbd.bbappend
new file mode 100644
index 0000000..0657375
--- /dev/null
+++ b/meta-renesas-extras/recipes/adbd/adbd.bbappend
@@ -0,0 +1,22 @@
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:"
diff --git a/meta-renesas-extras/recipes/adbd/files/defaults b/meta-renesas-extras/recipes/adbd/files/defaults
new file mode 100644
index 0000000..0fbba4c
--- /dev/null
+++ b/meta-renesas-extras/recipes/adbd/files/defaults
@@ -0,0 +1,4 @@
1VENDOR=0x18d1
2PRODUCT=0x0000
3SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address)
4USE_ETHERNET=yes
diff --git a/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb
new file mode 100755
index 0000000..b1077f1
--- /dev/null
+++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb
@@ -0,0 +1,50 @@
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
22LICENSE = "GPLv2 & MIT"
23LIC_FILES_CHKSUM = "\
24file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
25file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
26file://include/GPL-COPYING;md5=ffa10f40b98be2c2bc9608f56827ed23 \
27file://include/MIT-COPYING;md5=5526ef6e21dc96a1dd89fac4bde9f995 \
28"
29
30DEPENDS = "mmngr-kernel-module"
31SRC_URI = "file://fdpm-kernel.tar.bz2"
32S = "${WORKDIR}/fdpm"
33
34do_configure[depends] += "mmngr-kernel-module:do_shared_workdir"
35
36inherit renesas-module
37
38FDPM_CFG_r8a7790 = "H2CONFIG"
39FDPM_CFG_r8a7791 = "M2CONFIG"
40FDPM_CFG_r8a7793 = "M2CONFIG"
41FDPM_CFG_r8a7794 = "E2CONFIG"
42
43MODULE_NAME = "fdpm"
44MODULE_HEADERS = "include/fdpm_drv.h include/fdpm_public.h include/fdpm_api.h"
45
46do_compile_prepend() {
47 export FDPM_CONFIG=${FDPM_CFG}
48 export FDPM_MMNGRDIR=${STAGING_KERNEL_BUILDDIR}/include
49 export FDPM_MMNGRSYMVERS=mmngr.symvers
50}
diff --git a/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend
new file mode 100644
index 0000000..4c8f097
--- /dev/null
+++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/fdpm-module/files:"
diff --git a/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend b/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend
new file mode 100644
index 0000000..003b7b9
--- /dev/null
+++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend
@@ -0,0 +1,24 @@
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
22do_compile[depends] += "\
23 fdpm-kernel-module:do_shared_workdir \
24 mmngr-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/glibc/glibc_%.bbappend b/meta-renesas-extras/recipes/glibc/glibc_%.bbappend
new file mode 100644
index 0000000..df7fbb3
--- /dev/null
+++ b/meta-renesas-extras/recipes/glibc/glibc_%.bbappend
@@ -0,0 +1,24 @@
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
22do_install_append() {
23 echo "/usr/local/lib" >> ${D}${sysconfdir}/ld.so.conf
24}
diff --git a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
new file mode 100644
index 0000000..bc36d70
--- /dev/null
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
@@ -0,0 +1,34 @@
1From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 6 Apr 2013 01:22:22 +0200
4Subject: [PATCH] Disable yasm for libav when --disable-yasm
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Shane Wang <shane.wang@intel.com>
9Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10---
11 configure.ac | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 22ede88..ef3c050 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -305,6 +305,12 @@ else
19 emblibav_configure_args="$emblibav_configure_args --enable-gpl"
20 fi
21
22+ AC_ARG_ENABLE(yasm,
23+ [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])])
24+ if test "x$enable_yasm" = "xno"; then
25+ emblibav_configure_args="$emblibav_configure_args --disable-yasm"
26+ fi
27+
28 # if we are cross-compiling, tell libav so
29 case $host in
30 *android*)
31--
321.8.2
33
34
diff --git a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb
new file mode 100644
index 0000000..cfa9a66
--- /dev/null
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb
@@ -0,0 +1,27 @@
1DEFAULT_PREFERENCE = "-1"
2
3include recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
7 file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
8 file://gst-libs/ext/libav/LICENSE;md5=23a54f59b82572c203a559346e89ed57 \
9 file://gst-libs/ext/libav/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://gst-libs/ext/libav/COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
11 file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
12 file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
13
14SRC_URI = " \
15 http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \
16 file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \
17 "
18SRC_URI[md5sum] = "58c7998a054d8d8ca041fa35738f72b6"
19SRC_URI[sha256sum] = "ebc7fbe10955f40df6ccc4bf689075e7e296205fc7ecd8ff383d43c5cdf5bcd6"
20LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
21 --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
22 --ranlib='${RANLIB}' \
23 ${GSTREAMER_1_0_DEBUG}"
24
25S = "${WORKDIR}/gst-libav-${PV}"
26
27
diff --git a/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend b/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend
new file mode 100644
index 0000000..8c37291
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend
@@ -0,0 +1,22 @@
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
22COMPATIBLE_MACHINE = ""
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg b/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg
new file mode 100644
index 0000000..6ecc61e
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg
@@ -0,0 +1,77 @@
1# Drivers
2CONFIG_USB_RCAR_PHY=m
3CONFIG_USB_RCAR_GEN2_PHY=m
4CONFIG_USB_RENESAS_USBHS=m
5CONFIG_USB_RENESAS_USBHS_HCD=y
6CONFIG_USB_RENESAS_USBHS_UDC=y
7CONFIG_USB_OTG=y
8
9# FunctionFS for adb
10CONFIG_USB_FUNCTIONFS=m
11CONFIG_USB_FUNCTIONFS_RNDIS=y
12CONFIG_USB_FUNCTIONFS_ETH=y
13
14# Enable USB serial support
15CONFIG_USB_SERIAL=m
16CONFIG_USB_SERIAL_GENERIC=y
17CONFIG_USB_SERIAL_FTDI_SIO=m
18CONFIG_USB_SERIAL_PL2303=m
19CONFIG_USB_ACM=m
20
21# ConfigFS
22CONFIG_USB_CONFIGFS=m
23CONFIG_USB_CONFIGFS_SERIAL=y
24CONFIG_USB_CONFIGFS_ACM=y
25CONFIG_USB_CONFIGFS_OBEX=y
26CONFIG_USB_CONFIGFS_NCM=y
27CONFIG_USB_CONFIGFS_ECM=y
28CONFIG_USB_CONFIGFS_ECM_SUBSET=y
29CONFIG_USB_CONFIGFS_RNDIS=y
30CONFIG_USB_CONFIGFS_EEM=y
31CONFIG_USB_CONFIGFS_MASS_STORAGE=y
32CONFIG_USB_CONFIGFS_F_LB_SS=y
33CONFIG_USB_CONFIGFS_F_FS=y
34
35CONFIG_NOP_USB_XCEIV=y
36CONFIG_USB_GADGETFS=m
37CONFIG_USB_G_NCM=m
38CONFIG_USB_G_SERIAL=m
39CONFIG_USB_MASS_STORAGE=m
40
41# Newer inits like systemd need cgroup support
42CONFIG_CGROUP_SCHED=y
43CONFIG_CGROUPS=y
44CONFIG_CGROUP_NS=y
45CONFIG_CGROUP_FREEZER=y
46CONFIG_CGROUP_DEVICE=y
47CONFIG_CPUSETS=y
48CONFIG_PROC_PID_CPUSET=y
49CONFIG_CGROUP_CPUACCT=y
50CONFIG_RESOURCE_COUNTERS=y
51
52# Bluetooth bits
53CONFIG_BT_HIDP=y
54CONFIG_BT_HCIBTUSB=m
55CONFIG_BT_BNEP=m
56CONFIG_BT_BNEP_MC_FILTER=y
57CONFIG_BT_BNEP_PROTO_FILTER=y
58CONFIG_BT_RFCOMM=m
59CONFIG_BT_RFCOMM_TTY=y
60CONFIG_RFKILL=m
61
62CONFIG_FHANDLE=y
63CONFIG_USB_NAMESPACES=m
64
65# needed for USB touchscreens
66CONFIG_HID_MULTITOUCH=y
67
68# additional configs needed for Genivi compliance
69CONFIG_EXPERIMENTAL=y
70CONFIG_ECRYPT_FS=y
71CONFIG_QUOTA=y
72CONFIG_BT=y
73
74# add uinput for automated testing
75CONFIG_INPUT_MISC=y
76CONFIG_INPUT_UINPUT=y
77
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend b/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend
new file mode 100644
index 0000000..31063ec
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend
@@ -0,0 +1,27 @@
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}/${PN}:"
23
24SRC_URI_append = " \
25file://b2qt.cfg \
26"
27
diff --git a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
new file mode 100644
index 0000000..d43b386
--- /dev/null
+++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
@@ -0,0 +1,22 @@
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
22PROVIDES_remove = "virtual/libgles2 virtual/egl libgbm libgbm-dev"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb
new file mode 100755
index 0000000..4fe274b
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb
@@ -0,0 +1,46 @@
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
22LICENSE = "GPLv2 & MIT"
23LIC_FILES_CHKSUM = "\
24file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
25file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
26file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
27file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
28"
29
30SRC_URI = "file://mmngr.tar.bz2"
31S = "${WORKDIR}/mmngr"
32
33inherit renesas-module
34
35MODULE_NAME = "mmngr"
36MODULE_HEADERS = "include/mmngr_public.h include/mmngr_private.h"
37
38MMNGR_CFG_r8a7790 = "MMNGR_LAGER"
39MMNGR_CFG_r8a7791 = "MMNGR_KOELSCH"
40MMNGR_CFG_r8a7793 = "MMNGR_GOSE"
41MMNGR_CFG_r8a7794 = "MMNGR_ALT"
42
43do_compile_prepend() {
44 export MMNGR_CONFIG=${MMNGR_CFG}
45 export MMNGR_SSP_CONFIG="MMNGR_SSP_DISABLE"
46}
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend
new file mode 100644
index 0000000..cc3a255
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/mmngr-module/files:"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend
new file mode 100644
index 0000000..87e276b
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend
@@ -0,0 +1,22 @@
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
22do_compile[depends] += "mmngr-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb
new file mode 100755
index 0000000..b21ad69
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb
@@ -0,0 +1,33 @@
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
22LICENSE = "GPLv2 & MIT"
23SRC_URI = "file://mmngrbuf.tar.bz2"
24LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
25 file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
26 file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
27 file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 "
28
29inherit renesas-module
30
31S = "${WORKDIR}/mmngrbuf"
32
33MODULE_NAME = "mmngrbuf"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend
new file mode 100644
index 0000000..cc3a255
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/mmngr-module/files:"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend
new file mode 100644
index 0000000..237d739
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend
@@ -0,0 +1,22 @@
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
22do_compile[depends] += "mmngrbuf-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend b/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend
new file mode 100644
index 0000000..ff5988e
--- /dev/null
+++ b/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend
@@ -0,0 +1,33 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22# The recipe adds an unpack_append where it creates the folder, but by then
23# base.bbclass will have reported a non-existent directory warning.
24do_unpack_prepend() {
25 bb.utils.mkdirhier(d.getVar('S', True))
26}
27
28do_configure[depends] += "\
29 mmngr-kernel-module:do_shared_workdir \
30 vspm-kernel-module:do_shared_workdir \
31 s3ctl-kernel-module:do_shared_workdir \
32 fdpm-kernel-module:do_shared_workdir \
33 uvcs-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend b/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend
new file mode 100644
index 0000000..2346521
--- /dev/null
+++ b/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend
@@ -0,0 +1,22 @@
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
22PACKAGECONFIG += "kms"
diff --git a/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb
new file mode 100755
index 0000000..ce68a6e
--- /dev/null
+++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb
@@ -0,0 +1,32 @@
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
22LICENSE = "GPLv2 & MIT"
23LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
24 file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378"
25SRC_URI = "file://s3ctl-kernel.tar.bz2"
26
27S = "${WORKDIR}/s3ctl"
28
29inherit renesas-module
30
31MODULE_NAME = "s3ctl"
32MODULE_HEADERS = "include/s3ctl_private.h"
diff --git a/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend
new file mode 100644
index 0000000..d511650
--- /dev/null
+++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/s3ctl-module/files:"
diff --git a/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend
new file mode 100644
index 0000000..ea8d7c0
--- /dev/null
+++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend
@@ -0,0 +1,22 @@
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
22do_compile[depends] += "s3ctl-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb
new file mode 100755
index 0000000..264e50d
--- /dev/null
+++ b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb
@@ -0,0 +1,40 @@
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
22LICENSE = "GPLv2 & MIT"
23LIC_FILES_CHKSUM = "\
24file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
25file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
26"
27
28SRC_URI = "file://uvcs-kernel.tar.bz2"
29S = "${WORKDIR}/uvcs"
30
31inherit renesas-module
32
33export UVCS_DRV_SRC_DIR = "${S}/source/uvcs_lkm"
34export UVCS_CMN_SRC_DIR = "${S}/source/uvcs_cmn"
35export UVCS_CMN_INC_DIR = "${S}/include"
36export DRV_CORE_SRC_DIR = "${S}/source/driver_core"
37
38MODULE_NAME = "uvcs_cmn"
39MODULE_HEADERS = "include/uvcs_cmn.h include/uvcs_types.h"
40MODULE_SOURCE_DIR = "${S}/source/makefile/linaro_4_7_3/"
diff --git a/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend
new file mode 100644
index 0000000..1853060
--- /dev/null
+++ b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/uvcs-module/files:"
diff --git a/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb
new file mode 100755
index 0000000..622acf9
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb
@@ -0,0 +1,53 @@
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
22LICENSE = "GPLv2 & MIT"
23LIC_FILES_CHKSUM = " \
24file://GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
25file://MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
26"
27
28SRC_URI = " \
29 git://github.com/renesas-devel/vsp2driver.git;protocol=git;branch=RCAR-GEN2/1.0.0 \
30 file://vsp2drv-init \
31"
32SRCREV = "8cc362a6c961661e4655904f8d7731e501529d6c"
33S = "${WORKDIR}/git"
34
35DEPENDS = "vspm-kernel-module"
36do_configure[depends] += "vspm-kernel-module:do_shared_workdir"
37
38MODULE_NAME = "vsp2"
39INITSCRIPT_NAME = "vsp2drv"
40INITSCRIPT_PARAMS = "start 8 5 2 . stop 61 0 1 6 ."
41
42inherit renesas-module update-rc.d
43
44do_compile_prepend() {
45 export VSP2_VSPMDIR=${STAGING_KERNEL_BUILDDIR}/include
46 export VSP2_VSPMSYMVERS=vspm.symvers
47}
48
49do_install_append() {
50 install -D -m 0755 ${WORKDIR}/vsp2drv-init ${D}/${sysconfdir}/init.d/vsp2drv
51}
52
53FILES_${PN} += "/etc/init.d/vsp2drv"
diff --git a/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend
new file mode 100644
index 0000000..168c037
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/vspm-module/files:"
diff --git a/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb
new file mode 100755
index 0000000..b08a589
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb
@@ -0,0 +1,55 @@
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
22LICENSE = "GPLv2 & MIT"
23LIC_FILES_CHKSUM = "\
24file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
25file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
26"
27
28SRC_URI = "file://vspm-kernel.tar.bz2"
29S = "${WORKDIR}/vspm"
30
31inherit renesas-module
32
33MODULE_NAME = "vspm"
34MODULE_HEADERS = " \
35include/vspm_public.h \
36include/vsp_drv.h \
37include/tddmac_drv.h \
38include/vspm_if.h \
39"
40
41VSPM_CFG_r8a7790 = "H2CONFIG"
42VSPM_CFG_r8a7791 = "M2CONFIG"
43VSPM_CFG_r8a7793 = "M2CONFIG"
44VSPM_CFG_r8a7794 = "E2CONFIG"
45
46do_compile_prepend() {
47 export VSPM_CONFIG=${VSPM_CFG}
48}
49
50do_install_append() {
51 # Copy for vspm-user-module
52 install -t ${STAGING_INCDIR} ${S}/include/vspm_if.h
53}
54
55FILES_${PN}-dev += "/usr/include/vspm_if.h"
diff --git a/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend
new file mode 100644
index 0000000..168c037
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend
@@ -0,0 +1,22 @@
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 := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/vspm-module/files:"
diff --git a/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend b/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend
new file mode 100644
index 0000000..afd5a47
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend
@@ -0,0 +1,22 @@
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
22do_compile[depends] += "vspm-kernel-module:do_shared_workdir"