Re: imx93-evk: Failure to run flexcan loopback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 20, 2024 at 9:23 AM Fabio Estevam <festevam@xxxxxxxxx> 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.





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux