November 19, 2019, 04:43:47 am

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


VGA from Cubieboard

Started by lawrence, February 13, 2013, 04:04:09 am

Previous topic - Next topic

lawrence

February 13, 2013, 04:04:09 am Last Edit: February 22, 2013, 09:47:04 pm by lawrence
Wiki is incorrect - http://linux-sunxi.org/Cubieboard
(Pin 33,35 are labelled wrong).
Wiki fixed now.



Board pin out provides LCD-HSYNC / V-SYNC - not VGA-HSYNC / V-SYNC.
We do have RGB VGA out though.


So you'll need to use a chip to convert the levels to VGA-HSYNC / V-SYNC
Pins are as follows:


(From cubieboard)

pin 25 ground - VGA 5,6,7,8,10
pin33(LCD-VSYNC) -> 74AHCT04 -> VGA PIN 14
pin35(LCD-HSYNC) -> 74AHCT04 -> VGA PIN 13
pin 27 red -> 75ohm -> VGA PIN 1
pin 29 green -> 75ohm -> VGA PIN 2
pin 31 blue -> 75ohm -> VGA PIN 3

Circuit diagram (see attached), or look at the pretty picture served via flickr:


vga_cubie by sheedl, on Flickr


iranmicro

VGA and Good woking for me.
wiki is incorrect tnx alot lawrence
and config for vga (edit script.bin)
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 4
screen0_output_mode = 4
screen1_output_type = 2
screen1_output_mode = 14
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 = 1


http://www.iranmicro.ir/forum/showpost.php?p=62982&postcount=519

lawrence


naatamam

HI
my good test VGA & CVBS  (Androide And Linaro)





HDMI PIC (LINARO)

GeorgeIoak

Looks like some good work. What Linaro image are you using? Does your kernel have the Mali drivers loaded? I'm using the same VGA circuit and have not been able to get an image

GeorgeIoak

Sorry, I mis-read Lawrence's post about the pin change. i should be good now that i know to use the other set of sync signals

naatamam

February 22, 2013, 05:47:22 pm #7 Last Edit: February 23, 2013, 01:11:24 am by naatamam
see help for vga Error  AND script for VGA Display linaro
http://www.iranmicro.ir/forum/showpost.php?p=62982&postcount=519

Download imag Linaro ubuntu 12.04 (Made by Iranians)
http://www.iranmicro.ir/forum/showpost.php?p=62912&postcount=504

Test Vga & Cvbs Deployment Cubiboard Ver 2.30
http://digitalcontrol.persiangig.com/weblog/neviseh_1361551106.html
or
http://naatamam.blogfa.com/post-1924.aspx



OmahaVike

Personally, I'd rather take a flogging than to manually wire this stuff up.  But I sincerely admire you all for taking the initiative.

I took a different route and bought this:

http://www.amazon.com/gp/product/B007SM7O2U/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1

It works *perfectly* for the stock Android distro.  Picked up my monitor settings and came in full screen.  I tried it also on the Linaro Desktop and it appears as if there will need to be some Xorg (or whatever they use) configuration adjustments.  Same for Linaro's Ubuntu Server terminal -- although, that really wasn't a surprise.

If you want my monitor's specs, just let me know.  I'm currently typing this away on my kids computer for which my key clicks are my childrens' lullaby.

vasek_blr

naatamam, can you show your's PCB? it was great if you told more and show your configs for different connections.

vasek_blr

Iranmicro, can you show your schematic? You use 27 and 30 pin's from another connector?


ircan

Hi, on revision 09-09 working vga without this chip from pins 27,30 from other connector with default android distro...
But I dont have other Linux mashine, pls can somebody upload upgrated script.bin for linaro or berryboot for boot on VGA?

vasek_blr


vasek_blr

VGA work after switch in android? I don't have hdmi and cant switch, where is setting's file in android?