U-Boot splash on 7" lcd garbled

Discussion in 'Troubleshooting' started by w4kpm, Apr 8, 2014.

  1. w4kpm

    w4kpm New Member

    Joined:
    Apr 8, 2014
    Messages:
    1
    Likes Received:
    0
    This is a pretty minor problem, but it would be nice if it worked.

    The splash image on the 7" lcd is garbled - you can kinda make out the UDOO logo, but it's obvious syncing isn't working. It only tries to display if you don't have HDMI hooked up.

    All works well after the linux kernel takes over.

    I d/l the source for U-Boot and played with the timing parameters for LDB-WVGA - but never got anywhere :

    If you boot into linux and run setfb with no options you get the timings that are currently on the fb0

    mode "800x480-60"
    # D: 33.267 MHz, H: 31.503 kHz, V: 60.005 Hz
    geometry 800 480 800 960 32
    timings 30060 56 50 23 20 150 2
    rgba 8/16,8/8,8/0,8/24
    endmode

    but these didn't work when I put them into the U-Boot source

    Code:
    {
            .bus    = -1,
            .addr   = -1,
            .pixfmt = IPU_PIX_FMT_RGB666,
            .detect = detect_lvds,
            .enable = do_enable_lvds,
            .mode   = {
    		// Rif. 800x480 Panel UMSH-8596MD-20T
    		// To activate write "setenv panel LDB-WVGA" or leave empty.
    		.name           = "LDB-WVGA",
    		.refresh        = 60,
    		.xres           = 800,
    		.yres           = 480,
    		.pixclock       = 30060,
    		.left_margin    = 56,
    		.right_margin   = 50,
    		.upper_margin   = 23,
    		.lower_margin   = 20,
    		.hsync_len      = 150,
    		.vsync_len      = 2,
    		.sync           = 0,
    		.vmode          = FB_VMODE_NONINTERLACED
    } }
    
    Any ideas?

    Thanks!
     
  2. pquinton

    pquinton New Member

    Joined:
    Jul 8, 2014
    Messages:
    5
    Likes Received:
    0
    I'm getting a garbled splash and X-Windows screen as well. Did your look like this?

    Text mode ( during boot ) looks fine.. just graphics...



    Thanks,
    Phil.
     

    Attached Files:

Share This Page