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
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
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
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。
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.
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.
Solved! Go to Solution.
This issue could cause by this operation, system can't read wakeup5.Please let hardware engineer check your hardware signal.
This issue could cause by this operation, system can't read wakeup5.Please let hardware engineer check your hardware signal.
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
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.