From mboxrd@z Thu Jan 1 00:00:00 1970 From: RONETIX - Asen Dimov Subject: Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console support Date: Thu, 07 Apr 2011 21:39:44 +0300 Message-ID: <4D9E04F0.5010004@ronetix.at> References: <1291145141-18301-1-git-send-email-dwalker@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1291145141-18301-1-git-send-email-dwalker@codeaurora.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org To: Daniel Walker Cc: Randy Dunlap , Mike Frysinger , Arnd Bergmann , Nicolas Pitre , Tony Lindgren , linux-arm-msm@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, FUJITA Tomonori , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Alan Cox List-Id: linux-arm-msm@vger.kernel.org Hello, On 11/30/2010 09:25 PM, Daniel Walker wrote: > This driver adds a basic console that uses the arm JTAG > DCC to transfer data back and forth. It has support for > ARMv6 and ARMv7. > > This console is created under the HVC driver, and should be named > /dev/hvcX (or /dev/hvc0 for example). > > Cc: Tony Lindgren > Cc: Arnd Bergmann > Cc: Nicolas Pitre > Cc: Greg Kroah-Hartman > Cc: Mike Frysinger > Signed-off-by: Daniel Walker > --- > drivers/char/Kconfig | 9 +++ > drivers/char/Makefile | 1 + > drivers/char/hvc_dcc.c | 133 ++++++++++++++++++++++++++++++++++++++++++++++++ ... this DCC driver implements "one channel", but what about implementing "multiple channels". For example reserve few(3) bits for channel number, and two bits for carried data, then fill the rest bytes with with some data and send the word(32 bits) over DCC. On the Linux side writing on /dev/hvcX puts the number X as channel number, and on the other side the CPU emulator gets the data and redistribute it to TCP/IP socket. I have started write some code implementing this. Are there any one interested in this multiple channels, and are there any one started to work on it? Regards, Asen