summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2017-09-08Fix RSS-related issues for rcar gen2Jan-Simon Möller1-1/+4
For pyro we need to fix a few recipes to work with the recipe specific sysroot feature. Change-Id: I9cc12083675ea2522a1f453f603b034e911d79fd Bug-AGL: SPEC-646 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-27Fix CVE-2017-1000364 by backporting the patches from 3.10.107Jan-Simon Möller4-0/+917
Backport of patches from upstream: - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/patch/?id=1ad9a25dd06fda9bdc27875e1cedb8277accb212 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/patch/?id=28ebf89579a055259280252f68f6c26d986e3ce3 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/patch/?id=0fcba8f954460c56217897bdffbf62060815329a Bug-AGL: SPEC-705 Change-Id: I9e88c0203e8e3971daa789408dda3c2a6f6ff893 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-19Add driver loading for cluster demoYusuke Nakamura1-0/+18
v2.0: (Tadao Tanikawa) Done in the linux-renesas_3.10.bb v1.0: (Yusuke Nakamura) Weston in renesas requires some drivers are loaded in advance for cluster demo. Otherwise weston fails to start. This adds necessary drivers to /etc/modules-load.d Change-Id: I0668f663be66b07ce99bb063520b97d2e949b6b6 Signed-off-by: Yusuke Nakamura <ynakamura@jp.adit-jv.com>
2017-01-16replace deprecated function base_containsRonan2-4/+4
* replace base_contains by bb.utils.contains * base_contains is deprecated use bb.utils.contains instead * yocto version: 2.2 Change-Id: Ida44a8ded5040cb8bcc1e6140dcbdc795463ce9a Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-11fix md5sum for fdpm-kernel-moduleRonan1-2/+2
Change-Id: If38faaf0d52e2b00a41b90275fa48429e48a540d Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-11fix md5sum for vspm-kernel-moduleRonan1-1/+1
Change-Id: Ieaddebf1268d05e4c18f4732b9ddcb1dddec2366 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2017-01-11fix kernel build with gcc6Ronan Le Martret4-0/+198
Change-Id: I36d90ba2dc0991bb19be1eb00f50aa4bb2dfe210 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2016-12-21rcar-gen2: linux-renesas: Add audio patch to fix SPEC-365Harunobu Kurokawa2-0/+30
Fix the issue that pulseaudio sometimes doesn't work correctly. Bug-AGL: SPEC-365 Change-Id: I30420d80691212a072d7604be6a3833c680bce1e Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2016-11-24rcar-gen2: vsp2-kernel-module: Add recipeHarunobu Kurokawa1-0/+58
This is wrapper module to use vspm-kernel-module via V4L2 I/F. In order to use this module, should be use the followings. $modprobe -a vsp2 vspm This commit is based 001ff9ff913d15b3f795bbb4c60e287fb4f780b8 in git://git.yoctoproject.org/meta-renesas. Signed-off-by: Tomohiro Komagata <tomohiro.komagata.aj@renesas.com> Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com> Change-Id: I17c824e8305cae67410b4fc809de3158664a7436 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2016-11-08Change DA9063 I2C address to 0x5A since we are using high-speedAnton Gerasimov1-1/+1
interface Change-Id: I8b4031223a8e645c210ee7c86de8cd44913976cd Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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-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-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-01Changes to meta-renesas for building with YP 2.1.1 'krogoth'Jan-Simon Möller1-0/+1
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-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-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-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-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-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>
2015-12-24Fix kernel configuration to enable VCAN for demoTadao Tanikawa1-1/+1
This is needed for demo. Change-Id: I0c2fdef1be10fd396e66336ca4f1ff5a71f94a8c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-12-11Add VCAN=y to renesas kernel for demoJan-Simon Möller1-0/+1
This is needed for the CAN support. Change-Id: Ib29a98c554588468e7ed96041f7773e0ab020530 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-12-01Set count of legacy pseudo terminal to 8José Bollo1-0/+1
The default value (256) is very huge. Reducing this count makes administration easier. However, is it really needed to have this legacy? Change-Id: I72e39dde799bd0872ce2af03e1f71e6496e46109 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-11-26kernel: enable namespaces supportYannick Gicquel1-0/+8
As per section 7.3.1 of AGL spec v1.0, namespaces kernel are required to support containers: "AGL shall provide OS-level mechanisms for running multiple isolated instances (containers) that have its own directory structure, network devices, IP addresses and process table. The processes running in other containers shall not be visible from inside a container." This patch deliver: - Mount namespaces (natively supported), - PID namespaces, - Network namespace, - IPC namespaces, - UTS namespaces (disabled), - User namespaces. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-11-20kernel: defconfig updatesYannick Gicquel1-0/+14
enable some kernel features: EXT4_FS, FANOTIFY: alignment on agl-spec section 7.4.1., POSIX_MQUEUE: standard efficient Posix ipc mechanism, TUN: useful for a VPN link establishment on V2I use-case, when distro is built with debug-tweaks: LOOP: for LTP testcase better coverage, Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-11-06kernel: smack security backport from kernel 4Yannick GICQUEL58-0/+9839
Here is the backport of all patches relating to smack support on kernel side. For more details, see file: meta-rcar-gen2/recipes-kernel/linux/linux-renesas/smack/README Please note that patches are applied only if "smack" is in the ditro features. Here are the 2 lines to add in the local.conf OVERRIDES .= ":smack" DISTRO_FEATURES_append = " smack" Change-Id: I147a3532aec531f977d6ec34c576261835711f1e Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2015-10-30kernel: activate kernel feature for systemdYannick Gicquel1-0/+5
IPv6 and autofs4 are required by systemd. Schedstats are required by systemd-bootchartd. (...) systemd[1]: Your kernel apparently lacks built-in autofs4 support. Might be a good idea to compile it in. We'll now try to work around this by loading the module... systemd[1]: could not find module by name='autofs4' systemd[1]: Failed to insert module 'autofs4' systemd[1]: Your kernel apparently lacks built-in ipv6 support. Might be a good idea to compile it in. We'll now try to work around this by loading the module... systemd[1]: could not find module by name='ipv6' systemd[1]: Failed to insert module 'ipv6' (...) Change-Id: Ieb53a0f6ae21f5787854d045fb7ca4c5c6e4d17f Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-10-30kernel: disable logo and framebuffer consoleYannick GICQUEL1-0/+4
Psplash already use the display during boot sequence. No need to display logo nor console. Change-Id: I487332a27e1870ba9bcb68ccb98a61f02a3eb862 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-10-26Merge "r-car m2: support Bluetooth hardware" into agl-1.0-bsp-1.8.0Walt Miner1-0/+17
2015-10-22r-car m2: support Bluetooth hardwareManuel Bachmann1-0/+17
In order to have Bluetooth hardware detection, and to make BlueZ commands (such as "hciconfig", "hcitool"...) work, we need to enable kernel functionalities. Some of them are designed to be run as modules. We also make sure that all images include them, since it does not depend on a specific board's hardware. PS : we will only build them if "bluetooth" has been specified in DISTRO_FEATURES, hence saving time. Change-Id: I14e1bdd7e4e63a7484bb1516dda601e3c03fd58f Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-10-21r-car m2: support recent USB touchscreensYannick GICQUEL1-0/+3
We need HID_MULTITOUCH for modern external USB touchscreens on Silk/Koelsch/Porter boards. Change-Id: Ie0aea64ca7d0dd79a25da17b861502c1b70235df Author: Yannick GICQUEL <yannick.gicquel@iot.bzh> Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-10-15[AGL] Merge genivi-7.0-bsp-1.8.0 into agl-1.0-bsp-1.8.0Tadao Tanikawa1-0/+3
* agl/genivi-7.0-bsp-1.8.0: r-car e2 (alt/silk): mesa: Temporary workaround to upstream Mesa build issue multimedia: Remove unnecessary do_install_append from omx-user-module multimedia: gstreamer1.0-* fix configure for out of tree build on git recipes r-car m2: set PREFERRED_VERSION_gstreamer1.0-omx* to 1.0.% when h/w acceleration enabled multimedia: add RPROVIDES for multimedia kernel modules Configure linux-renesas to build uinput Conflicts: meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb Change-Id: Id8bf7749e75fa2cf5e418b81a33659285e46532c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-10-12multimedia: add RPROVIDES for multimedia kernel modulesStephen Lawrence6-6/+18
Add the multimedia acceleration kernel modules to the RPROVIDES variable of the appropriate recipes. This fixes build errors of the following form at do_roofs time when RPM packaging is used: error: Can't install <foo>@MACHINE: no package provides <bar> Thank you to Tadao Tanikawa for his work on this within AGL [1] [1] https://gerrit.automotivelinux.org/gerrit/#/c/4061/1
2015-09-29Configure linux-renesas to build uinputJonathan Maw1-0/+3
The uinput module is useful for automated testing as it allows user-space programmes to create and use virtual input devices. An alternative way of doing this might be to add configuration using the way recommended by http://www.yoctoproject.org/docs/1.7.2/kernel-dev/kernel-dev.html#changing-the-configuration, but I was unable to get that working. Signed-off-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
2015-09-29silk: kernel: disable interlace modeYannick GICQUEL2-0/+27
This change default configuration of rcar-du driver to avoid flickering on HDMI plug. This may be related to misalignment between ADV7511 and the SoC (tbc). This issue was observed on two different screen models. Change-Id: I1509e046fd7d46f6b74ea0bd96d5d41116d2f89a Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh>
2015-09-29porter: kernel: disable interlace modeYannick GICQUEL2-0/+27
This change default configuration of rcar-du driver to avoid flickering on HDMI plug. This may be related to misalignment between ADV7511 and the SoC (tbc). This issue was observed on two different screen models. Change-Id: I161b9d659c14de7fa5b0ce4b55fb5cf968c11e3f Signed-off-by: Yannick GICQUEL <yannick.gicquel@iot.bzh>
2015-08-31[AGL] Workaround to upstream meta-renesas build issueTadao Tanikawa6-6/+18
When building meta-renesas with enabling multimedia binary packages provided by Renesas, there are some build issue. This should be removed once upstream is fixed. Change-Id: Ia83cc3fa0b02ebfc660e1e2dd50f1a5c8e1fddc9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-04-08porter: kernel: migrate porter board audio from platform data to DTSStephen Lawrence8-0/+440
Kernel BSP v1.9.0 contained a backported ASoC and dma descriptor mode driver for AUDIO-DMAC from the upstream kernel. This patch series migrates the R-Car M2 Porter board audio from platform data to DTS to make use of this driver and restore audio on the board.
2015-03-25gles-kernel-module: Add RPROVIDES for kernel-module-pvrsrvkm ↵Stephen Lawrence1-0/+1
kernel-module-dc-linuxfb The package provides modules that are not found when do_rootfs installs dependent packages for certain package configurations. Add them to the RPROVIDES so they are found. Fixes do_rootfs build errors of the form: error: Can't install <foo>0@koelsch: no package provides <bar>
2015-03-25linux.inc: Enable support for CGROUPS Enable FHANDLE for serial consoleFlorin Sarbu1-0/+13
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2015-03-25commit BSP v1.8.0Nobuhiro Iwamatsu46-0/+6262
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>