2011-11-02 —— Prima —— 进入 EBOOT 后就显示 Logo

1)在 Splash.c (c:\wince600\platform\tt4x0bd\src\bootloader\eboot)中的函数修改成以下:
OALSYSINFO g_oalSysInfo;
#define EBOOT_LCD_FRAM_UNBUF_VIRT_ADDR 0xAC100000

void BspEbootDrawSplashWindow()
{
#if 0
DrvLibLcdSplashScreen(LCD_FRAME_BUF_VIRT_ADDR, LogoBitmap);
#else
g_oalSysInfo.displayInfo.bHasVip = TRUE;
g_oalSysInfo.displayInfo.dwLcdDevId = _ATLAS_LCD_PANEL;
g_oalSysInfo.displayInfo.dwWidth = DISPLAY_WIDTH;
g_oalSysInfo.displayInfo.dwHeight = DISPLAY_HEIGHT;
g_oalSysInfo.displayInfo.dwDepth = DISPLAY_DEPTH/8; // It does not work.
g_oalSysInfo.displayInfo.dwPadPins = 16;
//g_oalSysInfo.displayInfo.dwBacklightPwm = 5;

DrvLibLcdSplashScreen(EBOOT_LCD_FRAM_UNBUF_VIRT_ADDR, (unsigned char *)EBOOT_LCD_FRAM_UNBUF_VIRT_ADDR);

#endif
}

2)保证该函数能够执行到:

在 BspFunc.c (c:\wince600\platform\tt4x0bd\src\bootloader\eboot)中把 BspEbootSupportSplash() 的返回值从 FALSE 改成 TRUE

BOOL BspEbootSupportSplash()
{
EdbgOutputDebugString("========== FD EBOOT Logo Test ===============\r\n");
return TRUE;
}

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页