imx8mq custom board unable to enter boot animation

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

imx8mq custom board unable to enter boot animation

跳至解决方案
3,485 次查看
pyh0603
Contributor III

Hello,

Release: android_p11.0.0_2.6.0

Board: i.MX8MQ based custom board

 

Current main problems:

Android 11 cannot enter boot animation

 

Current commissioning progress:

1、 First, according to the log of logcat, it can be concluded that the watchdog closed the system process and was in the main thread

1.png

2、 At this time, there will be an anr log. By analyzing the current anr log, it can be concluded that the thread with tid 15 always holds the lock < 0x03514c4d >, resulting in the main thread being unable to obtain the lock

2.png

3、 After further analyzing the anr log and checking thread 15, it can be concluded that in the source file displaymanagerservice.java In line 943 , lock is held directly, so that other processes cannot obtain it

3.png

4、 After further tracking the source code, we finally found that it stopped at frameworks/native/services/surfacelinker/surfaceflinger.cpp: 4294, as shown in the figure below, can enter the surfaceflinger::setpowermode function, but cannot enter MAIN_THREAD

4.png

5、MAIN_THREAD is an interface to obtain the mstatelock lock. The mstatelock lock is on the surface flinger.cpp source file is called in many places.

5.png

 

My question:

1.How should I debug and analyze this problem

2.The problem of how to locate the lock of the mlock interface, then Solve the problem that the boot animation cannot be started

 

I put the relevant logs in the attachment

 

I look forward to your reply,Thank you.

标签 (1)
0 项奖励
回复
1 解答
3,454 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

This issue could  cause by this operation, system can't read wakeup5.Please let hardware engineer check your hardware signal.

nxf65025_0-1648621521316.png

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,455 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

This issue could  cause by this operation, system can't read wakeup5.Please let hardware engineer check your hardware signal.

nxf65025_0-1648621521316.png

 

0 项奖励
回复
3,427 次查看
pyh0603
Contributor III

Thank you for your reply.

I have solved the problem that the imx8mq custom board cannot enter the boot animation.

 

It may be that there is a voltage drop in the GPU power supply voltage of our customized board, resulting in the abnormal operation of the GPU. If I set the operating voltage VDD_GPU_0V9 of GPU from 0.9V to 1.1V in uboot, Android can enter the boot animation normally

0 项奖励
回复
3,446 次查看
pyh0603
Contributor III

Thank you for your reply.

What is wakeup5 used for? I didn't find any useful information about wakeup5

Which hardware signal needs to be checked?  

Can you give me some more detailed tip

 

look forward to your new reply.

0 项奖励
回复