目前烧写官方提供的镜像烧写后启动时默认的屏幕为LCD屏,分辨率1024x600,部分客户需要默认启动其他类型的屏幕,故将修改方法总结如下: 4.1.15: 修改 uboot-2016/include/configs/mx6sabre_common.h 修改约P74: #define MXC_FB0 "mxcfb0=video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB24,bpp=16,int_clk\0" LVDS屏改为: #define MXC_FB0 "mxcfb0=video=mxcfb0:dev=ldb,LDB-WXGA,if=RGB24,bpp=16,int_clk\0" HDMI屏改为: #define MXC_FB0 "mxcfb0=video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16\0" mipi屏改为: #define MXC_FB0 "mxcfb0=video=mxcfb0:dev=mipi_dsi,TRULY-EK79007-WVGA,if=RGB24,bpp=16\0" 约P154: #define CONFIG_EXTRA_ENV_SETTINGS \ CONFIG_MFG_ENV_SETTINGS \ MXC_FB0 \ MXC_FB1 \ LDBMODE \ 后加: "panel=TRULY-EK79007-WVGA\0" \ 注:mipi屏与其他屏幕不同,有两处修改 3.0.35: vi uboot2009/include/configs/mx6q_sabresd.h(6dl则修改mx6dl_sabresd.h P73) 约P68: //#define CONFIG_UBOOT_KERNEL_LVDS #define CONFIG_UBOOT_KERNEL_LCD //#define CONFIG_UBOOT_KERNEL_MIPI 想开机默认哪个屏就打开哪个 经验证,综上方法在6x-c和6x-s3系列开发板上均适用。文中标注的行数只是个大概值,方便定位,可能不太准确,但也基本上就是那片范围。 |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-11-17 11:27
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.