Closed Thread
Results 1 to 10 of 10

Thread: ds and linux

  1. #1
    jaytal is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    ds and linux

    hello people i dont now whether i can post this here but im trying to make a nintendo ds phone, using linux on the ds to run programs like wammu to control a phone through usb or bluetooth (are u still with me)
    i am looking to incorparate it into the ds so it has three screens (phone built in)
    i am new to programing and linux.
    but linux seems to work on the ds small arm architecture so i would like to find out wether i can put apps on the ds apps that use small ram (as the ds ram is very low max 16 - 32mb) DSLinux - Wikipedia, the free encyclopedia
    i would like to find out if possible how to success fully port certain phone apps to the ds. android type apps but poeple this is my first poating and i would like to learn how to do it please please please help

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    msrockzzz is offline Newbie
    Join Date
    Jan 2010
    Posts
    10
    Rep Power
    0

    Re: ds and linux

    sorry i can't understand..

  4. #3
    JewFro297's Avatar
    JewFro297 is offline Programming Professional
    Join Date
    Jan 2010
    Location
    New York
    Posts
    226
    Rep Power
    0

    Re: ds and linux

    That made sense to me, What your trying to do is more modding than programming. I don't know much about the DS, but I don't think you can use droid apps without having the android operating system by google. If they are written in C or C++ you could use a compiler built for linux to try and recompile them on your DS, but the hardware will be different and it probably wont work. As for programming, you can develop apps for your DS using any language that has a compiler for linux. Just put the compiler on the DS, and program for the linux operating system.

    As for the phone part, unless you are talking a house phone your not going to get any service without a cell phone provider. I'm not really sure how you would control it from the DS... or what you would control, but you could always duck tape a cell phone to the ds
    Yea Dat's right.
    Apple sucks

  5. #4
    jaytal is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Re: ds and linux

    basically i would like some help in learning how to port a few programs to nintendo dslinux
    maybe have the linux system auto load certain programs as soon as the ds boots if possible
    let me explain....
    im trying to intergrate a phone and a nintendo ds. the nintendo ds lite can run a small linux system called dslinux...
    dslinux lets you run a small linux os on the nintendo ds system controlling the ds through the touch screen.
    but the apps are very limited
    so i would like to port a phone manager along the lines of nokia pc suite to control the phone through bluetooth or a converted f bus lead...
    sorry if this is confusing i have put together the hardware im now working on the software as my normal partner that does all the programming has gone on to newer projects as the hardware took 17 to 19 months on and off to put together i would like to finish the project....
    i have found a phone manager app called Wammu that works with the intended phone and is built to work on linux but i need to find out how to port the program to work ok on such a small cpu
    so any help would be appriciated sorry
    im a noob when it comes to software and programs
    i do hardware like xboxpcs wii-laptops and so on and my old partner does the programing i do the grunt work
    thanks for your help

  6. #5
    JewFro297's Avatar
    JewFro297 is offline Programming Professional
    Join Date
    Jan 2010
    Location
    New York
    Posts
    226
    Rep Power
    0

    Re: ds and linux

    your partner was probably pretty experienced... I'm sorry but I can't really help since I'm not lol. but dont most phones have arm processors too to begin with?
    Yea Dat's right.
    Apple sucks

  7. #6
    jaytal is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Re: ds and linux

    thank you for your comments
    both me and my ex partner are amatures self taught
    i started by chipping ps1 back in the days
    the phone is not the problem
    i got the toolchain for the program its how to recompile the program to work on dslinux

  8. #7
    JewFro297's Avatar
    JewFro297 is offline Programming Professional
    Join Date
    Jan 2010
    Location
    New York
    Posts
    226
    Rep Power
    0

    Re: ds and linux

    ok lol you probably know more about it than me then. sorry i couldn't help, anybody else able to help?
    Yea Dat's right.
    Apple sucks

  9. #8
    jaytal is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Re: ds and linux

    thankyou bro

    people any help out there?

  10. #9
    ETShost is offline Learning Programmer
    Join Date
    Nov 2009
    Location
    Flint, Michigan USA
    Posts
    48
    Rep Power
    0

    Re: ds and linux

    Hi jaytal,

    If you already have the toolchain required to build applications on DSLinux, then what are you are most likely missing are the sources to the dependencies of the application you're trying to port. You should gather a list of these dependencies(and your dependencies's dependencies) and download them all.

    After you find a list of the dependencies you will need in order to build your application you will then need to choose which dependencies can be can reasonably expected to run on the Nintendo DS. Once you have your list of dependencies that will run and ones that won't, or even which ones conflict or duplicate existing software functionality already featured in DSLinux you will need to decide how you will go about building your program without the ones you don't need/can't run.

    For example, if your application requires GTK, you may have to rewrite you application to no longer use GTK as GTK has many large dependencies(1) that won't fit within the DS's 4MB of RAM.

    Of course your other option in this example could be to rewrite your your own implementation of GTK, that utilizes only the subset of GTK's features you need for your application, but most likely rewriting the application to not use GTK would be easier.

    Another example could be with Bluetooth. One popular Bluetooth networking stack in the Linux community is BlueZ. While you may be able to get BlueZ working on DSLinux, DSLinux may have already implemented their own Bluetooth networking stack(For whatever reasons they may have chosen to do this). With the limited memory constraints of the DS it would be unreasonable to run both stacks side by side. It could also cause your application to conflict with other applications using a different Bluetooth stack. Therefore in this case, the best decision would be to rewrite you application to use DSLinux's bluetooth stack.

    These examples are all hypothetical, but they illustrate the decision making process you will need in order to assess the dependencies you will need for you application.

    1.Like an X Server. Even though DSLinux uses the nano-x project, nano-x may not be able to reproduce enough functionality of X.org to run GTK
    ETShost .com - Exceeding Innovation
    Dedicated ServersVPS • Web Hosting
    24/7 Support | 1-866-259-2934

  11. #10
    jaytal is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Re: ds and linux

    thanx ETShost ima look into ur info thanku 4 the help to get my mind focused

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. WoW on Linux
    By Grub in forum Games for Linux/Unix
    Replies: 24
    Last Post: 10-30-2011, 12:27 PM
  2. Linux Security, The Ultimate Linux Security Gateway
    By Tor in forum Linux Tutorials, Guides and Tips
    Replies: 2
    Last Post: 12-21-2008, 03:51 PM
  3. Linux CBT Nuggets: Linux+
    By Tor in forum Linux/Unix General
    Replies: 1
    Last Post: 06-27-2008, 05:35 AM
  4. How to do with linux.?
    By Patrick in forum Computer Software/OS
    Replies: 0
    Last Post: 10-13-2007, 08:46 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts