Hello,
I have Apalis imx8 board, with Ixora carrier board, and Torizon easy pair last version installed on it.
I need to use Can Bus 0 and Can Bus 1, but I didn’t find any of them.
So, after search, I found that I need to enable them by applying device tree overlay for them.
I did this by adding apalis-imx8_mezzanine_can_overlay.dtbo
to the file /sysroot/boot/ostree/torizon-*/dtb/overlays.txt
, to be like this:
fdt_overlays=apalis-imx8_hdmi_overlay.dtbo apalis-imx8_spi1_spidev_overlay.dtbo apalis-imx8_spi2_spidev_overlay.dtbo apalis-imx8_mezzanine_can_overlay.dtbo
, and then I reboot the board, after reboot I ran the command ip link
, and I found the followings:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: sit0@NONE: mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
3: ethernet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:14:2d:65:e3:e8 brd ff:ff:ff:ff:ff:ff
4: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10
link/can
5: mlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether ca:68:eb:13:35:f7 brd ff:ff:ff:ff:ff:ff permaddr c0:e4:34:2f:eb:3b
6: uap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether fe:aa:49:7a:17:ba brd ff:ff:ff:ff:ff:ff permaddr c0:e4:34:2f:e9:3b
7: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:5c:0c:04:94 brd ff:ff:ff:ff:ff:ff
8: br-f2d1cf7983ee: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:62:13:59:1a brd ff:ff:ff:ff:ff:ff
with only can0, so where is can1? how can I enable it also please?
Best regards,
Tarek