Age | Commit message (Collapse) | Author | Files | Lines |
|
Update virtio-aarch64 kernel configuration for QEMU+KVM demo to
turn on some CAN and USB device support to allow using some
emulated and passthrough devices where there is currently not a
workable virtio backend solution.
Bug-AGL: SPEC-4618
Change-Id: I07af25b045fcb499c406bbc1aa23285fb7f8e886
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Rework the kernel configuration fragment application to prune out
a bunch of the configuration for physical hardware for the
virtio-aarch64 kernel. As well, add a virtio guest kernel specific
fragment to enable a PCI CAN device driver that works with QEMU's
emulation. That will provide a fallback until something can be
worked out with respect to virtio-can.
Bug-AGL: SPEC-4618
Change-Id: Ibb674d09c115ab5bbe454b665350a658c759e5f5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 7eb48d9680b5451d2ce6ca6994cd290dbf599cb6)
|
|
Remove recipes providing sllin configuration for the full demo,
as all LIN usage is being replaced with CAN. The recipes for the
sllin driver and associated lin_config utility are kept for now in
case there are external uses.
Bug-AGL: SPEC-4635
Change-Id: I67b7acf5a8c3801cb1890ee27486080255252385
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Changes:
- Switch the SRC_URI of the sllin driver recipe to point at the new
revived upstream location, update to their latest commit to get
newer kernel support, and drop all the now unnecessary local
patches.
- Added a patch to fix compilation against 5.4 kernels before
5.4.110. This will be worked with upstream as time permits.
- Rename the sllin driver recipe with a _git suffix to match OE
style expectations.
- Added the sllin driver to packagegroup-agl-demo as was being done
in previous releases.
- Split the demo script + service unit and lin_config configuration
out of the sllin driver recipe into a new sllin-demo recipe so
that they're no longer conflated. This should make it easier for
others to reuse the sllin driver recipe.
- Update the SRC_URI and SRCREV of the lin_config recipe to also
point at the new upstream location/version since it comes out of
the same repository.
- Add the new master mode "-m" flag to the lin_config command line
in the start_lin_demo.sh script (now in sllin-demo). This turns
out to be required for our demo usecase as upstream seem to have
inadvertently changed the default behavior.
Bug-AGL: SPEC-4404
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If42a825e65d93b3fa11cfddd5d6b33ec410f7cc4
|
|
Apply updates from running the new convert-spdx-licenses script
from upstream. This is not currently a hard requirement from
upstream, but futureproofs for when the license name mapping is
finally removed. Additionally, a few license declarations of just
"BSD" have been updated with the more specifc "BSD-3-Clause" after
inspecting the licenses in the source, as the non-specific name
now triggers a warning.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia86d412fe76ff3217456fcea81cb44f68bc1ced8
|
|
The linux-yocto kernel and derivatives warn about WLAN_VENDOR_ATH
being set to 'm' when it's a boolean as of 5.13.x, update our
wifi.cfg fragment to fix that.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie524650ab20b70aefa37bfd3bbf499cd923185a1
|
|
Add patches to enable building the sllin driver against kernels 5.13
and 5.14, or newer.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If48df12b0303556c5a74108d9247d5233d7bf5e5
|
|
During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.
To prepare the integration of it, we remove the deprecated components:
- recipes-apis : all agl-service-*
- recipes-demos: all demo apps but homescreen
- non-essential configurations
Todo:
We need to bring-back the html5 image in a follow-up w/o ties into the old framework.
v2: kept WAM + Chromium recipes for reference
v3: rebased
Bug-AGL: SPEC-4121
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
|
|
GitHub is dropping unauthenticated git protocol access in
January 2022, per:
https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
While a workaround in the BitBake git fetcher is forthcoming, not
specifying protocol=https for github.com git:// SRC_URIs will start
resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade
path, go ahead and update our affected SRC_URIs. Note that this has
been done by running the scripts/contrib/convert-srcuri.py script
from latest poky, which also makes git branch specification explicit
since the git fetcher is likely to require that in the future due
to widespread switches from master to main branches.
Bug-AGL: SPEC-4126
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibfa59ef83db75f95c4b47b28213b60d8cf19fba1
|
|
This is the result of running a slightly customized version of the
convert-overrides.py script from poky with additional overrides
added.
The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.
Bug-AGL: SPEC-4052
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
|
|
Add linux-%.bbappend and associated conditional .inc file to supply
demo-related kernel configuration using the new AGL_KCONFIG_FRAGMENTS
variable scheme that is being added in meta-agl-core. The moved
configuration fragments are copies of the ones from meta-agl-core
except for:
- The configuration from the previously linux-yocto-specific
hciuart.cfg has been rationalized with btusb.cfg and hid.cfg.
- The actual CAN hardware device support from can-bus.cfg has been
moved to a new can-devices.cfg here.
- To simplify things, the disable_most.cfg configuration to ensure
that the upstream kernel MOST driver is disabled to avoid
conflicting with the externally built AGL version has been made
generic instead of being specific to the Kingfisher support in
meta-agl-bsp. It has also been updated a bit for newer kernels.
Bug-AGL: SPEC-3983
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I32e4da1ca53e9395239b47ab2191a88e3cd39d4c
|
|
Add patch to enable building the standalone MOST driver against
kernels 5.9 or newer.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6004937adb7e3522b86f531da03ad67ea4512354
|
|
Upstream has renamed the common license files, update LIC_CHKSUM_FILE
to instead use the copyright header present in the source.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I339978508ce741f41ecfd0d8b509341639888ac7
|
|
Upstream has renamed the common license files, update LIC_CHKSUM_FILE
to instead use one of the COPYING files present in the source.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib2fd84b1114de78596e4f2edeb9852358b5aa212
|
|
Add patch to enable building the sllin driver against kernels 5.9
or newer.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Icb99773833a79f47af3e3287e6c62d64bb344f25
|
|
Add patch to enable building the standalone MOST driver against
kernels 5.7 or newer.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6d8e2f68e3f1e73e1901e07d12a8569fb65996e9
|
|
All demo related components should be in here now.
We keep the packagegroups on purpose for now to stay backward-compatible.
v2: layer does pass yocto-check-layer, dependencies adapted
v3: remove the dynamic-layer setup, use all-in-one approach
v4: Fixed comments from Paul Barker. Tnx!
v5: Removed wayland/weston/agl-compositor additions, except for demo
specific weston-init bbappend
Follow-up changes required later:
- massaging packagegroups
- scrub of recipes
Bug-AGL: SPEC-3723
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
|
|
Changes:
- Add a can-dev-mapping-helper.sh script and systemd unit to drive
it, the script checks if the CAN devices specified in the low-can
configuration file /etc/dev-mapping.conf exist, and if not brings
up corresponding virtual CAN devices.
- Add a systemd over-ride conf file for agl-service-can-low-level
that makes can-dev-mapping-helper a dependency. This should ensure
that the low-can binding always starts even if there are no physical
CAN hardware devices.
- Added a Before statement to sllin-demo.service to ensure that it
will run before can-dev-mapping-helper and ensure that lin_config
can create sllin0 correctly.
- Removed the sllin-demo-virtual systemd unit, as it will no longer
be required with can-dev-mapping-helper.
- Updated the /var/run paths in sllin-demo.service and associated
start_lin_demo.sh script to quiet systemd warnings about /var/run
usage.
Bug-AGL: SPEC-3540
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ife02f75f57ac7bbdee6b02217e2ab657fe8c36e0
|
|
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: Idb478e3fe4085859e8704ab0329a341b1a11e0ef
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
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>
|
|
[ 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>
|
|
Instead of default.target we need to use multi-user.target.
Change-Id: I7c6c9fce5223bccb2ddb20f165797632198c3405
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I799a4e5bac5f381ba72ee889d34a9faec29205e7
Signed-off-by: ronan <ronan.lemartret@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This pins all packages using AUTOREV to DISTRO_BRANCH_VERSION_TAG
Change-Id: Id8aa34a9115cd6659ce1c154d78197229d3c036f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This patch sets the permissions for loadDriver.sh to 0755.
Change-Id: I86bce55c06ffccedef17c821fb7b2dbdbef2bc1c
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
|
|
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>
|
|
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>
|