I think recompilation is not needed .. You can
pass --dfb:video-phys=0x83000000 and
--dfb:video-length=691200 , but it is not causing problem that you have
posted ,  I think its problem of installation path , just check your path in
/usr/lib/directfb-1.4.3/system or similar to that , you should check one
more thing libdevmem.so is present there or not .


On Fri, Aug 6, 2010 at 9:51 PM, Max S. <k...@greatfreeworld.org> wrote:

> passing devmem as the system parameter produces the same result.
> # dfbinfo --dfb:system=devmem
>
>   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
>        (c) 2001-2009  The world wide DirectFB Open Source Community
>        (c) 2000-2004  Convergence (integrated media) GmbH
>      ----------------------------------------------------------------
>
> (*) DirectFB/Core: Single Application Core. (2010-08-05 01:24)
> (!) DirectFB/core/system: No system found!
> (#) DirectFBError [DirectFBCreate() failed]: No (suitable)
> implementation found!
>
> according to the output of the configure script I have compiled directfb
> to support only devmemw
> > Linux FBDev support       no
> > Generic /dev/mem support  yes
> > X11 support               no
> > OSX support               no
> > SDL support               no
> > VNC support               no
>
> the following shows the fb devices are present.
> # ls -l /dev/fb*
> lrwxrwxrwx    1 root     root            4 Jan  1  2000 /dev/fb0 -> fb/0
>
> /dev/fb:
> crw-rw----    1 root     root      29,   0 Jan  1  2000 0
>
> would it make sense to try and reconfigure&build directfb to supprt
> linuxfb?
>
> I have also seen the flags --dfb:video-phys=0x83000000 and
> --dfb:video-length=691200 used, but I don't know what they mean, or how
> to determine the correct values.
>
> Thanks,
> Max S.
>
> On Fri, 2010-08-06 at 21:31 +0530, Shiva kumar Mishra wrote:
> > hi,
> >
> > you need to pass system=fbdev or devmem  and you need enable support
> > for the same.
> > Just type ls /dev/fbdev* and see the result ,iF it is not there you
> > need to create them (like mknod and corresponding support for that.)
> > all the best
> > bye
> >
> > On Fri, Aug 6, 2010 at 8:45 PM, Max S. <k...@greatfreeworld.org>
> > wrote:
> >         Hello,
> >
> >         I am trying to cross compile Directfb for a hico7760
> >         http://www.emtrion.com/hico7760st_linux_en.php
> >
> >         I have crosscompiled other libraries before, but none dealing
> >         with
> >         graphics. My goal is to replace the Qt embedded library
> >         shipped with the
> >         device. I don't need window management, only screen
> >         manipulation,
> >         graphics primitives, font, and png support.
> >
> >         I have already built libfreetype libz and libpng12
> >
> >         I have configured directfb with:
> >
> >         cd $BSP/pkgs/src/DirectFB
> >         ./configure --prefix=$BSP/pkgs/bin/DirectFB --enable-zlib
> >         --host=sh4
> >         CC=sh4-linux-gcc
> >
> >         I get the output:
> >
> >         Build options:
> >          Version                   1.4.3
> >          Linux powered             no
> >          Install prefix            /pkgs/bin/DirectFB
> >          Config files in           /pkgs/bin/DirectFB/etc
> >          Build shared libs         no
> >          Build static libs         yes
> >          Module directory          ${exec_prefix}/lib/directfb-1.4-0
> >          CPPFLAGS                  -D_REENTRANT
> >          CFLAGS                    -O3 -ffast-math -pipe
> >          -D_GNU_SOURCE
> >         -Werror-implicit-function-declaration
> >          LDFLAGS
> >          LIBS                      -lpthread
> >          DYNLIB
> >          THREADFLAGS               -D_REENTRANT
> >          THREADLIBS
> >
> >         Misc options:
> >          Multi Application Core    no
> >          Fusion Kernel Device      N/A
> >          Fusion message size       1024
> >          Voodoo (network support)  no
> >          Debug supported           yes
> >          Debug enabled             no
> >          Trace support             no
> >          MMX support               no
> >          SSE support               no
> >          Network support           yes
> >          Include all strings       yes
> >          Software Rendering        yes
> >          Smooth SW Scaling         no
> >          16bit Dithering           none
> >          zlib compression          yes                 -lz
> >          sysfs support             no
> >
> >         Building Tests              no
> >         Building Tools              yes
> >
> >         Building System Modules:
> >          Linux FBDev support       no
> >          Generic /dev/mem support  yes
> >          X11 support               no
> >          OSX support               no
> >          SDL support               no
> >          VNC support               no
> >
> >         Building Window Manager Modules:
> >          Default                   yes
> >          UniQuE                    no
> >
> >         Building Image Provider Modules:
> >          GIF                       yes
> >          JPEG                      no
> >          PNG                       yes
> >         -I/usr/include/libpng12 -lpng12
> >
> >         Building Video Provider Modules:
> >          GIF                       yes
> >          Video4Linux               no (v2: no)
> >
> >         Building Font Modules:
> >          FreeType2                 yes
> >         -I/usr/include/freetype2
> >         -lfreetype
> >          Default font              yes
> >
> >         JPEG support is missing - many applications won't work
> >         correctly!
> >
> >         Everything looks good so far to me...
> >         I then run make and get undefined references to functions in
> >         libz and
> >         the math libs, called from libpng in the tools/ dir.
> >         I change tools/Makefile to read
> >         LIBPNG_LIBS = -lpng12 -lz -lm
> >
> >         make then completes and I run make install.
> >
> >         on the target device. running dfbinfo produces:
> >         ~ # dfbinfo
> >           ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |
> >         ~~~~~~~~~~~~~~~~~~~~~~~~~~
> >                (c) 2001-2009  The world wide DirectFB Open Source
> >         Community
> >                (c) 2000-2004  Convergence (integrated media) GmbH
> >
> >          ----------------------------------------------------------------
> >
> >         (*) DirectFB/Core: Single Application Core. (2010-08-05 01:24)
> >         (!) DirectFB/core/system: No system found!
> >         (#) DirectFBError [DirectFBCreate() failed]: No (suitable)
> >         implementation found!
> >
> >         Have I missed something? does DirectFB not support this
> >         device? I don't
> >         know what else I'm supposed to do.
> >
> >         Thanks in advance.
> >         Max S.
> >
> >
> >         _______________________________________________
> >         directfb-dev mailing list
> >         directfb-dev@directfb.org
> >         http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
> >
> >
> >
> > --
> > "The best way to find yourself is to lose yourself in the service of
> > others".
> >
> > Shiva The Great
> > _______________________________________________
> > directfb-dev mailing list
> > directfb-dev@directfb.org
> > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
>
>
>


-- 
"The best way to find yourself is to lose yourself in the service of
others".

Shiva The Great
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to