This is the command specified on docs.automotivelinux.org.
qemu-system-x86_64 -enable-kvm -m 2048 -hda agl-demo-platform-crosssdk-qemux86-64.wic.vmdk -cpu kvm64 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -vga virtio -show-cursor -device virtio-rng-pci -serial mon:stdio -serial null -soundhw hda -net nic,vlan=0 -net user,hostfwd=tcp::2222-:22
[cherylfong@localhost Downloads]$ qemu-system-x86_64 -enable-kvm -m 2048 -hda agl-demo-platform-crosssdk-qemux86-64.wic.vmdk -cpu kvm64 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -vga virtio -show-cursor -device virtio-rng-pci -serial mon:stdio -serial null -soundhw hda -net nic,vlan=0 -net user,hostfwd=tcp::2222-:22
qemu-system-x86_64: -net nic,vlan=0: 'vlan' is deprecated. Please use 'netdev' instead.
SYSLINUX 6.03 2014-10-06 Copyright (C) 1994-2014 H. Peter Anvin et al
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[DEPEND] Dependency failed for Driver configuration for Unicens2.
Mounting Kernel Configuration File System...
Mounting FUSE Control File System...
Starting Apply Kernel Variables...
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Rebuild Hardware Database.
Starting udev Coldplug all Devices...
[ OK ] Started udev Coldplug all Devices.
Starting Start Psplash Boot Screen...
Starting Load Kernel Modules...
Starting Setup Virtual Console...
[ OK ] Started Setup Virtual Console.
[ OK ] Started Start Psplash Boot Screen.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Found device /dev/ttyS0.
[ OK ] Found device /dev/ttyS1.
[ OK ] Found device /dev/disk/by-partuuid/61b86329-01.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Starting Load Kernel Modules...
Starting Setup Virtual Console...
Mounting /boot...
[ OK ] Started Setup Virtual Console.
Starting Start Psplash Boot Screen...
[ OK ] Started Start Psplash Boot Screen.
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Rebuild Dynamic Linker Cache...
Starting Commit a transient machine-id on disk...
Starting Rebuild Journal Catalog...
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Rebuild Journal Catalog.
[ OK ] Started Create Volatile Files and Directories.
Starting Run pending postinsts...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Commit a transient machine-id on disk.
[ 5.748551] run-postinsts[259]: Configuring packages on first boot....
[ 5.754261] run-postinsts[259]: (This may take several minutes. Please do not power off the machine.)
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ 5.772114] run-postinsts[259]: Running postinst /etc/rpm-postinsts/100-cynara...
[ OK ] Started Rebuild Dynamic Linker Cache.
Starting Update is Completed...
Starting Setup Virtual Console...
Starting Load Kernel Modules...
[ OK ] Started Update is Completed.
[ OK ] Started Setup Virtual Console.
Starting Start Psplash Boot Screen...
[ OK ] Started Start Psplash Boot Screen.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ 6.557747] run-postinsts[259]: Running postinst /etc/rpm-postinsts/101-security-manager-policy...
[ 7.499390] run-postinsts[259]: Removing any system startup links for run-postinsts ...
[ 7.514620] systemctl[372]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
[ OK ] Started Run pending postinsts.
[ OK ] Reached target System Initialization.
Starting cynara-agent.socket.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on security-manager.socket.
Starting Network Service...
[ OK ] Started dnf-automatic-notifyonly timer.
[ OK ] Started dnf-automatic-download timer.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started dnf-automatic-install timer.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on afm-system-daemon.socket.
[ OK ] Listening on cynara-admin.socket.
[ OK ] Listening on cynara.socket.
Starting cynara-monitor-get.socket.
[ OK ] Started dnf makecache timer.
[ OK ] Reached target Timers.
[ OK ] Listening on GPS (Global Positioning System) Daemon Sockets.
Starting sshd.socket.
[ OK ] Listening on cynara-agent.socket.
[ OK ] Listening on cynara-monitor-get.socket.
[ OK ] Reached target cynara sockets.
[ OK ] Listening on sshd.socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
Starting Terminate Psplash Boot Screen...
Starting Save/Restore Sound Card State...
Starting Initiate afm-system-setup...
Starting Setup a wired interface...
[ OK ] Reached target Containers.
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
Starting Telephony service...
[ OK ] Started System Logging Service.
Starting Bluetooth service...
Starting Avahi mDNS/DNS-SD Stack...
Starting Disk Manager (legacy version)...
Starting neard service...
Starting Cynara service...
Starting Start the security manager...
[ OK ] Started Network Service.
[FAILED] Failed to start Terminate Psplash Boot Screen.
See 'systemctl status psplash-quit.service' for details.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started Setup a wired interface.
[ OK ] Started Start the security manager.
[ OK ] Started Cynara service.
[ OK ] Started Telephony service.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Bluetooth service.
[ OK ] Started neard service.
[ OK ] Started Disk Manager (legacy version).
[ OK ] Started Login Service.
Starting Hostname Service...
Starting Authorization Manager...
[ OK ] Started Automount Disk Manager.
[ OK ] Started Bluetooth Audio ALSA Backend.
Starting Connection service...
[ OK ] Reached target Sound Card.
[ OK ] Started Hostname Service.
[ OK ] Started Initiate afm-system-setup.
[ OK ] Started Application Framework Master, system side.
Starting Run pending agl postinsts...
[ OK ] Started Application Framework Supervisor.
Starting Weston Wayland Compositor...
[ 8.027234] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-4a-mixer.sh...
Starting Initiate afm-system-setup...
[ OK ] Started Initiate afm-system-setup.
[ OK ] Started Application Framework Master, system side.
[ OK ] Started Connection service.
[ OK ] Reached target Network.
Starting Berkeley Internet Name Domain (DNS)...
Starting Target Communication Framework agent...
Starting WPA supplicant...
[ OK ] Started Target Communication Framework agent.
[ OK ] Started WPA supplicant.
[ OK ] Started Authorization Manager.
[ OK ] Started Weston Wayland Compositor.
[ OK ] Started Berkeley Internet Name Domain (DNS).
[ OK ] Reached target Host and Network Name Lookups.
[ 9.393347] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-afb-test.sh...
[ 9.588720] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-audio-4a.sh...
[ 9.809059] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-bluetooth-pbap.sh...
[ 9.953530] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-bluetooth.sh...
[ 10.096372] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-can-low-level.sh...
[ 10.568652] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-data-persistence.sh...
[ 10.707874] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-geoclue.sh...
[ 10.821738] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-geofence.sh...
[ 10.923980] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-gps.sh...
[ 11.036979] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-homescreen.sh...
[ 11.164644] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-hvac.sh...
[ 11.282805] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-identity-agent.sh...
[ 11.397142] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-iiodevices.sh...
[ 11.512586] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-mediaplayer.sh...
[ 11.634588] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-mediascanner.sh...
[ 11.761473] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-navigation.sh...
[ 11.977818] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-network.sh...
[ 12.090348] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-nfc.sh...
[ 12.191872] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-platform-info.sh...
[ 12.300872] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-radio.sh...
[ 12.433172] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-signal-composer.sh...
[ 12.748635] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-steering-wheel.sh...
[ 12.869924] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-telephony.sh...
[ 12.978837] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-unicens.sh...
[ 13.187548] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-weather.sh...
[ 13.294276] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-agl-service-windowmanager.sh...
[ 13.805563] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-dashboard.sh...
[ 14.042953] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-high-level-viwi-service.sh...
[ 14.254695] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-homescreen.sh...
[ 14.785442] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-hvac.sh...
[ 14.971870] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-launcher.sh...
[ 15.268073] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-low-can-demo.sh...
[ 15.466084] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-mediaplayer.sh...
[ 15.636997] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-navigation.sh...
[ 16.591738] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-phone.sh...
[ 17.071039] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-poiapp.sh...
[ 17.527801] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-radio.sh...
[ 17.793659] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/10-settings.sh...
[ 18.049701] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/99_4A_service_patch.sh...
[ 18.078097] run-agl-postinsts[438]: Running postinst /etc/agl-postinsts/X0-systemd-agl-sync.sh...
[ OK ] Stopped target Sockets.
Stopping Sockets.
[ OK ] Reached target Sockets.
[ 18.304153] systemctl[833]: Removed /etc/systemd/system/multi-user.target.wants/run-agl-postinsts.service.
[ OK ] Started Run pending agl postinsts.
Starting Permit User Sessions...
[ OK ] Started Permit User Sessions.
[ OK ] Started Serial Getty on ttyS1.
[ OK ] Started Initiate afm-user-session 0.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Created slice User Slice of root.
[ OK ] Started Session 1 of user root.
Starting User Manager for UID 0...
[ OK ] Started User Manager for UID 0.
Automotive Grade Linux 7.0.0 qemux86-64 ttyS0
qemux86-64 login: root
qemux86-64:~# ls
app-data
qemux86-64:~# tree
.
`-- app-data
|-- agl-identity-service
|-- agl-service-audio-4a
|-- agl-service-bluetooth
|-- agl-service-can-low-level
|-- agl-service-geoclue
|-- agl-service-network
|-- agl-service-nfc
|-- agl-service-platform-info
|-- agl-service-radio
|-- agl-service-unicens
|-- agl-service-weather
|-- homescreen
| `-- AutomotiveGradeLinux
| `-- HomeScreen
| `-- qmlcache
| |-- 10924f1cb91942bb8f14e9f41a80a5cecda5e4a8.qmlc
| |-- 2fa2a6c8c2df56a7932cf8b7368b907b95cf99c7.qmlc
| |-- 38ce913d77b8145179095bbc963e8fb6c3b57fd5.qmlc
| |-- 5c76081f66eba9c7110e099eac53021dc4948df0.qmlc
| |-- 80bab2fc9790f0953a2fb2349b2529a7d7918f43.qmlc
| |-- 822ebb5c714453069a5aecbaa3c3e2c708b34f8b.qmlc
| |-- c567306c6be1e2cdeeb0f9385fa7fb1296446e2f.qmlc
| |-- ed0b32f5d91567fb53e2e2d7993b2e8ec4c6a887.qmlc
| `-- f0c231f3ab05b4847c20b0c8cbcb90493b1ab99d.qmlc
|-- homescreen-service
|-- launcher
| `-- AutomotiveGradeLinux
| `-- launcher
| `-- qmlcache
| |-- 11432aa50200894dbff20f3ae17cefdf7a3b8210.qmlc
| `-- dd92e2293fce2cad9870819435a5c2f5cb396029.qmlc
|-- navigation
|-- persistence-binding
| `-- ll-database-binding.dbm
|-- radio
| |-- presets-ALS.conf
| |-- presets-CES.conf
| |-- presets-FOSDEM.conf
| |-- presets.conf
| `-- radio
| `-- qmlcache
| |-- 170f801b31191e40f8fc059b29fd3e63102dadc6.qmlc
| `-- ceb425738b50210f2d4209712716224bf4849c7f.qmlc
`-- windowmanager-service
27 directories, 18 files
qemux86-64:~# exit
logout
Automotive Grade Linux 7.0.0 qemux86-64 ttyS0
qemux86-64 login:
In development a build, the username is root
with no password. See: https://jira.automotivelinux.org/browse/SPEC-1333. Note that the image used is downloaded from: Grumpy Guppy 7.0.0 Stable
[cherylfong@localhost ~]$ netstat -anp | grep tcp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN 4229/qemu-system-x8
.
.
.
[cherylfong@localhost ~]$ ssh [email protected] -p 2222
The authenticity of host '[0.0.0.0]:2222 ([0.0.0.0]:2222)' can't be established.
ECDSA key fingerprint is SHA256:va7iAGYe6KeSCEYqHM01cb1Zxn/FQne5fKM93eych10.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[0.0.0.0]:2222' (ECDSA) to the list of known hosts.
Last login: Tue Apr 9 12:37:14 2019
qemux86-64:~# ls
app-data
Continued from...
qemux86-64:~# exit
logout
Automotive Grade Linux 7.0.0 qemux86-64 ttyS0
qemux86-64 login:
ctrl+a then c
qemux86-64 login: QEMU 2.11.2 monitor - type 'help' for more information
(qemu) quit
See 2.5 Keys in the character backend multiplexer for other key combination commands.
ctrl + alt + g
I couldn't find a way to rotate the screen. This as an effect causes the x and y axis of the cursor to be flipped. Adding -portrait
to the end of the qemu-system-x86_64
command did not work.