All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias Knoth <knoth.tobias100@gmail.com>
To: meta-freescale@yoctoproject.org
Subject: Flexcan configuration IMX6DL-SDP
Date: Sat, 05 Apr 2014 02:04:27 +0200	[thread overview]
Message-ID: <533F488B.9050501@gmail.com> (raw)

Hi!
Unfortunately i can't receive or transmit any can frames at master or
master-next branch. The flexcan interface works with dora branch.
I added the canutils, libsocketcan and iproute2 package to the yocto
image.

I added the flexcan node in the file: imx6dl-sabresd.dts.

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

Now the can-node is available in the dev-tree:

---
root@imx6dlsabresd:~# dmesg | grep can
vcan: Virtual CAN interface driver
flexcan 2090000.can: device registered (reg_base=c09d8000, irq=142)
can: controller area network core (rev 20120528 abi 9)
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
flexcan 2090000.can can0: writing ctrl=0x07292005
---

Nothing happens when I execute the command 'cansend' or 'candump'.
How do I configure the kernel 3.10.17 to make it work? I use the
IMX6DL-SDP.

Thanks in advance
Tobias


             reply	other threads:[~2014-04-05  0:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-05  0:04 Tobias Knoth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-04 11:46 Flexcan configuration IMX6DL-SDP Tobias Knoth

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=533F488B.9050501@gmail.com \
    --to=knoth.tobias100@gmail.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.