iMX6Q - splash screen issue in u-boot

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

iMX6Q - splash screen issue in u-boot

3,370 Views
rickchu
Contributor IV

Hi,

I have enabled splash screen support in u-boot. The splash screen can display correct on my LCD (LVDS interface based), but it looks like have fog over image (reference with attach picture).

Is it possible caused by IPU setting? Any advise is appreciated.

Rick

IMG_1029.JPG.jpg

Labels (3)
0 Kudos
Reply
7 Replies

1,569 Views
fabio_estevam
NXP Employee
NXP Employee

I would suggest you to try the mainline U-boot. It does provide support for splash via HDMI or LVDS on sabresd boards.

0 Kudos
Reply

1,569 Views
SergioSolis
NXP Employee
NXP Employee

Hello Rick,

Are you using a Freescale i.MX6 board?, right after the splash screen are you able to see the OS correctly, or is it still foggy?

0 Kudos
Reply

1,569 Views
rickchu
Contributor IV

Its our hardware platform not SABRESD board; and the screen become normal after jump to kernel image.

In u-boot, I modify panel configuration same as kernel and then enable splash screen support, but got foggy screen in u-boot.

Have no idea why this issue happened?

----> mx6q_sabresd.c

static struct fb_videomode lvds_wxga = {

  "WXGA", // *name

  60, // refresh

  1024, 600, // xres, yres

  19531, // pixclock

  160, // left_margin

  160, // right_margin

  18, // upper_margin

  18, // lower_margin

  160, // hsync_len

  18, // vsync_len

  FB_SYNC_EXT, // sync

  FB_VMODE_NONINTERLACED, // vmode

  0, // flag

};

ret = ipuv3_fb_init(&lvds_wxga, di, IPU_PIX_FMT_RGB24,

  DI_PCLK_LDB, 65000000);

----> mx6q_sabresd.h

#define CONFIG_SPLASH_SCREEN

#ifdef CONFIG_SPLASH_SCREEN

  /*

  * Framebuffer and LCD

  */

  #define CONFIG_LCD

  #define CONFIG_IPU_V3H

  #define CONFIG_VIDEO_MX5

  #define CONFIG_IPU_CLKRATE 260000000

  #define CONFIG_SYS_CONSOLE_ENV_OVERWRITE

  #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE

  #define CONFIG_SYS_CONSOLE_IS_IN_ENV

  #define LCD_BPP LCD_COLOR16

  #define CONFIG_CMD_BMP

  #define CONFIG_BMP_8BPP

// #define CONFIG_BMP_16BPP

//    #define CONFIG_BMP_24BPP

  #define CONFIG_FB_BASE (TEXT_BASE + 0x300000)

  #define CONFIG_SPLASH_SCREEN_ALIGN

  #define CONFIG_SYS_WHITE_ON_BLACK

  #define CONFIG_IMX_PWM

  #define IMX_PWM1_BASE    PWM1_BASE_ADDR

  #define IMX_PWM2_BASE    PWM2_BASE_ADDR

#endif

----> mx6q_sabresd_android.h

#defineCONFIG_EXTRA_ENV_SETTINGS\
"netdev=eth0\0"\
"ethprime=FEC0\0"\
"splashimage=0x30000000\0"\
"splashpos=m,m\0"\
"lvds_num=0\0"

#endif

0 Kudos
Reply

1,569 Views
oppoman
Contributor I

I know this is a shot in the dark, but were ever you able to figure this out? I'm running into the exact same scenario...

0 Kudos
Reply

1,569 Views
oppoman
Contributor I

I figured out my problem.  It was due to the wrong color space being used for the display initialization, I was using 16bit instead of 24. 

Basically the alpha channels were getting screwed up during display.

0 Kudos
Reply

1,569 Views
Babu
Contributor I

Hello Rick,

can you post complete procedure how you have enabled splash screen in u-boot including frame buffer driver . i am using imx6q sabreauto board.

Thank you

Babu A

0 Kudos
Reply

1,569 Views
rickchu
Contributor IV

Hi Babu,

Our hardware was referenced with iMX6Q Sabresd board; and splash screen with LVDS has included with original u-boot source codes.

I just changed LVDS output port and different LCD parameters to accord our hardware.

I didn't know what's different between Sabresd and Sabreauto borad, you may need to create an new topic in freescale discuss forum for help.

Rick

0 Kudos
Reply