|
【Android】
请教: rk3128 点10.1寸1024x600 lvds屏出现显示两个
发表于 2019-11-6 11:43:15
浏览:8128
|
回复:5
打印
只看该作者
[复制链接]
楼主
本帖最后由 hquhjq 于 2019-11-6 11:47 编辑
各位好!
我在rk3128 android5.1上去点一个 10.1寸的1024x600的lvds屏;现在屏点亮了,但显示效果有问题;
在uboot中,看显示效果应该是正常的;
进入android显示异常,出现上下两个android 界面,但是插入Hdmi线接到显示器,则两个显示正常。请问这个是什么原因?
dts文件及屏参文件修改如下:
&fb {
// rockchip,disp-mode = <NO_DUAL>;
// rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
rockchip,disp-mode = <ONE_DUAL>;
rockchip,uboot-logo-on = <1>;
};
&disp_timings {
native-mode = <&timing0>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&lvds {
status = "okay";
pinctrl-names = "lcdc";
pinctrl-0 = <&lcdc0_lcdc_d>;
};
&lcdc {
status = "okay";
rockchip,fb-win-map = <FB0_WIN0_FB1_WIN1_FB2_WIN2>;
};
屏文件:
disp_timings: display-timings {
native-mode = <&timing0>;
timing0: timing0 {
screen-type = <SCREEN_LVDS>;
lvds-format = <LVDS_8BIT_1>;
out-face = <OUT_P888>;
color-mode = <COLOR_RGB>;
clock-frequency = <60000000>;
hactive = <1024>;
vactive = <600>;
hback-porch = <90>;
hfront-porch = <160>;
vback-porch = <13>;
vfront-porch = <12>;
hsync-len = <70>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
};
异常显示:
Hdmi接入显示屏,则显示正常:
谢谢各位!
D:\1.jpg
D:\2.jpg
|
-
1.jpg
(135.07 KB, 下载次数: 752)
-
2.jpg
(75.54 KB, 下载次数: 742)
|