hello,
I am trying to use the classic can driver modules (can0 & can1) in Linux on the icicle kit. I am using the yocto BSP. I have enabled the can configurations in /recipes-kernel/linux/files/icicle-kit-es-amp directory and include the file in recipe.
CAN BUS
CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
CONFIG_CAN_GS_USB=y
CONFIG_CAN_CALC_BITTIMING=y
CONFIG_CAN_VCAN=y
CONFIG_CAN_DEV=y
CONFIG_CAN_MCP251X=y
With menuconfig i can confirm bus controller is enabled, Also i changed the dtsi file in the /kernel-source/arch/riscv/boot/dts/microchip to enable can0 and can1
When i build the image and flash it in the icicle kit I can see that CAN_RAW is enable with dmesg, but when i try to add can0 i get an error "Cannot find device "can0"
Can anyone please tell what i am missing out or to enable can0 & can1 in the kernel?
hello, I am trying to use the classic can driver modules (can0 & can1) in Linux on the icicle kit. I am using the yocto BSP. I have enabled the can configurations in /recipes-kernel/linux/files/icicle-kit-es-amp directory and include the file in recipe. CAN BUS
CONFIG_CAN=y CONFIG_CAN_RAW=y CONFIG_CAN_BCM=y CONFIG_CAN_GW=y CONFIG_CAN_GS_USB=y CONFIG_CAN_CALC_BITTIMING=y CONFIG_CAN_VCAN=y CONFIG_CAN_DEV=y CONFIG_CAN_MCP251X=y With menuconfig i can confirm bus controller is enabled, Also i changed the dtsi file in the /kernel-source/arch/riscv/boot/dts/microchip to enable can0 and can1
When i build the image and flash it in the icicle kit I can see that CAN_RAW is enable with dmesg, but when i try to add can0 i get an error "Cannot find device "can0" Can anyone please tell what i am missing out or to enable can0 & can1 in the kernel?