imx6q custom board Android6.01_2.1.0 stop at bootanimation with error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q custom board Android6.01_2.1.0 stop at bootanimation with error

1,295 Views
zhaozhao
Contributor III

hi all,

I am using imx6q custom board with lvds (1280*800), runing android 6.01_2.1.0.

Android system stop at 'android' bootanimation. Can anyone help me ?

 # cat /proc/version                                        
Linux version 4.1.15-00006-g76ac46c-dirty (mx@mx-MacBookPro) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #18 SMP PREEMPT Mon Jan 2 22:33:19 CST 2017

# cat /proc/cmdline                                    
console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.1.88:/data/root,v3,tcp rw ip=192.168.1.68 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video==mxcfb2:off video=mxcfb3:off vmalloc=320M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled

logcat :
--------- beginning of main
01-01 00:00:00.840   192   192 W auditd  : type=2000 audit(0.0:1): initialized
01-01 00:01:25.838   208   208 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
01-01 00:01:25.981   216   216 I lowmemorykiller: Using in-kernel low memory killer interface
--------- beginning of system
01-01 00:01:26.203   205   205 I vold    : Vold 3.0 (the awakening) firing up
01-01 00:01:26.203   205   205 V vold    : Detected support for: ext4 f2fs vfat
01-01 00:01:26.345   218   218 I SurfaceFlinger: SurfaceFlinger is starting
01-01 00:01:26.346   218   218 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
01-01 00:01:26.397   218   218 D libEGL  : loaded /system/lib/egl/libEGL_VIVANTE.so
01-01 00:01:26.503   218   218 D libEGL  : loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
01-01 00:01:27.489   218   218 D libEGL  : loaded /system/lib/egl/libGLESv2_VIVANTE.so
01-01 00:01:28.209   218   218 I imx6.gralloc: open gpu gralloc module!
01-01 00:01:28.216   218   218 I imx6.gralloc: fb_device_open dispid:0, fb:0
01-01 00:01:28.294   218   218 I imx6.gralloc: 32bpp setting of Framebuffer with RGBA8888 format!
01-01 00:01:28.294   218   218 W imx6.gralloc: using (fd=13)
01-01 00:01:28.294   218   218 W imx6.gralloc: id           = DISP3 BG - DI1
01-01 00:01:28.294   218   218 W imx6.gralloc: xres         = 1280 px
01-01 00:01:28.294   218   218 W imx6.gralloc: yres         = 800 px
01-01 00:01:28.294   218   218 W imx6.gralloc: xres_virtual = 1280 px
01-01 00:01:28.294   218   218 W imx6.gralloc: yres_virtual = 2400 px
01-01 00:01:28.294   218   218 W imx6.gralloc: bpp          = 32
01-01 00:01:28.294   218   218 W imx6.gralloc: r            =  0:8
01-01 00:01:28.294   218   218 W imx6.gralloc: g            =  8:8
01-01 00:01:28.294   218   218 W imx6.gralloc: b            = 16:8
01-01 00:01:28.294   218   218 W imx6.gralloc: width        = 203 mm (160.157639 dpi)
01-01 00:01:28.294   218   218 W imx6.gralloc: height       = 127 mm (160.000000 dpi)
01-01 00:01:28.294   218   218 W imx6.gralloc: refresh rate = 60.76 Hz
01-01 00:01:28.323   218   218 I FslHwcomposer: using fsl hwc!!!
01-01 00:01:28.323   218   218 I FslHwcomposer: hwc_device_open,567
01-01 00:01:28.323   218   218 I FslHwcomposer: using fsl hwc!
01-01 00:01:28.323   218   218 I FslHwcomposer: fb0 is ldb
01-01 00:01:28.323   218   218 I FslHwcomposer:  device
01-01 00:01:28.324   218   218 I FslHwcomposer: fb1 is overlay device
01-01 00:01:28.324   218   218 W FslHwcomposer: open /sys/class/graphics/fb2 failed
01-01 00:01:28.324   218   218 W FslHwcomposer: open /sys/class/graphics/fb3 failed
01-01 00:01:28.324   218   218 W FslHwcomposer: open /sys/class/graphics/fb4 failed
01-01 00:01:28.324   218   218 W FslHwcomposer: open /sys/class/graphics/fb5 failed
01-01 00:01:28.325   218   218 I FslHwcomposer: hwcomposer: open framebuffer fb0
01-01 00:01:28.325   218   218 I imx6.gralloc: fb_device_open dispid:0, fb:0
01-01 00:01:28.325   218   218 I imx6.gralloc: display already initialized...
01-01 00:01:28.325   218   218 I FslHwcomposer: hwc_device_open,426
01-01 00:01:28.325   218   218 I SurfaceFlinger: Using composer version 1.3
01-01 00:01:28.325   218   218 E FslHwcomposer: unknown display attribute 6
01-01 00:01:28.325   218   218 I SurfaceFlinger: connected
01-01 00:01:28.325   218   218 I SurfaceFlinger: numConfigs = 35
01-01 00:01:28.325   218   218 I SurfaceFlinger: numConfigs = 35
01-01 00:01:28.325   218   218 W SurfaceFlinger: no suitable EGLConfig found, trying a simpler query
01-01 00:01:28.325   218   218 I SurfaceFlinger: numConfigs = 35
01-01 00:01:28.325   218   218 I SurfaceFlinger: EGL information:
01-01 00:01:28.325   218   218 I SurfaceFlinger: vendor    : Android
01-01 00:01:28.325   218   218 I SurfaceFlinger: version   : 1.4 Android META-EGL
01-01 00:01:28.325   218   218 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_EXT_buffer_age
01-01 00:01:28.325   218   218 I SurfaceFlinger: Client API: OpenGL_ES
01-01 00:01:28.325   218   218 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0x15
01-01 00:01:28.399   218   218 I SurfaceFlinger: OpenGL ES informations:
01-01 00:01:28.399   218   218 I SurfaceFlinger: vendor    : Vivante Corporation
01-01 00:01:28.399   218   218 I SurfaceFlinger: renderer  : Vivante GC2000
01-01 00:01:28.399   218   218 I SurfaceFlinger: version   : OpenGL ES 3.0 V5.0.11.p8.41671
01-01 00:01:28.399   218   218 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32 GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_fragment_precision_high GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_EXT_frag_depth GL_EXT_discard_framebuffer GL_EXT_blend_minmax GL_EXT_multisampled_render_to_texture GL_EXT_robustness GL_VIV_direct_texture
01-01 00:01:28.399   218   218 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 8192
01-01 00:01:28.399   218   218 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 8064
01-01 00:01:28.400   218   218 E cutils-trace: Error opening trace file: Permission denied (13)
01-01 00:01:28.400   218   218 E libEGL  : eglSetSwapRectangleANDROID:1856 error 3008 (EGL_BAD_DISPLAY)
01-01 00:01:28.402   218   218 I imx6.gralloc: fb_device_open dispid:0, fb:0
01-01 00:01:28.402   218   218 I imx6.gralloc: display already initialized...
01-01 00:01:28.407   218   218 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xb6ae4000
01-01 00:01:28.458   218   218 I FslHwcomposer: prepare: targetHandle is null
01-01 00:01:29.038   218   218 D SurfaceFlinger: shader cache generated - 24 shaders in 580.400024 ms
01-01 00:01:29.062   254   259 D libEGL  : loaded /system/lib/egl/libEGL_VIVANTE.so
01-01 00:01:29.115   254   259 D libEGL  : loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
01-01 00:01:30.117   254   259 D libEGL  : loaded /system/lib/egl/libGLESv2_VIVANTE.so
01-01 00:01:30.861   254   259 E cutils-trace: Error opening trace file: Permission denied (13)
01-01 00:01:30.876   254   259 I imx6.gralloc: open gpu gralloc module!
01-01 00:01:30.878   218   244 E BufferQueueProducer: [BootAnimation] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count

Does eglSetSwapRectangleANDROID error cause this ? What I shoud do ?

Thanks!

0 Kudos
2 Replies

803 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Zhao,

     It seems that there something wrong with static IP setting, see following, please!

.......

setenv ipaddr 192.168.1.103
setenv serverip 192.168.1.102
setenv gateway 192.168.1.1
setenv ethaddr 00:04:9f:00:ea:d3
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_android 'setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 androidboot.hardware=freescale'
setenv bootargs_nfs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gateway}:${netmask}::eth0 off root=/dev/nfs nfsroot=${serverip}:${nfsroot}'
setenv bootargs_disp 'setenv bootargs ${bootargs} video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off fbmem=10M
vmalloc=400M'
setenv bootcmd_net 'run bootargs_base bootargs_android bootargs_nfs bootargs_disp;tftpboot ${loadaddr} uImage;bootm'

.......

Hope above information can help you!

Best Regards,

Weidong

0 Kudos

803 Views
zhaozhao
Contributor III

it is caused by nfs filesystem . I Write  android rom to sata disk, and it works .

But I still don't know why the nfs filesystem  don't work

Thanks all

0 Kudos