Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752076AbdDCHyf (ORCPT ); Mon, 3 Apr 2017 03:54:35 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:35387 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751465AbdDCHyd (ORCPT ); Mon, 3 Apr 2017 03:54:33 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170401222119.25106-1-nicolas.pitre@linaro.org> <87pogur0y9.fsf@firstfloor.org> From: Andy Shevchenko Date: Mon, 3 Apr 2017 10:54:31 +0300 Message-ID: Subject: Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems To: Nicolas Pitre Cc: Andi Kleen , Greg Kroah-Hartman , Jiri Slaby , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , linux-arm Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 906 Lines: 20 On Mon, Apr 3, 2017 at 12:41 AM, Nicolas Pitre 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