diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-29 23:50:46 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-30 00:33:02 +0100 |
| commit | 3f46fbf31b10cd93dd95d761eece38eb0864e69c (patch) | |
| tree | c3b4d8082debbd0c9c28cef0b18ac0e0ebbc75e9 /src/tools/remote-test-client | |
| parent | b122908617436af187252572ed5db96850551380 (diff) | |
| download | rust-3f46fbf31b10cd93dd95d761eece38eb0864e69c.tar.gz rust-3f46fbf31b10cd93dd95d761eece38eb0864e69c.zip | |
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.
Diffstat (limited to 'src/tools/remote-test-client')
| -rw-r--r-- | src/tools/remote-test-client/src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/remote-test-client/src/main.rs b/src/tools/remote-test-client/src/main.rs index 6245b76fd6e..2d99f2cb8e2 100644 --- a/src/tools/remote-test-client/src/main.rs +++ b/src/tools/remote-test-client/src/main.rs @@ -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" => { |
