本帖最后由 jinglun_wuhan 于 2015-6-19 10:17 编辑
各位好!好几天LVDS还是没有调试出来,也不知道哪里出现了问题,在此请各位大神帮忙看一下!问题描述如下:公司要接入lvds屏,使用lvds的0号通道,但是一直没有信号
板子是:imx6solo
BSP:L3.10.53
uboot参数设置:
setenv lvds_args 'video=mxcfb0:dev=ldb,hsd100pxn1,if=RGB666'
setenv mmcargs 'setenv bootargs console=${console},${baudrate} ${lvds_args} root={mmcroot}'
setenv mmcroot '/dev/mmcblk3p2 rootwait rw rootfstype=ext3'
修改devicetree
linux-imx/3.10.53-r0/git/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
&ldb {
515 status = "okay";
516
517 lvds-channel@0 {
518 fsl,data-mapping = "spwg";
519 fsl,data-width = <18>;
520 status = "okay";
521
522 display-timings {
523 native-mode = <&timing0>;
524 timing0: hsd100pxn1 {
525 clock-frequency = <71100000>;
526 hactive = <1280>;
527 vactive = <800>;
528 hback-porch = <100>;
529 hfront-porch = <40>;
530 vback-porch = <12>;
531 vfront-porch = <4>;
532 hsync-len = <20>;
533 vsync-len = <7>;
534 };
535 };
536 };
537
538 lvds-channel@1 {
539 fsl,data-mapping = "spwg";
540 fsl,data-width = <18>;
541 primary;
542 status = "okay";
543
544 display-timings {
545 native-mode = <&timing1>;
546 timing1: hsd100pxn1 {
547 clock-frequency = <71100000>;
548 hactive = <1280>;
549 vactive = <800>;
550 hback-porch = <100>;
551 hfront-porch = <40>;
552 vback-porch = <12>;
553 vfront-porch = <4>;
554 hsync-len = <20>;
555 vsync-len = <7>;
556 };
557 };
558 };
559 };
重新编译kernel,将imx6dl-sabresd.dtb烧写到板子上后,结果测到lvds的两个通道没有任何信号,频率为0,不知道什么原因,请大家看看,非常感谢。
|