From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CAN console
Date: Mon, 26 Oct 2009 13:28:17 +0100 [thread overview]
Message-ID: <4AE595E1.4050103@grandegger.com> (raw)
In-Reply-To: <200910260726.59949.vapier@gentoo.org>
Mike Frysinger wrote:
> On Monday 26 October 2009 07:09:03 Matthias Wei?er wrote:
>> Mike Frysinger schrieb:
>>> On Monday 26 October 2009 04:20:02 Matthias Wei?er wrote:
>>>> I have a device here which has only a CAN interface to the
>>>> outside world. I am currently thinking about implementing
>>>> a "serial" driver using the CAN controller.
>>>>
>>>> Is there any chance to get this accepted in the public u-boot
>>>> tree?
>>> someone just posted a port of the Linux CAN framework. if your driver
>>> used that to implement a serial layer, i dont see why it wouldnt be
>>> accepted.
>> Well, that means that I have to implement a full functional CAN driver
>> and then additionally add a serial driver using the (completely new) CAN
>> framework. My idea was that I just add a serial_ccan.c to drivers/serial.
>
> you would rather write a driver that is specific to one CAN hardware ?
> writing it to a common framework would allow every one with a CAN driver to
> use it ...
There are many simple USB CAN devices which are operated through the tty
interface. See
http://prdownload.berlios.de/socketcan/SLCAN-API.pdf
Wolfgang.
next prev parent reply other threads:[~2009-10-26 12:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 8:20 [U-Boot] CAN console Matthias Weißer
2009-10-26 8:37 ` Mike Frysinger
2009-10-26 11:09 ` Matthias Weißer
2009-10-26 11:26 ` Mike Frysinger
2009-10-26 12:20 ` Matthias Weißer
2009-10-26 12:28 ` Mike Frysinger
2009-10-26 12:52 ` Wolfgang Denk
2009-10-26 13:53 ` miaofng
2009-10-26 12:28 ` Wolfgang Grandegger [this message]
2009-10-26 12:42 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE595E1.4050103@grandegger.com \
--to=wg@grandegger.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.