diff options
author | Scott Murray <scott.murray@konsulko.com> | 2023-11-21 18:32:35 -0500 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-11-23 15:04:44 +0000 |
commit | c75d04a5ee7c32e0405ecb6de0c20d7f48b7f1e9 (patch) | |
tree | 542d83be7c0e82f01111d9a64979e6f1e1e7629a /recipes-core | |
parent | 7dcdecf5b01f48a8fbd16fe05ebede08bf5b76a8 (diff) |
KVM demo updates
Changes:
- Fix native-shell-client systemd unit to work with the changes
made for SPEC-4714 (separate agl-compositor systemd unit,
running as agl-driver).
- Update agl-qemu-runner.sh for the SPEC-4714 changes.
- Tweak cluster guest configuration to use just 2 cores and 1 GB
of memory to free up resources for the host.
- Add inverted psplash configuration that is pulled in for the
KVM demo image when building with agl-demo-preload. This
matches the inverted screen in the demo hardware.
Bug-AGL: SPEC-4974
Change-Id: Ie57a3550c8c8b12fd64ee14a9f1fbf4a4c40da32
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29460
ci-image-boot-test: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
(cherry picked from commit 6dc0e32fbda2c122a2b59630d774dc4ef1a49619)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29363
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/psplash/files/psplash-inverted.conf | 2 | ||||
-rw-r--r-- | recipes-core/psplash/psplash-inverted-config.bb | 20 | ||||
-rw-r--r-- | recipes-core/udev/output-udev-conf/91-output.rules | 4 |
3 files changed, 24 insertions, 2 deletions
diff --git a/recipes-core/psplash/files/psplash-inverted.conf b/recipes-core/psplash/files/psplash-inverted.conf new file mode 100644 index 000000000..440db891e --- /dev/null +++ b/recipes-core/psplash/files/psplash-inverted.conf @@ -0,0 +1,2 @@ +[Service] +Environment=PSPLASH_ANGLE_ARGS='--angle 180' diff --git a/recipes-core/psplash/psplash-inverted-config.bb b/recipes-core/psplash/psplash-inverted-config.bb new file mode 100644 index 000000000..f11b255da --- /dev/null +++ b/recipes-core/psplash/psplash-inverted-config.bb @@ -0,0 +1,20 @@ +SUMMARY = "Systemd unit override for psplash inverted mode for the AGL Demonstrator" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit systemd allarch + +SRC_URI = "file://psplash-inverted.conf" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + # Install override + install -d ${D}${systemd_system_unitdir}/psplash-start.service.d + install -m 0644 ${WORKDIR}/psplash-inverted.conf ${D}${systemd_system_unitdir}/psplash-start.service.d/ +} + +FILES:${PN} += "${systemd_system_unitdir}" + +RDEPENDS:${PN} += "psplash" diff --git a/recipes-core/udev/output-udev-conf/91-output.rules b/recipes-core/udev/output-udev-conf/91-output.rules index 89af46452..9b09a7ca4 100644 --- a/recipes-core/udev/output-udev-conf/91-output.rules +++ b/recipes-core/udev/output-udev-conf/91-output.rules @@ -1,6 +1,6 @@ # Associate all input devices with the first display # # NOTE: Can be more selective with something like: -# SUBSYSTEM=="input", ATTRS{idVendor}=="*", ATTRS{idProduct}=="004a", OWNER="display", ENV{ID_SEAT}="seat0", ENV{WL_OUTPUT}="HDMI-A-1" +# SUBSYSTEM=="input", ATTRS{idVendor}=="*", ATTRS{idProduct}=="004a", OWNER="agl-driver", ENV{ID_SEAT}="seat0", ENV{WL_OUTPUT}="HDMI-A-1" # -SUBSYSTEM=="input", OWNER="display", ENV{ID_SEAT}="seat0", ENV{WL_OUTPUT}="HDMI-A-1" +SUBSYSTEM=="input", ENV{ID_SEAT}="seat0", ENV{WL_OUTPUT}="HDMI-A-1" |