Author Topic: VGA from Cubieboard  (Read 47501 times)

Offline lawrence

  • Administrator
  • Sr. Member
  • *****
  • Posts: 301
  • Karma: +15/-0
    • View Profile
VGA from Cubieboard
« on: February 13, 2013, 04:04:09 am »
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
« Last Edit: February 22, 2013, 09:47:04 pm by lawrence »

naatamam

  • Guest
Re: VGA from Cubieboard
« Reply #1 on: February 14, 2013, 11:59:15 am »

Offline iranmicro

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: VGA from Cubieboard
« Reply #2 on: February 22, 2013, 01:48:13 am »
VGA and Good woking for me.
wiki is incorrect tnx alot lawrence
and config for vga (edit script.bin)
Code: [Select]
[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

Offline lawrence

  • Administrator
  • Sr. Member
  • *****
  • Posts: 301
  • Karma: +15/-0
    • View Profile
Re: VGA from Cubieboard
« Reply #3 on: February 22, 2013, 04:38:09 am »
Well done!

naatamam

  • Guest
Re: VGA from Cubieboard
« Reply #4 on: February 22, 2013, 01:09:42 pm »
HI
my good test VGA & CVBS  (Androide And Linaro)


HDMI PIC (LINARO)

Offline GeorgeIoak

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +1/-0
    • View Profile
Re: VGA from Cubieboard
« Reply #5 on: February 22, 2013, 03:33:45 pm »
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

Offline GeorgeIoak

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +1/-0
    • View Profile
Re: VGA from Cubieboard
« Reply #6 on: February 22, 2013, 05:22:57 pm »
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

  • Guest
Re: VGA from Cubieboard
« Reply #7 on: February 22, 2013, 05:47:22 pm »
« Last Edit: February 23, 2013, 01:11:24 am by naatamam »

Offline OmahaVike

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: VGA from Cubieboard
« Reply #8 on: February 27, 2013, 09:43:51 pm »
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

  • Guest
Re: VGA from Cubieboard
« Reply #9 on: March 03, 2013, 03:15:50 pm »
naatamam, can you show your's PCB? it was great if you told more and show your configs for different connections.

vasek_blr

  • Guest
Re: VGA from Cubieboard
« Reply #10 on: March 03, 2013, 03:29:02 pm »
Iranmicro, can you show your schematic? You use 27 and 30 pin's from another connector?

Offline iranmicro

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: VGA from Cubieboard
« Reply #11 on: March 06, 2013, 06:24:45 am »
yes,

ircan

  • Guest
Re: VGA from Cubieboard
« Reply #12 on: March 10, 2013, 06:16:51 am »
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

  • Guest
Re: VGA from Cubieboard
« Reply #13 on: March 11, 2013, 01:55:13 pm »
Get this =)

vasek_blr

  • Guest
Re: VGA from Cubieboard
« Reply #14 on: March 11, 2013, 01:57:20 pm »
VGA work after switch in android? I don't have hdmi and cant switch, where is setting's file in android?