[PATCH] drivers: char: hvc: add arm JTAG DCC console support

RONETIX - Asen Dimov dimov at ronetix.at
Fri Apr 8 04:39:44 EST 2011


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<tony at atomide.com>
> Cc: Arnd Bergmann<arnd at arndb.de>
> Cc: Nicolas Pitre<nico at fluxnic.net>
> Cc: Greg Kroah-Hartman<gregkh at suse.de>
> Cc: Mike Frysinger<vapier at gentoo.org>
> Signed-off-by: Daniel Walker<dwalker at codeaurora.org>
> ---
>   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


More information about the Linuxppc-dev mailing list