|
发表于 2018-6-11 14:10:12
只看该作者
地板
请修改如下补丁,然后重新烧录loader文件
--- a/u-boot/drivers/video/screen/lcd_mipi.c
+++ b/u-boot/drivers/video/screen/lcd_mipi.c
@@ -560,7 +560,7 @@ EXPORT_SYMBOL(rk_mipi_get_dsi_clk);
static int rk_mipi_screen_init_dt(struct mipi_screen *screen)
{
struct mipi_dcs_cmd_ctr_list *dcs_cmd;
- u32 i,cmds[20];
+ u32 i,cmds[300];
int length;
int err;
int node;
diff --git a/u-boot/drivers/video/transmitter/mipi_dsi.h b/u-boot/drivers/video/transmitter/mipi_dsi.h
old mode 100755
new mode 100644
index f4d77a0..4a110cf
--- a/u-boot/drivers/video/transmitter/mipi_dsi.h
+++ b/u-boot/drivers/video/transmitter/mipi_dsi.h
@@ -260,7 +260,7 @@ struct dcs_cmd {
u8 dtype;
u8 dsi_id;
u8 cmd_len;
- int cmds[32];
+ int cmds[300];
int delay;
char name[32];
}; |
|