zhao_steven
post at 2015-5-11 22:43:12
In two days.
DigitalToys
post at 2015-5-12 15:39:56
Cool. As said, it would be great if you could explain a little bit more about the adjustments that heve to be done in order to get the screen running...
phelum
post at 2015-5-12 21:40:48
zhao_steven replied at 2015-5-11 22:43
In two days.
Hi Steven,
I've also bought one of these screens and have connected it as per the illustrations on the Aliexpress page.But I can't get any display from it.Do you have a sample script.fex that shows the required values for the and sections ?
Thanks,
Steven
zhao_steven
post at 2015-5-12 22:58:59
I have uploaded android OS image with 7 inch LCD module support for Orange pi. Please download.
DigitalToys
post at 2015-5-13 04:26:25
Edited by DigitalToys at 2015-5-12 21:35
Just downloaded the image and flashed it. OPi booted immediately afterwards, first impression of the image is very good. Performance seems to be ok, WIFI works fine, I will play around with it now to see how it goes.
Thanks a lot for the image, this is definitely a big step forward!
phelum
post at 2015-5-13 12:36:56
zhao_steven replied at 2015-5-12 22:58
I have uploaded android OS image with 7 inch LCD module support for Orange pi. Please download.
Hi Steven,
I extracted details from the sys_config.fex file in your image and after changing my script.fex I now have the LCD display working with Linux 3.4.103.I didn't try the Android system because I didn't want to wipe my NAND.
Thanks for the upload; it contained the critical details for me.
Cheers,
Steven
DigitalToys
post at 2015-5-13 13:22:29
Hi Steven (phelum),
could you share the steps you took to get it running under Linux?
Thanks in advance!
phelum
post at 2015-5-13 16:01:31
DigitalToys replied at 2015-5-13 13:22
Hi Steven (phelum),
could you share the steps you took to get it running under Linux?
I think the first thing is to get the script.fex file correct.Here are the two relevant sections from my file :
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 4
screen1_output_type = 1
screen1_output_mode = 4
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb0_width = 0
fb0_height = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
fb1_width = 0
fb1_height = 0
lcd0_backlight = 197
lcd1_backlight = 197
lcd0_bright = 50
lcd0_contrast = 50
lcd0_saturation = 57
lcd0_hue = 50
lcd1_bright = 50
lcd1_contrast = 50
lcd1_saturation = 57
lcd1_hue = 50
lcd_used = 1
lcd_x = 1024
lcd_y = 600
lcd_width = 155
lcd_height = 85
lcd_dclk_freq = 51
lcd_pwm_not_used = 0
lcd_pwm_ch = 0
lcd_pwm_freq = 10000
lcd_pwm_pol = 1
lcd_max_bright = 240
lcd_min_bright = 64
lcd_if = 0
lcd_hbp = 158
lcd_ht = 1344
lcd_vbp = 25
lcd_vt = 1270
lcd_vspw = 3
lcd_hspw = 20
lcd_hv_if = 0
lcd_hv_smode = 0
lcd_hv_s888_if = 0
lcd_hv_syuv_if = 0
lcd_lvds_ch = 0
lcd_lvds_mode = 0
lcd_lvds_bitwidth = 0
lcd_lvds_io_cross = 0
lcd_cpu_if = 0
lcd_frm = 1
lcd_io_cfg0 = 0x00000000
lcd_gamma_correction_en = 0
lcd_gamma_tbl_0 = 0x00000000
lcd_gamma_tbl_1 = 0x00010101
lcd_gamma_tbl_255 = 0xffffff
lcd_bl_en_used = 1
lcd_bl_en = port:PH09<1><0><default><1>
lcd_power_used = 1
lcd_power = port:PH03<1><0><default><1>
lcd_pwm_used = 1
lcd_pwm = port:PB02<2><0><default><default>
lcdd0 = port:PD00<2><0><default><default>
lcdd1 = port:PD01<2><0><default><default>
lcdd2 = port:PD02<2><0><default><default>
lcdd3 = port:PD03<2><0><default><default>
lcdd4 = port:PD04<2><0><default><default>
lcdd5 = port:PD05<2><0><default><default>
lcdd6 = port:PD06<2><0><default><default>
lcdd7 = port:PD07<2><0><default><default>
lcdd8 = port:PD08<2><0><default><default>
lcdd9 = port:PD09<2><0><default><default>
lcdd10 = port:PD10<2><0><default><default>
lcdd11 = port:PD11<2><0><default><default>
lcdd12 = port:PD12<2><0><default><default>
lcdd13 = port:PD13<2><0><default><default>
lcdd14 = port:PD14<2><0><default><default>
lcdd15 = port:PD15<2><0><default><default>
lcdd16 = port:PD16<2><0><default><default>
lcdd17 = port:PD17<2><0><default><default>
lcdd18 = port:PD18<2><0><default><default>
lcdd19 = port:PD19<2><0><default><default>
lcdd20 = port:PD20<2><0><default><default>
lcdd21 = port:PD21<2><0><default><default>
lcdd22 = port:PD22<2><0><default><default>
lcdd23 = port:PD23<2><0><default><default>
lcdclk = port:PD24<2><0><default><default>
lcdde = port:PD25<2><0><default><default>
lcdhsync = port:PD26<2><0><3><default>
lcdvsync = port:PD27<2><0><3><default>
After changing the fex file and regenerating script.bin I'd remove any monitor from the HDMI and VGA sockets, attach the LCD screen to Con2 and boot the Orange Pi.If the LCD display doesn't work my next step would be to make sure the lcd module (sunxi-lcd I believe) is either in the kernel or loaded if it's a module.
This is all it took to get the screen working here.If it doesn't work for you I can upload my script fex and bin files and maybe even my kernel and modules.The kernel is what I run in my CubieTrucks.I haven't tested the screen with the Rasbian kernel but it should work if it has the lcd module.
Cheers,
Steven
DigitalToys
post at 2015-5-13 16:10:50
Great, thanks! I will give it a try tonight. Long weekend to come, so enough time for playing around with it... :D
phelum
post at 2015-5-13 16:59:16
DigitalToys replied at 2015-5-13 16:10
Great, thanks! I will give it a try tonight. Long weekend to come, so enough time for playing around ...
If you get stuck and want to try with my kernel I've uploaded it and the modules to http://phelum.net/temp/OP
The script fex and bin files are also there.
Cheers,
Steven