summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-qcom/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2021-06-29Refactor kernel configuration fragment handlingScott Murray1-3/+1
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
2020-02-17zeus updates for dragonboard-410cScott Murray1-0/+0
Changes: - Update BBMASK definition in template to avoid new warning. - Rename linux-linaro-qcomlt bbappend to use a wildcard to cover both the new 5.4 kernel in meta-qcom and still the older 4.x kernels in that BSP that a user might configure instead. Bug-AGL: SPEC-2932 Change-Id: I8a735a38409822e7069cc84bc2a42c06d351a278 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-05-28linux-linaro-qcomlt: delete bbappend of db820cYuya Ono1-3/+0
This bbappend no longer is needed because related bb has been removed by below commit. http://git.yoctoproject.org/cgit/cgit.cgi/meta-qcom/commit/?id=267fa80fea2d3 Change-Id: I3d7943c2a2048078b210adbadf30a3bdb59206a9 Signed-off-by: Yuya Ono <Ono.Yuya@ap.MitsubishiElectric.co.jp>
2018-03-26most: delete bbappend for removing skb_put_data patchKotaro Hashimoto1-5/+0
This bbappend no longer is needed because skb_put_data patch issue was solved by below commit. https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl-demo.git;a=commit;h=23492d46ea0fd81aa05528ad423bb5e1a10e111b Change-Id: I9615367030a26d6af16b4c46ce47da7c49a03a5d Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2018-03-07Add db-820c as community boardJan-Simon Möller1-0/+3
Add templates for the db-820c as community board alongside the 410c. Only works with rocko/master. v2: - fixed 96board-tools inclusion - added kernel bbappend Change-Id: I411505ae0aeb5939338bb94f5db04c2572fc6612 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-31most: remove skb_put_data patch from SRC_URIKotaro Hashimoto1-0/+5
skb_put_data was introduced to linux/skbuff.h since Linux kernel 4.13. Bug-AGL: SPEC-1181 Change-Id: I209842b160abff3f4cbd2859a5643dab2678b83f Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2018-01-31linux-linaro-qcomlt: update to kernel 4.14Kotaro Hashimoto1-1/+0
Update linux-linaro-qcomlt to kernel 4.14. Bug-AGL: SPEC-1181 Change-Id: I7555ecd901ac454db5f2251cf0b79473537b2739 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini7-98/+2
- 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-1/+4
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-06-29db410c kernel fixed CVE-2017-1000364 upstream thus remove our patchesJan-Simon Möller4-1045/+0
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.9 contains now the necessary patches. We no longer need ours. Bug-AGL: SPEC-705 SPEC-707 Change-Id: Ib96f543c8ecde33c4fd9848a23f41e1f55ea32e9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9957
2017-06-29Fix CVE-2017-1000364 for dragonboard-410c by backporting the patches from ↵Jan-Simon Möller4-0/+1045
upstream kernel v4.9 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: I402591fa0cba7c6612050f6cf914ae0607df78ec Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9901 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot1-0/+3
v2 (jsmoeller): Add append files for boards that need special handling. Change-Id: I172b71be6e825aa6399f22899e9b6eaacc86e72b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9791 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-04-26dragonboard-410c: linux: update to kernel 4.9Kotaro Hashimoto4-150/+0
Update linux-linaro-qcomlt to kernel 4.9. Update smack patches for kernel 4.9. Change-Id: Ia1fbc1787ef968bfd55d2ce48e01b1ea121762c7 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9159 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-20meta-agl-bsp/meta-qcom: Fix kernel config fragment about smackKotaro Hashimoto1-0/+7
Previous changes(*) caused to be disable smack setting. This patchset re-enable smack setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/8569/ Bug-AGL: SPEC-450 Change-Id: I961192e42991a0d2542ca23fac030b8f3eba3fcf Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-02-24meta-agl-bsp/meta-qcom: remove duplicate smack configStephane Desneux3-14/+2
The base smack config is already set by meta-intel-iot-security with a linux-%.bbappend, which applies to all kernels. i See: meta-intel-iot-security/meta-security-smack/recipes-kernel/linux/ Bug-AGL: SPEC-450 Change-Id: I3fe57d5396827f48f18e2f04bf6f0c4d5ee4a894 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-02-03Fix issue with bluetooth pairingKotaro Hashimoto5-0/+204
This patch is ported from meta-agl-extra. Change-Id: I02ef686e9f4ba10f30010397675f46e03d616a33 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-02-03Enable smack in linux-linaro-qcomlt kernelKotaro Hashimoto3-2/+14
This changes enables the smack feature in linux-linaro-qcomlt kernel by using configuration fragments. Change-Id: I54183ffcf31f63ea99ba785442e1833299c3f273 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2016-11-24Fix file extension from *.bb to *.bbappendKotaro Hashimoto1-0/+0
linux-linaro-qcomlt%.bb was wrong file extension. I modify this file extension from *.bb to *.bbappend. Change-Id: Ib44d0496025d88faf7a34310cc3d208db668ca5a Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2016-11-16Add support for CES 2017 demo hardwareScott Murray6-0/+30
Add kernel config fragments to enable support for the TP-Link TL-W722N USB Wifi adapter on both Turbot and Porter, and RTL2832U DVB USB adapter on Porter. v2 (jsmoeller): Adapt linux-yocto bits and add rpi3 + vayu - moving linux-yocto appends catches all the linux-yocto boards - adding the fragments to the other boards likewise - yet todo: sabre, wandboard v3 (jsmoeller): remove leftover file:// Change-Id: Ic2c3255d9383ccfe8b24d034ef43779d120c5ee1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>