[meta-freescale] canbus interface issue on imx536

Daiane Angolini daiane.angolini at freescale.com
Mon Sep 2 05:30:11 PDT 2013


On 09/02/2013 07:26 AM, Simone wrote:
> Dear All,
>
> I’m trying to build an image with CAN support for imx536 processor.
>
> I’ve added canutils and libsocketcan to my “.bb” image file and re built
> the image successfully.
>
> Now, I’m trying to test the interface, but I’m 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 “*ip” *command is under */bin*instead of */sbin* where is
> 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’ve already copied the symlink to *ip* in */sbin*but with no 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane




More information about the meta-freescale mailing list