JB4.2.2_1.1.0,this is my kernel log.
W/imx6.gralloc( 2427): id = DISP3 BG
W/imx6.gralloc( 2427): xres = 1024 px
W/imx6.gralloc( 2427): yres = 768 px
W/imx6.gralloc( 2427): xres_virtual = 1024 px
W/imx6.gralloc( 2427): yres_virtual = 2304 px
W/imx6.gralloc( 2427): bpp = 32
W/imx6.gralloc( 2427): r = 0:8
W/imx6.gralloc( 2427): g = 8:8
W/imx6.gralloc( 2427): b = 16:8
W/imx6.gralloc( 2427): width = 163 mm (159.568100 dpi)
W/imx6.gralloc( 2427): height = 122 mm (159.895081 dpi)
W/imx6.gralloc( 2427): refresh rate = 60.00 Hz
I/FslHwcomposer( 2427): fb0 is ldb
I/FslHwcomposer( 2427): device
I/FslHwcomposer( 2427): fb1 is overlay device
W/FslHwcomposer( 2427): open /sys/class/graphics/fb2 failed
W/FslHwcomposer( 2427): open /sys/class/graphics/fb3 failed
W/FslHwcomposer( 2427): open /sys/class/graphics/fb4 failed
W/FslHwcomposer( 2427): open /sys/class/graphics/fb5 failed
I/FslHwcomposer( 2427): hwcomposer: open framebuffer fb0
I/mediaserver( 2430): ServiceManager: 0x418d7000
I/AudioFlinger( 2430): Using default 3000 mSec as standby time.
I/CameraService( 2430): CameraService started (pid=2430)
W/v_hwc ( 2427): TODO: HWC integration: display!
I/v_hwc ( 2427): Default primary display
I/v_hwc ( 2427): xres = 1024 px
I/v_hwc ( 2427): yres = 768 px
I/v_hwc ( 2427): xdpi = 159.6 dpi
I/v_hwc ( 2427): ydpi = 159.9 dpi
I/v_hwc ( 2427): refresh rate = 60.0 Hz
E/v_hwc ( 2427): open /dev/graphics/fb2 failed
I/v_hwc ( 2427): Virtual display 0 initialized.
I/v_hwc ( 2427): Vivante HWComposer v2.4
I/v_hwc ( 2427): Device: 0x41c0f2a0
I/v_hwc ( 2427): Separated 2D: YES
I/v_hwc ( 2427): 2D PE20: YES
I/v_hwc ( 2427): Multi-source blit: NO
I/v_hwc ( 2427): Multi-source blit Ex: NO
I/v_hwc ( 2427): OPF/YUV blit/Tiling : NO
I/v_hwc ( 2427): Filter stretch : YES
I/FslHwcomposer( 2427): hwc_device_open,367
I/SurfaceFlinger( 2427): Using composer version 1.1
W/SurfaceFlinger( 2427): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
I/FslCameraHAL( 2430): Face Back Camera is ov5640_mipi, orient is 0
I/FslCameraHAL( 2430): Face Front Camera is mt9d115_csi_camera, orient is 0
I/FslCameraHAL( 2430): Checking the camera ov5640_mipi
I/FslCameraHAL( 2430): Checking the camera mt9d115_csi_camera
E/SurfaceFlinger( 2427): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 2427): HWComposer: framebufferTarget is null
W/GraphicBufferAllocator( 2427): WOW! gralloc alloc failed, waiting for pending frees!
E/SurfaceFlinger( 2427): HWComposer: framebufferTarget is null
E/SurfaceFlinger( 2427): HWComposer: framebufferTarget is null
E/libEGL ( 2427): eglSetSwapRectangleANDROID:1318 error 3008 (EGL_BAD_DISPLAY)
I/SurfaceFlinger( 2427): EGL informations:
I/SurfaceFlinger( 2427): vendor : Android
I/SurfaceFlinger( 2427): version : 1.4 Android META-EGL
I/SurfaceFlinger( 2427): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 2427): Client API: OpenGL_ES
I/SurfaceFlinger( 2427): EGLSurface: 8-8-8-8, config=0x408d1d38
I/SurfaceFlinger( 2427): OpenGL ES informations:
I/SurfaceFlinger( 2427): vendor : Vivante Corporation
I/SurfaceFlinger( 2427): renderer : GC880 Graphics Engine
I/SurfaceFlinger( 2427): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 2427): extensions: GL_EXT_debug_marker GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_byte_coordinates GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_extended_matrix_palette GL_OES_fixed_point GL_OES_framebuffer_object GL_OES_matrix_get GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite GL_OES_query_matrix GL_OES_read_format GL_OES_single_precision GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_mirrored_repeat GL_OES_EGL_image GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil1 GL_OES_stencil4 GL_OES_stencil8 GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_user_clip_plane GL_APPLE_texture_2D_limited_npot GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_OES_EGL_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_te
I/SurfaceFlinger( 2427): GL_MAX_TEXTURE_SIZE = 8192
I/SurfaceFlinger( 2427): GL_MAX_VIEWPORT_DIMS = 8192 x 8192
I/AudioPolicyManagerBase( 2430): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/audio_hw_primary( 2430): card 0, id wm8962audio ,driver wm8962-audio, name wm8962-audio
W/audio_hw_primary( 2430): out rate 44100
W/audio_hw_primary( 2430): in rate 44100, channels 1 format 0
D/SurfaceFlinger( 2427): Screen acquired, type=0 flinger=0x41c0e318
I/AudioFlinger( 2430): loadHwModule() Loaded primary audio interface from Freescale i.MX Audio HW HAL (audio) handle 1
W/audio_hw_primary( 2430): open output stream devices 2, format 1, channels 3, sample_rate 44100, flag 2
W/audio_hw_primary( 2430): opened out stream...1075390832
I/AudioFlinger( 2430): HAL output buffer size 192 frames, normal mix buffer size 768 frames
I/AudioMixer( 2430): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/MonoPipe( 2430): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
D/libEGL ( 2653): loaded /system/lib/egl/libEGL_VIVANTE.so
D/libEGL ( 2653): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
D/libEGL ( 2653): loaded /system/lib/egl/libGLESv2_VIVANTE.so
E/BufferQueue( 2427): [BootAnimation] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
E/BootAnimation( 2653): [aaron]:**********add for test
no,
we have two logo,one is uboot logo,the other is the android logo,however when the uboot logo turn to be android logo,the screen has a flash which is so ungainly,can you tell me how to deal with it????
yes,lvds_num=0,but did that relation to the ipu di? I think the ipu dix can transform for lvds0 and lvds1. did this right?
i was use JB4.2.2 .and what's the meaning of display config?
static struct fb_videomode ldb_modedb[] = {
{
"LDB-PAT215", 60, 1024, 768,15385,
240, 48,
23, 3,
32, 12,
0 ,
FB_VMODE_NONINTERLACED,
FB_MODE_IS_DETAILED,},
};
is this?
The LVDS0 example had been given in Patch to support uboot logo keep from uboot to kernel to Android for JB4.2.2_1.1.0-GA and L3.0.35_4....
Verified on both iMX6DQ and iMX6DL boards.
Dear li:
I find when i ptach your patch,it will stop at do_register_framebuffer
fb_notifier_call_chain(FB_EVENT_FB_REGISTERED, &event);
and previous my colleague delete this code. she has resigned. i don't know how she did that,
so i porting her code to my project. but my has ipu warning.
Dear li:
打了你的patch无法显示,我这边把所有之前和现在的patch全部拿掉,结果发现还是会出现ipu_warning.但是概率有所下降。
具体发现ipu_warning发生的地方是在:
mxcfb_set_par中的4.4——4.5之间
printk("[4]\n");
ipu_clear_irq(mxc_fbi->ipu, mxc_fbi->ipu_ch_irq);
printk("[4.1]\n");
ipu_disable_irq(mxc_fbi->ipu, mxc_fbi->ipu_ch_irq);
printk("[4.2]\n");
ipu_clear_irq(mxc_fbi->ipu, mxc_fbi->ipu_ch_nf_irq);
printk("[4.3]\n");
ipu_disable_irq(mxc_fbi->ipu, mxc_fbi->ipu_ch_nf_irq);
printk("[4.4]\n");
ipu_disable_channel(mxc_fbi->ipu, mxc_fbi->ipu_ch, true);
printk("[4.5]\n");
ipu_uninit_channel(mxc_fbi->ipu, mxc_fbi->ipu_ch);
printk("[5.]\n");
所以我觉得和我打得patch应该是没什么关系吧?不知道您之前是否遇到过类似的问题?