From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-f174.google.com (mail-ea0-f174.google.com [209.85.215.174]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EAD7DE01358 for ; Mon, 2 Sep 2013 10:15:03 -0700 (PDT) Received: by mail-ea0-f174.google.com with SMTP id z15so2488747ead.33 for ; Mon, 02 Sep 2013 10:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:thread-index :content-language:importance; bh=Nh0QxkC1ewk/nQfILGnUeblDM7Gv2w8owf6qm7yHuQU=; b=cfxifzGFSE327vXzUT4BZ282fhofC50b84BCGh7C/kEqlH6NyF3OSAKnE1pUguDbV+ tA97IWcC3bNvAWDbIPqMPxXRc1zKQy119Ix+xzXR6x5wJmZF8G16GYaO1uXHkMFM7VRk Y3lmoSqojOTMAlwFwqvm8bAPsQ9QZAK1OXZyPDVa+X40bfr4+ZBtxARSfR6teJv+4lvZ G6gLdBnuqrjvEnDchze2ewKsC+s0cFW33MfhBzndVNBneUW4sHMaT1YwzeJ5sw+UuIse CA/ubyz8mahWlc+iZZkMmTa9d08nYt52/VhsHLI8PQSuZGaoSquhap0njou9z0DZ0hrU Heow== X-Received: by 10.14.180.73 with SMTP id i49mr5239432eem.55.1378142102442; Mon, 02 Sep 2013 10:15:02 -0700 (PDT) Received: from SIMONENB (88-149-150-170.v4.ngi.it. [88.149.150.170]) by mx.google.com with ESMTPSA id r48sm23901387eev.14.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Sep 2013 10:15:01 -0700 (PDT) From: "Simone" To: "'Daiane Angolini'" References: <018e01cea7c2$7cd87e60$76897b20$@cjb.it> <522484D3.6040100@freescale.com> In-Reply-To: <522484D3.6040100@freescale.com> Date: Mon, 2 Sep 2013 19:14:59 +0200 Message-ID: <021201cea7ff$f57e0960$e07a1c20$@gmail.com> MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQMa5y+voRrKvy83sCxdeOPNXL28+wHdqbrWAhzzaSyW+ls74A== Importance: High Cc: meta-freescale@yoctoproject.org Subject: Re: canbus interface issue on imx536 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: Mon, 02 Sep 2013 17:15:07 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Language: it Hello Daiane, thanks for your reply. I have checked and my configuration already have package iproute2. I've checked in defconfig and all config related to FLEXCAN are setted = to "yes" I don't know where to look. There are someone with can experience on imx5? Thanks so much! -----Messaggio originale----- Da: Daiane Angolini [mailto:daiane.angolini@freescale.com]=20 Inviato: luned=EC 2 settembre 2013 14:30 A: Simone Cc: Oggetto: Re: [meta-freescale] canbus interface issue on imx536 On 09/02/2013 07:26 AM, Simone wrote: > Dear All, > > I=92m trying to build an image with CAN support for imx536 processor. > > I=92ve added canutils and libsocketcan to my =93.bb=94 image file and = re=20 > built the image successfully. > > Now, I=92m trying to test the interface, but I=92m encountering some = problems. > > Here below the results of the setup functions: > > *CMD: ip link set can0 type can bitrate 500000** > *RESULT: ip: either "dev" is duplicate, or "bitrate" is = garbage > > ** > > *CMD: ifconfig can0 up** > *RESULT: ifconfig: SIOCGIFFLAGS: No such device > > I saw that =93*ip=94 *command is under */bin*instead of */sbin* where = is=20 > actually located busybox. Is this correct? I *almost* remember something regarding the package iproute2 and can. Do = you have this package into your image? Could you, please take a look on = this? Do you know if you need to re-configure buxybox to include some can = support? > > I=92ve already copied the symlink to *ip* in */sbin*but with no=20 > difference.__ > > Anyone have experience with canbus on imx53? I'm sorry, I don't have any experience with can.... all my mental links = are from what I heard from imx-community threads. > > Thanks > > Regards > > > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > -- Daiane