[PATCH] fixup! fixup! Documentation: add Documentation on VirtIO for barebox

Ahmad Fatoum ahmad at a3f.at
Mon Feb 22 03:39:59 EST 2021


Add note about how to access console.

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 Documentation/user/virtio.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/user/virtio.rst b/Documentation/user/virtio.rst
index caf88ecf73b3..8740c7046340 100644
--- a/Documentation/user/virtio.rst
+++ b/Documentation/user/virtio.rst
@@ -59,6 +59,8 @@ a VirtIO console on ARM::
   	-chardev socket,path=/tmp/foo,server,nowait,id=foo \
   	-device virtconsole,chardev=foo,name=console.foo
 
+To access the console socket, you can use ``socat /tmp/foo -``.
+
 Note the use of ``-kernel ./images/barebox-dt-2nd.img`` instead of
 ``-bios ./images/barebox-$BOARD.img``. ``-kernel`` will cause QEMU
 to pass barebox a fixed-up device tree describing the ``virtio-mmio``
-- 
2.30.0




More information about the barebox mailing list