From: "Jose Mª Ferreiro" <jose.ferreiro@horus.es>
To: meta-freescale@yoctoproject.org
Subject: Re: FlexCAN not working
Date: Fri, 11 Oct 2013 20:15:27 +0200 [thread overview]
Message-ID: <5258403F.5070000@horus.es> (raw)
In-Reply-To: <5258163C.6050705@boundarydevices.com>
El 11/10/2013 17:16, Eric Nelson escribió:
> Hi Diego,
>
> On 10/11/2013 04:28 AM, diego wrote:
>> Hello everybody,
>>
>> I'm trying to test FlexCAN on Sabrelite imx6 board without success.
>> Those are the steps followed :
>>
>> 1) Comprobed that linux-imx has CAN drivers enable
>> 2) Added on the image the packages:canutils,libsocketcan and iproute2
>> 3) Tested the Flex can with canconfig and cantest.
>>
>> Everything seems ok, even I can see transmitted frames incremented.
>> However there's not singnal on the oscilloscope.
>>
>> I don't now why is not working. Any ideas or suggestions?
>>
>
> Can you forward your kernel version (/proc/version) and output
> of /proc/cpuinfo?
>
> Some early versions of SABRE Lite used a discontinued Freescale
> CAN PHY, and there's some code in board-mx6_nitrogen6x.c to
> detect which is in use. If you're using the old board-mx6_sabrelite.c,
> that detection code isn't present.
Hi Eric
Below are the outputs you asked. But I compared board-...nitro to
board-..sabrelite sources. Certainly nitrogen is configured for two
transceivers while sabrelite is fixed to one of them. Our board, from
Farnell element 14, has the TJA1040 transceiver. I think Sabrelite code
is working like the other transceiver. However I am not finding the
transceiver detection code :( . I keep trying :)
Thanks
This is yocto master + linux-imx
root@imx6qsabrelite:~# cat /proc/version
Linux version 3.0.35-4.1.0+yocto-masterimxhorus+gbdde708 (horus@ubuntu)
(gcc version 4.8.1 (GCC) ) #4 SMP PREEMPT Thu Oct 10 10:41:48 CEST 2013
root@imx6qsabrelite:~# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 10 (v7l)
processor : 0
BogoMIPS : 790.52
processor : 1
BogoMIPS : 790.52
processor : 2
BogoMIPS : 790.52
processor : 3
BogoMIPS : 790.52
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
Hardware : Freescale i.MX 6Quad Sabre-Lite Board
Revision : 63012
Serial : 0000000000000000
> Checking dmesg will tell you:
> dmesg | grep can
>
> https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_3.0.35_4.1.0/arch/arm/mach-mx6/board-mx6_nitrogen6x.c#L1377
>
>
> Regards,
>
>
> Eric
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
next prev parent reply other threads:[~2013-10-11 18:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 11:28 FlexCAN not working diego
2013-10-11 15:16 ` Eric Nelson
2013-10-11 18:15 ` Jose Mª Ferreiro [this message]
2013-10-11 18:41 ` Eric Nelson
2013-10-11 18:55 ` Jose Mª Ferreiro
2013-10-11 20:56 ` Wayne T. Schellekens
2013-10-11 22:11 ` Eric Nelson
2013-10-14 9:40 ` Jose Mª Ferreiro
2013-10-15 0:30 ` HDMI on SABRE Lite (was FlexCAN not working) Eric Nelson
2013-10-18 11:33 ` FlexCAN not working diego
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=5258403F.5070000@horus.es \
--to=jose.ferreiro@horus.es \
--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.