View Single Post
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#30
EDIT: This is my 1000th post on TMO. Time to retire? :>

OK, step by step guide for my current setup, from a fresh N810 with openssh installed. You'll need the Graphics SDK stuff obviously.

1. Flash this kernel - config at http://stskeeps.subnetmask.net/maemo.org/gl/.config

2. SCP OMAP24xx_MBX_SDK_N8xx/bin/binary_omap2420_linux_debug to /root/binary_omap2420_linux_debug

3. Copy omaplcd.ko and mbxaccess.ko into the same directory. This is the driver from http://gitorious.org/mbx-n8x0/mbx-n8x0-modules along with nobackbuffers.patch to save some DMA memory.

4. Copy *.so from binary_omap2420_linux_debug to /usr/lib and run ldconfig

5. Copy mbxdaemon from binary_omap2420_linux_debug to /usr/bin

6. Put in /etc/powervr.ini:

[default]
WindowSystem=wrapperwsegl.so

and upload http://stskeeps.subnetmask.net/maemo...rapperwsegl.so to /usr/lib

4. Start up the MBX daemon..
Code:
cd /root/binary*debug
insmod mbxaccess.ko
insmod omaplcd.ko
mbxaccess_maj=`grep ""mbx"$" /proc/devices | cut -b1,2,3`
/bin/rm -f /dev/mbx
/bin/mknod /dev/mbx c $mbxaccess_maj 0

disp_maj=`grep "omaplcd$" /proc/devices | cut -b1,2,3`
/bin/rm -f /dev/omaplcd
/bin/mknod /dev/omaplcd c $disp_maj 0
chmod a+rw /dev/mbx /dev/omaplcd
sleep 5
/usr/bin/mbxdaemon &
4. Fix up libXau.0 link:

ln -s /usr/lib/libXau.so.6 /usr/lib/libXau.so.0

5. As user, that is, from your X-Terminal, now:

Code:
cd /root/binary_omap2420_linux_debug
./xegltest &
You should now see spinning triangles with some stalls. In the x-terminal you'll observe a bunch of MBX hardware recovery messages..
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.

Last edited by Stskeeps; 2010-06-20 at 08:05.
 

The Following 17 Users Say Thank You to Stskeeps For This Useful Post: