|
发表于 2019-4-14 08:50:01
只看该作者
沙发
自己花了一些時間摸索,解決方式如下
kernel/arch/arm/boot/dts/lrk3128-fireprime.dts //在此檔案裡native-mode = <&timing0>;選擇的你在lcd-box.dtsi的設計哪一個模式
kernel/arch/arm/boot/dts/lcd-box.dtsi //調整timing0 如下
timing0: timing0 { //HDMI 10.1" 1280X800
screen-type = <SCREEN_HDMI>;
out-face = <OUT_P888>;
color-mode = <COLOR_YCBCR>;
clock-frequency = <71000000>;
hactive = <1280>;
vactive = <800>;
hback-porch = <151>;
hfront-porch = <100>;
vback-porch = <35>;
vfront-porch = <5>;
hsync-len = <40>;
vsync-len = <5>;
hsync-active = <1>;
vsync-active = <1>;
de-active = <0>;
pixelclk-active = <0>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
|
|