diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2021-02-22 08:06:01 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-22 10:24:33 +0100 |
commit | bdc87d8661b6650909de2fa1c4d23721f6a1ce1a (patch) | |
tree | ea5888a6333b78cae26bc62c2b0d73eec2b8bedd /lib/Makefile | |
parent | 2b772387518630af946e222e97af4dd925bce7b9 (diff) | |
download | barebox-bdc87d8661b6650909de2fa1c4d23721f6a1ce1a.tar.gz |
serial: add basic VirtIO console driver
With this driver enabled, -device virtio-serial-device can now be passed
to Qemu for barebox to detect a VirtIO console device. If barebox is
passed as argument to the Qemu -kernel option, no device tree changes are
necessary.
Example:
$ qemu-system-arm -m 256M -M virt -nographic \
-kernel build/images/barebox-dt-2nd.img \
-device virtio-serial-device \
-chardev socket,path=/tmp/foo,server,nowait,id=foo \
-device virtconsole,chardev=foo,name=console.foo
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions