Age | Commit message (Collapse) | Author | Files | Lines |
|
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: I7f2f2ad9a453b5d99bed4cfc33d99eb3002bcceb
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
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: I3c89dcdc6a7c07e2d161f095eaa28c3a1cb1343b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
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: I6807f08f11fc2f3aa4a5411b319ebc6d5283cdf8
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
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>
(cherry picked from commit dce8116fb1a1b6f3c2976db126d9f923e2fe4c6f)
|