when i try to set up the can device, i received a error message
ip link set can0 up type can bitrate 500000
Cannot find device "can0"
i have setup a specific defconfig file including can driver as well as added socket-can package in my conf packages.
zcat /proc/config.gz | grep -i can
CONFIG_CAN=y
CONFIG_CAN_RAW=y
CONFIG_CAN_BCM=y
CONFIG_CAN_GW=y
# CAN Device Drivers
CONFIG_CAN_VCAN=y
# CONFIG_CAN_VXCAN is not set
# CONFIG_CAN_SLCAN is not set
# CONFIG_CAN_DEV is not set
# CONFIG_CAN_DEBUG_DEVICES is not set
CONFIG_SCSI_SCAN_ASYNC=y
when i use the vcan, it works normally. So drivers are OK
I there, i had problems with can bus in yocto
when i try to set up the can device, i received a error message
i have setup a specific defconfig file including can driver as well as added socket-can package in my conf packages.
when i use the vcan, it works normally. So drivers are OK
the problem is really with can0 devices.
when i do a dmesg | grep can
in Debian i have
whereas this line is not present in yocto Poky
i tried to patch file imx6ul.dtsi to match with ones in debian version. But it did not works so far.
Do you have any idea how to solve this , or where to inspect to make it works? Thanks in advance