Dual CAN(FD) board w/ MACP251xfd

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

 



Please forgive me, if this is not the proper list for this message,
but as far as I know the developer of the mcp251xfd driver is also reading here.

I recently acquired a Dual CAN FD HAT (https://www.waveshare.com/wiki/2-CH_CAN_FD_HAT)
to run on my Raspberry PI 4. Currently, this is using kernel 5.15.11, but for some
reason, only one of the two ports are recognized. Instead of detecting the 2nd port,
it seems to just _renames_ the port. Here is the relevant kernel log:

[    5.495409] CAN device driver interface
[    5.552660] spi_master spi1: will run message pump with realtime priority
[    5.559885] mcp251xfd spi1.0 (unnamed net_device) (uninitialized): Detected MCP2518FD, but firmware specifies a MCP2517FD. Fixing up.
[    5.580908] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    5.585428] Registered IR keymap rc-cec
[    5.599117] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[    5.601698] mcp251xfd spi1.0 can0: MCP2518FD rev0.0 (-RX_INT -MAB_NO_WARN +CRC_REG +CRC_RX +CRC_TX +ECC -HD c:40.00MHz m:20.00MHz r:17.00MHz e:16.66MHz) successfully initialized.
[    5.633622] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input3
[    5.677448] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[    5.697059] Registered IR keymap rc-cec
[    5.698682] mcp251xfd spi1.0 can1: renamed from can0

The activated overlays in config.txt are

dtoverlay=2xMCP2517FD
dtoverlay=2xMCP2518FD-spi0

Perhaps anyone of you has a similar config and can tell me what could be wrong?

Best,

Mickey.




[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