RGB的七寸屏(分辨率1024,600)配置后无法正常显示
-
求助大佬,新手刚入手d1s,折腾一周多了还是没有解决,屏幕是RGB的七寸屏(分辨率1024,600),配置好了dts中对应的屏幕参数,但是还是无法正常显示还是,查看显示信息中的frame[ 0, 0, 800, 480],估计是这个原因引起的显示不正常,求助大佬指导一下,非常感谢!
&disp { disp_init_enable = <1>; disp_mode = <0>; screen0_output_type = <1>; screen0_output_mode = <4>; screen1_output_type = <1>; screen1_output_mode = <4>; screen1_output_format = <0>; screen1_output_bits = <0>; screen1_output_eotf = <4>; screen1_output_cs = <257>; screen1_output_range = <2>; screen1_output_scan = <0>; screen1_output_aspect_ratio = <8>; dev0_output_type = <1>; dev0_output_mode = <4>; dev0_screen_id = <0>; dev0_do_hpd = <0>; dev1_output_type = <4>; dev1_output_mode = <10>; dev1_screen_id = <1>; dev1_do_hpd = <1>; def_output_dev = <0>; fb0_format = <0>; fb0_width = <0>; fb0_height = <0>; /* fb0_height = <1280>; */ fb1_format = <0>; fb1_width = <0>; fb1_height = <0>; chn_cfg_mode = <1>; disp_para_zone = <1>; /*VCC-LCD*/ /* dc1sw-supply = <®_dc1sw>;*/ /*VCC-DSI*/ /* eldo3-supply = <®_eldo3>;*/ /*VCC-PD*/ /* dcdc1-supply = <®_dcdc1>;*/ }; /* RGB 800 480 */ &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <50>; lcd_if = <0>; lcd_x = <1024>; lcd_y = <600>; lcd_width = <150>; lcd_height = <94>; lcd_dclk_freq = <48>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <500>; lcd_pwm_pol = <0>; lcd_hbp = <160>; lcd_ht = <1344>; lcd_hspw = <20>; lcd_vbp = <23>; lcd_vt = <635>; lcd_vspw = <3>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <1>; lcd_lvds_mode = <0>; lcd_frm = <0>; lcd_io_phase = <0x0000>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>; pinctrl-0 = <&rgb18_pins_a>; pinctrl-1 = <&rgb18_pins_b>; };
这是未更改之前的(800*480):
这是修改了dts配置后的(1024*600):
下图为打印信息:
-
-
-
-
-
问题解决了吗 我这边也是类似的现象 设置的800 480 分辨率 但是那个frame 时480 272的
-
@whycan 求助大哥
-
echo 1 > /sys/class/disp/disp/attr/colorbar
echo 2 > /sys/class/disp/disp/attr/colorbar
echo 3 > /sys/class/disp/disp/attr/colorbar
...colorbar 正常吗?
-
@whycan 感谢大佬支持 昨晚问题解决了 原因是我修改了uboot和kernel的dts 然后只rebuild了 kernel ,昨晚把uboot也rebuild了后,一切正常 了 我认为是之前的uboot对 de有影响
-
@ggk1989
感谢分享宝贵经验。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号