All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: Michael Haberler <haberlerm@gmail.com>, xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] RT-CAN driver for C_CAN,D_CAN cores ready
Date: Sun, 26 Apr 2015 22:46:23 +0200	[thread overview]
Message-ID: <553D4E9F.2060907@grandegger.com> (raw)
In-Reply-To: <CADvZd9a0UuoQx-g0N5YFbxEMajgSohyQ7U-8BbA+Ay9kpOrqGw@mail.gmail.com>

Hi Michael,

thanks for your contribution. Could you please send it as inline patch
to this mailing list to simplify the review and integration.

Thanks,

Wolfgang.


On 04/20/2015 01:01 AM, Michael Haberler wrote:
> here is the RT-CAN driver by Steve Battazzo for (among others) the
> Beaglebone: https://github.com/mhaberler/xeno_d_can/commits/for-xenomai-2
> 
> I've reconstructed the history as Steve based this on the 3.8 c_can driver.
> The problems Steve originally noted are resolved.
> 
> Please let me know if anything is missing for a merge into Xenomai 2.
> 
> - Michael
> 
> 
> Usage:
> 
> blacklist the Linux drivers in /etc/modprobe.d/can-blackist.conf:
> 
> blacklist c_can_platform
> 
> blacklist c_can
> 
> blacklist can_dev
> 
> 
> enable the can pins using the universal overlay (
> https://github.com/cdsteinkuehler/beaglebone-universal-io)
> 
> 
> config-pin overlay cape-universal
> 
> config-pin P9.24 can
> 
> config-pin P9.26 can
> 
> 
> # load the rtcan mods
> 
> modprobe xeno_can
> 
> modprobe rtcan_can
> 
> 
> # start the rtcan interface
> 
> rtcanconfig rtcan1 -b 1000000 start
> 
> rtcansend rtcan1 --verbose --identifier=0x1  0x04 0x01 0x00 0x00 0x0f 0xff
> 0xe7 0x00
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
> 
> 



  reply	other threads:[~2015-04-26 20:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19 23:01 [Xenomai] RT-CAN driver for C_CAN,D_CAN cores ready Michael Haberler
2015-04-26 20:46 ` Wolfgang Grandegger [this message]
2015-04-28 14:01   ` Michael Haberler
2015-04-28 14:11     ` Gilles Chanteperdrix
2015-04-29  6:35       ` Wolfgang Grandegger
  -- strict thread matches above, loose matches on Subject: below --
2015-04-28 15:47 Michael Haberler
2015-04-28 16:02 ` Gilles Chanteperdrix
2015-04-28 20:19   ` Michael Haberler
2015-04-29  4:30     ` Gilles Chanteperdrix
2015-04-29  7:05 ` 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=553D4E9F.2060907@grandegger.com \
    --to=wg@grandegger.com \
    --cc=haberlerm@gmail.com \
    --cc=xenomai@xenomai.org \
    /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.