Enable CAN interface on Colibri iMX7D-1GB

Hi,

I’m trying to use the internal CAN interface on a Colibri iMX7D-1GB SoM running your tdx-reference-minimal-image image. I’m testing it on an Aster carrier board.

I know I would need a transceiver to be able to communicate but I was expecting to find the CAN interface listed in the available network interfaces. The ip link show command only shows the lo and eth0 interfaces.

How can I enable the CAN0 interface?

Thank you

You should to enable it at Device Tree.

Thank you

How can I check that the modified device tree is properly added to the image?

I modified the imx7-colibri.dtsi file (changed status to okay) and made the new image, but the interface still looks disabled.

Thank you

The easiest way to debug a Device Tree is just by building it using method described [here][1].

Then you can copy resulted DTB file to Colibri iMX7 / boot partition.
[1]: https://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code