[meta-freescale] Flexcan configuration IMX6DL-SDP

Tobias Knoth knoth.tobias100 at gmail.com
Fri Apr 4 04:46:04 PDT 2014


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140404/e67af540/attachment.html>


More information about the meta-freescale mailing list