bootloader与kernel的对比
bootable/bootloader/lk/dev/gcdb/display/include/panel_st7785m_wvga_video.h
kernel/msm-3.18/arch/arm/boot/dts/P322/dsi-panel-st7785m-video.dtsi
第一行的四个数值除了0x03,需要改动,后面的0x00, 0x29, 0xC0 都默认参数
static char st7785m_wvga_video_on_cmd0[] = {
0x03, 0x00, 0x29, 0xC0,
0x36, 0x00, 0x00, 0xFF,
};
mipi_dsi_cmd | struct mipi_dsi_cmd { uint32_t size; char *payload; int wait; }; bootable/bootloader/lk/platform/msm_shared/include/mipi_dsi.h |
video_on_command | static struct mipi_dsi_cmd st7785m_wvga_video_on_command[] = { {0x08 , st7785m_wvga_video_on_cmd0, 0x00}, {0x08 , st7785m_wv bootable/bootloader/lk/dev/gcdb/display/include/panel_st7785m_wvga_video.h |