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.

uboot 8168 1024x768 DVO support

I use DVRRDK_04.01.00.02 and u-boot-dvr-rdk

The default uboot logo works find, on 640x480 HDMI mode.

I must use 1024x768 XGA mode.

So I change "common/cmd_logo_816x.c"

=== FROM ===

/* Configure HDMI and HDDDAC VENCs for 640 x 480 @ 60 */

configVenc(0x6000, 0x2, argv[0], 640, 16, 48, 96, 480, 9, 34, 2);

configVenc(0x8000, 0x0, argv[0], 640, 16, 48, 96, 480, 9, 34, 2);                                     

configVenc(0xA000, 0x1, argv[0], 640, 16, 48, 96, 480, 9, 34, 2);    

=== TO ===

/* Configure HDMI and HDDDAC VENCs for 1024 x 768 @ 60 */

configVenc(0x6000, 0x2, argv[0], 1024,24,160,136, 768, 3, 29, 6);

configVenc(0x8000, 0x0, argv[0], 1024,24,160,136, 768, 3, 29, 6);

configVenc(0xA000, 0x1, argv[0], 1024,24,160,136, 768, 3, 29, 6);

for the pixel clock setting for resolution, and I must change PLL clock from 27.2MHz to 65MHz

at the function

void HdVpss_VencD7425_VencA7425(void)

{

    WR_MEM_32(CM_CLKOUT_CTRL, 0x0); 

    VideoPLL(0x6E, 0x2, 0xB, 0x0, 0x5, 0xF, 0xB6DB6D, 0x1E, 0xF, 0xB6DB6D, 0x1E, 0x0, 0x0);

}

How can I set PLL clock to 64MHz on VideoPLL(.XX.XXX.XXX) ?

Best Regards

Larry..