On 25.05.2011 18:33, Nikhil Kamath wrote:
>
> Hi,
>
> I get the following message when I execute “ ip link set can0 up type can
> bitrate 125000”
>
> -RTNETLINK answers: Operation not supported.
>
> Please revert back with a solution if anyone has come across this.
>
>
>
> Driver-FlexCAN driver from freescale.
>
> Processor –i.MX35
>
> Iproute2 – V2.6.31
>
> kernel version-2.6.35
AFAIK the FlexCAN driver is not part of the 2.6.35, so you probably have a
board support package that added this driver manually. Because i wonder how
the CAN drivers output emerges before the 'CAN device driver interface' which
needs to be loaded before. Can you send a 'real' dmesg output?
Can you also send the output of
ip -details link show can0
???
Maybe we should wait for the FlexCAN guys ...or you could ask the provider of
your board support package.
Regards,
Oliver
>
>
>
> dmesg o/p –
>
> Freescale FlexCAN Driver
>
> CAN device driver interface
>
> can: controller area network core (rev 20090105 abi 8)
>
> can: raw protocol (rev 20090105)
>
> can: broadcast manager protocol (rev 20090105 t)
>
>
>
>
>
> Ifconfig –a command shows gives the following output –
>
>
>
> can0 Link encap:UNSPEC HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>
> NOARP MTU:16 Metric:1
>
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:64
>
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
>
>
>
>
> Thanks,
>
> Best Regards,
>
> Nikhil
>
>
>
> *Larsen & Toubro Limited
>
> www.larsentoubro.com
>
> *This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from your
> system.
>
>
>
> _______________________________________________
> Socketcan-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/socketcan-users
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users