Adeneo QSB Gingerbread Boot on VGA by default

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adeneo QSB Gingerbread Boot on VGA by default

893 Views
ThomasBandelier
Contributor II
Hi
I can't manage to boot on VGA with latest Adeneo QSB release (4.0).
I managed to use it as second display (video), but when I select it as primary display , android boot process hangs just after loading GL-related libraries.
Has anyone already tried it?
Thanks

Thomas
Labels (1)
0 Kudos
6 Replies

773 Views
ThomasBandelier
Contributor II

Hi

 

A good way to have it working is adding

{
    /* VGA 1024x768 65M pixel clk output */
     "VGA-XGA", 60, 1024, 768, 15384,
     160, 24,
     29, 3,
     136, 6,
     0,
     FB_VMODE_NONINTERLACED,
     FB_MODE_IS_DETAILED,},

 

to the fb modes and set it for di1_primary.

0 Kudos

773 Views
ThomasBandelier
Contributor II

It seems finally the resolution is too big.

SXGA for primary display does not allow to boot. Memory allocation problem in GL I guess.

Should be fixed by setting a lower resolution.

0 Kudos

773 Views
ThomasBandelier
Contributor II

Additionnal informations:

 

Boot stops here:

 

I/SurfaceFlinger( 2116): SurfaceFlinger is starting
I/SurfaceFlinger( 2116): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/imx5x.gralloc( 2116): using (fd=24)
I/imx5x.gralloc( 2116): id           = DISP3 BG - DI1
I/imx5x.gralloc( 2116): xres         = 1280 px
I/imx5x.gralloc( 2116): yres         = 1024 px
I/imx5x.gralloc( 2116): xres_virtual = 1280 px
I/imx5x.gralloc( 2116): yres_virtual = 3072 px
I/imx5x.gralloc( 2116): bpp          = 16
I/imx5x.gralloc( 2116): r            = 11:5
I/imx5x.gralloc( 2116): g            =  5:6
I/imx5x.gralloc( 2116): b            =  0:5
I/imx5x.gralloc( 2116): width        = 203 mm (160.157639 dpi)
I/imx5x.gralloc( 2116): height       = 163 mm (159.568100 dpi)
I/imx5x.gralloc( 2116): refresh rate = 64.47 Hz
I/FslOverlay( 2116): overlay_device_open control pid 2116,tid 2124
I/FslOverlay( 2116): /dev/graphics/fb0 fb_var: bits_per_pixel 16,xres 1280,yres 1024,xres_virtual 1280,yres_virtual 3072
I/FslOverlay( 2116): Overlay HAL control device Created successfully
D/libEGL  ( 2116): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 2116): loaded /system/lib/egl/libEGL_imx51.so
D/libEGL  ( 2116): loaded /system/lib/egl/libGLESv1_CM_imx51.so
D/libEGL  ( 2116): loaded /system/lib/egl/libGLESv2_imx51.so

 

Thks

thomas

 


T

Thomas Bandelier said:

HiRemi

 

I use this config:


setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 di1_primary vga => did not work

and as I wanted to use VGA + HDMI (2nd) I tried this one too:

setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 di1_primary video==mxcdi0fb:RGB24,1024x768M@60 hdmi

which did not work either

 

I managed later to use VGA as single screen with:

setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 di1_primary video=mxcdi1fb:GBR24,VGA-XGA vga

 

But I still couldn't find a way to use VGA and hdmi at the same time.

Any clue on that?

 

Thanks

 

 

 

 

 

 

Remi Lorriaux said:

What resolution are you using?
0 Kudos

773 Views
ThomasBandelier
Contributor II

HiRemi

 

I use this config:


setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 di1_primary vga => did not work

and as I wanted to use VGA + HDMI (2nd) I tried this one too:

setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 di1_primary video==mxcdi0fb:RGB24,1024x768M@60 hdmi

which did not work either

 

I managed later to use VGA as single screen with:

setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 di1_primary video=mxcdi1fb:GBR24,VGA-XGA vga

 

But I still couldn't find a way to use VGA and hdmi at the same time.

Any clue on that?

 

Thanks

 

 

 

 

 

 

Remi Lorriaux said:

What resolution are you using?
0 Kudos

773 Views
rlorriaux
Contributor I
What resolution are you using?
0 Kudos

773 Views
SrikanthKotagir
Contributor I

Hi,

 

  It worked fine for me. I used the following uboot commands to boot into VGA

 

setenv bootargs_android ${vga}

 

if it looks like it hanged, i just resarted it at it started working.

0 Kudos