IMX6dl show uboot logo to kernel splash screen when change logo to android.

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6dl show uboot logo to kernel splash screen when change logo to android.

Jump to solution
5,932 Views
尚飞汤
Contributor IV

can anyone tell me how to slove??? i have do the patch of freescale.

Labels (1)
0 Kudos
1 Solution
652 Views
尚飞汤
Contributor IV

嗨,li,现在的现象看来应该不是我打得patch问题,是否有其他模块干扰到display部分的可能呢?

View solution in original post

43 Replies
474 Views
jimmychan
NXP TechSupport
NXP TechSupport

sorry, I don't understand. which logo you want to change?

0 Kudos
474 Views
尚飞汤
Contributor IV

i have changed the logo,and follow freescale's patch keep uboot logo to kernel.however, when show to the android logo(which we called third logo),the screen has a splash.

now,do understand?

0 Kudos
474 Views
jimmychan
NXP TechSupport
NXP TechSupport

which bsp are you using?

0 Kudos
474 Views
尚飞汤
Contributor IV

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

0 Kudos
474 Views
jimmychan
NXP TechSupport
NXP TechSupport

So, you want to keep the 'Android' logo? or not?

if not, please try to remove the bootanimation in the init.rc.

0 Kudos
474 Views
尚飞汤
Contributor IV

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????

0 Kudos
474 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

The issue should be caused by your modification on the patch, please list your modifications.

0 Kudos
466 Views
尚飞汤
Contributor IV

Dear li:

     i attempt to change the patch to yours,but i find it is hold on the     kernel start........,can you give some tips?

they say that you are the master of this part .

0 Kudos
466 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

What's your display config? LVDS panel on LVDS port 0? Are you use JB4.2.2 BSP?

0 Kudos
466 Views
尚飞汤
Contributor IV

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?

0 Kudos
466 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

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.

0 Kudos
466 Views
尚飞汤
Contributor IV

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.

0 Kudos
466 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

You should not change that code.

0 Kudos
466 Views
尚飞汤
Contributor IV

嗨,Dear Li,porting了你给的uboot里面的代码,修改了LVDS_NUM=0;DISP_NUM=0;但是屏幕一直黑屏,量取了信号,发现信号线没有信号出来,其他时钟电压都是ok的,请问是否是因为该patch不支持LVDS0的配置?

0 Kudos
466 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

LVDS0的例子也已经给了,porting的工作都不需要了,你只要直接打patch,然后修改你们的LVDS屏用的timing参数就可以了。

0 Kudos
466 Views
尚飞汤
Contributor IV

嗨 li,我研究了你的patch,看你的patch在uboot里面应该默认就是支持LVDS1的吧,但是我这边是需要支持LVDS0,所以我顺便改了相应LVDS_NUM=0;DISP_NUM=0,应该是ok的吧,但是开启之后一直黑屏,所以想讨教下是否还需要改什么别的参数。

0 Kudos
466 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

只要uboot头文件改LVDS_NUM=0;DISP_NUM=0,然后kernel编译时,也选成CONFIG_MX6_CLK_FOR_BOOTUI_TRANS_LVDS_IPU1_DI0,就好了。

0 Kudos
466 Views
尚飞汤
Contributor IV

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应该是没什么关系吧?不知道您之前是否遇到过类似的问题?

0 Kudos
466 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

请确保display和IPU相关的代码恢复到原始的BSP,再来测试。

或者你有Freescale开发板的话,最好现在开发板上试试在,针对你这个LVDS0的用法,我特地做了一个CONFIG_MX6_CLK_FOR_BOOTUI_TRANS_LVDS_IPU1_DI0的例子,都测试过没问题了。

0 Kudos
653 Views
尚飞汤
Contributor IV

嗨,li,现在的现象看来应该不是我打得patch问题,是否有其他模块干扰到display部分的可能呢?

View solution in original post