dm365 leopard 的电路板, uboot 是1.5的,在弄uboot下logo,看代码需要在video_init()里面实现video_hw_init,请问有人做过么?希望前辈指点一二,谢谢谢谢。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
dm365 leopard 的电路板, uboot 是1.5的,在弄uboot下logo,看代码需要在video_init()里面实现video_hw_init,请问有人做过么?希望前辈指点一二,谢谢谢谢。
请问是参考这个帖子最后的链接中的.gel文件吗?我看里面是配置了几个vpss的寄存器,但video_hw_init函数似乎应该更复杂些?根据函数调用关系,到video_init下,如下代码:
static int video_init (void)
{
printf ("enter video_init function...\n");
unsigned char color8;
if ((pGD = video_hw_init ()) == NULL)
return -1;
video_fb_address = (void *) VIDEO_FB_ADRS;
#ifdef CONFIG_VIDEO_HW_CURSOR
video_init_hw_cursor (VIDEO_FONT_WIDTH, VIDEO_FONT_HEIGHT);
#endif
/* Init drawing pats */
.......
video_hw_init()需要自己实现,然后返回Graphic Device类型的指针,这个pGD要填一些参数,比如VIDEO_FB_ADRS等,我找datasheet没有找到这些值,help~thank you .