[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu -nographics option
From: |
mar.krzeminski |
Subject: |
Re: [Qemu-devel] qemu -nographics option |
Date: |
Sat, 11 Jun 2016 21:52:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Hello,
Have you try to add chardev device?
-chardev stdio,mux=on,id=terminal -serial chardev:terminal
I am also not sure if you so many consoles in kernel command line,
since you do not want to use any graphic mode.
Regards,
Marcin
W dniu 11.06.2016 o 16:22, David Craven pisze:
Hello qemu devs,
I previously asked this question on stack overflow but didn't get an
answer, so I thought I'd ask here:
Stdio doesn't show in qemu with the -nographic option.
This is my qemu invocation. It prints hello world when
using `-serial stdio` but only displays kernel output when
using `-nographic`. (From the docs I gather these two are
mutually exclusive options)
```
qemu-system-arm \
-kernel zImage \
-append "\
console=ttyAMA0,115200 console=tty highres=off console=ttyS0 \
rdinit=/bin/static-hello \
panic=1" \
-initrd rootfs.cpio.gz \
-dtb vexpress-v2p-ca9.dtb \
-M vexpress-a9 \
-m 512 \
-nographic \
-no-reboot
```
How do I get this to work with the `-nographic` option?
David