AnsweredAssumed Answered

Android Prebuilt Image is not working in IMX7D

Question asked by Ashwanth Selvam on Aug 11, 2017
Latest reply on Aug 17, 2017 by Ashwanth Selvam

I downloaded the prebuilt android image provided by NXP for IMX7D. I am facing an issue while booting. 

No service is launched after surfaceflinger.

 

Output of logcat:

127|sabresd_7d:/ # logcat
--------- beginning of main
01-01 00:37:50.369 180 180 W auditd : type=2000 audit(0.0:1): initialized
01-01 00:37:54.640 180 180 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-01 00:37:54.660 180 180 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
01-01 00:37:55.220 167 167 W slideshow: type=1400 audit(0.0:4): avc: denied { read write } for name="card0" dev="tmpfs" ino=11308 scontext=
u:r:slideshow:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=0
01-01 00:37:55.240 167 167 W slideshow: type=1400 audit(0.0:5): avc: denied { dac_override } for capability=1 scontext=u:r:slideshow:s0 tco
ntext=u:r:slideshow:s0 tclass=capability permissive=0
01-01 00:37:56.844 189 189 I : debuggerd: starting
--------- beginning of system
01-01 00:37:56.994 190 190 I vold : Vold 3.0 (the awakening) firing up
01-01 00:37:56.994 190 190 V vold : Detected support for: ext4 f2fs vfat
01-01 00:37:57.297 190 195 D vold : e4crypt_init_user0
01-01 00:37:57.298 190 195 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-01 00:37:57.298 190 195 D vold : Preparing: /data/system/users/0
01-01 00:37:57.298 190 195 D vold : Preparing: /data/misc/profiles/cur/0
01-01 00:37:57.298 190 195 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
01-01 00:37:57.298 190 195 D vold : Preparing: /data/system_de/0
01-01 00:37:57.298 190 195 D vold : Preparing: /data/misc_de/0
01-01 00:37:57.299 190 195 D vold : Preparing: /data/user_de/0
01-01 00:37:57.299 190 195 D vold : e4crypt_unlock_user_key 0 serial=0 token_present=0
01-01 00:37:57.299 190 195 E vold : Failed to chmod /data/system_ce/0: No such file or directory
01-01 00:37:57.299 190 195 E vold : Failed to chmod /data/misc_ce/0: No such file or directory
01-01 00:37:57.299 190 195 E vold : Failed to chmod /data/media/0: No such file or directory
01-01 00:37:57.301 1 1 I vdc : 200 191 Command succeeded
01-01 00:37:57.363 196 196 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
01-01 00:37:57.928 202 202 E SurfaceFlinger: gl_FragColor = texture2D(sampler, outTexCoords);
01-01 00:37:57.928 202 202 E SurfaceFlinger: }
01-01 00:37:57.928 202 202 E SurfaceFlinger:
01-01 00:37:57.928 202 202 E SurfaceFlinger: Error while linking shaders:
01-01 00:37:57.928 202 202 E SurfaceFlinger: Error while compiling shader:
202 E SurfaceFlinger: Error while compiling shader:
01-01 00:37:57.929 202 202 E SurfaceFlinger: attribute vec4 texCoords;
01-01 00:37:57.929 202 202 E SurfaceFlinger: varying vec2 outTexCoords;
01-01 00:37:57.929 202 202 E SurfaceFlinger: attribute vec4 position;
01-01 00:37:57.929 202 202 E SurfaceFlinger: uniform mat4 projection;
01-01 00:37:57.929 202 202 E SurfaceFlinger: uniform mat4 texture;
01-01 00:37:57.929 202 202 E SurfaceFlinger: void main(void) {
01-01 00:37:57.929 202 202 E SurfaceFlinger: gl_Position = projection * position;
01-01 00:37:57.931 202 202 E SurfaceFlinger: Error while linking shaders:
01-01 00:37:57.931 202 202 E SurfaceFlinger: Error while compiling shader:
01-01 00:37:57.931 202 202 E SurfaceFlinger: precision mediump float;
01-01 00:37:57.931 202 202 E SurfaceFlinger: uniform sampler2D sampler;
01-01 00:37:57.931 202 202 E SurfaceFlinger: varying vec2 outTexCoords;
01-01 00:37:57.931 202 202 E SurfaceFlinger: uniform float alphaPlane;
01-01 00:37:57.931 202 202 E SurfaceFlinger: void main(void) {
01-01 00:37:57.931 202 202 E SurfaceFlinger: gl_FragColor = texture2D(sampler, outTexCoords);
01-01 00:37:57.931 202 202 E SurfaceFlinger: gl_FragColor.a *= alphaPlane;
01-01 00:37:57.931 202 202 E SurfaceFlinger: }
01-01 00:37:57.931 202 202 E SurfaceFlinger:
01-01 00:37:57.931 202 202 E SurfaceFlinger: Error while linking shaders:
01-01 00:37:57.931 202 202 E SurfaceFlinger: Error while compiling shader:
01-01 00:37:57.931 202 202 E SurfaceFlinger: attribute vec4 texCoords;
01-01 00:37:57.931 202 202 E SurfaceFlinger: varying vec2 outTexCoords;
01-01 00:37:57.931 202 202 E SurfaceFlinger: attribute vec4 position;
01-01 00:37:57.931 202 202 E SurfaceFlinger: uniform mat4 projection;
01-01 00:37:57.931 202 202 E SurfaceFlinger: uniform mat4 texture;
01-01 00:37:57.931 202 202 E SurfaceFlinger: void main(void) {
01-01 00:37:57.931 202 202 E SurfaceFlinger: gl_Position = projection * position;
01-01 00:37:57.931 202 202 E SurfaceFlinger: outTexCoords = (texture * texCoords).st;
01-01 00:37:57.931 202 202 E SurfaceFlinger: }
01-01 00:37:57.931 202 202 E SurfaceFlinger:
01-01 00:37:57.931 202 202 E SurfaceFlinger: Error while compiling shader:
01-01 00:37:57.931 202 202 E SurfaceFlinger: precision mediump float;
01-01 00:37:57.931 202 202 E SurfaceFlinger: uniform sampler2D sampler;
01-01 00:37:57.931 202 202 E SurfaceFlinger: varying vec2 outTexCoords;
01-01 00:37:57.931 202 202 E SurfaceFlinger: uniform float alphaPlane;
01-01 00:37:57.931 202 202 E SurfaceFlinger: void main(void) {
01-01 00:37:57.931 202 202 E SurfaceFlinger: gl_FragColor = texture2D(sampler, outTexCoords);
01-01 00:37:57.931 202 202 E SurfaceFlinger: gl_FragColor *= alphaPlane;
01-01 00:37:57.931 202 202 E SurfaceFlinger: }
01-01 00:37:57.931 202 202 E SurfaceFlinger:
01-01 00:37:57.932 202 202 E SurfaceFlinger: Error while linking shaders:
01-01 00:37:57.932 202 202 E SurfaceFlinger: Error while compiling shader:
01-01 00:37:57.932 202 202 E SurfaceFlinger: attribute vec4 texCoords;
01-01 00:37:57.932 202 202 E SurfaceFlinger: varying vec2 outTexCoords;
01-01 00:37:57.932 202 202 E SurfaceFlinger: attribute vec4 position;
01-01 00:38:00.740 216 216 W BootAnimation: type=1400 audit(0.0:9): avc: denied { write } for name="trace_marker" dev="tracefs" ino=118 sco
ntext=u:r:bootanim:s0 tcontext=u:object_r:debugfs_tracing:s0 tclass=file permissive=0
01-01 00:38:00.758 213 216 E cutils-trace: Error opening trace file: Permission denied (13)
01-01 00:38:00.946 213 216 I ARMAssembler: generated scanline__00000077:03010102_00000A01_00000000 [ 9 ipp] (30 ins) at [0xa83d41f0:0xa83d
4268] in 121000 ns
01-01 00:38:00.947 213 216 I ARMAssembler: generated scanline__00000077:03545402_00000A01_00000000 [ 31 ipp] (52 ins) at [0xa83d4270:0xa83d
4340] in 112500 ns

Outcomes