aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09meta-agl-bsp: extend qemux86-64 hardware supporticefish_9.0.4icefish/9.0.49.0.4icefishScott Murray6-0/+152
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 Ranostay4-0/+109
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 Ranostay2-0/+4
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 Murray2-4/+4
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-04-04Upgrade to thudScott Murray2-40/+0
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-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 Ranostay2-0/+8
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öller2-1/+13
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-12-18linux-agl-4.14: Backport of Smack patch for cgroup2José Bollo2-0/+41
This patch allows to correctly handle the cgroup filesystem based on CGROUP2. The patch is made available through the file linux-agl-4.14.inc Bug-AGL: SPEC-1016 Bug-AGL: SPEC-2006 Change-Id: I2dba8bf0341d699c66a098c18fcb22a65b930e58 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-12-18linux-agl-4.14: Backport of Smack patch for keysJosé Bollo2-0/+118
This add a patch that allows to handles keys with keyctl when Smack is active. The patch is not directly enabled but is made available in the file linux-agl-4.14.inc that can be included. Change-Id: I6ad74b1119190e093eaa5878c55cd233b181346f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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 Marec2-0/+29
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 Ranostay2-0/+37
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 Desneux2-0/+5
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-06-06kern-tools-native: fix fragments merging scriptStephane Desneux2-0/+40
When concatenating kernel config fragments, if a fragment file doesn't end with a carriage return, then the last config option of the fragment and the first one of the next fragment are on the same line in the result file. This leads to misconfiguration because some options are not taken into account. This commit includes a patch that will add a \n in the result file after each fragment. Bug-AGL: SPEC-1475 Change-Id: I52d13b42909f56f4608860af865a80d0d9b2579e 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 Dimitrov2-0/+6
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>
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller1-0/+6
These changes are included: - dra7xx-evm,meta-ti: disable gstreamer-plugins-bad on vayu until fixed - meta-boundary: has no rocko branch, remove the folder - meta-intel: generalize the libva bbappend - general: remove the lua bbappend as it is upstream - general: re-add fix for kernel-devsrc (see https://gerrit.automotivelinux.org/gerrit/#/c/11209/) Documents fixme's in meta-agl-bsp/ROCKO.FIXMEs. Change-Id: I3df32632558d503c3ce343f907a1ee1e15ae7e26 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-13Rename smack OVERRIDE to with-lsm-smackJosé Bollo2-2/+2
Using the OVERRIDE "smack" came with the use of the layer meta-intel-iot-security. When switching to meta-security, it conflicts with the package name 'smack' that provide the smack user library. Yocto was reporting the following error: ERROR: .../meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: Recipe .../meta-security/recipes-security/smack/smack_1.3.0.bb has PN of "smack" which is in OVERRIDES, this can result in unexpected behaviour. [pn-overrides] Change-Id: Id71b283bf1ce5682bd94bf96595eb32506acb1d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-13linux-yocto_4.4: Remove the bbappendChanghyeok Bae5-1223/+0
rocko (Yocto 2.4) is not supported linux-yocto-4.4 and those commits are already applied in upstream 4.12. Bug-AGL: SPEC-1181 Change-Id: Ic3c39c919cc488e5eb1ef3f4cd3c3db653c3c0f7 Signed-off-by: Changhyeok Bae <changhyeok.bae@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 Porter2-0/+5
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-30Fix Linux Kernel fragment for netbootKotaro Hashimoto1-1/+1
Previous change caused issue of missing nbd.cfg at bitbaking for non-netboot environment. This patch fix netboot setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/12063/ Change-Id: I61a9e2ac9aecc98b6a379c4587a025710aaebfbb Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12215 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini14-18/+157
- 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_wenlong2-0/+7
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-10-11linux-intel: Pull in common configuration fragmentsScott Murray2-20/+21
Rework things so that the common kernel configuration fragment additions are in a new include file, linux-agl.inc, and both the existing linux-yocto_%.bbappend and the new linux-intel_%.bbappend in meta-intel pull it in to pick up them up. This avoids hitting other linux-* recipes, and allows the possibility of using the include file in kernel recipe bbappends for other BSPs. Change-Id: I8f4f67c444c47b6a978d95fab660d478d5f764c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11129 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net> 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-09enable vmware drm driversMartin Kelly1-3/+2
This speeds up VMWare graphics performance. Previously, I recall this not working, but I tested again and it's working fine as long as it's compiled builtin and not as a module. Change-Id: I2efe9e5c776e74ebf92a2ff80651dee37d0c48da Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11169 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-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_wenlong2-0/+5
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-09-08Upgrade to pyroChanghyeok Bae3-907/+11
u-boot: v2017.01 dlt-daemon: Remove gzipnative inheritance - gzipnative.bbclass is removed in pyro branch. - See ab0f46400c113c0d893be872727a67739d5e794d in poky. gpm: Remove bbappend file - upstream(meta-openembedded) is using git(v1.99.7) and this is not required anymore. gnutls: Remove bbappend file - The patch is already applied in upstream. agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP - ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream. - Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky. freetype: Change hash value for v2.7.1 binary shadow: Remove shadow_%.bbappend - It's already applied upstream poky. Remove nativesdk-packagegroup-sdk-host.bbappend - It's already applied in upstream poky. faac: Remove bbappend file - It's already applied meta-openembedded upstream. pulseaudio: Change bbappend naming - Upstream yocto provides pulseaudio v10.0. weston: re-create patch to apply new version (v2.0.0) - Remove 0001-compositor-drm.c-Launch-without-input-devices.patch because it's already applied in new version. mesa: Remove 12.0.3 recipe and fix build error for qemux86-64 - Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in raspberrypi - Error: | configure: error: --enable-gallium-llvm selected but llvm-config is not found wayland-ivi-extension: Upgrade to latest master version - Due to weston upgrade, wayland-ivi-extension should be upgraded. packagegroup-ivi-common-core-multimedia: Remove alsa-lib - alsa-lib has empty package and it's not required anymore. Add agl-driver and agl-passenger in group and passwd - Parsing Error: agl-users: groupname agl-passenger does not have a static ID defined. poky-agl.conf: Change gstreamer default version to v1.10.x - Yocto upstream moves gstreamer to v1.10.4. af-main: Fix build error - Error: file /usr/local conflicts between attempted installs of af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64 intel-corei7-64: Change gstreamer-vaapi-1.0 name - gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to gstreamer1.0-vaapi. linux-raspberrypi: Drop 4.4 bbappend - The upstream meta-raspberrypi doesn't support v4.4 anymore. - CVE patches are not required anymore. glibc: Remove bbappend - The bug-20116 is already applied in 2.25 cynara,security-manager: Fix build error - cynara: Replace bb.data to d - security-manager: Temporarily use 'no' in APPLY variable u-boot-ota: Add SRC_URI - In pyro, SRC_URI and S is moved from .inc to .bb linux-yocto: Remove 4.8 and 4.4 bbappend - Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore. - CVE patches in meta-agl-bsp are already applied in Yocto 2.3. tcf-agent: Remove bbappend file - This change is merged to upstream poky (pyro) bluez5: Remove recipe and add .bbappend - Yocto 2.3 (Pyro) already has same version. - bluetooth.conf file is added in .bbappend python-pycrypto: Remove recipe - meta-openembedded (Pyro) already has same version. meta-agl-bsp/classes/image.bbclass: Arrange for pyro - image.bbclass is taken from poky/meta/classes/image.bbclass and only changed IMAGE_TYPE_vm variable. libsoup: Fix native build error temporarily v2 (jsmoeller): meta-agl-bsp/meta-ti: - workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb - workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend - make specific to dra7xx-evm: -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend TODO/FIXME's in: - meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend - meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend - meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend Bug-AGL: SPEC-646 Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457
2017-08-30linux: kernel: add USB serial support and ACM classMatt Ranostay2-0/+4
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-07-26Fix cve patch for kernel 4.4 on intel joule [master/dab]Jan-Simon Möller4-0/+1010
Bug-AGL: SPEC-766 Change-Id: Ibe60bc5ba5ba505bdc71a199cf14fb25e2acefbd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10369 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: Dominig ar Foll <dominig.arfoll@fridu.net>
2017-07-21Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchsetJan-Simon Möller2-3/+4
The patches are kernel version specific. Only apply to Kernel 4.8. Bug-AGL: SPEC-766 Change-Id: I8cd1cd980cc389bef30f2a4e80944e2b94f53da6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10293 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>
2017-07-21Fix: can-bus not applied at kernel configurationRomain Forlot1-1/+1
Change-Id: I4ce1cbde8e0df867ac7ba5040dde2df98f13ce40 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10301 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-29Backport fix for CVE-2017-1000364 to linux-yocto-4.8Jan-Simon Möller2-0/+902
Backport of upstream fixes from 4.9 kernel branch to linux-yocto: - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Change-Id: I5bedd3af344b32b410bb7d59448710799143107d Bug-AGL: SPEC-705 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9853 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-06-28Add CAN drivers by default to AGL boardsRomain Forlot2-0/+44
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-12add vmware driversMartin Kelly1-0/+13
VMWare Fusion defaults to SCSI disks, so we need it builtin to the kernel to recognize the boot disk. While we're at it, add in other useful VMWare-related modules. Change-Id: Ia571142d5d3493b3b14619e6df29367bf06e5ae5 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-04-01qemux86-64: add Virtio GPU DRM driverMatt Porter1-0/+1
Add virtio gpu driver to support host GPU accelerated graphics within a QEMU guest image. Change-Id: I0ecf4fdfdb1d036cd48515d9efcf84381c3d5a6f Bug-AGL: SPEC-516 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-02-24Fix the typo of sufix qemux86-64Phong Tran1-1/+1
The machine name is qemux86-64 not qemux86_64 Change-Id: Iab643759f2df4e702abe518611a9347415668e27 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
2016-11-16Add support for CES 2017 demo hardwareScott Murray3-0/+16
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>