<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to get FlexCAN driver to work in imx6q-sabre-sdb – develboard without any success.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also I added to arch/arm/boot/dts/imx6q-sabresd.dts following lines:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">----<o:p></o:p></p>
<p class="MsoNormal">&flexcan1{<o:p></o:p></p>
<p class="MsoNormal">                status = "okay";<o:p></o:p></p>
<p class="MsoNormal">};<o:p></o:p></p>
<p class="MsoNormal">----<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yocto version is 1.7.1 and kernel version is  linux-imx-rt-3.10.17.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height:9.0pt;mso-line-height-rule:exactly"><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif"">Teemu Keskinarkaus<br>
</span></b><span style="font-size:7.5pt;font-family:"Century Gothic","sans-serif"">Software system engineer</span><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif""><br>
</span></b><span style="font-size:7.5pt;font-family:"Century Gothic","sans-serif"">Cell: +358 400 330047</span><b><span style="font-size:6.0pt;font-family:"Century Gothic","sans-serif""><br>
</span></b><span style="font-size:7.5pt;font-family:"Century Gothic","sans-serif"">Fax: +358 207 669199</span><b><span style="font-size:6.0pt;font-family:"Century Gothic","sans-serif""><br>
</span></b><span lang="EN-GB" style="font-size:10.0pt;font-family:"Century Gothic","sans-serif""><a href="http://www.maximatecc.com/"><span style="font-size:7.5pt;color:#0070C0">www.maximatecc.com</span></a></span><span lang="EN-GB" style="font-size:7.5pt;font-family:"Century Gothic","sans-serif";color:#0070C0">
</span><b><span style="font-size:6.0pt;font-family:"Century Gothic","sans-serif";color:#0070C0"><br>
<br>
</span></b><b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Century Gothic","sans-serif";color:black"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:12.0pt;font-family:"Century Gothic","sans-serif";color:black">maximatecc<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:7.5pt;font-family:"Century Gothic","sans-serif";color:black">making machines smart, safe and productive</span><span style="font-size:7.5pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="1"><br>
Actuant Corporation Email Notice<br>
<br>
This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.<br>
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.<br>
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.<br>
<br>
Thank you.<br>
</font>
</body>
</html>