Hi Denis Oliver Kropp, Thanks for your response. I have tried the configuration as you said in previous message. But the same error and message encountered.
Any other ideas? DaVinci EVM # printenv ...... bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.10:192.168.1.1:192.168.1.254:255.255.255.0:emb:eth0:off root=/dev/nfs nfsroot=192.168.1.1:/home/fcwu/dvevm_1_20/workdir/filesys,nolock mem=80M ...... [EMAIL PROTECTED]:~# cat .directfbrc system = devmem # select 'devmem' system module video-phys = 85000000 # 0x80000000 + 80MB offset video-length = 16777216 # 16MB for acceleration and ARGB OSD dithering accelerator = 6400 # disable probing in davinci driver Best Regards, Fan-Cheng Wu On Thu, Sep 11, 2008 at 03:51, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: > Fan-Cheng Wu �氰笳\ wrote: >> >> Hi All, >> >> I am trying to cross-compile DirectFB 1.2.3 on TI's DaVinci platform >> and running a simple such as >> http://directfb.org/docs/DirectFB_Tutorials/simple.html, but an error >> happens. The error message shows >> [EMAIL PROTECTED]:~# ./a.out --dfb:video-phys=0x83000000 >> --dfb:video-length=691200 --dfb:system=davinci >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~ >> (c) 2001-2008 The world wide DirectFB Open Source Community >> (c) 2000-2004 Convergence (integrated media) GmbH >> ---------------------------------------------------------------- >> >> (*) DirectFB/Core: Single Application Core. (2008-09-10 17:42) >> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) >> (*) DirectFB/Core/WM: Default 0.3 (directfb.org) >> (!) IDirectFB_Construct: No layers available! Missing driver? >> testdfb.c <31>: >> (#) DirectFBError [DirectFBCreate (&dfb)]: Not supported! >> >> >> I compiles directfb like this: >> ./configure --enable-static --with-inputdrivers=none --disable-fbdev >> --with-gfxdrivers=davinci --disable-sysfs --disable-multi >> --disable-sdl --disable-x11 --disable-png --disable-jpeg >> --disable-freetype --disable-freetype2 --host=$HOST --prefix=$PREFIX >> >> And compile sample program by: >> arm_v5t_le-gcc testdfb.c -I/root/usr_gtk/include/directfb/ -static >> /root/usr_gtk/lib/directfb-1.2-0/wm/libdirectfbwm_default.o >> /root/usr_gtk/lib/directfb-1.2-0/systems/libdirectfb_devmem.o >> -L/root/usr_gtk/lib -ldirectfb -lfusion -ldirect -lpthread > > You need a directfbrc like this and use 'mem=80M' kernel option! > > > system = devmem # select 'devmem' system module > > video-phys = 85000000 # 0x80000000 + 80MB offset > video-length = 16777216 # 16MB for acceleration and ARGB OSD dithering > > accelerator = 6400 # disable probing in davinci driver > > -- > Best regards, > Denis Oliver Kropp > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" >
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users