Talk:Emulator

From AsteroidOS
Revision as of 18:19, 12 November 2023 by Beroset (talk | contribs) (added newline)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Q: I have built the emulator using the following command with podman:

     podman run --rm -it -v "$(pwd)":/asteroid:z --userns keep-id \
     asteroidos-toolchain bash \
     -c "source ./prepare-build.sh qemux86 && bitbake asteroid-image".

Then I have ran the image with qemu using the same command line shown in this page. I expected that once the emulator was started a graphical window would appear, but there is only the prompt. I can access the emulator with ssh -p2222 localhost. Is everything fine? What's the next step?

A: You did everything right -- it's a bug in our software! Specifically, it's this one. Our apologies for not having fixed this yet, but since you can access the emulator via ssh, you can work around this until it's properly fixed. After the emulator launches, run:

  ssh -p2222 root@localhost touch /dev/.coldboot_done

That will allow the emulator to move on to the GUI initialization. Hope that helps, and thanks for the feedback! If you have further problems or questions, feel free to drop by our ongoing chat here: https://matrix.to/#/#Asteroid:matrix.org

Beroset (talk) 23:18, 8 November 2023 (UTC)

Update: fix pending: https://github.com/AsteroidOS/meta-asteroid/pull/168

Beroset (talk) 18:15, 12 November 2023 (UTC)