From Lundman Wiki
Revision as of 18:34, 18 October 2008 by Belcampo (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here are the steps I did to compile some apps with directfb support. I'm sure it can be streamlined.

Remember do not try to run these apps on your NMT device

1. Download DirectFB 1.0.1 from directfb.org


2. Extract archive and enter the folder

3. Path to use the cross tool


4. Configure as follows, you might need to disable some other libraries if you don't want to cross compile things you have installed (change --build as necessary)

./configure --target=mipsel-linux-uclibc --host=mipsel-linux-uclibc --enable-x11=no --enable-png=no --with-gfxdrivers=none --build=i386

5. Make the target

make LDFLAGS=-Wl,--dynamic-linker,/lib/ld-uClibc.so.0

This might fail but I noticed that the apps in tools built which is what I want

6.The tool apps are in tools/.libs

7.run "file dfbinfo" to check your cross

dfbinfo: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked (uses shared libs), not stripped

8. Do not test or run dfbinfo from your NMT and at NTSC SD resolution this what you would not use

/ # /sharename/dfbinfo --dfb:fbdev=/dev/em8xxx0,mode=720x480

9. Here is a sample app base on the DirectFB tutorials


Question, if you had chosen --enable-x11=yes instead of --enable-x11=no, what possibilities would then become available on the NMT ?

What about: Xfbdev mythbackend:/mythfrontend

or is this bullshit ?