Update armhf-gnu to Ubuntu 20.04
This requires updating the used Linux kernel to avoid an assembler error, the used busybox version to avoid a linker error, the used rootfs to match the host version and the qemu flags to work with the newer version.
This commit is contained in:
parent
b122908617
commit
3f46fbf31b
3 changed files with 29 additions and 23 deletions
|
|
@ -185,8 +185,10 @@ fn start_qemu_emulator(target: &str, rootfs: &Path, server: &Path, tmpdir: &Path
|
|||
.arg("-append")
|
||||
.arg("console=ttyAMA0 root=/dev/ram rdinit=/sbin/init init=/sbin/init")
|
||||
.arg("-nographic")
|
||||
.arg("-redir")
|
||||
.arg("tcp:12345::12345");
|
||||
.arg("-netdev")
|
||||
.arg("user,id=net0,hostfwd=tcp::12345-:12345")
|
||||
.arg("-device")
|
||||
.arg("virtio-net-device,netdev=net0,mac=00:00:00:00:00:00");
|
||||
t!(cmd.spawn());
|
||||
}
|
||||
"aarch64-unknown-linux-gnu" => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue