Hi Guys,
I need help on a Lollipop booting issue. I'm trying to boot Android
5.1.1 on a customer SoC which integrates Cortex-A9 MP and Mali 400.
It's quite close to get into the launcher, but it fails to due to an
ANR in SystemUI. The full logcat is attached, and some highlights of
the log are as below.
1. There are quite some messages from Choreographer like this:
I/Choreographer( 1220): Skipped 391 frames! The application may be
doing too much work on its main thread.
2. There a number of window freeze timeout messages in the log.
W/WindowManager( 1220): Window freeze timeout expired.
W/WindowManager( 1220): Force clearing orientation change:
Window{xxxxxxxxxxxxxx}
3. I see "Boot is finished", but right before it, there is a "BOOT TIMEOUT".
W/WindowManager( 1220): ***** BOOT TIMEOUT: forcing display enabled
I/SurfaceFlinger( 874): Boot is finished (88437 ms)
I'm a bit new to Android, and running out of idea what is happening
here. So any suggestions or comments about where to look at or how to
debug such issue is highly appreciated.
Shawn
HI, MInseong, Vishal
We all often use hackbox to build android, and the jack-server seems a
bottleneck for us.
I tried to update SERVER_PORT_SERVICE and SERVER_PORT_ADMIN in
~/.jack-settings as following:
SERVER_PORT_SERVICE=8176
SERVER_PORT_ADMIN=8177
And I found I could start the jack-server under my account, and no need to
kill the jack-server under minseon.
yongqin.liu@hackbox.linaro.org:~/nougat$ ps -ef|grep
com.android.jack.launcher.ServerLauncher
yongqin+ 2379 1 99 13:23 pts/4 00:19:27 java
-XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8
-XX:+TieredCompilation -cp /home/yongqin.liu/.jack-server/launcher.jar
com.android.jack.launcher.ServerLauncher
yongqin+ 6804 15997 0 13:41 pts/16 00:00:00 grep --color=auto
com.android.jack.launcher.ServerLauncher
minseon+ 13453 1 15 Oct29 ? 02:58:18 java
-XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8
-XX:+TieredCompilation -cp /home/minseong.kim/.jack-server/launcher.jar
com.android.jack.launcher.ServerLauncher
yongqin.liu@hackbox.linaro.org:~/nougat$
I will use these setting for my future android compilation, till I found
any problem about it.
You could try to update it as well((or use the default) ) to see if it
helps your android compilation.
and could co-exist with my jack-server instance.
--
Best Regards,
Yongqin Liu
---------------------------------------------------------------
#mailing list
linaro-android(a)lists.linaro.org <linaro-dev(a)lists.linaro.org>
http://lists.linaro.org/mailman/listinfo/linaro-android