imx8mq: Android11 load M4 crashed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mq: Android11 load M4 crashed

3,800 次查看
edward_fu
Contributor III

Hi experts,

I am using imx8mq board to develop rpmsg in my project. I am running Android 11.0.0_2.0.0. I flashed the M4 image along with Android images with "uuu_imx_android_flash.sh" script. And in uboot I set bootcmd as below:

  • setenv bootcmd "bootmcu && boota mmc0"

At first, M4 run normally as expected, But after few seconds, M4 program crashed and Android run normally.

What's the problem maybe?

Thanks

Edward

 

0 项奖励
23 回复数

727 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

A-core will disable UART2_CLK_ROOT, which is used for M-core debug uart. So M-core will block when running PRINTF().

One can add “ setenv append_bootargs clk_ignore_unused“ in uboot if not paying attention to power consumption

0 项奖励

711 次查看
edward_fu
Contributor III

Thanks,

I have solved the rpmsg problem.

What you said is about solveing M4 crashing when using UART2?  You mean uart2 clock is enabled by A-core not by M-core. I donot agree with you, if as you said, why M4 can run with UART2 printing alone without runging A-core.

 

0 项奖励

92 次查看
agnel_terry
Contributor III

HI ,

I am facing similar problem, in linux, I was able to see the /dev/ttyRPMSG node when I was working with 4.14.98 kernel, I recently changed to 5.10.72.x , I am not seeing the node.

2019-01-02T00:01:13Z UNKNOWN-0A-B8-53 user.info kernel: [ 84.317605] imx_rpmsg_tty virtio0.rpmsg-virtual-tty-channel-1.-1.30: new channel: 0x400 -> 0x1e!
2019-01-02T00:01:13Z UNKNOWN-0A-B8-53 user.info kernel: [ 84.327196] Install rpmsg tty driver!
2019-01-02T00:01:13Z UNKNOWN-0A-B8-53 user.debug kernel: [ 84.341140] rpmsg_tty_cb68 65 6c 6c 6f 20 77 6f 72 6c 64 21 hello world!

I see the log, but /dev no node.

Can you share what you did to fix your issue.

 

Thanks 

Terry

 

 

 

0 项奖励