Hello,
I've been working on getting directfb up and running on an arm-linux
system I'm putting together. I can get the basic thing to build, but
haven't gotten it working. Searching the archives would imply others
have it going, but I failed to find any details as to what they did. I
hope I didn't miss something and am asking questions that have already
been answered!
I'm working with version 0.9.18. My target is a Sharp LH79520 board
with a 4bpp FSTN LCD display. I'm building on a i686/RedHat 9 system.
I was not able to get configure to work using the --target=arm-linux
option (it seemed to get rather confused and still used the x86 gcc).
So, I set the various CC, LD, etc variables before the configure and
then set host to i686-linux. In fact, my entire configure command was:
./configure --prefix=/home/holland/arm/rootfs/usr/local --disable-sdl
--with-gfxdrivers=none --disable-freetype --enable-static
--host=i686-linux
This and editing config.h to not #define ARCH_X86 got me to something
that would build and install. However, it's rather cranky when I try to
actually do something with it (I've been building the tutorial example
that draws a horizontal line). The problems I hit:
- It can't open the module directory as it tries to use the full prefix
path - this isn't valid on the target as it really should just be
/usr/local... I've tried various configure options to separate the two,
but when I get something that will compile correctly, I can't install
it on my host as it wasn't to install to the host's /usr/local... Is
there a proper way to do this?
- I get an immediate failure in surfaces.c where it has an unknown
pixel format (I hit the BUG in surfaces.c line 766 as the format passed
in is 0).
Is there any support for 4bpp? I think I can recompile the kernel and
set up the lcd driver to run at 8bpp but haven't tried that yet (the
support for the driver in this chip is pretty spotty at best).
In general, have many others done this? Is there some existing
documentation somewhere as to all the simple things I should be doing
but am not?
Thanks for any help!
Shannon
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.
