Jump to content

Recommended Posts

Posted

Here my changes over the script.fex file to achieve compatibility with the 15.6FHD LCD display
 

[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 4
screen1_output_type = 0
screen1_output_mode = 4
fb0_width = 1920
fb0_height = 1080
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 1
fb1_width = 1024
fb1_height = 600
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
lcd0_backlight = 0
lcd1_backlight = 197
lcd0_bright = 50
lcd0_contrast = 50
lcd0_saturation = 57
lcd0_hue = 50
lcd1_bright = 239
lcd1_contrast = 50
lcd1_saturation = 57
lcd1_hue = 50

[lcd0_para]
lcd_used = 1
lcd_x = 1920
lcd_y = 1080
lcd_dclk_freq = 152
lcd_pwm_not_used = 0
lcd_pwm_ch = 0
lcd_pwm_freq = 1000
lcd_pwm_pol = 1
lcd_max_bright = 240
lcd_min_bright = 64
lcd_if = 3
lcd_hbp = 100
lcd_ht = 2226
lcd_vbp = 23
lcd_vt = 2284
lcd_vspw = 0
lcd_hspw = 0
lcd_hv_if = 0
lcd_hv_smode = 0
lcd_hv_s888_if = 0
lcd_hv_syuv_if = 0
lcd_lvds_ch = 1
lcd_lvds_mode = 0
lcd_lvds_bitwidth = 1
lcd_lvds_io_cross = 0
lcd_cpu_if = 0
lcd_frm = 1
lcd_io_cfg0 = 268435456
lcd_gamma_correction_en = 0
lcd_gamma_tbl_0 = 0x0
lcd_gamma_tbl_1 = 0x10101
lcd_gamma_tbl_255 = 0xffffff
lcd_power_used = 1
lcd_power = port:PH08<1><0><default><1>
lcd_pwm_used = 1
lcd_pwm = port:PB02<2><0><default><default>
lcdd0 = port:PD00<3><0><default><default>
lcdd1 = port:PD01<3><0><default><default>
lcdd2 = port:PD02<3><0><default><default>
lcdd3 = port:PD03<3><0><default><default>
lcdd4 = port:PD04<3><0><default><default>
lcdd5 = port:PD05<3><0><default><default>
lcdd6 = port:PD06<3><0><default><default>
lcdd7 = port:PD07<3><0><default><default>
lcdd8 = port:PD08<3><0><default><default>
lcdd9 = port:PD09<3><0><default><default>
lcdd10 = port:PD10<3><0><default><default>
lcdd11 = port:PD11<3><0><default><default>
lcdd12 = port:PD12<3><0><default><default>
lcdd13 = port:PD13<3><0><default><default>
lcdd14 = port:PD14<3><0><default><default>
lcdd15 = port:PD15<3><0><default><default>
lcdd16 = port:PD16<3><0><default><default>
lcdd17 = port:PD17<3><0><default><default>
lcdd18 = port:PD18<3><0><default><default>
lcdd19 = port:PD19<3><0><default><default>
lcdd20 = port:PD20<3><0><default><default>
lcdd21 = port:PD21<3><0><default><default>
Posted

Hi,

I'm trying to do something similar with the OLIMEX 10.4" 1024x600 LCD.

Any suggestions?

Thanks

 

Try to change this values to your desired LCD screen size

 

[disp_init]

fb0_width = 1920

fb0_height = 1080

 

[lcd0_para]

lcd_x = 1920

lcd_y = 1080

 

Finally, check the LCD pin-map and change the ports according to this parameters: lcddX

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines