With the following changes:
- Download the bionic vmlinuz and initrd instead of xenial
- I ran into some trouble getting the network set up right on the host. Note that you will have to install isc-dhcp-server (NOT udhcpd as apt will helpfully suggest). You will also have to tweak apparmor to allow dhcpd to read conf files outside of its usual place.
- On the invocation of qemu-system-arm, change `-serial stdio` to `-serial mon:stdio` -- this is what you actually want anyway.
- Add `-smp 4` (or however many CPUs your host has, maybe minus one) to make the install go a little faster.
To reproduce (use a machine with fast CPU...), on xenial as your host:
qemu-system-arm built from source: ubuntu- 1404:~/ qemu$ git remote get-url origin /git.qemu- project. org/qemu. git ubuntu- 1404:~/ qemu$ git rev-parse --abbrev-ref HEAD ubuntu- 1404:~/ qemu$
rmerrill@
git:/
rmerrill@
stable-2.9
rmerrill@
Follow the instructions here: https:/ /gist.github. com/takeshixx/ 686a4b5e057deff 7892913bf69bcb8 5a
With the following changes:
- Download the bionic vmlinuz and initrd instead of xenial
- I ran into some trouble getting the network set up right on the host. Note that you will have to install isc-dhcp-server (NOT udhcpd as apt will helpfully suggest). You will also have to tweak apparmor to allow dhcpd to read conf files outside of its usual place.
- On the invocation of qemu-system-arm, change `-serial stdio` to `-serial mon:stdio` -- this is what you actually want anyway.
- Add `-smp 4` (or however many CPUs your host has, maybe minus one) to make the install go a little faster.