summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2
AgeCommit message (Collapse)AuthorFilesLines
2016-11-08Change DA9063 I2C address to 0x5A since we are using high-speedAnton Gerasimov2-3/+3
interface Change-Id: I8b4031223a8e645c210ee7c86de8cd44913976cd Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-07remove wayland&weston backportRonan10-387/+0
Change-Id: I970a9a6dc467590ce10d328c34804083923dbd68 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-04Backport fix for CVE-2016-5195Jan-Simon Möller2-0/+71
Change-Id: I8da95aa22cf2ba90419a897a6f5880a9451b987e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-04uEnv.txt for booting into OSTree on PorterAnton Gerasimov2-0/+43
Bug-AGL: SPEC-307 Change-Id: I10030197b1cba8f1b0018b8454d6d61a088da706 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-03Smack: fixup of bluetooth socket labellingJosé Bollo4-0/+173
The sockets created by kernel thread will now be tagged @ instead of _. Change-Id: I92dcc885e9e8f7b45076f7df7a0e1ef4e66453a3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-02recipes-kernel: bump to rcar-gen2-1.9.7Yannick Gicquel4-4/+156
Change-Id: Iba9317f7f0a4549b2e86db3283be6c307cc3fb36 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-11-02recipes-kernel: Fix warning of licenseYannick Gicquel9-10/+9
This is report 7ffdb1f20d8 upstream patch to avoid QA warning while do_rootfs tasks occured. Change-Id: Ie2661c7e85dc50ee6a736fa4d5ccc8b1373aa5a1 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-11-02recipes-kernel: remove duplicate configurationYannick Gicquel1-16/+0
These are already delivered by another layer as a fragment configuration. Change-Id: I52fbbe0f0bf76767d2d4d2b75f58e756e5fcf715 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-11-02recipes-kernel: fragment configuration for CANYannick Gicquel3-9/+5
Change-Id: I3ca6501c5333f65babbaf79c34dc8c472fc9e941 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-11-02kernel: update to support cfg systemYannick Gicquel1-0/+14
This report 04f6cc6652 upstream patch to support fragment configuration file for linux-renesas kernel. Change-Id: I2bcc9326ead7fe4abdc51902e454bbb63acd67b8 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-11-01Extend console buffer to allow for long bootargs needed by OSTreeAnton Gerasimov1-3/+3
Bug-AGL: SPEC-307 Change-Id: I494a5185077ce8dca788c3626aefae00c5866f0d Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-28rc.pvr become a systemd serviceRonan2-5/+31
Change-Id: Ie58d65d312e9d00f5d3ba295034924954d9141f7 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-25Update R-Car series evaluation software packageTadao Tanikawa1-13/+18
Gfx drivers and multimedia packages provided by Renesas are updated. Also fix some messages when missing these packages. Change-Id: Ifa094c6f8f86a26f523bd8f4503ae22580998c29 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-10-12gen2: add README for usbgadgetYannick Gicquel1-0/+57
Change-Id: If629ee6edf7a24dd582f3c34a12dea76b84d7388 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-09-29kernel: add usbgadget supportYannick Gicquel1-0/+22
This is conditioned by the presence of the usbgadget in DISTRO_FEATURE variable. Change-Id: Ia14deeab2431a68e6890885c1d0dd568e5713eaf Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-09-26Move IMAGE_INSTALL_append to existing statements in local.confJan-Simon Möller1-6/+0
This avoids a dangling bbappend if agl-demo is not included (e.g. for porter-nogfx). As we have already similar statements in the conf/local.conf this groups them there. Change-Id: Id58d59837d752c0eb982189ba24882de8d5d84c2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-09-01Changes to meta-renesas for building with YP 2.1.1 'krogoth'Jan-Simon Möller12-113/+83
Notable changes: - We drop old appends (libgcc_4.8.bbappend, qemu_%.bbappends, gtk+_2.24.%.bbappend) - All gstreamer1.0_1.2.3 related recipes are now in meta-reneas and have been heavily massaged to work with YP 2.1.1 . - systemd needs a patch due to the old kernel - linux-libc-headers needed a patch TODO: - Test and fix Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-07-05meta-rcar-gen2: remove configuration templatesblowflish_2.0.2blowfish_2.0.1blowfish_2.0.02.0.22.0.12.0.0agl-1.0-bsp-1.8.0Stephane Desneux2-467/+0
Change-Id: Iab939af4ee570732d4a2dd2b20ab6dc0dea6c86b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-29Use relative path for libGLESv2.so.2 sybolic linkDamian Hobson-Garcia1-1/+1
The versioned binary should be linked to the libGLESv2.so in the same directory and not to its location in the host build path. Change-Id: Id8b3a85f9cbde8d67ff1027503b4670b9c546950 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2016-06-24Revert "templates: add new layers for application framework support, update ↵Stephane DESNEUX1-4/+0
configuration" This reverts commit f401da3f5c22f29b0cc2f45521dc82399953136c. Change-Id: Ia4bcb5964b21388ea6d75c8e5061ee86a97e5351 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-21Revert "gdp: Add gfx and multimedia packages to GDP image when enabled"Tadao Tanikawa1-2/+0
This reverts commit 632f4b7e7c05dbe7bbcad0474ebe65b84446aad8. The commit 632f4b puts new bbappend into meta-rcar-gen2. It causes warning when build agl-distro because AGL doesn't have recipe 'genivi-demo-platform.bb'. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-06-21[AGL] Merge 'genivi-7.0-bsp-1.8.0' into 'agl-1.0-bsp-1.8.0'Tadao Tanikawa6-14/+25
* genivi-7.0-bsp-1.8.0: gstreamer: Fix a long list of build dependency QA warnings gstreamer: Fix runtime CMA error gdp: Fix missing gst faad plugin build error when s/w mmp is used. multimedia: Set PREFERRED_VERSION for gstreamer1.0-* to 1.2.% for all Gen 2 boards gdp: Add gfx and multimedia packages to GDP image when enabled Change-Id: I68459885ebdfbe7b3ad22efcea3ec9b82c8d5aa9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-06-20Update R-Car series evaluation software packageTadao Tanikawa1-1/+1
Gfx drivers and multimedia packages provided by Renesas are updated. Change-Id: I6ba6a35052e20313dbe7477decd16f8073ced3b7 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-06-20templates: add new layers for application framework support, update ↵Stephane Desneux1-0/+4
configuration These are the same changes as the one applied on meta-agl. The following layers are required for AGL App Framework: * meta-intel-iot-security/meta-security-smack * meta-intel-iot-security/meta-security-framework * meta-agl/meta-agl-security * meta-agl/meta-app-framework In the local.conf.sample files, activation of Smack and Cynara is also required Change-Id: If1773fa6b4c711648fc60c5c75a2d0be32bbfa30 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-06-08bblayers.conf.sample: Add layer meta-filesystemsLeon Anavi1-0/+1
Layer meta-filesystems provides a recipe for fuse which is required for building OSTree. Bug-AGL: SPEC-194 Change-Id: I7b4832dd17c767736e873c8af9036b4546f88ce8 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-05-31Add meta-netboot for porter boardJan-Simon Möller1-0/+1
This adds meta-agl/meta-netboot to the porter bblayer.conf.sample. It is required by the netboot / nbd feature that will allow us to boot the CI environment with the security framework enabled. Change-Id: I43bb827f5b6845747bf4d7a0dafa0f5c460c88b3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-05-30Add nbd boot support to renesas kernelJan-Simon Möller1-0/+13
This adds the necessary kernel modules to boot an nbdroot filesystem. Change-Id: I95968fa5034dedf5fd57578de4c7c97a76a83b2b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-05-07Add meta-rust for rvi and meta-networking.Jan-Simon Möller1-0/+3
This unbreaks compilation since sota client merge. Change-Id: I8ba24121d310361c6e1be1a397098143672f04c5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-04-14u-boot: uses u-boot.inc from pokyYannick Gicquel2-86/+1
This patch removes the local copy of u-boot.inc which was aligned with poky 1.4.2 Change-Id: I456f3b37112f1340b42a5d055ae0873933c0a07f Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-04-14u-boot: move rcar-gen2 parts out of u-boot.incYannick Gicquel2-14/+14
u-boot.inc is a local copy forked from poky 1.4.2. This commit move rcar-gen2 parts in main recipe. Change-Id: I74c1fc16b77b748c348c7c645b959c8b09d77904 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-04-14kernel: uses linux-dtb.inc from pokyYannick Gicquel2-70/+1
This patch removes the local copy of linux-dtb.inc file which was still aligned with yocto 1.6. Change-Id: I7f2a3c267b767951b0314a5ed246e45bb97088bd Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-04-12Add meta-oe/meta-networking for testsJan-Simon Möller1-0/+2
This adds the meta-networking layer as it is a requirement for the test packagegroup. Change-Id: Id2f6ed4a76b9bae748df53e94a7e1201596a7cd2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-04-09RDEPEND libgbm-dev in the gles-user-moduleJan-Simon Möller2-2/+3
To keep core-image-minimal clean of the 3rdparty components, we need to add the requirements where they are needed and not globally in the local.conf.sample - fix this. Change-Id: I202fd35a5d081f0634a4b22a7f7ad55a80a34260 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-22gstreamer: Fix a long list of build dependency QA warningsgenivi-7.0-bsp-1.8.0Stephen Lawrence1-0/+4
Include upstream fixes in Poky meta that resolve a long list of QA warnings related to building the gst bad plugins. For example: WARNING: QA Issue: gstreamer1.0-plugins-bad-accurip rdepends on libgstaudio-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-accurip rdepends on libgsttag-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmdec rdepends on libgstaudio-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmdec rdepends on libgsttag-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmenc rdepends on libgstaudio-1.0, but it isn't a build dependency? [build-deps] WARNING: QA Issue: gstreamer1.0-plugins-bad-adpcmenc rdepends on libgsttag-1.0, but it isn't a build dependency? [build-deps]
2016-02-22gstreamer: Fix runtime CMA errorStephen Lawrence1-0/+2
The gstreamer bad wayland sink plugin is dependent on wayland-kms. Make this explicit by adding appropriate DEPENDS/RDEPENDS. Without it the wayland sink plugin can be built with the wrong configuration depending on build order. Incorrectly built the plugin can lead to gst-launch to report an runtime error stating there is insufficient CMA memory.
2016-02-22gdp: Fix missing gst faad plugin build error when s/w mmp is used.Stephen Lawrence2-4/+6
Only add gfx or mmp to image when h/w acceleration enabled. This fixes an issue reported on list [1] where the GDP do_rootfs fails: 'ERROR: gstreamer1.0-plugins-bad-faad not found in the base feeds (koelsch cortexa15hf-vfp-neon cortexa15hf-vfp armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all)' The issue was introduced with meta-renesas commit 632f4b7e7c05db which integrated a mechanism to add gfx and multimedia packages as needed to the IMAGE. Faad requires it be added to the image dependencies and is found in meta-openembedded/meta-multimedia/. By default the R-Car M2 Koeslch board local.conf and bblayers.conf in GDP do not enable h/w multimedia acceleration and so those requirements were not met. Resulting in the error as nothing was causing a Gst 1.4.x Faad plug-in to be built. However for GDP and the general case the BSP should only be adding packages it requires when h/w acceleration is enabled. Therefore modify the mechanism to do just that. When s/w rendering is used it should be left to layers outside of the BSP to do what is required. [1] http://lists.genivi.org/pipermail/genivi-projects/2016-January/001360.html
2016-02-08r-car m2: add a "libGLESv2.so.2" symbolic link for softwareYannick Gicquel1-0/+3
Some popular software, including Chromium/QtWebEngine, look for a library named "libGLESv2.so.2" on the filesystem to initialize their OpenGL ES backend : https://github.com/qtproject/qtwebengine/blob/dev/src/core/ surface_factory_qt.cpp#L83 but the proprietary userspace driver is named "libGLESv2.so" instead. Let us create a symbolic link which will satisfy this requirement (we do not rename the binary and make "libGLESv2.so" a symbolic link, because this would trigger a Yocto QA warning and prevent building). Change-Id: Iea901694e90cfd4a786087507cfc77302c9d3b8a Signed-off-by: Manuel Bachmann <mbc@iot.bzh> Author: Yannick Gicquel <yannick.gicquel@iot.bzh> Author: Manuel Bachmann <mbc@iot.bzh>
2016-02-03bblayers.conf: add meta-efl for lightmediascanner recipeManuel Bachmann1-0/+1
As we are now based upon Yocto 2.0, we can directly build the upstream lightmediascanner recipe; but it happens to live inside "meta-openembedded/meta-efl". Change-Id: I59823018d5982f8989aa82d069669b272c1ef645 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-28r-car m2: Revert "EGL_NO_DISPLAY workaroud", update libeglManuel Bachmann3-36/+1
The previous workaround will not not be necessary anymore to run Weston 1.8.0 on Porter, once we update the Renesas- specific libegl. This reverts commit d76a274af819a7cff4ef5c70de459de7bc68755a. This updates libegl. Change-Id: Ie8bedd0c6a47d05e9c5ec86ec63f035ac61dbb84 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-27r-car m2: add EGL driver EGL_NO_DISPLAY workaroudManuel Bachmann2-0/+35
Weston 1.8.0 uses a new method of detection for client EGL extensions, which is incompatible with the driver provided by meta-renesas. We revert back to the old behavior as it is not strictly necessary for rendering. This allows Weston 1.8.0 to start in DRM mode on Porter/Koelsch with latest AGL base. Signed-off-by: Manuel Bachmann <mbc@iot.bzh> Change-Id: I0658b3beff96c7f173dbb4f85e8f18d3fce768c1
2016-01-20multimedia: Set PREFERRED_VERSION for gstreamer1.0-* to 1.2.% for all Gen 2 ↵Stephen Lawrence2-10/+11
boards Currently for boards using the R-Car M2 SoC such as M2 Porter and M2 Koelsch the PREFERRED_VERSION for gstreamer1.0-* is set to 1.2.% when multimedia h/w acceleration is enabled. Move those statements into the include for R-Car Gen 2 default providers so they apply to all Gen 2 boards.
2016-01-19Revert "modules-common: handle kernel build path in work-shared"Yannick Gicquel1-2/+1
This reverts commit 64ba09ca3f79f4ebe52116af8de98d0bfbe70b49. After cleaning up sstate cache, it appears a regression while building the fdpm-kernel-module. In fact, multimedia binary set provides some modules with hardcoded references to KERNELSRC or KERNELDIR variable in there Makefile. For now, it is more reliable to keep the old behavior to avoid regression. Change-Id: I052f44cc5a9315e08efb5402bca34c87c67e0d2e Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-18r-car m2: host media-ctl recipe in meta-renesas layerManuel Bachmann1-0/+21
media-ctl recipe existed in meta-openembedded 1.7 (dizzy) but disappeared in 2.0 (jethro) ; this breaks the build as a .bbappend cannot exist without a corresponding .bb, and is needed to build the target anyway. Host the recipe ourselves so that the build works in all cases. Chande-Id: Id97c3f9a2d5e101524018122aef45ec8782830ea Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-18modules-common: handle kernel build path in work-sharedYannick Gicquel1-1/+2
Since 46cdaf1c7b in poky (v1.8), kernel source and build artefact are in two separated directories. This patch prepares to use STAGING_KERNEL_BUILDDIR as it is used in KBUILD_OUTPUT from modules-base.bbclass It also set this variable to keep same state as before for poky < 1.8 Change-Id: I958c7ed44b4a3148e83c628f94908e4ee9357bdf Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-18gles-module: handle kernel build path in work-sharedYannick Gicquel1-1/+2
Since 46cdaf1c7b in poky (v1.8), kernel source and build artefact are in two separated directories. This patch prepares to use STAGING_KERNEL_BUILDDIR as it is used in KBUILD_OUTPUT from modules-base.bbclass It also set this variable to keep same state as before for poky < 1.8 Change-Id: Ie27593407a85d88da28b8a91c3ea69378bb91a63 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-13kernel: add support for gcc 5Yannick Gicquel4-1/+198
backport compiler-gcc5.h header from kernel upstream. Change-Id: I89b5e1e3b2f72e5a8eb84d2062a6957744dfe049 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-13u-boot: fixup build with gcc 5Yannick Gicquel3-0/+129
Change-Id: I88cbad396f0757246e83bbebfe0b4ff2841a51b6 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-13kernel: fixup build when builddir differ from sourcedirYannick Gicquel1-7/+7
Since yocto 1.8, kernel build method enhanced to avoid source tree duplication. This patch align paths to handle ${S} and ${B} accordingly. This patch is required to build linux-renesas on yocto > 1.7. Please refer to commit 1dd37a2a in poky for more details. Change-Id: I29de3e72f6e4617e0ef2685b87dd6fbca296328a Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-13mesa: update to support mesa 10.1.3 & 10.6.3Yannick Gicquel2-2/+41
This patch fixup the build support for both yocto 1.7 and 2.0. Initial patch needs to be applied only on yocto 1.7 (mesa 10.1.3) as it is integrated upstream since mesa 10.3. Second patch is only required for yocto 2.0 recipe (mesa 10.6.3). Change-Id: I75940b3149f1c18b23dbf32fd2c4bafd1d6b241c Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-01-13r-car m2: fix notification of groups with inode (SPEC-89)Manuel Bachmann2-0/+207
This is a backport of the following kernel patch : https://git.kernel.org/cgit/linux/kernel/git/torvalds/ linux.git/commit/?id=8edc6e1 and fixes the following issue : https://jira.automotivelinux.org/browse/SPEC-89 (it fixes the reliability of using the "fa_notify" kernel API for filesystem notifications) Commit-Id: I968a52e72dc816a9f93640392b19ba2463216fe1 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>