From 5034240f1f98190aee58c25f10e7c5da92ef60f3 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 8 Jan 2025 18:42:36 -0500 Subject: meta-agl-kvm-demo: Add initial Raspberry Pi support Changes: - Add Rasperry Pi specific agl-qemu-runner configuration files for the KVM demo guests. These have only been tested on a 8 GB RPi 5; it is possible that the USB port configuration for passing through the touchscreen may need tweaking for RPi 4, this will be addressed in follow up changes if required. There is some potential for tweaking the guest memory configurations to try to run on 4 GB hardware, but that will likely take some more rework of the configuration system. - Replace the duplicated agl-qemu-runner configuration files for the reference hardware with symlinks to clean things up a bit. - To work around what seems like a detection problem in libepoxy that leads to a crash, tweak agl-qemu-runner to explicitly pass "gl=es" for the QEMU SDL display option by default (instead of the previous "gl=on"). A hook variable has been left to allow overriding this in a guest configuration. Bug-AGL: SPEC-5305 Change-Id: I6270b7d96164a7f8e756660e733d1285d22b621e Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30720 Reviewed-by: Jan-Simon Moeller ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account --- .../files/agl-cluster-demo-flutter-guest-preconfigured.conf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) mode change 100644 => 120000 meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf (limited to 'meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf') diff --git a/meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf b/meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf deleted file mode 100644 index 37003abde..000000000 --- a/meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf +++ /dev/null @@ -1,6 +0,0 @@ -QEMU_TASKSET_CPUS="4-7" -QEMU_SMP_OPT="-smp 2" -QEMU_MEM_OPT="-m 1G" -QEMU_NET_OPT="-netdev bridge,br=vmnet0,id=net0 -device virtio-net-device,mac=52:54:00:12:00:03,netdev=net0" -QEMU_KERNEL_CMDLINE_APPEND="root=/dev/vda rw mem=2048M video=Virtual-1:1920x1080" -QEMU_XDG_APP_ID="agl-cluster-demo" diff --git a/meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf b/meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf new file mode 120000 index 000000000..fb7fe7b78 --- /dev/null +++ b/meta-agl-kvm-demo/recipes-config/qemu-config/files/agl-cluster-demo-flutter-guest-preconfigured.conf @@ -0,0 +1 @@ +agl-cluster-demo-flutter-guest.conf \ No newline at end of file -- cgit 1.2.3-korg