Age | Commit message (Collapse) | Author | Files | Lines |
|
Refactor the kernel configuration fragment handling to shift all AGL
applied configuration fragments into a new AGL_KCONFIG_FRAGMENTS
variable that is used to generate SRC_URI and KERNEL_CONFIG_FRAGMENTS
additions for the various BSPs. The intent is to make it simple to
disable AGL provided configuration in downstream builds as the IC EG
has expressed as a requirement. Additionally, the rework has allowed
for some clean up of accumulated cruft.
In practice, clearing AGL_KCONFIG_FRAGMENTS drops all non-BSP provided
kernel configuration with the exception of some qemu BSP related
additions required for AGL CI and some explicitly configurable things
like netboot support.
Notable changes:
- Instead of always using AGL's own fragment merging logic on top of
the BSP kernel recipe, an effort is now made to leverage the BSP
recipes' own merging schemes, so there are now separate include
files for kernel-yocto.bbclass and plain kernel.bbclass based kernel
recipes, as well as a common include file that defines the
AGL_KCONFIG_FRAGMENTS variable and its derivations. That file can
be included directly in bbappends for BSP kernel recipes that use
the KERNEL_CONFIG_FRAGMENTS scheme (e.g. meta-ti, meta-qcom).
- The SMACK enabling configuration in meta-app-framework has been
updated to supply different fragments for enabling SMACK by default
for 4.x and 5.x kernels. This removes a warning from always
supplying the old configuration, and allows providing a CONFIG_LSM
definition to ensure over-riding any BSP modifications.
This allows removing the previous hack to handle CONFIG_LSM being
set in the defconfigs in linux-raspberrypi.
- By request, the linux-yocto support from meta-agl-bsp/meta-core has
been rationalized into meta-agl-core to improve the experience when
using meta-agl-core standalone for testing.
- All demo supporting kernel configuration has been removed, a
subsequent change to meta-agl-demo will add it there by leveraging
AGL_KCONFIG_FRAGMENTS.
- The hardware device support has been split out of the can-bus.cfg
fragment, in favor of shifting it to meta-agl-demo. A few other
stray non-CAN configuration options have also been removed from
can-bus.cfg, as they do not seem to be required.
Bug-AGL: SPEC-3983
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If6662fd36e26cec767b1d53b1188a74d01ef9dcf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26460
Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
|
|
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>
|
|
Bug-AGL: [SPEC-3617]
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ic1f4c424f76ff5c357752e32aa8a47ff805273dc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25417
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: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
|
|
* 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>
|
|
* 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>
|
|
- We need a fix to build the package perf for salvator-x (m3/h3).
This fix already exists but it was apllied for ulcb machine.
Change-Id: Ia42a8c0e3bdd7e6aaf844b1931d2c2df85b9dabf
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24961
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>
|
|
Currently the upstream rcar bsp does need the fix for building perf.
The meta-rcar-gen3-adas layer contains a fix in the big patchqueue.
Thus conditionally apply the perf build fix.
Bug-AGL: SPEC-3443
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Icbf53add71ed731c35dec149841691c82ae4372c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24914
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
|
|
We need to evaluate if and where we need to place the perf fix or if upstream includes it.
Likewise for the weston bbappend.
Bug-AGL: SPEC-3443
Change-Id: I78fb37bc3b0d4531c70e71d70c6663de1ab0d987
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24911
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
|
|
Port of https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=9e58bd97144ab56a7858c6cd2206d3bd793bb09e
Original commit message:
* As the driver files come from out of git repository,
we need to check driver file integrity.
FormerChange-Id: I46f2a281f8da1ae606e8ae1ee55324fd5fd9b772
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Bug-AGL: SPEC-3443
Change-Id: If8cb040cae4ca227b883f4cdf250e3afec503976
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24909
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
|
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
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>
|
|
Bug-AGL: SPEC-490
This reverts commit d88997d1d16897abb83a161c215cbec25d9b5e0f.
Change-Id: I7c7a989fb1bf1df1de3c0557792ea4b013fec709
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
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>
|
|
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>
|
|
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>
|
|
This reverts commit 9b7584fd0ca807998643028a264b25c8dbbbed18.
Change-Id: I41337a1ee9425cfcfe19cf1406b3b4391f4af3be
|
|
Change-Id: I63e974a075752a9d2f7cba3a1880321c7c4c6b17
Signed-off-by: ronan <ronan.lemartret@gmail.com>
|
|
This reverts commit 9b9894c5497f9604282f5abc25de7dd48b99e7b8.
Change-Id: Iab95fb8feb2f50397d6a285bddffaafd37a62984
|
|
Change-Id: I0ad8b780183feead322bd4dd5cceb25d4b2bad2d
Signed-off-by: ronan <ronan.lemartret@gmail.com>
|
|
Change-Id: Iad0345ed3b70c555970d4d00e6008376b70903fa
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
Change-Id: Iad1185f03ad82e297f5368108d586f0af3894b23
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change-Id: I9b512a907398de9c96dc46111c74bed4059f7b8e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
* missing namespace into defconf
Change-Id: I9f292f8186fb771f8eb8c82ad8e7e985c474e9ea
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
|
|
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>
|
|
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>
|