u-boot里LCD能显示自己做的图片,但是到内核起来后,LCD直接黑了,但/dev/fb0存在,24bpp,文件修改如下:
static const struct display_panel disp_panel = {
WVGA,
32,
24, COLOR_ACTIVE,
};
/* LCD backlight platform Data *///////////////hhadd////////////
/*#define AM335X_BACKLIGHT_MAX_BRIGHTNESS 100
#define AM335X_BACKLIGHT_DEFAULT_BRIGHTNESS 100
#define AM335X_PWM_PERIOD_NANO_SECONDS (5000 * 10)*/
static struct lcd_ctrl_config lcd_cfg = {
&disp_panel,
.ac_bias = 255,
.ac_bias_intrpt = 0,
.dma_burst_sz = 16,
.bpp = 24, .fdd = 0x80,
.tft_alt_mode = 0,
.stn_565_mode = 0,
.mono_8bit_mode = 0,
.invert_line_clock = 1,
.invert_frm_clock = 1,
.sync_edge = 0,
.sync_ctrl = 1,
.raster_order = 0,
};
struct da8xx_lcdc_platform_data hc6105_lcd_pdata = {
.manu_name = "HC6105DVI",
.controller_data = &lcd_cfg,
.type = "HC6105DVI-1024×768",
};
[4] = {
.name = "HC6105DVI-1024×768",
.width = 800,
.height = 480,
.hfp = 210,
.hbp = 46,
.hsw = 32,
.vfp = 22,
.vbp = 23,
.vsw = 4,
.pxl_clk = 30000000,
.invert_pxl_clk = 0,
},
屏的参数如下:
user4478311:
求高手解决