|
修改内核源码中arch/arm/boot/dts/imx6qdl-sabresd.dtsi,
&ldb {
status = "okay";
dual-mode = <1>;
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1366>;
vactive = <768>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
改为:
&ldb {
status = "okay";
split-mode = <1>;
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <130000000>;
hactive = <1920>;
vactive = <1080>;
hback-porch = <100>;
hfront-porch = <40>;
vback-porch = <30>;
vfront-porch = <3>;
hsync-len = <60>;
vsync-len = <2>;
};
};
};
然后在uboot命令行中执行setenv mxcfb0 video=mxcfb0:dev=ldb,1366x768@60,if=RGB24 |
|