问:LVDS屏幕uboot和kernel都没显示,只有背光 答:run load_scr; source;
setenv disp_fb0_lvds1 "video=mxcfb0:dev=ldb,LDB-WXGA,if=RGB666 ldb=sin1"
setenv display "${disp_fb0_lvds1}"
saveenv; boot
烧录后环境变量设置
西安翔迅-姚兵(252092118) 问:我这个屏的参数U-BOOT班级文件配置:
.bus = -1,
.addr = 0,
.pixfmt = IPU_PIX_FMT_RGB666,
.detect = NULL,
.enable = enable_lvds,
.mode = {
.name = "MYZR-WSVGA",
.refresh = 60,
.xres = 1280,
.yres = 800,
.pixclock = 14507,
.left_margin = 34,
.right_margin = 34,
.upper_margin = 3,
.lower_margin = 3,
.hsync_len = 60,
.vsync_len = 10,
.sync = FB_SYNC_EXT,
.vmode = FB_VMODE_NONINTERLACED
设备树文件配置:
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <68930000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <34>;
hfront-porch = <34>;
vback-porch = <3>;
vfront-porch = <3>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
屏的参数先不改了吗? 答:http://wiki.myzr.com.cn/index.php?title=MY-IMX6_MfgTool-v2.6_User_Guide
MfgTool-MYIMX6A9-L3.0.35-Base.svn257.20181228.rar
有解压到到当前文件夹吗?
|