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?
You should to enable it at Device Tree.
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.
The easiest way to debug a Device Tree is just by building it using method described [here].
Then you can copy resulted DTB file to Colibri iMX7 / boot partition.