summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2019-12-29Add virtual sllin support and LIN bridging to CAN for demosScott Murray3-4/+27
To enable seeing the steering wheel LIN messages on the cluster board for the planned CES demo, a systemd unit that wraps the use of candump in bridging mode is added when the agl-cluster-support feature is enabled. To make sure that the sllin0 interface is always available for testing without the specific demo LIN hardware, a vcan interface is set up as sllin0 when the ttyUSB0 device representing the serial adapter for the LIN transceiver is not present. Since this virtual sllin0 interface is very useful for general testing of the steering wheel event support up through the low-can and signal-composer stack, it has not been hidden behind agl-cluster-demo-support. Bug-AGL: SPEC-3049 Change-Id: I527763176ce0f8b4d50cc472ec2343a6596286e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-11-06Update LIN demo to use lin-configScott Murray4-6/+24
Changes include: - Add patch to fix lin-config recipe build QA error. - Tweak lin-config recipe to install lin_config as executable. - Rework sllin-demo systemd unit and start_lin_demo.sh script to use lin_config with an appropriate configuration file that enables polling of the steering wheel adapter instead of just using ldattach. Bug-AGL: SPEC-2918 Change-Id: I3258b7e34cecbbb1cfb93ea6f63a44f0bbb2c06f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-11-30Disable sllin driver(using HVAC apps) debug logguppy_6.99.2guppy/6.99.26.99.2Yuichi Kusakabe2-0/+28
[ 30.042717] sllin: sllin_open() invoked [ 30.046603] sllin: Configured as MASTER [ 30.051508] sllin: Baudrate set to 9600 [ 30.056332] sllin0 (uninitialized): sllin_kwthread started. [ 30.062486] sllin0: sllin_kthread <WAIT_EVENT> [ 31.153606] sllin0: sll_open() invoked [ 31.271843] can: raw protocol (rev 20170425) [ 31.276821] sllin0: sllin_kthread <WAKEUPED> [ 31.281124] sllin0: sllin_kthread: lin_state <00000000> [ 31.286370] sllin0: sllin_kwthread: NON-RTR SFF CAN frame, ID = 30 dlc=0 [ 31.286390] sllin0: sllin_kthread: SLSTATE finish [ 31.299297] sllin0: sllin_send_break() invoke. [ 31.305566] sllin0: Break sent. [ 31.308743] sllin0: sllin_kthread <WAIT_EVENT> Change-Id: Id49951cb1ed570c99eb11d19298c1e5b57bcf13c Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@denso-ten.com>
2018-11-29We need to use multi-user.targetJan-Simon Möller1-1/+1
Instead of default.target we need to use multi-user.target. Change-Id: I7c6c9fce5223bccb2ddb20f165797632198c3405 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-13Finalize and automate sllin setup for LIN on demo unitJan-Simon Möller3-1/+82
Provide the systemd unit, the init script, the module options and the autoload command. Change-Id: I8dfe59338f377ca8ac1b94fe568dff9e2b36bf97 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-31Add package for sllin driver to imageJan-Simon Möller4-0/+287
The sllin driver is needed for the AGL demo unit to drive the actuator and fan. Change-Id: I76a8e7876148b6c2fcbc526a64a7ec132668c754 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-06-08meta-agl-demo: remove Mocca applicationChristian Gromm1-22/+0
This patch removes the Mocca box application and the related USB driver from the demo platform. It is needed to clean up as the Mocca box is not used anymore. Change-Id: Iebba72e773476b18974f7fff343f4e7b998090d9 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2018-06-053rd part of the layer/profile rework [2/2]Jan-Simon Möller1-0/+22
This is the last part of the layer rework series. Notable changes are: - move demo specific recipes to the demo (dlt, web-runtime mocca-usb) - wayland-ivi-extension moved to the meta-agl-demo layer for now. - web-runtime moved here (from appfw layer to allow console-only builds with appfw) - adapted packagegroups and agl-features v2: squashed with commit on sandbox to form single commit (tnx, Scott) v3: inclusion of old packagegroup-agl-image-ivi (TODO: refactor and include in profile packagegroups. Tnx, Stephane) v4: base packagegroup-agl-demo-platform on packagegroup-agl-profile-graphical-qt5 v5: fix MOST_DRIVERS_append (disable due to FTBS) v6: re-add RDEPENDS for virtual/pulseaudio-config Bug-AGL: SPEC-145 Bug-AGL: SPEC-1422 Change-Id: I20bd5b9a957ea54a7ecd08bd4f8b99a32266c9c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-282nd part of the layer/profile rework [2/2]Jan-Simon Möller11-1299/+0
Main goal of this is to move the agl-service-* bindings into the core and to unify common recipes like wayland/weston into meta-agl-profile-graphical. As a placeholder for recipes is meta-agl-profile-demo which are being reshuffled. TLDR: remove recipes from meta-agl-demo that were moved to other layers Bug-AGL: SPEC-145 , SPEC-876 , SPEC-877 v2: moving updated udisks changes to meta-agl Change-Id: I873107f00adadeb6f3f266cce37b513fe6d44cf2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-13recipes-kernel: most: add patch set for DT supportChristian Gromm5-0/+707
This patch adds a set of patches to enable DT usage of the DIM2 module. It is needed to use the MediaLB (DIM) interface with the Kingfisher. Change-Id: Idd71bea6f2c17cb579f0b44884037e7046380034 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2018-02-13Fix most for kernel 4.14ronan2-34/+0
Change-Id: I799a4e5bac5f381ba72ee889d34a9faec29205e7 Signed-off-by: ronan <ronan.lemartret@gmail.com>
2017-12-19Convert most.bb to use KERNEL_MODULE_AUTOLOAD frameworkJan-Simon Möller1-17/+1
This uses the KERNEL_MODULE_AUTOLOAD framework provided by yocto to load the kernel modules. Change-Id: Ibb3980d04cc876c8707345673cf2852ecd46ca11 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-09recipes-kernel: most: use AGL_BRANCH variableChristian Gromm1-1/+1
This patch makes use of the variable AGL_BRANCH to specify the branch from which the sources are going to be fetched. Change-Id: I32b99590717a5ef23f7d8e2ba493945626c9a823 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-11-09recipes-kernel: most: update recipesChristian Gromm8-279/+512
This patch updates the most.bb and most.bbappend files to be in sync with the recently pushed driver package to src/most. It adds and removes backport patches as needed new driver source tree. Change-Id: I091d925219eeb2986ce5b1545f41d3693500f7d3 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-11-05Allow SRCREV handling through poky-agl.confeel_4.99.2eel/4.99.24.99.2Jan-Simon Möller2-3/+3
This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Finally git checkouts should use https by default. Bug-AGL: SPEC-864 Change-Id: I2fdacda8fa7373f309a47db72ad40106ade53434 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-29most.bbappend: Fix for Renesas Porter boardLeon Anavi1-0/+3
Do not apply 0002-most-pass-parent-devcie-to-snd_card_new.patch while buidling MOST driver for Renesas Porter board. Bug-AGL: SPEC-917 Change-Id: I0e3b09ef522721ea1d4e5b3cf7224f59958b3d48 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2017-09-26recipes-kernel: most: add most.bbappend fileChristian Gromm6-0/+278
This patch adds a patch queue to eliminate problems DMA coherent memory allocation on aarch64 architecture, prevents the driver from printing warning, due to bad video driver capabilities and passes a valid parent device to the sound subsystem when registering a new sound card. --- v2 (jsmoeller): use _append everywhere v3 (christian gromm): fix path in patch files Change-Id: Idceefee7855445481eeb4940d5c5f632e27feb73 Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-12fix MOST driver dependency issuesChristian Gromm11-199/+38
This patch adds a new "most" receipe for building the MOST driver. The receipe replaces the old ones, as it builds all modules at once. Hence, the receipes aim*, hdm* and mostcore are removed. Additionally, the *.bb file for the demo platform is modified to reflect these changes. This patch is needed to avoid dependency issues among the modules of the driver stack. Although, the problem has been reported with SPEC 438 and a patch set to fix it has been introduced with Change #8447, it is still present on RaspberryPi. Change-Id: Id6104ee6d9bf1b7d9744761a6529461176fdd8b2 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2017-05-29Unpin after Daring Dab RC1Jan-Simon Moeller8-8/+0
Revert "Add a bbappend with pinnning for all packages with AUTOREV" This reverts commit 87ec15b961e9502b7741d51503d5c77563b1c45a. Change-Id: I35c74ad137217a9e8833baab8de9964de63ac61c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25Add a bbappend with pinnning for all packages with AUTOREVdab_3.99.1dab/3.99.13.99.1Jan-Simon Möller8-0/+8
This pins all packages using AUTOREV to DISTRO_BRANCH_VERSION_TAG Change-Id: Id8aa34a9115cd6659ce1c154d78197229d3c036f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-02-14kernel: most: add mostcore module dependenciesMatt Ranostay7-0/+7
Varies recipes depend on the mostcore module being built first. This patchset fixes a race condition that causes invalid module builds. Issue: SPEC-438 Change-Id: I045e88bc4aa31409937860a377bc43c25a194a2e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-01-27meta-agl-demo: recipes-kernel: update MOST driver recipesChristian Gromm11-68/+93
This patch updates the recipes used to build the MOST driver. Since the driver source directory holds version 1.4.0-stable as of commit f19c18408b515c5e33f96893cbe213d9ab30b904 it also adds backport patches for the MOST sound and networking driver needed to build for porter. v2 (jsmoeller): combine with c8359 Change-Id: Ie56cadf9ef6224afb585fe950a0c3b0aff53b572 Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-22Add packages to agl-demo-platform for CES2017 DemoTadao Tanikawa13-790/+27
Adding packages for CES2017 Demo to be incliuded in agl-demo-platform by default. This changes add below apps and related packages: MediaPlayer from apps/mediaplayer Settings from apps/settings HVAC from apps/hvac MOST network VOD Service v4 (jsmoeller): mark drivers as porter specific and conditionalize the inclusion for porter only v3 (jsmoeller): rebase on master v2 (jsmoeller): make can-lin conditional to porter board Change-Id: I4e89607508df2e630f46fcbcb64d4babb66a2d6f Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-22Support systemd services of MOST for CES2017 DemoTadao Tanikawa9-0/+72
This change is for booting all stuff for MOST automatically after WindowManager launched. All services except insmod are in systemd user mode. Change-Id: I15043493c797511275e4f02173a85f06a7298ca0 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-12-17recipes-demo-hmi: fix file permissionsChristian Gromm1-0/+0
This patch sets the permissions for loadDriver.sh to 0755. Change-Id: I86bce55c06ffccedef17c821fb7b2dbdbef2bc1c Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2016-08-02recipes-kernel: update driver recipesChristian Gromm45-11596/+504
This patch changes the recipes to fetch the driver sources from AGL's src directory. It therefore removes the redundant source files from the recipe directory. Change-Id: Ib3c48a0c7e79144713ccd8e10a89185cd929b41c Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
2015-12-21recipes-kernel: add MOST driver kernel modulesChristian Gromm41-0/+12040
This commit adds the recipes-kernel directory to the meta-agl-demo layer. It is needed to add the MOST driver to the AGL layer and have it compiled as out-of-tree modules. Change-Id: I38174a2f9a59b0424cfaf2f85f059550422f58f2 Signed-off-by: Christian Gromm <christian.gromm@microchip.com>