Cubieboard2 + LVDS won't work

330 views
Skip to first unread message

JERRYMICE0

unread,
Jul 17, 2014, 11:21:03 AM7/17/14
to cubie...@googlegroups.com
Hello.
Is anybody know how to display LVDS LCD with Cubieboard2?

I connected Cubieboard2 direct to LVDS LCD panel.(HT10X21-100)
And I made a script.bin for LCD and supplied external power 3.3V and 12V for LCD panel.

Turn power on the Cubieboard2 and display images my LCD panel.
But vertical images only displayed. And one of vertical image move with mouse horizontal move.
(maybe this vertical bar is mouse cursor.)
I guess horizontal sync setting are ok, but vertical sync settings are bad.

Someone solved same issue?

my script.fex
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 1
screen0_output_mode = 4


[lcd0_para]
lcd_used = 1
lcd_x = 1024
lcd_y = 768
lcd_dclk_freq = 65
lcd_if = 3
lcd_hbp = 316
lcd_ht = 1344
lcd_vbp = 36
lcd_vt = 1612
lcd_lvds_bitwidth = 1
lcd_frm = 1

 
 
HT10X21-100.pdf

George Ioakimedes

unread,
Jul 18, 2014, 9:35:24 AM7/18/14
to cubie...@googlegroups.com
You can check here for some reference FEX files and information on the settings, http://www.iotllc.com/joomla/index.php/forum/baseboard

Be sure to double check your wiring since signals at 65MHz can easily pick up noise and cause you problems.

JERRYMICE0

unread,
Jul 19, 2014, 12:38:33 AM7/19/14
to cubie...@googlegroups.com
Thanks, George.

I'll try to check FEX file and wiring again.


2014年7月18日金曜日 22時35分24秒 UTC+9 George Ioakimedes:

Dariush abbasinezhad mood

unread,
Jul 20, 2014, 5:59:10 AM7/20/14
to cubie...@googlegroups.com
Hi,
Which image did you used?
I can't switch to lcd, changing the script.bin doesn't work !
Why in A20 instead of script.bin there is magic.bin?
Any suggestion how to have display on 7" lcd for A20?
Thanks. 


--
You received this message because you are subscribed to the Google Groups "Cubieboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cubieboard+...@googlegroups.com.
Visit this group at http://groups.google.com/group/cubieboard.
For more options, visit https://groups.google.com/d/optout.

JERRYMICE0

unread,
Jul 22, 2014, 9:42:06 AM7/22/14
to cubie...@googlegroups.com
Hi, Dariush
I used cubiuntu_cb2_ds_1.11.
I wrote script.fex/bin and uEnv.cb2.

[uEnv.cb2]
extraarg=disp.screen0_output_type=1 disp.screen0_output_mode=1024x768p60 consoleblank=0 cubieboard2
sunxi_ve_mem_reserve=128
root=/dev/mmcblk0p2 rootwait
prtition=0:1
kernel=/uImage.3.4.79-sun7i+
script=script.bin

But the picture of penguins when I boot the Linux will end up in a striped pattern.
Thanks.

Cubieboard2_LCD_TAX_image.jpg

Dariush abbasinezhad mood

unread,
Jul 22, 2014, 1:13:33 PM7/22/14
to cubie...@googlegroups.com
Hi.
Did you use standard wires for LVDS?
I think you didn't use good wires.
Some of the wires in standard media are twisted pair which may be of great importance for picture quality.


JERRYMICE0

unread,
Jul 24, 2014, 12:57:26 PM7/24/14
to cubie...@googlegroups.com
Hello, Dariush.

Thank you for your advice.
I think so too. I was using a no good wire and wiring was not good. 
In the end, by rewiring and using other panel, I was able to be displayed.
Use 800x600,40MHz panel. But it is not so good wiring still....

Thanks.

2014年7月23日水曜日 2時13分33秒 UTC+9 Dariush:

Silverio Diquigiovanni

unread,
Sep 2, 2014, 6:18:05 AM9/2/14
to cubie...@googlegroups.com
Hi JERRYMICE0,


I'm using CB2 + AUO G121XN01V0 which is a 1024x768 at 65Mhz too.

All working fine at moment without too much troubles about connections.
I'm yet in prototype phase so I don't care so much about wiring.

Power supply is however important to keep stable displays.

[disp_init]
disp_init_enable = 1
disp_mode = 4
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 = 1
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

[lcd0_para]
lcd_used = 1
lcd_x = 1024
lcd_y = 768
lcd_dclk_freq = 65
lcd_pwm_not_used = 0
lcd_pwm_ch = 0
lcd_pwm_freq = 10000
lcd_pwm_pol = 0
lcd_if = 3
lcd_hbp = 319
lcd_ht = 1344
lcd_vbp = 37
lcd_vt = 1612
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 = 0
lcd_lvds_mode = 0
lcd_lvds_bitwidth = 0
lcd_lvds_io_cross = 0
lcd_cpu_if = 0
lcd_frm = 0
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_bl_en_used = 0
lcd_bl_en = port:PH07<1><0><default><1>
lcd_power_used = 1
lcd_power = port:PD25<1><0><default><0>
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:PH25<2><0><default><default>
lcdhsync = port:PD26<2><0><default><default>
lcdvsync = port:PD27<2><0><default><default>



1.jpg
2.jpg

JERRYMICE0

unread,
Sep 3, 2014, 10:46:16 AM9/3/14
to cubie...@googlegroups.com
Hi Selverio.

Oh, great work!
My CB2 connected to small LCD panel and embedded my old laptop.
I'll get new CB2 and challenge to retry 1024x768 panel again!

thank you!


2014年9月2日火曜日 19時18分05秒 UTC+9 Silverio Diquigiovanni:

George Ioakimedes

unread,
Sep 3, 2014, 2:40:42 PM9/3/14
to cubie...@googlegroups.com
Just so you know, all of the screens at https://store.iotllc.com have been tested to work and there's a small forum at iotllc.com which holds some useful information about fex files and LCD screens

vasu devan

unread,
Jul 31, 2015, 3:39:25 AM7/31/15
to Cubieboard, yogsotho...@gmail.com
Dear JERRYMICE0 ,
                                           I want to edit the script.bin in Cubieboard2. But unable to find @ nanda... Can you pls tell me where can i find script.bin in Cubie2.
Thanks in advance

Vasu
Reply all
Reply to author
Forward
0 new messages