diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-09-13 10:30:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-05 13:51:11 +0200 |
commit | c65e1b8a12fad7f60e1e0bee8de3a3a15911265d (patch) | |
tree | 1a0742b5b2158ba4ba3cbd9e630d013cf18cc71c /Documentation/user | |
parent | 383e041372a86e1a7da8a9a53b42edf7a6db2313 (diff) | |
download | barebox-c65e1b8a12fad7f60e1e0bee8de3a3a15911265d.tar.gz barebox-c65e1b8a12fad7f60e1e0bee8de3a3a15911265d.tar.xz |
net: add virtio network driver
This gives virtio-enabled boards an easy route to network connectivity:
qemu-system-aarch64 -M virt -serial mon:stdio -trace file=/dev/null \
-kernel images/barebox-dt-2nd.img -cpu cortex-a57 -nographic \
-device virtio-net-device,netdev=network0 -netdev tap,id=network0,ifname=tap0
The tap0 interface created by QEMU can then be bridged/listened on.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/user')
-rw-r--r-- | Documentation/user/virtio.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/user/virtio.rst b/Documentation/user/virtio.rst index dde47d5f82..d944fa4821 100644 --- a/Documentation/user/virtio.rst +++ b/Documentation/user/virtio.rst @@ -35,7 +35,7 @@ queues configuration and buffer transfers are nearly identical. Both MMIO and non-legacy PCI are supported in barebox. The VirtIO spec defines a lots of VirtIO device types, however at present only -block, console, input and RNG devices are supported. +block, network, console, input and RNG devices are supported. Build Instructions ------------------ |