serial input with -serial stdio
Hi,
Tried to stream 2K of data into a guest via an emulated serial port backed by -serial stdio but it failed. Looks like data flows for a while, then suddenly even though the last call to can_rceive returns +, nothing comes. It works OK through TCP ports (-serial tcp::xxx,server + nc).
I know this used to work before, last time I tried was about a year ago or so, maybe a little more. I suspect regression somewhere.
I run qemu something like the following:
cat file-with-ser-data | qemu-system-cris -kernel image -serial stdio
The serial port is hw/etraxfs_ser.c, can't find anything wrong there.
Unfortunately I dont have much time at the moment to debug, so I tought I just throw this out to the list and hope that someone knows whats going on. Otherwise I'll debug later.
Cheers,
Edgar
Hello,
Quoted 7 lines · Edgar E. Iglesias
Hi,
Tried to stream 2K of data into a guest via an emulated serial port backed by -serial stdio but it failed. Looks like data flows for a while, then suddenly even though the last call to
can_rceivereturns +, nothing comes. It works OK through TCP ports (-serial tcp::xxx,server + nc).
Quoted 5 lines
I know this used to work before, last time I tried was about a year ago or so, maybe a little more. I suspect regression somewhere.
I run qemu something like the following:
cat file-with-ser-data | qemu-system-cris -kernel image -serial stdio
I've never used serial IO this way, so can't be sure.
Quoted 5 lines
The serial port is
hw/etraxfs_ser.c, can't find anything wrong there.Unfortunately I dont have much time at the moment to debug, so I tought I just throw this out to the list and hope that someone knows whats going on. Otherwise I'll debug later.
Let us know what you find.
Amit