Talk:Emulator: Difference between revisions
(Is it right?) |
m (added newline) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
I have built the emulator using the following command with podman: | '''Q:''' I have built the emulator using the following command with podman: | ||
podman run --rm -it -v "$(pwd)":/asteroid:z --userns keep-id \ | podman run --rm -it -v "$(pwd)":/asteroid:z --userns keep-id \ | ||
asteroidos-toolchain bash \ | asteroidos-toolchain bash \ | ||
Line 7: | Line 7: | ||
I can access the emulator with ssh -p2222 localhost. | I can access the emulator with ssh -p2222 localhost. | ||
Is everything fine? What's the next step? | Is everything fine? What's the next step? | ||
'''A:''' You did everything right -- it's a bug in our software! Specifically, it's [https://github.com/AsteroidOS/asteroid/issues/259 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 | |||
[[User:Beroset|Beroset]] ([[User talk:Beroset|talk]]) 23:18, 8 November 2023 (UTC) | |||
Update: fix pending: https://github.com/AsteroidOS/meta-asteroid/pull/168 | |||
[[User:Beroset|Beroset]] ([[User talk:Beroset|talk]]) 18:15, 12 November 2023 (UTC) |
Latest revision as of 18:19, 12 November 2023
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