[I.MX 8M PLUS EVK] How to enable secondary CAN device "can1"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[I.MX 8M PLUS EVK] How to enable secondary CAN device "can1"

Jump to solution
913 Views
Kunyang_Fan
Contributor II

Hi  Expert, 

I have a "i.MAX 8M PLUS EVK" and use the yocto code base "imx-yocto-bsp_5.10.72-2.2.0" and the image building command as below: 

$  repo init -u git://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-hardknott -m imx-5.10.72-2.2.0_harpoon.xml

$   DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build 

$ bitbake imx-image-multimedia

After flashing to SD card and booting, there is only can device "can0" as below picture

Is anyway to enable the secondary can1? Rebuild the image or some commands need to input ?

Thanks,only_can0_on_8mp_evk.png

 

Best regard, 

 

Kunyang

0 Kudos
1 Solution
902 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe that you're using default dtb, please change it, stopping at uboot you may select a different one.

Please try this at uboot level:
> setenv fdtfile imx8mp-evk-flexcan2.dtb
> saveenv
> boot

Best regards,
Aldo.

View solution in original post

0 Kudos
1 Reply
903 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe that you're using default dtb, please change it, stopping at uboot you may select a different one.

Please try this at uboot level:
> setenv fdtfile imx8mp-evk-flexcan2.dtb
> saveenv
> boot

Best regards,
Aldo.

0 Kudos