Olinuxino A20 LCD7TS

Started by nopy, July 12, 2013, 04:36:56 PM

Previous topic - Next topic

nopy

Hi,

Just got my A20 with a LCD7. I'm trying to have it display at correct resolution, so i have tried to tweak script.bin according to http://linux-sunxi.org/Fex_Guide with no luck. Android init always report width 1024 and height 600.


[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 5
screen1_output_type = 1
screen1_output_mode = 5
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 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

I also edited
[lcd0_para]
lcd_used = 1
lcd_x = 800
lcd_y = 480


Someone with an idea of what i miss ?

Regards

Lurch

I would suggest just mounting your micro-sdcard on a PC with a USB card reader. The first partition is FAT32 and has the script.bin files for all screen sizes.  Copy the one from directory script_a20_linux_LCD_800x480_sd to replace the one that is in the main directory.  Or use the script.fex file in that directory to see what has been done.

nopy

I'm trying to update the script.bin in nanda not on a microSD , i have tried the settings from script_a20_linux_LCD_800x480_sd.fex, even tried directly the script.bin from script_a20_linux_LCD_800x480_sd , but no success.

If i do the same with the debian image on a sdcard it worked , but i want to use the nand.