imx6sl Eink屏幕uboot显示问题

Document created by kangzhikuan on Jul 10, 2016
Version 1Show Document
  • View in full screen mode

我们目前用的是Eink的9.7寸屏幕,打上freeescale 提供的uboot的patch之后发现默认是6寸屏,于是修改了timing,如下:

short lcd_cmap[256];
vidinfo_t panel_info = {
        .vl_refresh = 85,
        .vl_col = 1200,
        .vl_row = 825,
        .vl_pixclock = 32000000,
        .vl_left_margin = 12,
        .vl_right_margin = 128,
        .vl_upper_margin = 4,
        .vl_lower_margin = 10,
        .vl_hsync = 20,
        .vl_vsync = 4,
        .vl_sync = 0,
        .vl_mode = 0,
        .vl_flag = 0,
        .vl_bpix = 3,
        .cmap = (void *)lcd_cmap,
};

struct epdc_timing_params panel_timings = {
        .vscan_holdoff = 8,
        .sdoed_width = 10,
        .sdoed_delay = 20,
        .sdoez_width = 10,
        .sdoez_delay = 20,
        .gdclk_hp_offs = 632,
        .gdsp_offs = 20,
        .gdoe_offs = 0,
        .gdclk_offs = 1,
        .num_ce = 3,
};

现在屏幕要进行四次全刷之后黑屏,全刷过程中可以看到logo,刷完就没有了,不知道还有些什么地方需要修改,求指导

Attachments

    Outcomes