All of lore.kernel.org
 help / color / mirror / Atom feed
* Flexcan configuration IMX6DL-SDP
@ 2014-04-04 11:46 Tobias Knoth
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Knoth @ 2014-04-04 11:46 UTC (permalink / raw)
  To: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

Hi!
The flexcan interface works with dora branch. Unfortunately i can't receive
or transmit any can frames at master or master-next 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

[-- Attachment #2: Type: text/html, Size: 1264 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Flexcan configuration IMX6DL-SDP
@ 2014-04-05  0:04 Tobias Knoth
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Knoth @ 2014-04-05  0:04 UTC (permalink / raw)
  To: meta-freescale

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-05  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05  0:04 Flexcan configuration IMX6DL-SDP Tobias Knoth
  -- strict thread matches above, loose matches on Subject: below --
2014-04-04 11:46 Tobias Knoth

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.