aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel/linux/linux
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09meta-agl-bsp: extend qemux86-64 hardware supporticefish_9.0.4icefish/9.0.49.0.4icefishScott Murray5-0/+136
Copy extra hardware support kernel configuration fragments used with meta-intel for intel-corei7-64 machine over to also use them with qemux86-64, and add apparently now required LPSS configuration options to x86-upsquared.cfg to fix serial console support. Bug-AGL: SPEC-3353 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iabcd7701f6967c877b295c09c1d328d69c4d0deb (cherry picked from commit b8a8fef1cb9914b9e11a50da8296af9b3316adb3) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25778 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>
2020-03-18linux-agl: add pfifo patchset for fixing CAN failuresMatt Ranostay1-0/+75
Backported upstream patchset to fix CAN failures with SocketCAN * net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware Additional patchset for 4.14 kernels to bring in needed if_afp.h header Bug-AGL: SPEC-3171 Change-Id: I1ddb75d1aca64861cfc52f1df4ff810bd0367ab9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-26linux: add netfilter.cfg fragmentMatt Ranostay1-0/+1
Add netfilter.cfg fragment that initially enables CONFIG_NETFILTER_XT_MATCH_OWNER to allow connman's session-policy-local to route traffic based on user id. Bug-AGL: SPEC-2772 Change-Id: I7fb642790709aff9899d42250b1b15f77451361e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-15linux: add CONFIG_IIO_TRIGGERED_BUFFER=m to iiodevice.cfgMatt Ranostay1-1/+2
To avoid CONFIG_IIO_TRIGGERED_BUFFER being set as a builtin by default causing a do_kernel_configcheck warning build as module. Bug-AGL: SPEC-2747 Change-Id: Ide4011c25eb781daf135690205fef1cd591ea186 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-15linux: update options in ath9k_htc.cfgMatt Ranostay1-1/+1
Newer kernels have different configuration options names for WLAN drivers, and need to be updated. Bug-AGL: SPEC-2747 Change-Id: Ic35957172cec758a64219981a11ce155d296ca91 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-06meta-agl-bsp: recipes-kernel: linux: Add USB host driverCorentin Labbe1-0/+3
Both qemuarm and qemuarm64 builds lack USB drivers. This patch enable basic USB drivers necessary for them. Change-Id: I35064b0b4018c0953c609cebcab102b898d04f70 Bug-AGL: SPEC-2722 Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
2019-06-27linux-agl: change aloop to a module instead of built-inScott Murray1-1/+1
Rename the 4a-sound.cfg fragment to the more generic sound.cfg, and change CONFIG_SND_ALOOP to module, not built-in. This still keeps it available if something ends up needing it. Bug-AGL: SPEC-2555 Change-Id: Ib0554800dc704d19b48a7e041d4f2b60a1b42192 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-03-15meta-agl-bsp: recipes-kernel: linux: Increase BLK_RAM sizeCorentin Labbe1-0/+1
For SPEC-2075, I tried to boot an upsquare using NBD and it fail with: [ 8.380343] EXT4-fs (ram0): bad geometry: block count 8492 exceeds size of device (4096 blocks) [ 8.390509] EXT4-fs (ram0): bad geometry: block count 8492 exceeds size of device (4096 blocks) For having a successfull boot, I needed to increase BLK_DEV_RAM_SIZE to a larger value (16384). Instead of increasing to only 16384, I use 65536 which is the value used in other meta-xxxx like meta-freescale. This patch increase BLK_DEV_RAM_SIZE to 65536. Signed-off-by: Corentin LABBE <clabbe@baylibre.com> Change-Id: I0792be1038d0bcd120c3c69c90cd6e1966c9b1ee
2019-02-13meta-agl-bsp: recipes-kernel: linux: add CONFIG_CAN_MCBA_USB to can-bus.cfgMatt Ranostay1-0/+1
Add CONFIG_CAN_MCBA_USB to allow usage of Microchip CANbus analyzers Change-Id: I86d5726150373cb14630a95c7767fd13dd5d0924 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-05meta-agl-bsp: recipes-kernel: linux: add usbmodem.cfg fragmentMatt Ranostay1-0/+7
Change-Id: I4a064972e1ed98dbcda209889d8e75b849cc56a5 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-05meta-agl-bsp: recipes-kernel: linux: remove execute bit from usbaudio.cfgMatt Ranostay1-0/+0
Execute attribute on usbaudio.cfg is useless and should be removed. Change-Id: I0e7706a25c9668977a1104e25793d25b0f692f09 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-20kernel/4a: support more than 8 audio cardsStephane Desneux1-0/+2
When using Kingfisher + M3ULCB + MOST network devices, it's possible to reach the max number of statically allocated soundcards. This patch enables CONFIG_SND_DYNAMIC_MINORS which allows to declare more than 8 soundcards. Change-Id: Ibe0f75e00c343d7adfcdae0661e893fb39fc4169 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-20Support external RTCs for boards without itJan-Simon Möller1-0/+7
We add the rtc driver as module so we can attach e.g. http://wiki.seeedstudio.com/Grove-RTC/ Add the necessary drivers as module. Change-Id: Iacb8247f9e2edccabe854284672353a847a27e0d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-19meta-agl-bsp: kernel: fix can-bus.cfgKevin Hilman1-1/+0
This config fragment for CAN bus had both an option for enabling as a module: CONFIG_CAN_C_CAN=m and for disabling: # CONFIG_CAN_C_CAN is not set Since the disable came last, disable wins. This caused the C_CAN driver and the C_CAN_PLATFORM driver (used by the TI dra7-evm) to be disabled in the kernel. To fix, remove the option to disable. Change-Id: I5be0cee161318cdfe7deb9c5e9c9f15d79cda7ac Fixes: d870883e7b29d212dc3e2a0e6158d837d4356c6a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-15Add dummy iiodevice support for testFrederic Marec1-0/+25
Add new fragment iiodevice.cfg to enable dummy devices For iiodevices test Change-Id: I9f635334aec2f9cd675b522b86cdfa3ad8168f07 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-07-18Activate missing kernel options for 4aRonan Le Martret1-0/+4
* without this options the kernel command "make oldconfig" can deactivate SND_ALOOP Change-Id: I132a1109da81aeb470a845e70f2084f57ad47a95 BUG-AGL: SPEC-1591 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-11meta-agl-bsp: linux: add NFC configuration fragmentMatt Ranostay1-0/+34
Add various NFC options to kernel configuration Bug-AGL: SPEC-1554 Change-Id: I94c985421a3b78466d44140ebadcec5c50166212 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-04Set CAN modulesKhouloud Touil1-0/+2
Add the C_CAN and the C_CAN_PLATFORM modules to be built as a kernel modules, those modules supports the Bosch D_CAN and C_CAN peripheral IPs Change-Id: If5657ba12bb5fc5c2ad1e06554a89255fddd4745 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-02kernel: enable 4A-specific config option snd-aloopStephane Desneux1-0/+1
4A requires some specific options in the linux kernel, like CONFIG_SND_ALOOP for softmixer. This patch adds a config fragment to the default linux kernel recipe. This is a copy of what has been done on EE: * https://gerrit.automotivelinux.org/gerrit/#/c/14303/ * https://gerrit.automotivelinux.org/gerrit/#/c/14561/ Change-Id: I5f8879f4ac1b3685f6d801b385d9b0ce9f17f9c7 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-05-30Fix kernel .config file configurationRonan Le Martret1-1/+1
* A missing carriage return at the end of a cfg will break the kernel .config Bug-AGL: SPEC-1475 EE-MUST-FIX Change-Id: Ie0bc472153ae73b41c495161f83acba57d812b9a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-22Enable I2C-TINY-USB and LEDS-BLINKM drivers for AGL demonstratorYordan Dimitrov1-0/+3
To extent the demonstrator we need to support an I2C adaptor and RGB LED. Change-Id: I1816ee9a7acf4699d1639b4954422df9ca8f452e Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
2017-12-14Add SCHED_DEBUG and PROC_EVENT config fragmentFrode Isaksen2-0/+3
Needed by blsched user space big.LITTLE scheduler. Change-Id: I7920c6b7796064636756edd7f62a0dd765e54508 Signed-off-by: Frode Isaksen <fisaksen@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12403 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-12-01meta-agl-bsp: move usbaudio.cfg to linux-agl.incMatt Porter1-0/+2
USB audio should be enabled for all AGL BSPs. Move the usbaudio.cfg from the Renesas BSP bbappend (it's actually not even used there as the fragment is not being appended) to linux-agl.inc and append it. Bug-AGL: SPEC-1148 Change-Id: I219d0d0355a4d57f883086631e07f3d191be2975 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12253 Reviewed-by: Thomas Rini <trini@konsulko.com> 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> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini10-0/+75
- 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-11-14Add Logicool G29 steering wheel kernel configYuichi Kusakabe1-0/+3
AGL simple CAN simulator use Logicool G29 steering wheel, shift knob and pedal. https://gaming.logicool.co.jp/ja-jp/product/g29-driving-force Change-Id: I4b6ed6a5e1592c6aa4075d7d3e89ec90c006f7dd Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11919 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-10-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong1-0/+6
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-11Support CANUSB deviceRomain Forlot1-0/+1
http://www.can232.com/?page_id=16 Change-Id: I0f65143a366c723937451bfbd8ed40402805136e Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10749 Tested-by: 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-28cleaning kernel config warnings under pyroDominig ar Foll (Intel Open Source)2-2/+3
Change-Id: Ica910a7ac3115df1247e60c25ee4cd53f331af47 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11025 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> 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/+4
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-08-30linux: kernel: add USB serial support and ACM classMatt Ranostay1-0/+3
To allow for USB GPS devices the USB serial + ACM class need to be enabled in the kernel. Change-Id: I1b23b7d47bc49a3a61d5df5d964110023f91d481 Bug-AGL: SPEC-831 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10681 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Porter <mporter@konsulko.com> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Martin Kelly <mkelly@xevo.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot1-0/+39
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>