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
| #define | CONFIG_EXTRA_ENV_SETTINGS | | | | | \ |
| | "netdev=eth0\0" | | | | | | \ |
| | "ethprime=FEC0\0" | | | | | \ |
| | "splashimage=0x30000000\0" | | | | \ |
| | "splashpos=m,m\0" | | | | | \ |
| | "lvds_num=0\0" |
#endif