I have got a " Colibri iMX6ULL 512MB IT" mounted on a Aster carrier board.
I need to use canbus0. Could you suggest me how to modify the dts an dtsi file to reach my goal ?
I tried myself and right now I see the can0 ethernet interface visible with ifconfig.
But running the command “cansend can0 5A1#1188” I can’t see activity on SODIMM_55 and SODIMM_63. Consider that on these 2 pins there isn’t a can bus driver. Before connect the driver I’m expected to see activity on tx pin.
Hi @kevin.tx,
where to place the files you indicated ?
If I place them inside linux/arch/arm/boot/dts/ directory and run the command: make DTC_FLAGS="-@" imx6ull-colibri-elsist-slimline.dtb
I get this error:
The dts and dtsi files for the iMX6ULL device that @kevin.tx pointed out are available by default in linux/arch/arm/boot/dts directory. So you don’t have to place them in there manually.
Now I have some additional questions to help you troubleshoot the error that you get:
Could you please send me the imx6ull-colibri-elsist-slimline.dts file that you have written?
From which directory are you executing the make DTC_FLAGS=“-@” imx6ull-colibri-elsist-slimline.dtb command?
I tried compiling the device trees from your source files. It worked just fine for me. One thing I noticed is the “ symbol in your make DTC_FLAGS=“-@” imx6ull-colibri-elsist-slimline.dtb command. It should be " instead. I guess this is the reason behind the syntax error that you get.
Could you please try compiling with copy and paste from here: make DTC_FLAGS="-@" imx6ull-colibri-elsist-slimline.dtb
Please let me know if that solves your issue.
my problem not is about compiling. It is like a wrote in the first post: “I tried myself and right now I see the can0 ethernet interface visible with ifconfig. But running the command “cansend can0 5A1#1188” I can’t see activity on SODIMM_55 and SODIMM_63.”
Could you try the dtb file to verify if CAN bus works ?