From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 51863E008DC; Wed, 13 May 2015 04:28:17 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 61223E004F6 for ; Wed, 13 May 2015 04:28:07 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 14E6CF811E0; Wed, 13 May 2015 05:28:06 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 861B3F811E0; Wed, 13 May 2015 05:28:06 -0600 (MDT) Message-ID: <55533547.5050609@mlbassoc.com> Date: Wed, 13 May 2015 05:28:07 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <83DB4EC8FADD45428E3CC4E3664761FD218F834F@AMDTCEX10.actuant.pri> In-Reply-To: <83DB4EC8FADD45428E3CC4E3664761FD218F834F@AMDTCEX10.actuant.pri> Subject: Re: FlexCAN in imx6q-sabresdb X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 11:28:17 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 * > > *** > > *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 ------------------------------------------------------------