OpenEmbedded and building images: What works?

Francesco Piraneo G.
Hi all!

I'm trying to compile different images for Mini2440 as on OpenEmbedded
images recipe. At the time only the "console-image" works completely and
the "x11-gpe" image builds but XServer doesn't work because it cannot
detect the screen. "opie-image" builds but doesn't sense the touchscreen
input (but the touchscreen calibration performs correctly).

Does anyone has experience to report here? Actually I'm just trying to
build a gpe based image. Thanks a lot!

Francesco

Frank
I found a - not so nice - solution, that works for me with my gpe image.

In order to make  Xfbdev+buildroot work on a mini2440 you have to chnage 
hw/kdrive/src/kmode.c and add this modline as the first modline

    {   240,    320,    66,     0,
            0,      0,      0,     KdSyncNegative,
            0,      0,      0,     KdSyncNegative,
    },

A vie lines further down, you have to set MONITOR_TIMING_DEFAULT to 0 

    #define MONITOR_TIMING_DEFAULT  0

The framebuffer does not allow setting of video mode. All ioctl with 
FBIOPUT_VSCREENINFO fail. Change lines in
hw/kdrive/fbdev/fbdev.c

    /* display it on the LCD **** COMMENT OUT THIS CODE */
/*    k = ioctl (priv->fd, FBIOPUT_VSCREENINFO, &priv->var);
    if (k < 0)
    {
        perror ("1: FBIOPUT_VSCREENINFO");
        return FALSE;
    }
*/

... recompile

Frank

sunitha
Hi

 I  am have the same problem as Francesco for some months without success.
Where did you get the board from. Maybe,  the LCD type is the issue?


I followed the steps at Bill's blog to bitbake and I see a kmode at

oetmp/work/armv4t-angstrom-linux-gnueabi/xserver-kdrive-1_1.4.0.90-r5/xorg-serve
r-1.4.0.90/hw/kdrive/src/kmode.c

Since, these get overwritten everytime we bitbake, how do we modify 
and bitbake?

Thanks in Advance
Sunitha

Frank
> Since, these get overwritten everytime we bitbake, how do we modify 
> and bitbake?

Well - I don't know too much about bitbake. I'm sure there is a better way,
but I leave it to the experts. 

What I did - I changed kmode.c in 
oetmp/work/armv4t-angstrom-linux-gnueabi/xserver-kdrive-1_1.4.0.90-r5/xorg-serve
r-1.4.0.90/hw/kdrive/src/kmode.c

I just deleted kmode.o, lib*.a, ../../../../image/usr/bin/Xfbdev

Than -  I did
   bitbake -f -c compile xserver-kdrive
   bitbake -f -c install xserver-kdrive.

.. and I had the new Xfbdev.

Frank
by the way - I found this information at 

http://www.mikrocontroller.net/topic/164843

Sorry, it's in german only.

Sunitha
Frank,

  That Worked. Thanks for the info

Sunitha

Francesco Piraneo G.
Modification on framebuffer driver of xorg-server - Question:

It's not possible to insert such values on the 'xorg.conf' file instead of
digging source code and making modification? Just to preserve the original
code as supplied and correctly locate the configuration on the /etc
directory...

Thanx!
Francesco