summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2020-03-12meta-rcar-gen3: Add Xen specific device tree for m3ulcbJérémy Fanguède3-0/+103
Provide a specific version of the device tree (appended with -xen) to run with Xen. Only the R-Car m3ulcb board is supported and tested so far. Add also the Xen block device backend support in the kernel, to be able to run block device based DomU. From U-Boot, Xen and Linux Dom0 can be run as follows (assuming binaries are in sdcard first partition): > setenv bootargs > fatload mmc 0:1 0x48080000 xen-m3ulcb.uImage > fatload mmc 0:1 0x48000000 r8a7796-m3ulcb-xen.dtb > fatload mmc 0:1 0x7a000000 Image-m3ulcb.bin > bootm 0x48080000 - 0x48000000 The Linux Dom0 bootargs are hardcoded in the device tree, the rootfs is expected to be on /dev/mmcblk1p2 Bug-AGL: SPEC-2912 Change-Id: Ia86e0789650eaf79d13691cf4f53755c8cb8f06c Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2020-01-30[RCAR] Split ADSP path for ulcb and ulcb-kfRonan Le Martret1-44/+0
- If we want to build AGL for ulcb board without the meta-rcar (kingficher board support), we need to split the patch. Change-Id: I145887d4619a7132e46f98f30e1fc0dd3de6b29a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-07-23linux-renesas: Add ADSP patch only for m3ulcbPierre Marzin1-1/+1
The patch are only used for the m3ulcb machine. Bug-AGL: SPEC-2564 Change-Id: Idfca2b7a48b7a53efee6dcf2f21b0f8932d7b43d Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
2019-03-12[RCAR] Fix patch on kernel dtsRonan Le Martret1-8/+12
* For RCAR BSP v3.15.0, we need to fix this patch Bug-AGL: SPEC-2185 Change-Id: Iadf40e6bfe964c3881d411cbdaab956ce524bc76 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Remove upstream patchRonan Le Martret2-146/+0
This patch is now upstream (RCAR BSP 3.15.0), so it useless to keep it in AGL. Bug-AGL: SPEC-2185 Change-Id: I10f1c99d4854c364960f310e4e12b385f6c55465 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-18linux-renesas: Add smack patches to R-CarJosé Bollo1-0/+3
The patch for CGROUP2 is important for running without capabilities. Bug-AGL: SPEC-2006 Bug-AGL: SPEC-1016 Change-Id: I0dfec85bdc66b220e20776501522e71579e6a742 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-12[RCAR] ADSP enable and add sound hardware abstraction in DTRonan Le Martret2-0/+126
The ADSP on Renesas SoCs required a reserved memory area to become enabled, and this needs to be done manually. This patch adds sound hardware abstraction information for the m3ulcb and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the ADSP for dynamically determining sound hardware at runtime, allowing single binaries to be used between the two boards. Future work will incorporate the h3ulcb and Salvator boards into the abstraction. Bug-AGL: SPEC-1227 Bug-AGL: SPEC-1424 Bug-AGL: SPEC-1571 Change-Id: I78edc5854a95520276bdcd9fd9766a120d2c04d7 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-08-15Revert "[rcar-gen3] Disable ipv6"Ronan Le Martret2-7/+2
Bug-AGL: SPEC-490 This reverts commit d88997d1d16897abb83a161c215cbec25d9b5e0f. Change-Id: I7c7a989fb1bf1df1de3c0557792ea4b013fec709 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-23linux-renesas: kernel: backport pn533_usb fix from upstreamMatt Ranostay2-0/+146
Backport pn533_usb incorect stack use from linux-next kernel NOTE: this kernel is tracking LTS so at some point it will need to be reverted Bug-AGL: SPEC-1544 Change-Id: I90fd3e0339dfdb148eb01b6ef836353bc2ac6a43 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-16linux-renesas: stop inheriting from 4.9Martin Kelly1-1/+0
With rocko, we're on 4.14, so we should stop inheriting from linux-agl-4.9.inc, which is applying a Smack patch that has already been merged into 4.14. Change-Id: I15e1dd270d111d44b089f9587fcdccf9abec2210 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-02-15linux-renesas: remove bbappendMartin Kelly1-2/+0
This bbappend attempts to remove a patch that doesn't exist, so on rocko, it is now breaking the build. Remove it. Change-Id: Ieddbe8c73c5efa2568ea09a83be73e151618be8e Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-02-13Revert "Fix kernel gcc7 issue"ronan2-133/+0
This reverts commit 9b7584fd0ca807998643028a264b25c8dbbbed18. Change-Id: I41337a1ee9425cfcfe19cf1406b3b4391f4af3be
2018-02-13remove backport commitronan1-0/+3
Change-Id: I63e974a075752a9d2f7cba3a1880321c7c4c6b17 Signed-off-by: ronan <ronan.lemartret@gmail.com>
2018-02-13Revert "Fix CVE-2017-1000364 by backporting the patches for gen3"ronan4-1043/+0
This reverts commit 9b9894c5497f9604282f5abc25de7dd48b99e7b8. Change-Id: Iab95fb8feb2f50397d6a285bddffaafd37a62984
2018-02-13Update rcar gen3 kernel bbappend versionronan1-0/+0
Change-Id: I0ad8b780183feead322bd4dd5cceb25d4b2bad2d Signed-off-by: ronan <ronan.lemartret@gmail.com>
2018-02-13Fix kernel gcc7 issueRonan Le Martret2-0/+128
Change-Id: Iad0345ed3b70c555970d4d00e6008376b70903fa Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-02-06meta-agl-bsp/meta-rcar-gen3: Improve AUTOLOAD for kernel module.Harunobu Kurokawa3-3/+6
These kernel modules are used in the video driver. In addition, the H.264 transfer from the IVI System to the Cluster in AGL demo also use the encoder plugin. For this the driver needs to be loaded before weston. Bug-AGL: SPEC-1038 Change-Id: If403b7dfa5d3402070f2596ae36a3c013495aa97 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini7-110/+4
- All kernel recipes must inherit linux-agl.inc - All kernel recipes for a given version (e.g. 4.9) should include linux-VER-agl.inc in order to avoid duplication (such as the SMACK label patch or security fixes) - We enforce having merge_config.sh be invoked at the end, in order to make sure fragments will be applied. - Add a new fragment for Raspberry Pi to ensure the Pi Touchscreen is still enabled. With all of the above, we fix a number of minor issues as well, such as platforms manually enabling NBD/RAMDISK for netboot as the previous logic was not working in all cases. Bug-AGL: SPEC-946 Change-Id: Ic688e899df5861d83712af12d8e1c6c3c9643300 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12063 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong1-0/+3
Add joystick.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/10463/ Change-Id: Ie484cc8017e7198cefa0d8e7476032c325a8348d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11575 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-18Add uvc.cfg for usb video class kernel configurezheng_wenlong1-0/+3
Add uvc.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. See: https://gerrit.automotivelinux.org/gerrit/#/c/10803/ Change-Id: I5faebefef3560a27496103e1ad4a1ca70377a1ba Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10893 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-12Add ath9k_htc driver to rcar-gen3 for demosScott Murray2-0/+3
Add the kernel configuration fragment for the ath9k_htc driver used by the D-Link USB Wifi adapter recommended for demos to rcar-gen3. Change-Id: I7739193adaeeba985625ea9058ee5c991b77b63a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10077 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-29Fix CVE-2017-1000364 by backporting the patches for gen3Jan-Simon Möller4-0/+1048
Backport of patches from upstream for 4.9 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Bug-AGL: SPEC-705 Change-Id: Ic10d65a80f9cd334067e507715dfe9589fbde744 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9883 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-05-12linux-renesas: Applies Smack patch for bluetoothJosé Bollo2-0/+57
This patch allows kernel sockets to be used by applications. Bug-AGL: SPEC-554 Change-Id: Ib3562cb68334500b375b5dd341ead314c438f5e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9371 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-20meta-rcar-gen3: add CONFIG_INPUT_UINPUT to bluetooth.cfgMatt Ranostay1-0/+5
CONFIG_INPUT_UINPUT is needed for AVRCP controls to be registered and function within bluez. AGL-Bug: SPEC-540 Change-Id: Idbc63b8844fac595d73cb34f6a7eb4fb2243028d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-19[rcar-gen3] Disable ipv6Ronan Le Martret2-1/+6
* ipv6 was disable in the previous version of the Renesas gen3 BSP (v2.12) and boot with ipv6 doesn't work, for now, on the Gen3 board. Bug-AGL: SPEC-471 Change-Id: I0c0f14cbf3b5d8404e9b8108d24740ecaea762c2 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-19[rcar-gen3] Rename kernel-module-uvcs recipesRonan Le Martret1-0/+0
* the recipes "kernel-module-uvcs" was change to kernel-module-uvcs-drv Bug-AGL: SPEC-471 Change-Id: I07f4efe47c9c1fe66df7818e98c4c4cc0806973d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-06Add bluetooth support to renesas rcar-gen3.Builder2-1/+33
Change-Id: Iad1185f03ad82e297f5368108d586f0af3894b23 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-02Fix to get netboot activated also for renesas gen3Romain Forlot3-1/+6
Change-Id: I9b512a907398de9c96dc46111c74bed4059f7b8e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-12-06add namespace to config kernelRonan2-0/+8
* missing namespace into defconf Change-Id: I9f292f8186fb771f8eb8c82ad8e7e985c474e9ea Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-23meta-rcar-gen3: autoload mmp modulesYannick Gicquel4-0/+4
Add KERNEL_MODULES_AUTOLOAD directive some to multimedia package drivers. Thus after bootup, multimedia framework is ready to use hw acceleration IP. Change-Id: I43a92fdf2dff1f546e5a532b13203efd4a6b829c Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-11-16meta-rcar-gen3: gles: support for AGL toolchainYannick Gicquel1-0/+4
As TARGET_VENDOR is defined in AGL, the toolchain has a different name. The gles recipe contains hardcoded toolchain name, this add support to custom one. Change-Id: Ie4e768d0570c6a07f92067e39079e6e063d59451 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>