Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Sep 2007 10:07 PM by  paulc@logicpd.com
linux on SHARP LH79524 with 6.4 LCD
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
pro@elara.ru
New Member
New Member
Posts:


--
20 Mar 2007 01:13 AM
    Good day.
    We have problem with SAHRP MCU and Linux.
    We have:
    SHARP LH79524
    bsp-sharplh7-1.2.9.iso, downloaded from sharpsma.com
    knoppix 3.6
    6.4" Sharp LCD
    We want to build kernel whith 6.4" LCD support.

    We modify the existing LQ035 driver to
    support the LQ064 display by changing LQ035 structures.static struct

    clcd_panel sharp_lq035q7db02 = {
    .mode = {
    // .name = "3.5in QVGA",
    .name = "6.4in QVGA",
    .refresh = 0,
    .xres = 640,
    .yres = 480,
    .pixclock = HCLK/4,
    .left_margin = 89, /* 21 */
    .right_margin = 50, /* 11 */
    .upper_margin = 18, /* 3 */
    .lower_margin = 94, /* 4 */
    .hsync_len = 14, /* 13 */
    .vsync_len = 17,
    .sync = FB_SYNC_VERT_HIGH_ACT,
    .vmode = FB_VMODE_NONINTERLACED,
    },
    .width = -1,
    .height = -1,
    // .tim2 = TIM2_IPC | TIM2_BCD, // (HCLK/(HCLK/8) - 2),
    .tim2 = TIM2_IPC | (HCLK/(HCLK/8) - 2),
    .cntl = CNTL_LCDTFT | CNTL_WATERMARK,
    .bpp = 16,
    };

    And we changed buffer value (set 640*480*16/8)

    But LCD still not works. During and after loading display is shimmering. There is nothing can be seen on it.

    What we do wrong? Maybe is's not enough?
    Thanks.
    paulc@logicpd.com
    New Member
    New Member
    Posts:


    --
    27 Sep 2007 10:07 PM
    you can initialize the LCD controller in LoLo with the "video-open" command and disable the initialization in Linux. Other option is to init the display in lolo with video-open and dump the settings from the LCD registers using the "x" command and use those known good settings in Linux
    You are not authorized to post a reply.