Slashdot Mirror


Kernel, Shell Boots on DS Linux

mrseigen writes "According to dslinux.org, the Linux kernel successfully boots on the Nintendo DS along with a simple shell, sash. Input is done via the d-pad. How long until Netstumbler?" While maybe not the most practical platform, it's impressive on its technical merit.

55 of 230 comments (clear)

  1. Netstumbler? by Fjornir · · Score: 5, Funny

    Not netstumbler. I wanna see some tux racer.

    --
    I want a new world. I think this one is broken.
    1. Re:Netstumbler? by Trejkaz · · Score: 4, Funny

      Only it's on the DS, so it has to be called "Touch Racer" instead to comply with marketing requirements for DS games.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    2. Re:Netstumbler? by bach37 · · Score: 3, Informative

      Take a wild guess at its name:
      istumbler

    3. Re:Netstumbler? by Anonymous Coward · · Score: 4, Funny

      Sure to make it a hit at Neverland...

  2. Well by elid · · Score: 5, Interesting

    How long until they can get it working with the touch screen as a text input device in Linux? That would be really amazing.

    1. Re:Well by Janitha · · Score: 5, Interesting

      The familiar linux project mainly aims at the arm processors, but they are slowly but steadily perfective the art of linux on the handtop, and I specially like the few on-screen keyboards, and the handwrite recognition apps they had included. A port of the familar distro (http://familiar.handhelds.org/) would be very nice to see on the DS.

    2. Re:Well by Mercano · · Score: 2, Informative

      Its also been done on Opie, but that of course primarily targets PDAs. Though, other then the fact that the DS has two screens, prioprietary memory cards, and no on-board ROM, I don't think there is too much difference.

      --
      #include <signature.h>
    3. Re:Well by Frogbert · · Score: 3, Insightful

      And naturally because this is a linux distribution there are two competing desktop environments.

    4. Re:Well by Noodlord · · Score: 2, Interesting

      Familiar is mostly a kernel, so it would be more likely to see the GPE or Opie environments recompiled for the DS Linux kernel.

    5. Re:Well by Ctrl-Z · · Score: 4, Funny

      Sure, put one on each screen.

      --
      www.timcoleman.com is a total waste of your time. Never go there.
  3. Where's Waldo? by SpartanVII · · Score: 5, Funny

    All that trouble and you can't get a nice boot screen of Tux? What's the point? :P

  4. That's truly stunning... by tattoi.nobori · · Score: 5, Funny

    Not only for the technical accomplishment, but for the sheer, "why?" factor...

    Rock on, I guess. ^_^

    1. Re:That's truly stunning... by mcc · · Score: 5, Interesting
      Let me see here

      A device with
      • A touchscreen
      • An auxiliary screen
      • 802.11
      • For $150
      Find a way to boot off of a flashcart DS cart, and fuck, this sounds like a really good deal to me.
  5. Linux on a DS? by baryon351 · · Score: 5, Funny

    How about OSX on a Gameboy

  6. D-Pad by doubtless · · Score: 5, Funny

    Input is done via the d-pad.

    What happen when I want to use the other 25 characters? This makes an interesting login/password combo

    --
    geek page at KY speaks
    1. Re:D-Pad by taffer1979 · · Score: 4, Funny

      You know someone will use up up down down left right left right start as their password.

    2. Re:D-Pad by rickthewizkid · · Score: 3, Funny

      Well... the root password COULD be "UP,. UP, DOWN, DOWN, LEFT, RIGHT, LEFT, RIGHT, B, A, START" --- of course, any Nintendo player that grew up with the NES and SNES would know that since you have the L and R buttons , you would have to use them in place of the LEFT, RIGHT, LEFT, RIGHT or else your DS will self destruct....

      Yes, I played WAY too many video games as a kid...

      Just my Konami-Code's worth....
      --RickTheWizKid

    3. Re:D-Pad by PhotoGuy · · Score: 3, Funny
      You know someone will use up up down down left right left right start as their password.

      Hey! That's my luggage combination!

      --
      Love many, trust a few, do harm to none.
  7. Not practical? by lostchicken · · Score: 5, Insightful

    Yeah, a portable device with a lot of battery power, wireless, two screens and a touchscreen input running a general purpose operating system that's relatively inexpensive and that many of us already have couldn't possibly be practical...

    I'd never want my GameBoy to replace my palmpilot...

    --
    -twb
    1. Re:Not practical? by Zigg · · Score: 4, Insightful

      And, of course, DS homebrew is possible in any number of ways:

      1. With a "PassMe" device -- a card that slides into the DS slot and instructs the DS to execute DS code from the GBA slot. Requires a piggybacked game card, which Nintendo helpfully provides with most DS units.
      2. With "WifiMe" -- a downloadable-from-the-main-menu jump to the GBA slot. You're tied to a PC, but you don't need any hardware besides -- again -- a GBA card.
      3. With a firmware update created by homebrewers that replaces the DS's ability to run GBA games with a new ability to run DS-mode code from the GBA slot.

      Honestly, CowboyNeal... how can this not be practical? Is it just not as cool as playing JavaScript tetris -- tethered to a PC, mind you, and requiring the use of one particular game -- on a PSP?

    2. Re:Not practical? by xenocide2 · · Score: 2, Interesting

      Just thought I should mention that the WiFiMe does indeed require more hardware than just a DS and gba cart. You also need a wifi card that has a specific chipset. And it's not the popular atheros one. There's little hope of that particular project ever supporting another card, as the wifime replaces the driver with a different one to communicate with the DS.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

  8. Troubling... by Sheetrock · · Score: 5, Interesting
    It's a great technical achievement, but I'm concerned it will be turned to piracy uses eventually.

    It would be nice if console developers would release or permit to be released an official version of Linux for their platforms so that hardware and software exploits didn't need to be used.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:Troubling... by cgenman · · Score: 3, Interesting

      If they released an official version of Linux for their platforms, it would allow unsigned, uncontrolled code to run on their platforms. They could no longer demand licensing revenue, because people could just release their games under the linux portion of the OS, not that is a significant threat. What's more troubling would be, for example, Microsoft's security model based around not allowing anything unsigned onto their network. An Xbox with full network access running arbitrary code can now do nasty things with billing servers, the services of other people, or simply cheating in online games.

      Plus, of course, it's a lot of resources to get Linux to run on a new platform, even though someone always seems willing to do it. And hardware and software exploits are going to be released anyway... flash carts for the DS existed long before Linux ran on it.

    2. Re:Troubling... by antizeus · · Score: 2, Funny
      I'm concerned it will be turned to piracy uses eventually.
      Maybe I'm just not clever enough, but I don't see what use a DS running Linux would be when committing robbery on the high seas.
      --
      -- $SIGNATURE
  9. The PSP is next by a3217055 · · Score: 4, Interesting

    I bet these guys will get linux to work on the PSP next, that would be just swell. But they should make game hardware that is open and people can install what they want on it. Thus have a great game system and also a great mini computer that can do other small things such as read email or maybe mount remote file systems. Well all this is great congrats guys. A tin of Skoal for eveyone of you :)

  10. pfft. by Anonymous Coward · · Score: 2, Funny

    "While maybe not the most practical platform"

    Meanwhile you guys post every psp "hack" with glee.

    Go fuck yourselves. Same goes to anyone else who posts "why oh why" in this thread. I hope you all choke on your PSPs.

  11. Netstumbler? by mooosenix · · Score: 5, Informative
    How long until Netstumbler? A really long time, since it is closed source and a Windows application.

    Kismet? Definately! I would love to see that. Kismet on a DS would rock.

  12. And what do his friends have to say? by Pollux · · Score: 5, Funny

    "Hey man, check it out! I just got Linux to boot on my DS!"

    "Duh, where's Mario?"

    "Forget Mario! Linux boots!"

    "What's Linux?"

    "It's an operating system, you know, like Windows and junk, but I got it to run on the DS!"

    "Does Linux play Mario?"

    "No, Linux does not play Mario! But it can do so much more!"

    "But it can't play Mario. What a geek."

  13. Why not Kismet? by shakezula · · Score: 5, Insightful

    It'd make more sense to wonder about Kismet. Netstumbler is a Win32 app, no Linux port to speak of, and it's not open source.

    --
    I know what you're thinking. Did I forward 65,535 packets or 65,536 packets?
  14. any chance by squidsoup · · Score: 5, Funny

    that a gameboy emulator will compile on this?

    oh.. wait..

    1. Re:any chance by Viper_Viper · · Score: 5, Informative

      Correct me if I'm wrong, but that would be very usefull since the NDS does not play original gameboy games.

    2. Re:any chance by Time+Doctor · · Score: 2, Interesting

      I meant that if you put a GBA cart into the DS to play versus another player on a DS or GBA, you can't. While, yes, Nintendo has a track record of porting popular properties to every platform they make, some people might like to play Advance Wars 1 or 2, instead of the future DS version.

      --
      Check out ioquake3.org for a great, free, First-Person Shooter engine!
  15. Oh Boy! by ackthpt · · Score: 4, Funny
    Now I'll be able to play NetHack on a DS!

    or maybe I should just stick to playing it on a linux pda and stop throwing money away...

    --

    A feeling of having made the same mistake before: Deja Foobar
  16. He needs new friends by bluGill · · Score: 3, Interesting

    I wish I were this guy's friends. I'd be impressed, and encourage him to keep hacking.

    Sadly, I have the same problem I'm sure he does: lack of friends who care about things that are important to me. Great for a game of racquetball (and I need the exercise),but they know nothing about BSD for the most part. I can't get into an argument about how BSD is better than linux because they have no clue about either. I'll bet this guy could give me some reasonable arguments in return.

  17. This is Cool by linguae · · Score: 4, Interesting

    This seems cool, and it reminds me of when Amid Singh ran some ancient Unices on his GBA emulator. Pretty impressive, it can only get better. Makes me a little more interested in shelling out the $149 for a Ninetendo DS; I can see a lot of usefulness in having an ultra-portable *nix system around me at all times. I wonder if there are any small keyboards for the Nintendo DS?

    Now if only NetBSD does a port....

    1. Re:This is Cool by Pepsiman · · Score: 2, Informative

      The NDS linux port is based on the GBA linux port:
      http://wwwhsse.fh-hagenberg.at/Studierende/hse0200 6/uclgba/

      A touchscreen keyboard is being worked on.

  18. Actually this has a lot of potential by Frangible · · Score: 4, Interesting

    The DS has two cartridge ports for potential storage, Wifi, and the bottom screen could serve as a soft keyboard. The DS has enough CPU power, but is kinda low on RAM. Still, if this was developed enough, it'd be a decent and inexpensive Linux machine with a lot of possibilities.

  19. Re:Obligatory quote... by Doomstalk · · Score: 3, Funny

    Better: In Soviet Russia, Nintendo DS touches YOU!

  20. Yuo forgot the B A by glrotate · · Score: 4, Informative

    up up down down left right left right B A start

    1. Re:Yuo forgot the B A by Anonymous Coward · · Score: 2, Funny

      that's for 2 players

  21. The "why"... by Kjella · · Score: 3, Insightful

    Not only for the technical accomplishment, but for the sheer, "why?" factor...

    I'm guessing because it hasn't been done before. I must admit I found most of the exercises in school boring, partly because they had already been solved. Many people don't want to be the 235,523th to create an MP3 player.

    Making a OSS program copying closed source software isn't very creative either. Most "serious" applications and stuff have been done already, and so many of the projects left have more or less no reason. They're simply a challenge, and one you wish to solve on your own. No knocking down open doors, no "answer" to check against.

    As much as it may seem trivial, creating something unique is a part of many people's self-realization. Some create a piece of art, some decorate their home or garden, some create a new piece of software. There's a tremendous feeling of achievement there you could never get by mere copying.

    Kjella

    --
    Live today, because you never know what tomorrow brings
    1. Re:The "why"... by Storlek · · Score: 5, Funny

      I'm guessing because it hasn't been done before.

      What, running Linux on some weird piece of hardware? Yeah, no one's ever done that.

      --
      Bears don't normally eat things that talk and move backwards.
    2. Re:The "why"... by Feztaa · · Score: 2, Funny

      235,523th

      Ah, the two hundred and thirty five thousand, five hundred and twenty thirth, eh?

      I only mention it because I actually wrote something similar recently and I thought the word "twenty thirth" was pretty funny ;)

    3. Re:The "why"... by Viol8 · · Score: 3, Insightful

      "Many people don't want to be the 235,523th to create an MP3 player."

      I think you mean "Many people don't want to call out to an mp3 API written by someone else who did all the hard work". If so many people in your school can understand and implement the actual MP3 algorithms then you must be attending a special undercover college of geniuses.

      "There's a tremendous feeling of achievement there you could never get by mere copying."

      And no ones ever tried to run linux on some inappropriate gadget before. Nope , this is a totally unique achievment. *cough*

  22. Re:Obligatory quote... by macaulay805 · · Score: 2, Funny

    Better: In Soviet Russia, Nintendo DS touches YOU!

    Is this an example of why reverse engineering is illegal in the USA?

  23. Re:PassMe by barawn · · Score: 4, Informative

    There is already the PassMe method, which boots from a GBA card through an adapter in the DS slot. Details on dspassme.com

    Or the WiFiMe method, which boots from a GBA card with a PC with a wireless card. Only a few chipsets supported right now, though.

    Then there's the FlashMe modification, which is a firmware patch. That's the best option, but of course, it requires modding the DS (and having either WiFiMe or PassMe available once for getting an ID #). It's an incredibly minor mod (bridging two pads).

  24. Re:PassMe by mcc · · Score: 2, Interesting

    The passme sticks out of the case in a really ugly way, necessarily requires the use of both slots, and requires you to buy a gba flashcard. I think I'll just wait for the DS flashcarts. I want something I can take to Panera Bread.

  25. Mind the key layout by tepples · · Score: 2, Insightful

    I wouldn't imagine it would be all that difficult to code a software keyboard on the touch screen, and just have the user point to the letters he/she wants to type.

    Don't lock yourself into QWERTY or Dvorak. Typing on a touch screen resembles typing with one finger more than anything else, but the QWERTY and Dvorak key layouts are designed to alternate keypresses between hands, which isn't always the best choice for single-finger typing. Look at Fitaly for inspiration.

    I am giving some serious thought to actually doing this... after I evaluate the risks.

    What risks, other than a possible patent on the Fitaly layout?

  26. Get a flash card... by Hamster+Lover · · Score: 2, Informative
    and download Goomba. Full speed and sound for Gameboy games. Gameboy color games are not emulated (yet).

    Nothing like classic Zelda or Tetris on the beautiful DS screen...

  27. Hey! by 3.5+stripes · · Score: 2, Interesting

    It's not completely obsolete!

    Plus, mario64 DS fucking rules.

    --


    He tried to kill me with a forklift!
  28. Re:Emulator by Pepsiman · · Score: 2, Informative

    DSlinux does not yet work in iDeaS.

    I'm working with the author to get this fixed.

    None of the other DS emulators emulate both CPUs, so you can currently only run DSlinux on a real DS.

  29. It doesn't replace funtions, only adds by joda · · Score: 2, Informative

    With a firmware update created by homebrewers that replaces the DS's ability to run GBA games with a new ability to run DS-mode code from the GBA slot.

    Not really. What the FlashMe modification does is: implement a check whether a DS-binary is present on a cart in the GBA slot. If so, it points arm7 code execution to the binary; if not, it loads up the ordinary firmware with unaltered functionality (this includes playing GBA-games). Kinda nifty!

    --
    Buy all your crazy japanese videogames from
  30. Re:What I'd like to see by Pepsiman · · Score: 2, Interesting

    Is a VNC client or X11 client for the machine. This way, I could be somewhere else in my house, and check my emails from my DS, instead of going to my computer. Or I could check something on the web from the couch in living room.

    Somebody needs to work out how to program the registers for the wifi in the ds first.

    VNC and X11 should both be possible.

    Or modify the kernel so that an attempt to read any file actually streams it from the network to your DS for execution or editing.

    That's called "nfs", there's no reason why this wouldn't work.
  31. Re:Thats cool by Captain_Chaos · · Score: 5, Funny

    I covered this on my blog earlier today!

    I can't believe I missed it!

  32. Re:VoIP? by KDR_11k · · Score: 2, Informative

    Yes, below the touchscreen, slightly to the left.

    --
    Justice is the sheep getting arrested while an impartial judge declares the vote void.