[PATCH] sandbox: new --stdinout option to enable a bidirectional console

Aleksander Morgado aleksander at aleksander.es
Tue Jun 6 00:00:19 PDT 2017


On Tue, Jun 6, 2017 at 8:53 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
>> In addition to allowing read-only and write-only consoles with --stdin
>> and --stdout, we now allow bidirectional read/write consoles with FIFO
>> files. This is e.g. to allow doing RATP over the FIFO based consoles.
>>
>> Signed-off-by: Aleksander Morgado <aleksander at aleksander.es>
>> ---
>>  arch/sandbox/os/common.c | 53 ++++++++++++++++++++++++++++++++++++++----------
>>  1 file changed, 42 insertions(+), 11 deletions(-)
>
> Applied, thanks.
>
> Have you tried RATP over the FIFO consoles? Does it work as expected?

Not completely, because the pyserial backend in bbremote didn't want
FIFOs, but I did try with my own minimal RATP implementation and it
did work ok up to where I tested.

-- 
Aleksander
https://aleksander.es



More information about the barebox mailing list