From ab7995ef371aa62bfb18f9f4f84a0ac575212bea Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Thu, 14 Jan 2016 16:06:03 +0000 Subject: [PATCH] add networking for qemu arm Signed-off-by: Justin Cormack --- Dockerfile.armhf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 35816d19c..804cd4a63 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -6,4 +6,4 @@ COPY alpine/kernel/dtb . RUN gzip -9 initrd-arm.img -ENTRYPOINT [ "qemu-system-arm", "-machine", "vexpress-a15", "-cpu", "cortex-a15", "-no-reboot", "-serial", "stdio", "-kernel", "zImage", "-initrd", "initrd-arm.img.gz", "-dtb", "dtb", "-m", "256", "-append", "console=ttyAMA0,38400n8", "-vnc", "none" ] +ENTRYPOINT [ "qemu-system-arm", "-machine", "vexpress-a15", "-cpu", "cortex-a15", "-no-reboot", "-netdev", "user,id=eth0", "-device", "virtio-net-device,netdev=eth0", "-serial", "stdio", "-kernel", "zImage", "-initrd", "initrd-arm.img.gz", "-dtb", "dtb", "-m", "256", "-append", "console=ttyAMA0,38400n8", "-vnc", "none" ]