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.

How to change the resolution of screen to 1366x768 on displaying uboot boot logo



Hi,

I have modified some source codes to change the resolution of screen as to 1366x768 in order to display boot logo image.

But when booting up, I can see that boot logo image is very flickering and the logo image moves up and down.

My question is "1366x768 resolution can be used or support when uboot display boot logo image?".

If yes, how can I set the correct values up such as config->n, m, m2 or the parameters of ti814x_vps_configure_venc() function ?"

And if there are more values to be set up, please let me know what values or routines are needed? 

My work is below.

I added some codes in u-boot-2010.06-psp04.04.00.01\drivers\video\ti814x_logo.c file.

static int ti814x_pll_get_dividers(u32 req_out_clk, int hdmi,
struct pll_config_t* config)
{

...

    else if(req_out_clk == 76300000) {
        config->n = 19;
        config->m = 763;
        config->m2 = 10;
        config->clk_ctrl = 0x20020801;

...

}

static int ti814x_set_mode(int dispno,int xres, int yres)
{

...

#elif defined CONFIG_768P

    /*modeline "1366x768" 76.30 1366 1414 1446 1610 768 771 776 790 -hsync -vsync*/
    if (ti814x_pll_config_hdmi(76300000) == -1)
        return -1;
    ti814x_hdmi_enable(76300000);
    ti814x_vps_configure_venc(VPS_REG_BASE + 0x6000, 1366, 1414, 1446, 1610,
            768, 771, 776, 790, 0, 1, 1);
    ti814x_vps_configure_venc(VPS_REG_BASE + 0xA000, 1366, 1414, 1446, 1610,
        768, 771, 776, 790, 0, 1, 1);

...

}

and I added resolution define in u-boot-2010.06-psp04.04.00.01\include\logo.h file.

#elif defined CONFIG_720P
#define WIDTH 1280
#define HEIGHT 720
+#elif defined CONFIG_768P
+#define WIDTH 1366
+#define HEIGHT 768
#else
#define WIDTH 1920
#define HEIGHT 1080


  • Hi,

    We had faced similar issue when we added 640x480 resolution for our boot logo. Kindly refer U-Boot code mentioned below

    http://arago-project.org/git/projects/?p=u-boot-dvr-rdk-dm81xx.git;a=shortlog;h=refs/heads/dvrrdk_uboot_rel_03.50.00.05

    Please have a look at u-boot-dvr-rdk\common\cmd_logo_814x.c and logo_814x.h

    We had found issues in while calling ti810x_dispmgr_create_grpx_conf_descriptor() for descriptor addresses and payload buffer offsets.

  • Hello,

    Can anyone assist on displaying logo on DVO2 LCD?

    I can display images without any issues on linux ?

    But in u-boot it does not work...

    1. my timing are as following:

    echo 6500,240/1/22/2,320/2/1/1,1 > /sys/devices/platform/vpss/display1/timings

    I am using default 512M memory map, but I'm not sure that the address for VPDMA is 

    <VPDMA Descriptor address> 0xBFDD0000 becuase on build I get the following text from which I calculate:

    so 0xc0000000 - 1M-2M-2M-2M = 0xbf900000  != 0xBFDD0000 

    So why does application note shows 0xBFDD0000 for dm814x ?

    3. these are the changes:

    #define WIDTH 240

    #define HEIGHT 320

    ...

    #undef CONFIG_I2C    <-- i2c init is done elsewhere and was validated (lcd is ready)

    //ti810x_control_pinmux();  <-- pinmux is done once for all pins in u-boot - but not again here !

    ti810x_pll_config_hdmi(6500000);  <--- is it required to be changed ???
    ti810x_hdmi_enable(6500000); <--- is it required to be changed ???

    /* LCD pixel clock 6.5 MHz */
    ti810x_pll_config_dvo2(6500000);   <<--- 6.5M pixelclock (same as in linux)
    pll_write32(PLL_VIDEO2_PINMUX, 0);


    ti810x_vps_configure_venc(0x6000, 240, 241, 243, 265, 320, 322, 323, 324, 0, 1, 1,cmd);  <-- do I need to change hdmi timing to be the same as dvo2 ??
    ti810x_vps_configure_venc(0x8000, 240, 241, 243, 265, 320, 322, 323, 324, 0, 1, 1,cmd); <-- do I need to change hdmi timing to be the same as dvo2 ??
    /** DVO2 **/
    //echo 6500,240/1/22/2,320/2/1/1,1 > /sys/devices/platform/vpss/display1/timings
    ti810x_vps_configure_venc(0xA000, 240, 241, 243, 265, 320, 322, 323, 324, 0, 1, 1,cmd); <-- smae timing for dvo2, including invert, as in linux (above)

    ...

    Can anyone Please assist ?

    Thanks,

    Ran