Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems

From: Andy Shevchenko
Date: Mon Apr 03 2017 - 03:54:38 EST


On Mon, Apr 3, 2017 at 12:41 AM, Nicolas Pitre <nicolas.pitre@xxxxxxxxxx> wrote:
> On Sun, 2 Apr 2017, Andi Kleen wrote:
>> No PTYs seems like a big limitation. This means no sshd?

> Again, my ultimate system target is in the sub-megabyte of RAM. I
> really doubt you'll be able to fit an SSH server in there even if PTYs
> were supported, unless sshd (or dropbear) can be made really tiny.

Are you sure you need Linux there? There is a nice Zephyr project
(OpenSource RTOS, POSIX compatible) exactly for microcontrollers.

While I can agree on making Linux stuff less fatty, I can't agree on
doing this way. We have for now two subsystems to serve for serial
devices, you are proposing third one for only narrow class of devices.
>From my point of view is better to achive your goal with existing
system (as a proof of concept maybe even with ugly #ifdef:fery).

--
With Best Regards,
Andy Shevchenko