RE: iproute2 not function on CAN FD
From: <hidden>
Date: 2017-02-21 00:37:23
Also in:
linux-arm-kernel
Hi Oliver,
-----Original Message----- From: Oliver Hartkopp [mailto:socketcan@hartkopp.net] Sent: 2017年2月20日 15:57 To: Wenyou Yang - A41535 <redacted>; mkl@pengutronix.de; wg@grandegger.com Cc: linux-can@vger.kernel.org; linux-arm-kernel@lists.infradead.org Subject: Re: iproute2 not function on CAN FD On 02/20/2017 02:12 AM, Wenyou.Yang@microchip.com wrote:quoted
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 supportedPlease 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