diff options
author | Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | 2016-03-14 16:53:56 -0700 |
---|---|---|
committer | Louai Al-Khanji <louai.al-khanji@qt.io> | 2016-05-10 15:26:17 +0000 |
commit | a42496a9498739cb7362d11dd7c22d08b39ccbb9 (patch) | |
tree | b6a6e84fcc9c69f81689979a043234ff748bab8d | |
parent | 4a0beee17a7b3be144771363920419604f1facec (diff) | |
download | meta-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>
45 files changed, 1338 insertions, 0 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 7db1c56..1676014 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -131,6 +131,9 @@ get_groups() { | |||
131 | emulator) | 131 | emulator) |
132 | PROJECT_GROUPS="emulator" | 132 | PROJECT_GROUPS="emulator" |
133 | ;; | 133 | ;; |
134 | alt|gose|koelsch|lager|porter|silk|stout) | ||
135 | PROJECT_GROUPS="renesas" | ||
136 | ;; | ||
134 | *) | 137 | *) |
135 | echo "Unknown device configuration, including all meta layers" | 138 | echo "Unknown device configuration, including all meta layers" |
136 | PROJECT_GROUPS="external" | 139 | PROJECT_GROUPS="external" |
diff --git a/conf/bblayers.conf.rcar-gen2.sample b/conf/bblayers.conf.rcar-gen2.sample new file mode 100644 index 0000000..9a35b26 --- /dev/null +++ b/conf/bblayers.conf.rcar-gen2.sample | |||
@@ -0,0 +1,48 @@ | |||
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 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
23 | # changes incompatibly | ||
24 | LCONF_VERSION = "6" | ||
25 | |||
26 | BBPATH = "${TOPDIR}" | ||
27 | BBFILES ?= "" | ||
28 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
29 | |||
30 | BBLAYERS ?= " \ | ||
31 | ${BSPDIR}/sources/meta-b2qt \ | ||
32 | ${BSPDIR}/sources/poky/meta \ | ||
33 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
34 | ${BSPDIR}/sources/meta-b2qt/meta-renesas-extras \ | ||
35 | ${BSPDIR}/sources/meta-renesas \ | ||
36 | ${BSPDIR}/sources/meta-renesas/meta-rcar-gen2 \ | ||
37 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
38 | ${BSPDIR}/sources/meta-openembedded/meta-python \ | ||
39 | ${BSPDIR}/sources/meta-openembedded/meta-networking \ | ||
40 | ${BSPDIR}/sources/meta-openembedded/meta-initramfs \ | ||
41 | ${BSPDIR}/sources/meta-openembedded/meta-multimedia \ | ||
42 | ${BSPDIR}/sources/meta-qt5 \ | ||
43 | ${BSPDIR}/sources/meta-mingw \ | ||
44 | " | ||
45 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
46 | ${BSPDIR}/sources/poky/meta \ | ||
47 | ${BSPDIR}/sources/poky/meta-yocto \ | ||
48 | " | ||
diff --git a/conf/distro/include/alt.conf b/conf/distro/include/alt.conf new file mode 100644 index 0000000..2f28832 --- /dev/null +++ b/conf/distro/include/alt.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Alt" | ||
diff --git a/conf/distro/include/gose.conf b/conf/distro/include/gose.conf new file mode 100644 index 0000000..d932962 --- /dev/null +++ b/conf/distro/include/gose.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Gose" | ||
diff --git a/conf/distro/include/koelsch.conf b/conf/distro/include/koelsch.conf new file mode 100644 index 0000000..56d4611 --- /dev/null +++ b/conf/distro/include/koelsch.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Koelsch" | ||
diff --git a/conf/distro/include/lager.conf b/conf/distro/include/lager.conf new file mode 100644 index 0000000..e63cb7c --- /dev/null +++ b/conf/distro/include/lager.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Lager" | ||
diff --git a/conf/distro/include/porter.conf b/conf/distro/include/porter.conf new file mode 100644 index 0000000..5f8f958 --- /dev/null +++ b/conf/distro/include/porter.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Porter" | ||
diff --git a/conf/distro/include/rcar-gen2.inc b/conf/distro/include/rcar-gen2.inc new file mode 100644 index 0000000..cf02c14 --- /dev/null +++ b/conf/distro/include/rcar-gen2.inc | |||
@@ -0,0 +1,121 @@ | |||
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 | # To build for the rcar devices you must install the binary gpu drivers as | ||
23 | # follows. These are made available under the name R-Car Series Evaluation | ||
24 | # Software Package for Linux at the following address: | ||
25 | # | ||
26 | # http://www.renesas.com/secret/r_car_download/rcar_demoboard.jsp | ||
27 | # | ||
28 | # You need two files named as follows: | ||
29 | # - R-Car_Series_Evaluation_Software_Package_for_Linux-<yyyymmdd>.zip | ||
30 | # - R-Car_Series_Evaluation_Software_Package_of_Linux_Drivers-<yyyymmdd>.zip | ||
31 | # | ||
32 | # You can place them in any location, below ~/Downloads is assumed. Now do | ||
33 | # the following: | ||
34 | # | ||
35 | # $ mkdir build && cd build | ||
36 | # $ export MACHINE=YourMachineHere | ||
37 | # $ ~/meta-b2qt/b2qt-init-build-env init --device $MACHINE | ||
38 | # $ cd sources/meta-renesas | ||
39 | # $ ./meta-rcar-gen2/docs/sample/copyscript/copy_eva_sw_pkgs.sh ~/Downloads | ||
40 | # | ||
41 | # The script takes as the sole argument the location of the two zips. You must | ||
42 | # be in the right directory when you call the script! | ||
43 | # | ||
44 | # You can now build as usual: | ||
45 | # $ cd ../.. | ||
46 | # $ . setup-environment.sh | ||
47 | # $ bitbake b2qt-embedded-image | ||
48 | # | ||
49 | |||
50 | GLES_DRIVER = "sgx" | ||
51 | GLES_DRIVER_r8a7790 = "rgx" | ||
52 | |||
53 | DISTRO_FEATURES += "wayland bluetooth bluez5 h264avcenc_lib" | ||
54 | MACHINE_FEATURES += "multimedia ${GLES_DRIVER}" | ||
55 | |||
56 | IMAGE_FSTYPES += "ext3" | ||
57 | |||
58 | PREFERRED_VERSION_gstreamer1.0-libav = "1.2.3" | ||
59 | |||
60 | PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" | ||
61 | PREFERRED_PROVIDER_virtual/egl = "libegl" | ||
62 | PREFERRED_PROVIDER_libgbm = "libgbm" | ||
63 | PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev" | ||
64 | |||
65 | MULTIMEDIA_PACKAGES = " \ | ||
66 | gstreamer1.0-plugins-base-videorate \ | ||
67 | gstreamer1.0-plugins-base-videotestsrc \ | ||
68 | gstreamer1.0-plugins-base-audiotestsrc \ | ||
69 | gstreamer1.0-plugins-base-alsa \ | ||
70 | gstreamer1.0-plugins-good-autodetect \ | ||
71 | gstreamer1.0-plugins-good-isomp4 \ | ||
72 | gstreamer1.0-plugins-good-video4linux2 \ | ||
73 | gstreamer1.0-plugins-good-videocrop \ | ||
74 | gstreamer1.0-plugins-bad-asfmux \ | ||
75 | gstreamer1.0-plugins-bad-fbdevsink \ | ||
76 | gstreamer1.0-plugins-bad-faad \ | ||
77 | gstreamer1.0-plugins-bad-videoparsersbad \ | ||
78 | packagegroup-rcar-gen2-multimedia \ | ||
79 | " | ||
80 | |||
81 | # Unfortunately several Renesas components suffer from various issues requiring workarounds | ||
82 | # libgbm-dev is required as some part of the binary driver stack attempts to dlopen an unversioned so | ||
83 | # bash is required as it is hardcoded in a system setup script | ||
84 | # libdrm-tests appears to be required (to be confirmed?) | ||
85 | RENESAS_WORKAROUNGS = " \ | ||
86 | libgbm-dev \ | ||
87 | bash \ | ||
88 | libdrm-tests \ | ||
89 | " | ||
90 | |||
91 | MACHINE_EXTRA_INSTALL = " \ | ||
92 | kernel-devicetree \ | ||
93 | libdrm-kms \ | ||
94 | libegl \ | ||
95 | gles-kernel-module \ | ||
96 | gles-user-module \ | ||
97 | ${RENESAS_WORKAROUNGS} \ | ||
98 | ${@base_contains("MACHINE_FEATURES", "multimedia", "${MULTIMEDIA_PACKAGES}", "", d)} \ | ||
99 | " | ||
100 | |||
101 | MACHINE_EXTRA_INSTALL_append_lcb = " \ | ||
102 | can-utils \ | ||
103 | libsocketcan \ | ||
104 | ${@base_contains("MACHINE_FEATURES", "multimedia", "packagegroup-lcb-oss-codecs", "", d)} \ | ||
105 | " | ||
106 | |||
107 | BB_MULTIMEDIA_TEST_MODULE = "\ | ||
108 | |fdpm-tp-user-module\ | ||
109 | |mmngr-tp-user-module\ | ||
110 | |mmngrbuf-tp-user-module\ | ||
111 | |s3ctl-tp-user-module\ | ||
112 | |vspm-tp-user-module\ | ||
113 | " | ||
114 | |||
115 | BBMASK ?= " " | ||
116 | BBMASK .= "\ | ||
117 | ${BB_MULTIMEDIA_TEST_MODULE}\ | ||
118 | |dtv-module|ssp-module|scu-module\ | ||
119 | |gles-test-module\ | ||
120 | |poky/meta/recipes-graphics/mesa\ | ||
121 | " | ||
diff --git a/conf/distro/include/silk.conf b/conf/distro/include/silk.conf new file mode 100644 index 0000000..9d46f3c --- /dev/null +++ b/conf/distro/include/silk.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Silk" | ||
diff --git a/conf/distro/include/stout.conf b/conf/distro/include/stout.conf new file mode 100644 index 0000000..6409ca0 --- /dev/null +++ b/conf/distro/include/stout.conf | |||
@@ -0,0 +1,23 @@ | |||
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 | require rcar-gen2.inc | ||
23 | DEPLOY_CONF_NAME = "Renesas Stout" | ||
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 | |||
27 | inherit module | ||
28 | addtask shared_workdir after do_compile | ||
29 | |||
30 | EXTRA_OEMAKE += "ARCH=${ARCH}" | ||
31 | |||
32 | export BUILDDIR = "${STAGING_DIR_HOST}" | ||
33 | export LIBSHARED = "${STAGING_LIBDIR}" | ||
34 | export KERNELSRC = "${STAGING_KERNEL_DIR}" | ||
35 | export CROSS_COMPILE = "${TARGET_PREFIX}" | ||
36 | export KERNELDIR = "${STAGING_KERNEL_BUILDDIR}" | ||
37 | export LDFLAGS = "" | ||
38 | export CP = "cp" | ||
39 | |||
40 | MODULE_SOURCE_DIR ?= "${S}/drv/" | ||
41 | |||
42 | do_compile() { | ||
43 | cd ${MODULE_SOURCE_DIR} | ||
44 | module_do_compile | ||
45 | cd - | ||
46 | } | ||
47 | |||
48 | deploy_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 | |||
59 | do_shared_workdir () { | ||
60 | deploy_build_deps ${STAGING_KERNEL_BUILDDIR} | ||
61 | } | ||
62 | |||
63 | do_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 | |||
68 | FILES_${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 | ||
23 | BBPATH .= ":${LAYERDIR}" | ||
24 | |||
25 | # We have a recipes directory, add to BBFILES | ||
26 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
27 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
28 | " | ||
29 | |||
30 | BBFILE_COLLECTIONS += "b2qt_renesas" | ||
31 | BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/" | ||
32 | BBFILE_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 | |||
22 | FILESEXTRAPATHS_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 @@ | |||
1 | VENDOR=0x18d1 | ||
2 | PRODUCT=0x0000 | ||
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | ||
4 | USE_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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | file://include/GPL-COPYING;md5=ffa10f40b98be2c2bc9608f56827ed23 \ | ||
27 | file://include/MIT-COPYING;md5=5526ef6e21dc96a1dd89fac4bde9f995 \ | ||
28 | " | ||
29 | |||
30 | DEPENDS = "mmngr-kernel-module" | ||
31 | SRC_URI = "file://fdpm-kernel.tar.bz2" | ||
32 | S = "${WORKDIR}/fdpm" | ||
33 | |||
34 | do_configure[depends] += "mmngr-kernel-module:do_shared_workdir" | ||
35 | |||
36 | inherit renesas-module | ||
37 | |||
38 | FDPM_CFG_r8a7790 = "H2CONFIG" | ||
39 | FDPM_CFG_r8a7791 = "M2CONFIG" | ||
40 | FDPM_CFG_r8a7793 = "M2CONFIG" | ||
41 | FDPM_CFG_r8a7794 = "E2CONFIG" | ||
42 | |||
43 | MODULE_NAME = "fdpm" | ||
44 | MODULE_HEADERS = "include/fdpm_drv.h include/fdpm_public.h include/fdpm_api.h" | ||
45 | |||
46 | do_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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | do_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 | |||
22 | do_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 @@ | |||
1 | From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
3 | Date: Sat, 6 Apr 2013 01:22:22 +0200 | ||
4 | Subject: [PATCH] Disable yasm for libav when --disable-yasm | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Shane Wang <shane.wang@intel.com> | ||
9 | Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
10 | --- | ||
11 | configure.ac | 4 ++++ | ||
12 | 1 file changed, 4 insertions(+) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 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 | -- | ||
32 | 1.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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include recipes-multimedia/gstreamer/gstreamer1.0-libav.inc | ||
4 | |||
5 | LIC_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 | |||
14 | SRC_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 | " | ||
18 | SRC_URI[md5sum] = "58c7998a054d8d8ca041fa35738f72b6" | ||
19 | SRC_URI[sha256sum] = "ebc7fbe10955f40df6ccc4bf689075e7e296205fc7ecd8ff383d43c5cdf5bcd6" | ||
20 | LIBAV_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 | |||
25 | S = "${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 | |||
22 | COMPATIBLE_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 | ||
2 | CONFIG_USB_RCAR_PHY=m | ||
3 | CONFIG_USB_RCAR_GEN2_PHY=m | ||
4 | CONFIG_USB_RENESAS_USBHS=m | ||
5 | CONFIG_USB_RENESAS_USBHS_HCD=y | ||
6 | CONFIG_USB_RENESAS_USBHS_UDC=y | ||
7 | CONFIG_USB_OTG=y | ||
8 | |||
9 | # FunctionFS for adb | ||
10 | CONFIG_USB_FUNCTIONFS=m | ||
11 | CONFIG_USB_FUNCTIONFS_RNDIS=y | ||
12 | CONFIG_USB_FUNCTIONFS_ETH=y | ||
13 | |||
14 | # Enable USB serial support | ||
15 | CONFIG_USB_SERIAL=m | ||
16 | CONFIG_USB_SERIAL_GENERIC=y | ||
17 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
18 | CONFIG_USB_SERIAL_PL2303=m | ||
19 | CONFIG_USB_ACM=m | ||
20 | |||
21 | # ConfigFS | ||
22 | CONFIG_USB_CONFIGFS=m | ||
23 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
24 | CONFIG_USB_CONFIGFS_ACM=y | ||
25 | CONFIG_USB_CONFIGFS_OBEX=y | ||
26 | CONFIG_USB_CONFIGFS_NCM=y | ||
27 | CONFIG_USB_CONFIGFS_ECM=y | ||
28 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
29 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
30 | CONFIG_USB_CONFIGFS_EEM=y | ||
31 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
32 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
33 | CONFIG_USB_CONFIGFS_F_FS=y | ||
34 | |||
35 | CONFIG_NOP_USB_XCEIV=y | ||
36 | CONFIG_USB_GADGETFS=m | ||
37 | CONFIG_USB_G_NCM=m | ||
38 | CONFIG_USB_G_SERIAL=m | ||
39 | CONFIG_USB_MASS_STORAGE=m | ||
40 | |||
41 | # Newer inits like systemd need cgroup support | ||
42 | CONFIG_CGROUP_SCHED=y | ||
43 | CONFIG_CGROUPS=y | ||
44 | CONFIG_CGROUP_NS=y | ||
45 | CONFIG_CGROUP_FREEZER=y | ||
46 | CONFIG_CGROUP_DEVICE=y | ||
47 | CONFIG_CPUSETS=y | ||
48 | CONFIG_PROC_PID_CPUSET=y | ||
49 | CONFIG_CGROUP_CPUACCT=y | ||
50 | CONFIG_RESOURCE_COUNTERS=y | ||
51 | |||
52 | # Bluetooth bits | ||
53 | CONFIG_BT_HIDP=y | ||
54 | CONFIG_BT_HCIBTUSB=m | ||
55 | CONFIG_BT_BNEP=m | ||
56 | CONFIG_BT_BNEP_MC_FILTER=y | ||
57 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
58 | CONFIG_BT_RFCOMM=m | ||
59 | CONFIG_BT_RFCOMM_TTY=y | ||
60 | CONFIG_RFKILL=m | ||
61 | |||
62 | CONFIG_FHANDLE=y | ||
63 | CONFIG_USB_NAMESPACES=m | ||
64 | |||
65 | # needed for USB touchscreens | ||
66 | CONFIG_HID_MULTITOUCH=y | ||
67 | |||
68 | # additional configs needed for Genivi compliance | ||
69 | CONFIG_EXPERIMENTAL=y | ||
70 | CONFIG_ECRYPT_FS=y | ||
71 | CONFIG_QUOTA=y | ||
72 | CONFIG_BT=y | ||
73 | |||
74 | # add uinput for automated testing | ||
75 | CONFIG_INPUT_MISC=y | ||
76 | CONFIG_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 | |||
22 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
23 | |||
24 | SRC_URI_append = " \ | ||
25 | file://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 | |||
22 | PROVIDES_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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | 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 | " | ||
29 | |||
30 | SRC_URI = "file://mmngr.tar.bz2" | ||
31 | S = "${WORKDIR}/mmngr" | ||
32 | |||
33 | inherit renesas-module | ||
34 | |||
35 | MODULE_NAME = "mmngr" | ||
36 | MODULE_HEADERS = "include/mmngr_public.h include/mmngr_private.h" | ||
37 | |||
38 | MMNGR_CFG_r8a7790 = "MMNGR_LAGER" | ||
39 | MMNGR_CFG_r8a7791 = "MMNGR_KOELSCH" | ||
40 | MMNGR_CFG_r8a7793 = "MMNGR_GOSE" | ||
41 | MMNGR_CFG_r8a7794 = "MMNGR_ALT" | ||
42 | |||
43 | do_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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | do_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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | SRC_URI = "file://mmngrbuf.tar.bz2" | ||
24 | LIC_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 | |||
29 | inherit renesas-module | ||
30 | |||
31 | S = "${WORKDIR}/mmngrbuf" | ||
32 | |||
33 | MODULE_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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | do_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. | ||
24 | do_unpack_prepend() { | ||
25 | bb.utils.mkdirhier(d.getVar('S', True)) | ||
26 | } | ||
27 | |||
28 | do_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 | |||
22 | PACKAGECONFIG += "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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
24 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378" | ||
25 | SRC_URI = "file://s3ctl-kernel.tar.bz2" | ||
26 | |||
27 | S = "${WORKDIR}/s3ctl" | ||
28 | |||
29 | inherit renesas-module | ||
30 | |||
31 | MODULE_NAME = "s3ctl" | ||
32 | MODULE_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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | do_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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | " | ||
27 | |||
28 | SRC_URI = "file://uvcs-kernel.tar.bz2" | ||
29 | S = "${WORKDIR}/uvcs" | ||
30 | |||
31 | inherit renesas-module | ||
32 | |||
33 | export UVCS_DRV_SRC_DIR = "${S}/source/uvcs_lkm" | ||
34 | export UVCS_CMN_SRC_DIR = "${S}/source/uvcs_cmn" | ||
35 | export UVCS_CMN_INC_DIR = "${S}/include" | ||
36 | export DRV_CORE_SRC_DIR = "${S}/source/driver_core" | ||
37 | |||
38 | MODULE_NAME = "uvcs_cmn" | ||
39 | MODULE_HEADERS = "include/uvcs_cmn.h include/uvcs_types.h" | ||
40 | MODULE_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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = " \ | ||
24 | file://GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | " | ||
27 | |||
28 | SRC_URI = " \ | ||
29 | git://github.com/renesas-devel/vsp2driver.git;protocol=git;branch=RCAR-GEN2/1.0.0 \ | ||
30 | file://vsp2drv-init \ | ||
31 | " | ||
32 | SRCREV = "8cc362a6c961661e4655904f8d7731e501529d6c" | ||
33 | S = "${WORKDIR}/git" | ||
34 | |||
35 | DEPENDS = "vspm-kernel-module" | ||
36 | do_configure[depends] += "vspm-kernel-module:do_shared_workdir" | ||
37 | |||
38 | MODULE_NAME = "vsp2" | ||
39 | INITSCRIPT_NAME = "vsp2drv" | ||
40 | INITSCRIPT_PARAMS = "start 8 5 2 . stop 61 0 1 6 ." | ||
41 | |||
42 | inherit renesas-module update-rc.d | ||
43 | |||
44 | do_compile_prepend() { | ||
45 | export VSP2_VSPMDIR=${STAGING_KERNEL_BUILDDIR}/include | ||
46 | export VSP2_VSPMSYMVERS=vspm.symvers | ||
47 | } | ||
48 | |||
49 | do_install_append() { | ||
50 | install -D -m 0755 ${WORKDIR}/vsp2drv-init ${D}/${sysconfdir}/init.d/vsp2drv | ||
51 | } | ||
52 | |||
53 | FILES_${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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | " | ||
27 | |||
28 | SRC_URI = "file://vspm-kernel.tar.bz2" | ||
29 | S = "${WORKDIR}/vspm" | ||
30 | |||
31 | inherit renesas-module | ||
32 | |||
33 | MODULE_NAME = "vspm" | ||
34 | MODULE_HEADERS = " \ | ||
35 | include/vspm_public.h \ | ||
36 | include/vsp_drv.h \ | ||
37 | include/tddmac_drv.h \ | ||
38 | include/vspm_if.h \ | ||
39 | " | ||
40 | |||
41 | VSPM_CFG_r8a7790 = "H2CONFIG" | ||
42 | VSPM_CFG_r8a7791 = "M2CONFIG" | ||
43 | VSPM_CFG_r8a7793 = "M2CONFIG" | ||
44 | VSPM_CFG_r8a7794 = "E2CONFIG" | ||
45 | |||
46 | do_compile_prepend() { | ||
47 | export VSPM_CONFIG=${VSPM_CFG} | ||
48 | } | ||
49 | |||
50 | do_install_append() { | ||
51 | # Copy for vspm-user-module | ||
52 | install -t ${STAGING_INCDIR} ${S}/include/vspm_if.h | ||
53 | } | ||
54 | |||
55 | FILES_${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 | |||
22 | FILESEXTRAPATHS_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 | |||
22 | do_compile[depends] += "vspm-kernel-module:do_shared_workdir" | ||
diff --git a/scripts/manifest.xml b/scripts/manifest.xml index 4c1e70f..ff00513 100644 --- a/scripts/manifest.xml +++ b/scripts/manifest.xml | |||
@@ -72,6 +72,11 @@ | |||
72 | revision="4e87c59bdedaa8c3e44fc02fd23be726c4d1dfb9" | 72 | revision="4e87c59bdedaa8c3e44fc02fd23be726c4d1dfb9" |
73 | path="sources/meta-intel" | 73 | path="sources/meta-intel" |
74 | groups="notdefault,external,intel"/> | 74 | groups="notdefault,external,intel"/> |
75 | <project name="meta-renesas" | ||
76 | remote="yocto" | ||
77 | revision="b7843bd6a2835e5199cab9ba196c5e67b15acaed" | ||
78 | path="sources/meta-renesas" | ||
79 | groups="notdefault,external,renesas"/> | ||
75 | 80 | ||
76 | <project name="nvidia-layer" | 81 | <project name="nvidia-layer" |
77 | remote="playground" | 82 | remote="playground" |
diff --git a/scripts/manifest_jethro.xml b/scripts/manifest_jethro.xml index 6044ae5..c94de13 100644 --- a/scripts/manifest_jethro.xml +++ b/scripts/manifest_jethro.xml | |||
@@ -72,6 +72,11 @@ | |||
72 | revision="jethro" | 72 | revision="jethro" |
73 | path="sources/meta-intel" | 73 | path="sources/meta-intel" |
74 | groups="notdefault,external,intel"/> | 74 | groups="notdefault,external,intel"/> |
75 | <project name="meta-renesas" | ||
76 | remote="yocto" | ||
77 | revision="master" | ||
78 | path="sources/meta-renesas" | ||
79 | groups="notdefault,external,renesas"/> | ||
75 | 80 | ||
76 | <project name="nvidia-layer" | 81 | <project name="nvidia-layer" |
77 | remote="playground" | 82 | remote="playground" |
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index 1fb4d89..0f13a59 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -78,6 +78,9 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
78 | tegra-x1|tegra-t18x) | 78 | tegra-x1|tegra-t18x) |
79 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" | 79 | LAYERSCONF="bblayers.conf.nvidia-tegra.sample" |
80 | ;; | 80 | ;; |
81 | alt|gose|koelsch|lager|porter|silk|stout) | ||
82 | LAYERSCONF="bblayers.conf.rcar-gen2.sample" | ||
83 | ;; | ||
81 | emulator) | 84 | emulator) |
82 | LAYERSCONF="bblayers.conf.emulator.sample" | 85 | LAYERSCONF="bblayers.conf.emulator.sample" |
83 | ;; | 86 | ;; |