iproute2 not function on CAN FD
Wenyou.Yang at microchip.com
Wenyou.Yang at microchip.com
Mon Feb 20 16:37:23 PST 2017
Hi Oliver,
> -----Original Message-----
> From: Oliver Hartkopp [mailto:socketcan at hartkopp.net]
> Sent: 2017年2月20日 15:57
> To: Wenyou Yang - A41535 <Wenyou.Yang at microchip.com>;
> mkl at pengutronix.de; wg at grandegger.com
> Cc: linux-can at vger.kernel.org; linux-arm-kernel at lists.infradead.org
> Subject: Re: iproute2 not function on CAN FD
>
> On 02/20/2017 02:12 AM, Wenyou.Yang at microchip.com wrote:
>
> > I am testing the CAN FD of M_CAN on the SAMA5D2 Xplained board, when
> > using the ip tool from iprounte2 suite to set the CAN interface, it
> > doesn't work with the message "RTNETLINK answers: Operation not supported".
> > --->8----
> > # ip link set can0 type can bitrate 125000 dbitrate 8000000 fd on
> > RTNETLINK answers: Operation not supported
>
> Please try:
>
> # ip link set can0 type can bitrate 125000 dbitrate 8000000 fd on fd-non-iso on
>
> The driver for the M_CAN IP core 3.0.x in the mainline kernel supports a
> NON_ISO IP core.
>
> This non-iso setting is fixed with this v3.0.x M_CAN and we decided to make this
> configuration explicit - as all other options run into a mess.
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=bb208f144cf
> 3f59d8f89a09a80efd04389718907
>
> Did that help?
Thank you very much!
You are very helpful!
Best Regards,
Wenyou Yang
More information about the linux-arm-kernel
mailing list