summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/linux/files
AgeCommit message (Collapse)AuthorFilesLines
2022-02-24meta-rcar-gen3/recipes-kernel: Add v4l2 vivid moduleMarius Vlad1-0/+6
Testing out video streaming would be much more easier if the vivid module was there to be used in the first place. Bug-AGL: SPEC-4244 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I423499c1cc67fa55585af88308312883a80a9d29 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27131 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-02-02[RCAR] Fix block device performance decreasedRonan Le Martret1-0/+2
* After the RCAR BSP 5.5.O, the block device performance decreased. The root cause is a change in the default kernel configuration of the BSP (CPU Frequency scaling) from (RCAR BSP 4.7.0): CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y \# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set To its new default (RCAR BSP 5.5.0) \# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y You can check current value at runtime using: cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor cat /sys/devices/system/cpu/cpufreq/policy4/scaling_governor To mediate the regression we do switch back to the PERFORMANCE governor. Bug-AGL: SPEC-4205 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I6d19d92dae9dd8c7977e2034215fce07d8318773 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27108 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-10-29[RCAR] Update RCAR BSP recipes to 5.5.0 versionRonan Le Martret2-10/+87
* rename the dts/dtsi file, the new BSP 5.5.0 change the file name of the dts file. * update the driver files hash * Add "meta-yocto-bsp" to BBLAYERS, it's new dependency of meta-renesas. Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I53b71906e7174d7b1153a6912f7181171730147c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26703 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2020-11-04Revert "[RCAR] Fix gcc 10 build failed on u-boot and kernel."Ronan Le Martret1-51/+0
Bug-AGL: SPEC-3674 This reverts commit 66814faec0f8e589b48af8c22a70d94d96bf0957. Change-Id: Iad269aac57a58d909ab5ea97110538e5a89cab80 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25499 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: 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>
2020-10-15[RCAR] Fix gcc 10 build failed on u-boot and kernel.Ronan Le Martret1-0/+51
* cherry pick upstream patch to fix u-boot and linux kernel on gcc 10 build issue. Bug-AGL: [SPEC-3617] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I0c85938287861a8efc328b5c08bbf364027f6473 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25416 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> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-08-24[RCAR] Remove perf fix on renesas boardronan1-132/+0
* In RCAR BSP 4.14 the perf fix is upstream, we don't need to keep this fix in AGL. Bug-AGL: SPEC-3516 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic014347319318122f99eabf48170a5b393ab46c5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25069 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-07Use upstream meta-renesas from github and update meta-rcar-gen3-adas integrationJan-Simon Moeller1-0/+132
Thanks to the work done by Renesas and members of our community, we can now directly use meta-renesas from upstream github. A shout-out to everyone involved (Kurokawa-san, Ronan, Stephane). It turned-out it is simpler to create a symlink-based slim version of meta-rcar-gen3-adas layer instead of BBMASK'ing what should not be in there. See the comments in meta-agl-bsp/meta-rcar-gen3-adas/conf/NOTES as to why. Remaining work is to include the packages outside of the layer.conf in a follow-up. Bug-AGL: SPEC-3380 Change-Id: I2be1b44049d74146546380e2eb866f0558a26822 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24796 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-03-12meta-rcar-gen3: Add Xen specific device tree for m3ulcbJérémy Fanguède2-0/+92
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-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 Martret1-145/+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-10-12[RCAR] ADSP enable and add sound hardware abstraction in DTRonan Le Martret1-0/+121
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 Martret1-4/+0
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 Ranostay1-0/+145
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-13Revert "Fix kernel gcc7 issue"ronan1-127/+0
This reverts commit 9b7584fd0ca807998643028a264b25c8dbbbed18. Change-Id: I41337a1ee9425cfcfe19cf1406b3b4391f4af3be
2018-02-13Revert "Fix CVE-2017-1000364 by backporting the patches for gen3"ronan3-1038/+0
This reverts commit 9b9894c5497f9604282f5abc25de7dd48b99e7b8. Change-Id: Iab95fb8feb2f50397d6a285bddffaafd37a62984
2018-02-13Fix kernel gcc7 issueRonan Le Martret1-0/+127
Change-Id: Iad0345ed3b70c555970d4d00e6008376b70903fa Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini5-90/+0
- 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-07-12Add ath9k_htc driver to rcar-gen3 for demosScott Murray1-0/+2
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öller3-0/+1038
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é Bollo1-0/+49
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 Martret1-0/+4
* 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-02-06Add bluetooth support to renesas rcar-gen3.Builder1-0/+32
Change-Id: Iad1185f03ad82e297f5368108d586f0af3894b23 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-01-02Fix to get netboot activated also for renesas gen3Romain Forlot2-0/+2
Change-Id: I9b512a907398de9c96dc46111c74bed4059f7b8e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-12-06add namespace to config kernelRonan1-0/+4
* missing namespace into defconf Change-Id: I9f292f8186fb771f8eb8c82ad8e7e985c474e9ea Signed-off-by: Ronan <ronan.lemartret@iot.bzh>