aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-ti/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2021-06-29Refactor kernel configuration fragment handlingScott Murray1-1/+2
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
2021-06-01Remove dra7xx-evm machine supportScott Murray2-49/+0
Remove dra7xx-evm machine template and related BSP configuration tweaks. The configuration is stale and untested, and no one has expressed interest in it for long enough that it seems better to just remove it to avoid confusion about support status. Bug-AGL: SPEC-3934 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1659eef113cf1e6fcfdddf65f712275b8fc49b6f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26378 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>
2019-04-04Upgrade to thudScott Murray3-33/+9
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-01-16Revert "Remove 4.9 patchqueue for new 4.14 kernel in meta-ti"Jan-Simon Moeller1-0/+1
Re-add the patchqueue for 4.9 . The 4.14 Kernel is missing the dtb for the screen. This reverts commit 6fc5ad52250e6dc63b40b17376668f40a016926e. Change-Id: I25f7650df642bb6c6e5fcb5cd0be525cc7938bcb
2019-01-16Revert "Remove patch in newer ti-staging kernel"Jan-Simon Moeller1-0/+1
The 4.14 kernel is missing the dtb of our screen. For now stay on 4.9 until the status is clear. This reverts commit 629062a55c41e8993761edf4a2a44400b72a6b91. Change-Id: Ibe4e87d1b81fff907bc35cacf10690b21fe45cb2
2018-12-17Remove 4.9 patchqueue for new 4.14 kernel in meta-tiJan-Simon Möller1-1/+0
We update meta-ti to 4.14, thus we do no longer need the 4.9 patch queue of smack. Change-Id: I20d89c75029f29b0e6827979e70e85614d7a2e40 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-14Remove patch in newer ti-staging kernelJan-Simon Möller1-1/+0
The pending BSP update already has this patch applied (can be reverse-applied). Thus remove it. Change-Id: If3172270f40b21bd448c7113c7ab6f2a8f82023c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-02We pin on 4.9 linux-ti-staging for now.Jan-Simon Moeller1-0/+1
Revert "linux-ti-staging moved to 4.14" This reverts commit 9e0ff1e9829f3cac0d7a4b90c5456164b8a01b96. Change-Id: I00dc5ce4d249b28b7f9d4e8559aa78a37edbbea3
2018-07-28linux-ti-staging moved to 4.14Jan-Simon Möller1-1/+0
Remove the 4.9 patch queue. Change-Id: Iadd7d4b74085f21f9e487173e9f69ed8969c114b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-12Revert "linux-ti-staging moved on to 4.14"Jan-Simon Moeller1-0/+1
Too early. Need to wait for https://gerrit.automotivelinux.org/gerrit/#/c/15127/ This reverts commit 57fa6f2599942b87af20ae8791eeb40bec5569ef. Change-Id: Ie6eabc56c3b5f4af77c944b5eb15e0d36f719756
2018-07-12linux-ti-staging moved on to 4.14Jan-Simon Möller1-1/+0
Thus remove the linux-agl-4.9.inc. Change-Id: I4d3172a58f4bf3e44201b50c183294356d52a3b0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-04Fixing DCAN nodes addressesKhouloud Touil2-1/+24
Fix the DT node addresses to match the reg property addresses, which were verified to match the TRM Change-Id: I1ec1d52b48aa2af7d74779bf0eb6f30bc7a4a6cc Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-04Enabling the DCAN2 interfaceKhouloud Touil2-0/+49
Modify the DTS file, to add the proper pinmux for the DCAN2 and enable it Change-Id: I21d233eab71d062484f322e8dd0f16df34f6fe76 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-01-23linux-ti-staging: Remove linux-dtb.incChanghyeok Bae1-2/+0
WARNING: You are using the linux-dtb.inc which is deprecated. You can safely remove it as the Device Tree support is automatically enabled when KERNEL_DEVICETREE is set. Bug-AGL: SPEC-1181 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini6-105/+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-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-10-05dra7xx-evm: fix build by including linux-dtb.incMatt Porter1-0/+2
meta-ti does not maintain a pyro branch. As such we are relying on building with the master branch. This broke due to commit 391bfb8c3002bbf5ba6a51d689a7f2ba511c6682 which removes support for linux-dtb.inc from the linux-ti-staging recipe due to an oe-core change on master. Add linux-dtb.inc to the bbappend to fix. Bug-AGL: SPEC-932 Change-Id: I3fb6799a5fe4a083159b600a81764d67e5b22771 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11149 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-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-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-20meta-agl-bsp/meta-ti: Fix kernel config fragment about smackKotaro Hashimoto1-0/+6
Previous changes(*) caused to be disable smack setting. This patchset re-enable smack setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/8567/ Bug-AGL: SPEC-450 Change-Id: Ib0e28b232ce9f39df71cd194baedbbaeab9f62ca Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-03-30dra7xx: linux: Update smack patches for Kernel 4.9Karthik Ramanan4-150/+0
Change-Id: Ie6e56fbbf877be62d69daa0d06141009cb99422a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-30dra7xx: Remove SRC_URI updateKarthik Ramanan1-11/+0
Change-Id: I9ce4a9d1019269e4955544e341b5d1d0bd7a3e15 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-30dra7xx: linux: rename kernel recipe to make version agnosticKarthik Ramanan1-0/+0
Change-Id: Id33c8f4c1d75aa6adf1b276995fc7991603c41cb Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-02-25meta-agl-bsp/meta-ti: remove duplicate smack configStephane Desneux3-14/+0
The base smack config is already set by meta-intel-iot-security with a linux-%.bbappend, which applies to all kernels. See: meta-intel-iot-security/meta-security-smack/recipes-kernel/linux/ Bug-AGL: SPEC-450 Change-Id: I39727ee48876754c0821e80ed8d10856a27cb8e4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-01-05dra7xx-evm: Fix issue with bluetooth pairingKarthik Ramanan5-1/+208
This patch is ported from meta-agl-extra Commit details below: commit c50805d25ba95473e8b4d1eb28d1203a328cd77a Author: José Bollo <jose.bollo@iot.bzh> Change-Id: I54a40935d6d2bbd9c267985c9e23a14bdffb7a3c Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2016-11-22meta-agl-bsp: More CES 2017 demo hardware support for TI VayuScott Murray3-3/+14
Tweaked the rtl_sdr.cfg fragment for linux-ti-staging to add CONFIG_I2C_MUX, as it is required by the RTL28xx driver Kconfig in newer kernels. As well, added another fragment to linux-ti-staging to enable USB Bluetooth HCI devices so that USB Bluetooth adapters will work on Vayu. Change-Id: Ifd40f25e2159066fea4707a7915ba9b6dee52e0c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-11-16Add support for CES 2017 demo hardwareScott Murray3-1/+18
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>
2016-11-13dra7xx-evm: switch to different kernelKarthik Ramanan1-0/+11
Also renamed the append file to make it kernel specific. This kernel will enable more automotive specific usecases like radio and other adapter boards that will be required for AGL. Change-Id: I2259724061f8b47f79fa43a5b65d43c8e025fd3a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2016-10-27Enable smack, ramdisk and nbd in linux-staging-ti kernelJan-Simon Möller4-0/+19
This changeset enables the necessary features for AGL in the linux-ti-staging kernel by using configuration fragments. These are additive to the configuration matrix done by linux-ti-staging itself (per board). Apply likewise for other needed options. Change-Id: Iebd212ca81f1c6a7f65f1f413f2021aa11f8190e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>