View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#91
Originally Posted by Android_808 View Post
why not grab meege ce version? it was armhf iirc

edit: mer files:

http://repo.merproject.org/obs/nemo:...mv7hl/armv7hl/
http://repo.merproject.org/obs/nemo:...:/omap3:/n900/
I got it little bit further, tested simple.c from: http://talk.maemo.org/showthread.php?t=37356
I think I need better minimal test-case.

Code:
wget http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/armv7hl/ti-omap3-sgx-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm
rpm2cpio ti-omap3-sgx-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm | cpio --extract --make-directories

wget http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/armv7hl/ti-omap3-sgx-libGLESv2-devel-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm
rpm2cpio ti-omap3-sgx-libGLESv2-devel-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm | cpio --extract --make-directories

wget http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/armv7hl/ti-omap3-sgx-libEGL-devel-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm
rpm2cpio ti-omap3-sgx-libEGL-devel-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm | cpio --extract --make-directories

wget http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap3:/n9xx-common/latest_armv7hl/armv7hl/ti-omap3-sgx-devel-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm
rpm2cpio ti-omap3-sgx-devel-1.4.268.5-12.1.Nemo.Adaptation.N9xx.armv7hl.rpm | cpio --extract --make-directories

cd usr/lib
ln -s libGLESv2_r125.so libGLESv2.so
ln -s libIMGegl_r125.so libIMGegl.so
ln -s libGLES_CM_r125.so libGLES_CM.so
ln -s libsrv_um_r125.so libsrv_um.so
ln -s libglslcompiler_r125.so libglslcompiler.so
ln -s libOpenVG_r125.so libOpenVG.so
ln -s libOpenVGU_r125.so libOpenVGU.so
ln -s libpvr2d_r125.so libpvr2d.so
ln -s libPVRScopeServices_r125.so libPVRScopeServices.so
cd ../..

LD_LIBRARY_PATH=usr/lib g++ -fpermissive -lX11 -lEGL -lGLESv2  simple.c -o simple -Iusr/include -Lusr/lib
Got it compiled.

Running:
Code:
DISPLAY=:0 LD_LIBRARY_PATH=usr/lib ./simple 
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  11
  Current serial number in output stream:  12

------
Originally Posted by freemangordon View Post
I can provide patches for or push to github 3.15-rc7 with working SGX driver that comes with omap1 kernel. No idea which userland drivers it will work with (besides those from fremantle).

http://talk.maemo.org/showpost.php?p...&postcount=115
This thread is about Linux n900 3.12.0-rc5+ #2 PREEMPT Tue May 27 15:19:59 BRT 2014 armv7l GNU/Linux, but I think newer is better (I have read what is not working with it)
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post: