imx93-evk: Failure to run flexcan loopback

Fabio Estevam festevam at gmail.com
Wed Nov 20 04:23:45 PST 2024


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.

This same test worked on an old 6.6 downstream NXP kernel.

Is anyone able to get flexcan working on imx93?

Any ideas?

Thanks,

Fabio Estevam



More information about the linux-arm-kernel mailing list