From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5A573E00718 for ; Fri, 11 Oct 2013 08:16:16 -0700 (PDT) Received: by mail-pd0-f180.google.com with SMTP id y10so4361515pdj.39 for ; Fri, 11 Oct 2013 08:16:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1tqiT+6gT9pScy79U99KZItIv+UV9aGK5mea2wLlTWE=; b=btlrSNzWSHkWp9kyXEEOUtBJDXkJ1xtmmIGAgvmfkrQwX2kSQ2svHgXyjUCZlMj55u cdsR+HD+xyOdfsw5zd0MfJRMhzJZh2auvGaQJZMuGYMBmuJKRmaltxjwB593lZXDzgW5 OKxFhaRInCGkbzFuF+5+ZfluJYngxSFYB0K18KyqlIiYhDgmaYqEpTqdsnWwRVTSUg0d ALWVJ4HhBR0E65pFlSqAZgdh0NZFtd0gfgZzrOa83DzbSnGdox4Q9BX/Ng5kxGM4/oQW Kgqx651Sz07XhBlr2pr+KqZa1PlHspQOCxmLXvfE/vfDqMODTb/w5RLTAGFbQ1IhLTgV cYTw== X-Gm-Message-State: ALoCoQmwHNXj6UAWaWCUoEHbutKnc6gUgppDfFvYk2zTh3YdXd8RKBSSK0SRBmiW0FOMKIn9ey65 X-Received: by 10.66.66.202 with SMTP id h10mr22436138pat.70.1381504576037; Fri, 11 Oct 2013 08:16:16 -0700 (PDT) Received: from [29.6.1.4] ([70.96.116.236]) by mx.google.com with ESMTPSA id go4sm60485254pbb.15.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 08:16:15 -0700 (PDT) Message-ID: <5258163C.6050705@boundarydevices.com> Date: Fri, 11 Oct 2013 08:16:12 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: diego , meta-freescale@yoctoproject.org References: <5257E0EE.80802@horus.es> In-Reply-To: <5257E0EE.80802@horus.es> Subject: Re: FlexCAN not working 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: Fri, 11 Oct 2013 15:16:17 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. 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