Bananian

Run OpenPandora Apps on Bananian

4 1398
Hello,

since the OpenPandora also runs Linux on Armv7 and the apps seem to be simply linux binarys with additional libs, images and info (packaged as squashFS), i wonder if it is possible to run these apps on Bananian.
This would open up a whole range of ready to use emulators and games that don't have to be modified and compiled to work on the pi.

What i have tried so far is to download "DraStic", a Nintendo DS emulator that is available as both an android app and an openpandora app:
  1. root@bananapi ~ # wget http://repo.openpandora.org/includes/download.php?app=DraStic -O drastic.pnd
  2. --2015-01-02 21:24:02--  http://repo.openpandora.org/includes/download.php?app=DraStic
  3. Resolving repo.openpandora.org (repo.openpandora.org)... 5.9.50.149
  4. Connecting to repo.openpandora.org (repo.openpandora.org)|5.9.50.149|:80... connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: 4090351 (3.9M) [application/x-pnd]
  7. Saving to: `drastic.pnd'

  8. 100%[===================================================================================================================>] 4,090,351   3.13M/s   in 1.2s

  9. 2015-01-02 21:24:04 (3.13 MB/s) - `drastic.pnd' saved [4090351/4090351]

  10. root@bananapi ~ #
Copy the Code
Mount the file with:
  1. root@bananapi ~ # mkdir /media/temp
  2. root@bananapi ~ # mount drastic.pnd /media/temp
  3. root@bananapi ~ #
Copy the Code
dir in /media/temp shows:

  1. drwxr-xr-x 2 1000 1000   73 Mar 28  2014 system/
  2. -rwxr-xr-x 1 1000 1000   74 Aug  1  2013 drastic.sh*
  3. drwxrwxr-x 3 1000 1000  271 Mar 28  2014 ./
  4. -r-xr-xr-x 1 1000 1000 1017 Mar 28  2014 libstdc++.la*
  5. -rw-r--r-- 1 1000 1000 1.9K Mar 28  2014 PXML.xml
  6. drwxr-xr-x 5 root root 4.0K Dec 28 23:59 ../
  7. -rw-r--r-- 1 1000 1000 9.2K Aug  1  2013 ds_icon.png
  8. -rw-r--r-- 1 1000 1000  41K Mar 28  2014 drastic_readme.txt
  9. -rw-r--r-- 1 1000 1000  68K Mar 28  2014 .drastic_readme.txt.swp
  10. -rw-r--r-- 1 1000 1000 118K Aug  1  2013 drastic_logo_1.raw
  11. -rw-r--r-- 1 1000 1000 118K Aug  1  2013 drastic_logo_0.raw
  12. -rwxr-xr-x 1 1000 1000 911K Mar 28  2014 drastic*
  13. -rw-r--r-- 1 1000 1000 1.6M Mar 28  2014 game_database.xml
  14. -rw-r--r-- 1 1000 1000  14M Aug  3  2013 usrcheat.dat
Copy the Code
But when i run ./drastic the file some how doesn't exist?
  1. root@bananapi /media/temp # ./drastic
  2. zsh: no such file or directory: ./drastic
  3. 127 root@bananapi /media/temp #      
Copy the Code
Help would be appreciated, thank you.
Edited by Felix3008 at Sat Jan 3, 2015 10:25

I have made some progress:

running the file with in qemu-arm resulted in it looking for ld-linux.so.3 in /lib , but it actually is located in /lib/arm-linux-gnueabihf
After copying the file to /lib i now get a different error:
Instead of the misleading "no such file or directory" error i get this error:
  1. root@bananapi /media/temp # ./drastic                                                                                                                            :(
  2. ./drastic: error while loading shared libraries: libts-1.0.so.0: cannot open shared object file: No such file or directory
  3. 127 root@bananapi /media/temp #         
Copy the Code

You shouldn't move system files around. If it is looking for a file in one place, and the file is somewhere else, you should instead instruct the applications where the file is.

In this instance, such a feat may be possible by running the file with LD_LIBRARY_LOAD=/lib/arm-linux-gnueabihf qemu-arm [command] or whatever, although the environment may not carry over.

Edited by necrophcodr at Sat Jan 3, 2015 14:29

-snip double post-

You can now open or run the all Pandora application on this that was Bananian along with the all codes that was on this. I have to fetch the all details on this that was available at best paper writing service this was the company that work in this city since long or have the all parts on this.

You have to log in before you can reply Login | Sign Up

Points Rules