Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    debian jessie image for N900

    Reply
    Page 10 of 13 | Prev |   8     9   10   11     12   | Next | Last
    AapoRantalainen | # 91 | 2014-06-15, 20:41 | Report

    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)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
    backcover_press_service, caveman

     
    caveman | # 92 | 2014-06-16, 11:20 | Report

    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 :-)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    caveman | # 93 | 2014-06-16, 11:32 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by caveman; 2014-06-16 at 11:35.
    The Following User Says Thank You to caveman For This Useful Post:
    backcover_press_service

     
    taixzo | # 94 | 2014-06-16, 15:11 | Report

    Someone has built Nemo with basic Wayland support for the N900. Perhaps this would be somewhere to look?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to taixzo For This Useful Post:
    backcover_press_service

     
    wicket | # 95 | 2014-06-16, 16:54 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to wicket For This Useful Post:
    caveman, foobar

     
    freemangordon | # 96 | 2014-06-17, 05:31 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 8 Users Say Thank You to freemangordon For This Useful Post:
    AapoRantalainen, backcover_press_service, caveman, foobar, OVK, reinob, wicket, Xagoln

     
    caveman | # 97 | 2014-06-17, 10:48 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 98 | 2014-06-17, 16:23 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 9 Users Say Thank You to freemangordon For This Useful Post:
    Android_808, backcover_press_service, caveman, misiak, mr_pingu, nokiabot, OVK, Sohil876, wicket

     
    caveman | # 99 | 2014-06-18, 17:23 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to caveman For This Useful Post:
    backcover_press_service, foobar, freemangordon, OVK, reinob, Xagoln

     
    freemangordon | # 100 | 2014-06-18, 17:35 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 10 of 13 | Prev |   8     9   10   11     12   | Next | Last
vBulletin® Version 3.8.8
Normal Logout