Reply
Thread Tools
Posts: 838 | Thanked: 3,384 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:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#92
Originally Posted by wicket View Post
I'm not sure if this works with caveman's image but I can chroot straight into my images on my PC, qemu runs automatically (I'm building my images using qemu-debootstrap).
I believe that you can install
Code:
qemu-system-arm/qemu-user-static
, copy the static binary into the arm filesystem's /usr/bin/, and then chroot into it on a x86 system. Performance will not be great, and it has been a year since I last used this setup, but it shoul work :-)
 
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#93
Originally Posted by freemangordon View Post
Guys, I didn't get which kernel is used (and I am too lazy right now to re-read the whole thread), but 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).
As you are bringing this up, I have a couple of questions:
* I would like to build this kernel and give it a try, but could not clone the repo. Do I need to register to clone it?
* in the jessie setup with the 3.12 kernel, I have horrible battery life. Is there a kernel config or patchset that may improve this matter?

Regarding the SGX drivers, it would be great if we could build weston on the N900, and maybe try maynard. With the right drivers this should yield good performance. However, I must say that I lack knowledge in this respect. So here goes the question: with the driver setup we have at hand, is it feasible to get weston to run?

In http://www.collabora.com/projects/graphics/ there is even mention of it running on powervr.

Last edited by caveman; 2014-06-16 at 11:35.
 

The Following User Says Thank You to caveman For This Useful Post:
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#94
Someone has built Nemo with basic Wayland support for the N900. Perhaps this would be somewhere to look?
 

The Following User Says Thank You to taixzo For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#95
Originally Posted by caveman View Post
* I would like to build this kernel and give it a try, but could not clone the repo. Do I need to register to clone it?
You don't need to register. Pali's tagged 3.16-rc1 just a few hours ago. To clone it run the following:

Code:
$ git clone git://gitorious.org/linux-n900/linux-n900.git
$ git checkout v3.16-rc1-n900
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following 2 Users Say Thank You to wicket For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#96
Originally Posted by wicket View Post
You don't need to register. Pali's tagged 3.16-rc1 just a few hours ago. To clone it run the following:

Code:
$ git clone git://gitorious.org/linux-n900/linux-n900.git
$ git checkout v3.16-rc1-n900
I didn't try what Pali pushed yesterday so dunno if it even boots. He was very busy lately, so we somehow "split" and I was working on my own trees.

Anyway, I will push 3.16-rc1 that boots with DT and has SGX and cmt-speech drivers as soon as I find some free time to clean up my tree.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 8 Users Say Thank You to freemangordon For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#97
Originally Posted by wicket View Post
You don't need to register. Pali's tagged 3.16-rc1 just a few hours ago. To clone it run the following:

Code:
$ git clone git://gitorious.org/linux-n900/linux-n900.git
$ git checkout v3.16-rc1-n900
Thanks for the hint. I will give it a try. The image was build with 3.12 and there are plenty new stuff since I last checked.

The one I could not clone was this one: https://gitorious.org/linux-n900/fre...ons-linux-n900
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#98
Originally Posted by caveman View Post
Thanks for the hint. I will give it a try. The image was build with 3.12 and there are plenty new stuff since I last checked.

The one I could not clone was this one: https://gitorious.org/linux-n900/fre...ons-linux-n900
try this one git://gitorious.org/linux-n900/freemangordons-linux-n900.git branch v3.16-rc1-n900

to build it follow the instructions on http://elinux.org/N900#DT_Kernel_Compilation

I tested it with qemu, it boots, should boot on the device as well.

EDIT:
for building, you need to use rx51_defconfig, it has all the needed stuff enabled
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 9 Users Say Thank You to freemangordon For This Useful Post:
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#99
Originally Posted by freemangordon View Post
try this one git://gitorious.org/linux-n900/freemangordons-linux-n900.git branch v3.16-rc1-n900

to build it follow the instructions on http://elinux.org/N900#DT_Kernel_Compilation

I tested it with qemu, it boots, should boot on the device as well.

EDIT:
for building, you need to use rx51_defconfig, it has all the needed stuff enabled
@fmg It does boot :-)
Code:
Linux n900 3.16.0-rc1+ #2 PREEMPT Wed Jun 18 13:29:27 BRT 2014 armv7l
I had to disable CONFIG_SYSFS_DEPRECATED, otherwise kernel loads but boot fails.

For those willing to live on the bleeding edge here follows uImage/uInitrd and modules suitable to be used on the jessie image: https://187.115.25.181/public/n900/3.16-rc1.tgz
 

The Following 6 Users Say Thank You to caveman For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#100
Originally Posted by caveman View Post
@fmg It does boot :-)
Code:
Linux n900 3.16.0-rc1+ #2 PREEMPT Wed Jun 18 13:29:27 BRT 2014 armv7l
I had to disable CONFIG_SYSFS_DEPRECATED, otherwise kernel loads but boot fails.

For those willing to live on the bleeding edge here follows uImage/uInitrd and modules suitable to be used on the jessie image: https://187.115.25.181/public/n900/3.16-rc1.tgz
What about SGX driver, are you able to load it and start X ? I guess you'll need userspace from Meego
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:49.