All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: meta-freescale@yoctoproject.org
Subject: Re: FlexCAN in imx6q-sabresdb
Date: Wed, 13 May 2015 05:28:07 -0600	[thread overview]
Message-ID: <55533547.5050609@mlbassoc.com> (raw)
In-Reply-To: <83DB4EC8FADD45428E3CC4E3664761FD218F834F@AMDTCEX10.actuant.pri>

On 2015-05-13 04:38, Keskinarkaus, Teemu wrote:
> Hi,
>
> I’m trying to get FlexCAN driver to work in imx6q-sabre-sdb – develboard without any success.
>
> I have added FlexCAN driver as a module in kernel config as well as the other CAN-devices/drivers needed (can,can-dev, can-raw).
>
> Also I added to arch/arm/boot/dts/imx6q-sabresd.dts following lines:
>
> ----
>
> &flexcan1{
>
>                  status = "okay";
>
> };
>
> ----

Check the pin mux for the device.  You'll probably need something like this
to get it to work:

&flexcan1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_flexcan1_1>;
	status = "okay";
};

>
> After recompiling kernel and programming it to device, when I modprobe flexcan – module nothing happens. It doesn’t print that flexcan is found and when I add the other CAN-modules
> and try to access CAN0(or CAN1) they claim that there is no such device. I’ve worked with FlexCAN in imx537 so I’m somewhat familiar how to access it, but problem is that it does
> not show up at all.
>
> Is there something else needed to do to get FlexCAN working with imx6q? I did search the internet, but didn’t find anything else what should be done.
>
> Yocto version is 1.7.1 and kernel version is  linux-imx-rt-3.10.17.
>
> *Teemu Keskinarkaus
> *Software system engineer*
> *Cell: +358 400 330047*
> *Fax: +358 207 669199*
> *www.maximatecc.com <http://www.maximatecc.com/>*
>
> ***
>
> *maximatecc*
>
> making machines smart, safe and productive
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Actuant Corporation Email Notice
>
> This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
> This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this
> email in error and any review, dissemination, distribution or copying is strictly prohibited.
> If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.
>
> Thank you.
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2015-05-13 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 10:38 FlexCAN in imx6q-sabresdb Keskinarkaus, Teemu
2015-05-13 11:28 ` Gary Thomas [this message]
2015-05-19  6:57   ` Keskinarkaus, Teemu
     [not found] <mailman.3337.1431513505.2787.meta-freescale@yoctoproject.org>
2015-05-13 11:47 ` marko.kenttala

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=55533547.5050609@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=meta-freescale@yoctoproject.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.