M4 core i2c example code not working when we Boot A53 with linux 5.10.3

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

M4 core i2c example code not working when we Boot A53 with linux 5.10.3

761 Views
anilpathrut
Contributor I

Hello Sir,

We are using imx8m mini evk board 

Both core we are using M4 core and A53 

On M4 core side we uploaded i2c example code i2c_polling_b2b_transfer_master.bin and on A53 core linux 5.10

Initally M4 core working fine but when we boot A53 with linux , M4 core stops working even it is I2C example code only not modified any thing in I2C example code.

also we have disabled all I2C in .dtsi file and then checked but still same issue

 

But in android it is working (M4 I2C example and A53 core with android 10)

but only it is not working on linux 

i have attached i2c example code , .dtsi file and linux version screenshot.

Please suggest 

0 Kudos
Reply
1 Reply

751 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Have you tried using the imx8mm-evk-rpmsg.dtb?
This device tree blob already have disabled the IPs needed for the M4 SDK examples for our EVK.

You may change default dtb with the following steps:

  • Stop the boot process at U-boot.
  • Type the uboot command:
    > setenv fdt_file imx8mm-evk-rpmsg.dtb
    > saveenv


Also, please note that the changes to dtsi you have shared are for the i.MX8MN not the i.MX8MM

Best regards,
Aldo.

0 Kudos
Reply