summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-04-19Fix building agl-kvm-demo-platform for h3ulcb-kfScott Murray2-5/+2
Changes: - Add masking the meta-rcar-gen3-adas layer to the KVM guest multiconfig to avoid picking up the dangling bbappends in meta-agl-bsp when building the guests. - Remove the MACHINE_SUFFIX logic from the guest image copying in the agl-kvm-demo-platform recipe; it is a leftover from the original logic used in the IC EG container host images, and is unneeded here since the host and guests will be different MACHINEs (and the guest realistically cannot use the -kf machines). Bug-AGL: SPEC-4760 Change-Id: If3237ca4d9fc86fc9d289a95bda24a4afcc7a991 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-04-06cluster-receiver: Bump SRCREVMarius Vlad1-1/+1
Required to allow building the cluster-demo-platform image, due to protocol bump. Change-Id: I47b3c8180870004d2fde3718b7bf6029082b540b Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-04-03Rework nss-agl-driver-db to be a systemd unit at runtimeoctopus_15.0.1octopus/15.0.115.0.1Jan-Simon Moeller5-15/+55
This avoids the issues seen with access rights changes on /home/agl-driver and will replace https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28587 Bug-AGL: SPEC-4599 Change-Id: If01ffc9623208edd7a7705739465fa8fca764b74 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 11323fa1ed396e3e16f4df327911bc9c60cc6e01)
2023-04-03agl-service-audiomixer: Update SRCREVJan-Simon Moeller1-1/+1
Update to include the compilation fix. Bug-AGL: SPEC-4732 Change-Id: I8b96dceea22d7b0974b7fb9df693f989ab3cec20 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-30Fix for user and group of /home/agl-driverJan-Simon Moeller2-2/+3
The private nssdb introduced wrong access rights for /home/agl-driver through the package. Fix it till we have it reworked. Bug-AGL: SPEC-4599 Change-Id: I665b51f8473f64785c64c55359b5e0e702050e9a Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 1e62ea70abd523482e4a181737e7202280a30ce3)
2023-03-23html5 demos: Bump SRCREV for hvac and mixer appsRoger Zanoni2-2/+2
Adapted the demos to use kuksa.val Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I32a9cca7b6289d468c14ee501574358ecc8d6680 (cherry picked from commit dea014d480e5a3ed81953c13e95e806d139e7092)
2023-03-23kuksa-val: Add root CA certificate to agl-driver nssdbRoger Zanoni1-2/+7
This change is needed by chromium to fix the ERR_CERT_AUTHORITY_INVALID issued when trying to connect to kuksa.val server using a secure connection. chromium is shipped with a read-only database containing trusted CA certs and also uses a local nss database (stored on the user home directory) that can be managed by the nss command line tools. This change adds the kuksa root CA to agl-driver's nssdb that can be loaded by chromium and used to perform validation. v2 (jsmoeller): Use separate package for pki db in agl-driver home. Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I074d48fedfadaddd9a894b478839e16fa4757b5e (cherry picked from commit 99356a43e5ee3ae662af83e4ae6e0e11ef1aa39e)
2023-03-23nss: Create a nss database for agl-driver userRoger Zanoni1-0/+21
The change creates an empty db and allows other recipes to add their own certificates when needed. It will be needed by kuksa-val recipe for adding its root CA certificate that will fix CA validation issues that are happening on chromium. v2 (jsmoeller): convert to own recipe to avoid modifying nss itself Bug-AGL: SPEC-4599 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I5a5e4ff24cb640580cff4c609ee6293acae64487 (cherry picked from commit f9004968a0e9f3e5fc075c4df474f9fa33225e6d)
2023-03-23conf/layer.conf: explicitly depend on networking-layerDenys Dmytriyenko1-1/+1
As meta-agl-demo now explicitly depends on meta-flutter layer, it appears it uses networkmanager package in some of its plugins w/o marking the correct dependency in its own layer.conf. Also, cannelloni is no longer a standalone recipe, but a bbappend against the upstream recipe in meta-networking layer of meta-openembedded repository. To resolve both of the above issues and make yocto-check-layer happy, let's add an explicit dependency on networking-layer. Bug-AGL: SPEC-4685 Change-Id: Ib6781f63bd1f76ccbf2fcd649473bf59407bb7ef Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> (cherry picked from commit ebac35dea1de30d02c3ba2d48b91a557f9f0c989)
2023-03-23conf/layer.conf: explicitly depend on meta-flutter layerDenys Dmytriyenko1-2/+1
As meta-agl-demo contains multiple recipes for flutter apps that inherit flutter-app.bbclass, as well as packagegroups and images, that do not check for "agl-flutter" condition in AGL_FEATURES. Hence mark the layer as explicitly depending on meta-flutter. Bug-AGL: SPEC-4716 Change-Id: I4d64ae47ab437d7f191ba5689b569fab8c7d3724 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> (cherry picked from commit 0385333fcc357071311029eeff219ca224922bbb)
2023-03-01kuksa-val: Add patch to fix intermittent build failuresScott Murray2-1/+35
Add a patch to KUKSA.val to add a missing dependency in its CMake files to hopefully fix a build race that is seen on the AGL CI builders. Bug-AGL: SPEC-4717 Change-Id: I74f71236729e60ad0601fb1244b50279b2fc43e7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-02-27mpd: Backport PipeWire output fixesScott Murray5-1/+140
Backport four PipeWire output plugin fixes related to handling very short audio files. They fix MPD hanging in the Drain call of the plugin when playing very short files like truncated ones attached to SPEC-4661. These patches can be removed when MPD is upgraded to 0.23.8 or newer. Bug-AGL: SPEC-4661 Change-Id: I42b5dd4c08863c7209a75f6ede777402a11cfc87 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit eaed764bc0a02029287d2531bedf13ce123641ee)
2023-02-01Add gitreview file for Optimistic Octopus branchoctopus_15.0.0octopus/15.0.015.0.0Jan-Simon Moeller1-1/+1
Update the .gitreview file. Bug-AGL: SPEC-4695 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iee138f6a1881e993f5ba77d6503effa188721c17
2023-01-29Update radio support in demo applicationoctopus_14.94.0octopus/14.94.014.94.0Scott Murray2-2/+2
Update libqtappfw SRCREV to pick up: 9a7e2c5 Rework radio support for new gRPC API 888eca5 vehicle-signals: Increase double value precision and radio SRCREV to pick up: aef392d Update radio wrapper name Bug-AGL: SPEC-4665, SPEC-4662 Change-Id: I8478ec61d35b9ef0d45a6dff2bc9e7a3e7f8fe1b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29Restore agl-service-radio recipeScott Murray2-0/+31
Add an update recipe for agl-service-radio to build the reworked gRPC service daemon, and add it back as a dependency in packagegroup-agl-ivi-services so it will be installed into the demo IVI images. Bug-AGL: SPEC-4665 Change-Id: I9239a1e1476687e4c41367dbdfc6051c56b88c48 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29agl-kvm-demo-platform: update guestsScott Murray2-4/+5
Switch default guest images to Flutter based demo platform images. As well, the simple-can-simulator is added to the host to allow testing or demos. Bug-AGL: SPEC-4618 Change-Id: I2c57ca0ade168c2c3dfae8718e891f9af40e4d88 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 8b0fed47d196a938b44784d1fc8eaa25c36f84ca)
2023-01-29Run agl-compositor in system scope for QEMU+KVM demo imageScott Murray9-15/+38
To allow usefully depending on the native-shell-client "homescreen" application from the systemd units running QEMU, tweak things to drop the use of agl-session from the agl-kvm-demo-platform host image. The motivation for this is to have the VM guest start up ordering work as expected, avoiding unnecessary delays from race failures on boot. Changes: - Rework agl-kvm template to use conf/include/agl-kvm.inc include file to match other featurs and simplify development. - Add include files for the host ("default" in BitBake) and guest (so agl-kvm-guest) multiconfigs to allow disabling the agl-demo feature in the host build, which disables agl-session. - Update native-shell-client systemd unit to run at system scope and depend upon agl-compositor directly. - Update agl-qemu-runner systemd template unit to depend directly on native-shell-client. Note that a consequence of these changes is that building images other than agl-kvm-demo-platform when the "agl-kvm" feature is used will likely not yield the desired results. Future work will investigate avoiding this problem, or forcing explicit compatibility errors to avoid user confusion. Bug-AGL: SPEC-4618 Change-Id: I295caf2969c5f4179c93f1b57afa703f1a866457 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 94ee287730b16820003aece648e790923a9a5b79)
2023-01-29Make cluster dashboard KUKSA.val server configurableScott Murray2-0/+6
Add CLUSTER_DEMO_VISS_HOSTNAME variables to the cluster-dashboard and flutter-cluster-dashboard recipes and tweak the installed configuration files to use the address it specifies. This provides a hook for tweaking the configuration for e.g. running in the guest VMs in the QEMU+KVM demo. This may need to be tweaked down the road to use something like multiple packages + the alternatives mechanism instead. Bug-AGL: SPEC-4618 Change-Id: I3798987566d681eac59e8c4b9c1f2423d950b2ba Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 5109016c566a4a46e4a85f2c7b9dfcd6b8540233)
2023-01-29Update guest input and CAN configuration for QEMU+KVM demoScott Murray3-2/+13
Changes: - Tweak agl-qemu-runner to make CAN options configurable. - Update the IVI guest image agl-qemu-runner configurations to enable an emulated PCI CAN device mapped to the host can0. - Update the IVI guest image agl-qemu-runner configurations to change the input device to a USB passthrough corresponding to the bottom USB 2.0 connector of the 2x stack on the reference hardware, so that a USB touchscreen can be used for demos. Bug-AGL: SPEC-4618 Change-Id: I6b690377f5fe0a481e283d7370cbb165478ee8eb Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 0eb0e7ad872bc03cbc8af5c95bfe0219ebf06bfd)
2023-01-29Rework guest network configuration for QEMU+KVM demoScott Murray15-8/+70
Changes: - Tweak agl-qemu-runner to make network options configurable. - Add qemu-config-vmnet0 recipe that installs the required configuration files to set up a vmnet0 bridge device for QEMU to add the guests to, and to run dnsmasq against it to provide set IPs (in 172.16.10.0/8) to known MAC addresses that can be used to get the IVI and IC guests at stable IP addresses. - As part of the above, disable connman DNS proxying to avoid conflicting with dnsmasq. This does mean this package should only be used for simple host images where applications can live with less dynamic DNS configuration behavior. - Update the various guest configuration files for agl-qemu-runner to set the new QEMU_NET_OPT variable as required. Bug-AGL: SPEC-4618 Change-Id: I81d2ea9f0605a8bca7ac17d6e8f33c0b1a9f2c46 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 0219e6547b627f45936599fa54e02cad27dee4f4)
2023-01-29rng-tools: disable jitter entropy generation in VMsScott Murray3-0/+9
Add a bbappend for rng-tools that disables jitter entropy generation for virtio-all machines, as it provides little value in virtual machines that are dependent on the host entropy anyways, and slows their booting very significantly. Bug-AGL: SPEC-4618 Change-Id: Ia61917253b69f37b003c617d4203c823dd51bb6c Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit ebeba2f0667d7195597d9131a12d880d503a399a)
2023-01-29linux: update virtio-aarch64 kernel configurationScott Murray3-1/+7
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: I9e574f54d1696d5b45e7f04b4d51002eafac5f04 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit e511c8eca18ed0d4895c8e150c8670be45fb608a)
2023-01-29kuksa_vss_init: update some signal namesScott Murray1-11/+11
Update some signal names that were missed in previous VSS 3.0 updates. Bug-AGL: SPEC-4664 Change-Id: I2352eb67ec5a87701c184b7d112e8a0e41a71c11 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 559c654fb03a8f7530f291066122fe33a6b99449)
2023-01-29tbtnavi: Update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: f923df9 Update engine speed signal Bug-AGL: SPEC-4664 Change-Id: Ie6d2b101ba8e637af4ccef81024a269639796103 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29flutter-hvac: Update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 20d76f9 Spelling fixes fe23ca5 Rework temperature controls Bug-AGL: SPEC-4642, SPEC-4644 Change-Id: Ia958a52ca75d450f51c93344683c0bacec8f6288 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29flutter-cluster-dashboard: Update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: be4da31 VSS signal fixes a0da726 UI tweaks Bug-AGL: SPEC-4653 Change-Id: Ie93d9a5121f83091be6f829b21953de1946c5203 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29flutter-dashboard: Update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: adc3fca UI Tweak 9ba227f Rework Riverpod provider usage 7e9b0b7 Layout simplifications and tweaks Bug-AGL: SPEC-4660 Change-Id: I74f3390d5e88e7c002a55ac0bd82f4273dfe3911 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-29flutter-homescreen: Update SRCREVScott Murray2-2/+9
Update SRCREV to pick up: 5ce59ba UI Fixes 3caff56 Improve app listing 4fbd3fd Add volume control to bottom panel As well, add installation of a now required configuration .yaml file to enable the KUKSA.val usage added by 8528b5b. Bug-AGL: SPEC-4615, SPEC-4659 Change-Id: I38ac698472acd169e9f6c8e4becf28a98e37ad42 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-01-20chromium: Do the activation explicitlyRoger Zanoni1-1/+1
Now chromium should use changes from the agl-shell v3 protocol to track app state changes and activate the applications instead of letting the compositor handle it. This change disables default activation by the compositor and lets chromium handle application activation. Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371 that adds the new config file with landscape orientation and disabled default activation. Bug-AGL: SPEC-4647, SPEC-4528 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ifbcb447b153408db01f592818288efbd5c940f67
2023-01-20chromium: bump SRCREVRoger Zanoni1-1/+1
This includes chromium changes to use the added functionality of agl-shell protocol versions 2 and 3 Bug-AGL: SPEC-4649, SPEC-4647 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ia12df48cbb715fca998f2a64d13a9b9791abca89
2023-01-17connman-glib: Update SRCREVoctopus_14.93.0octopus/14.93.014.93.0Marius Vlad1-1/+1
Update SRCREV to pick up: 86ecfa1 Fix error handling Bug-AGL: SPEC-4623 Change-Id: Ie53ded257f66d2c3866660239961d55669506049 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2022-12-30flutter-cluster-dashboard: remove warningScott Murray1-6/+0
Since the navigation support in the Flutter cluster dashboard is somewhat optional if we're using the navigation streaming, and it likely needs further development to be usable, remove the warning about supplying a MapBox API key to avoid unnecessary confusion. Bug-AGL: SPEC-4640 Change-Id: I0b34cb3b52c06cad09a447fd8b86b8f5eb4f846b Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-29Rework cluster demo configurationScott Murray6-12/+35
Changes: - Rename cluster-dashboard-demo-config to cluster-demo-config since the installed AGL.conf will also be used for receiver configuration now. - Add a Flutter cluster version of AGL.conf that configures the receiver window geometry as required. The alternative mechanism is used to generate separate packages with the different AGL.conf files. - Update the package names installed by agl-demo-preload in the Qt and Flutter cluster demo images. It may make sense to do further rework in the dashboard and receiver apps post-CES to split things into separate configuration files, but this seems the most straightforward way to do things for now. Bug-AGL: SPEC-4640 Change-Id: If8a65228c75f28a53ef32a49be90f75a85d60a16 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12radio: update SRCREVoctopus_14.92.0octopus/14.92.014.92.0Scott Murray1-1/+1
Update SRCREV to pick up: 1e6de65 Merge "Update icon" 424fa46 Update icon 147a454 Fix layout issues Bug-AGL: SPEC-4444, SPEC-4643 Change-Id: I5ec9068554a0dcb80e81e9edb2c3a30501dd3b9f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12cluster-receiver: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: f8f7cc6 Add optional override for window geometry Bug-AGL: SPEC-4640 Change-Id: I798595b4928d7378b3788bb40b60962da984ce2e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12tbtnavi: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 624f4e5 Update output display ID Bug-AGL: SPEC-4645 Change-Id: Ib131d09b57aa9d0adaad9575bb415c79c8821ba2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12flutter-hvac: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 467221c Add icon cbe288a Update left/right labels Bug-AGL: SPEC-4634, SPEC-4644 Change-Id: I258ff81617802e8c01fed1bb5e64b4f6afba4eeb Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12flutter-dashboard: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: e6ecc5d Update Tier -> Tire 5db65d9 Update signal names and types for KUKSA.val 0.2.5 fb1a236 Add icon Bug-AGL: SPEC-4634, SPEC-4641, SPEC-4642 Change-Id: I5566c7fbc305cc8a34c9e0611db0d22f2796a05e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12flutter-cluster-dashboard: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: e440ec3 Update signal names and types for KUKSA.val 0.2.5 Bug-AGL: SPEC-4641 Change-Id: Iac91128ed43083629aebd2f573164240a043ed04 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-12packagegroup-agl-demo-platform-flutter: fix whitespaceScott Murray1-2/+2
To fix building, remove extraneous "\ "s that were accidentally added into IMAGE_INSTALL:append in packagegroup-agl-demo-platform-flutter in the previous update. Bug-AGL: SPEC-4637 Change-Id: Idf7600450834b3ea0bd6f4cd5858aadeda6ce6f2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Update Flutter demo imagesScott Murray9-22/+35
Changes: - Split demo image feature definitions into an include file to allow reusing them, and pull into both the Qt and Flutter demo platform images. - Remove packagegroup-agl-demo-platform dependencies from feature packagegroups so they will not break the Flutter images. - Tweak Flutter cluster demo image to have KUKSA.val related package omission be controlled by the "agl-demo-preload" feature. - Add the kuksa-vss-init package to the IVI services packagegroup so that the signal initialization expected by the Flutter cluster dashboard will always be done. This covers the usecase of using the Flutter cluster with KUKSA.val on the IVI board. - Add missing "agl-demo-preload" tweaks from the Qt demo platform image to the Flutter one. - Tweak things to leave out the Weston terminal app from images build with the "agl-demo-preload" feature. - Remove flutter-navigation and flutter-mediaplayer from the Flutter demo image for now, and add the messaging, phone, and radio Qt apps to fill out the list of apps for the demo. Bug-AGL: SPEC-4636, SPEC-4637, SPEC-4639 Change-Id: I9cde89278f0191886152f765d4fb1a893c0ea2c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10flutter-cluster-dashboard: Add demo configurationScott Murray2-4/+29
Add a demo configuration yaml file to point at the KUKSA.val server on the IVI board that can be installed as an alternative to the default. Bug-AGL: SPEC-4636 Change-Id: I75f91ad620e33ef7cbd7c6de4ef7ccae9b17cdf4 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10radio: Update display nameScott Murray1-0/+2
Set AGL_APP_NAME for the radio application. Bug-AGL: SPEC-4638 Change-Id: I05f5e30f79d53fb9faa913d06801bfd5ec05bf85 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10Remove demo sllin configurationScott Murray11-227/+0
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>
2022-12-10Update cluster network configurationScott Murray5-21/+1
Update configuration files as appropriate with the IVI board as 192.168.10.2 and the cluster as 192.168.10.3. This includes removing the cluster-connman-conf network configuration recipe. Bug-AGL: SPEC-4632 Change-Id: I60011a3615152a036057ca1a98d3916c67a3cd1e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-12-10agl-demo-preload: Enable CAN FD for reference h/wScott Murray1-0/+3
Define CANBUS_NETWORK_CONFIG to select the CAN FD configuration if building with the agl-refhw-h3 feature. Bug-AGL: SPEC-4633 Change-Id: Ie414fb800c4721f4b38ee6a11d9f3f856376d124 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-23agl-kvm-demo-platform: Add recipeScott Murray1-0/+68
Add agl-kvm-demo-platform image recipe. If "agl-kvm" has been given to aglsetup.sh, it can be built to generate a minimal host image that runs IVI and cluster images with QEMU+KVM. The guest images are built with the "agl-guest-kvm" that the "agl-kvm" feature enables, and are built against the virtio-aarch64 target. The guest images to build can be overriden with the variables GUEST_VM1_IMAGE and GUEST_VM2_IMAGE (from e.g. site.conf). At present this image has only been tested on the AGL reference platform, and development is likely required to get it working on other platforms. COMPATIBLE_MACHINE has not been set in the recipe to ease experimenting, that may change. Known issues: - Currently graphics output from the guests is corrupted when they first boot, and a manual reboot is required of each guest. - Peripheral support is still a WIP. Audio has been configured, but needs further debugging. CAN, USB, etc., are to follow. Bug-AGL: SPEC-4618 Change-Id: Id7113576453621702547ee6e0b8734a6e9117bb6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-23agl-qemu-runner: Add recipesScott Murray11-0/+243
Add recipes for agl-qemu-runner.sh QEMU wrapper script and template systemd unit, and guest per-image configuration files and systemd unit links for the various demo platform images. The configurations for the demo images can be mixed and matched somewhat, but only one each of IVI and cluster should be used, as there are some static CPU assignments in the configurations. As well, this has only been tested on the AGL reference hardware at present, some rework will likely be required to support other platforms. There is room to add a bbclass to simplify the guest configuration recipes, but that has not been done for now as this approach may be temporary; a switch to libvirtd with appropriate configurations is likely. Bug-AGL: SPEC-4618 Change-Id: Ieefbd4081cca506f915957cc313411a5ed1ece5c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-23output-udev-conf: add recipeScott Murray4-2/+26
Add recipe to install udev rules to force all input devices to be associated with the HDMI-A-1 output. The intended use is with the KVM host image to ensure input devices are matched to the IVI guest VM. Also fixed the RDEPENDS for the other udev rule recipes to depend on udev specifically instead of systemd. Bug-AGL: SPEC-4618 Change-Id: Ic2efe01f7aed85f89dbda3cb958332ed5db799a1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-11-23weston-ini-conf: rework to add KVM host versionScott Murray4-27/+67
Add a canned weston.ini template and install it with the appropriate guest VM app ids as weston-ini-conf-kvm. The guest VM images/ids can be overriden with the variables GUEST_VM1_IMAGE and GUEST_VM2_IMAGE (from e.g. site.conf). Bug-AGL: SPEC-4618 Change-Id: I053a956fd5af78b13095f15b6e6c40e81a0ff0c9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>