imx93-evk: Failure to run flexcan loopback

Fabio Estevam festevam at gmail.com
Wed Nov 20 10:42:27 PST 2024


On Wed, Nov 20, 2024 at 9:23 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi,
>
> I am running kernel 6.12 on the imx93-11x11-evk board.
>
> I have backported the imx93-11x11-evk flexcan support:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20241120&id=ed73790b6ba7e44b6ca7129dbe564c50a20d9f45
>
> I am trying to run a loopback test:
>
> ~# ip link set can0 up type can bitrate 125000 loopback on
> ~# candump can0 &
> ~# interface = can0, family = 29, type = 3, proto = 1
> [   73.313897] can: controller area network core
> [   73.318472] NET: Registered PF_CAN protocol family
> [   73.338241] can: raw protocol
>
> ~# cansend can0 5A1#11.2233.44556677.88
> interface = can0, family = 29, type = 3, proto = 1
> ~# <0x001> [1] 05
> <0x001> [1] 05
>
> but I do not see the eight bytes appearing in the loopback.

It was a canutils versus can-utils syntax problem.

It is working well now.

Sorry for the noise.



More information about the linux-arm-kernel mailing list