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.