请教: rk3128 点10.1寸1024x600 lvds屏出现显示两个
本帖最后由 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
&tve {
//status = "okay";
status = "disabled";
};
把这个关闭掉试试 jpchen 发表于 2019-11-7 08:41
&tve {
//status = "okay";
status = "disabled";
感谢!修改后,可以正常显示。请教下 这个是控制什么的? hquhjq 发表于 2019-11-8 15:26
感谢!修改后,可以正常显示。请教下 这个是控制什么的?
firefly-rk3128 有cvbs功能,如果需要打开lvds显示,tve这个需要关闭掉才能正常显示 jpchen 发表于 2019-11-9 16:52
firefly-rk3128 有cvbs功能,如果需要打开lvds显示,tve这个需要关闭掉才能正常显示
明白,谢谢!
页:
[1]