From GameBrew - a wiki dedicated to Video Game Homebrew.

Author(s)DSLinux team
TypeOperating system
LicenceGPL, LGPL, or BSD

DS Linux is a port of the Linux operating system to the Nintendo DS. DSLinux was maintained until sometime in 2010. It works on real hardware, use on emulators is not supported. Since Apr 28 2007, RAM build is integrated in the DLDI build.


  • Web browsing: DSLinux features 2 text mode browsers, links and retawq. For graphical browsers you can use the graphical mode of links or the web browser in PIXIL.
  • SSH: You can use it as a handheld wireless ssh/telnet terminal or ssh in remotely from your PC.
  • FTP/WWW: You can use it to download from FTP/WWW sites using the aforementioned web browsers or the ncftp client. You can also use your DS as a FTP/WWW server using ftpd and boa.
  • Games: You can play various text based games, including frotz. GPF has also ported xrick.
  • IRC: You can use irssi to chat on irc networks.
  • MP3/MOD: You can use madplay to play mp3's or use xmp to play modules whilst doing other tasks. You can also use EsounD and MPD to listen to mp3's remotely.
  • File management and editing: Along with the usual basic file operations you can also unzip, untar, gunzip, bunzip and dldi patch files. You can also edit files using Vi, nano and hexedit.
  • Mail: You can use nail to read and send POP3/IMAP emails. Most web based emails such as Hotmail and GMail can be accessed using the text mode browsers.
  • Spreadsheet: You can create spreadsheets using sc.


Download dslinux.nds to the apps folder of your card.

DLDI patch .nds file and copy it to the root directory of the card.

Download and extract dslinux-dldi.tgz to a folder called linux in the root of your card.

For best use, use DSLinux with a Slot2 expansion pack.

User guide

In order to trick DS into booting unofficial code, it requires either having FlashMe installed or more commonly some kind of device in Slot-1. In addition to a way to boot homebrew, you also need an add-on device to store homebrew programs on. There are several different devices that allow you to do this. They can be divided into two categories: Slot-1 devices and Slot-2.

Slot-1 Devices:

Slot-1 devices go into the DS game slot.

They have been appearing on the market since December 2006. Typically, these devices include an integrated NoPass and some kind of storage in the form of a removable MicroSD or fixed flash memory, making them 'all-in-one' solutions for running homebrew.

Whilst popular, Slot-1 cannot provide extra RAM that DSLinux needs for lots of its features. Therefore, a Slot-2 RAM extension such as the one supplied with the Opera DS browser is recommended if you want to run DSLinux with a Slot-1 device.

Slot-2 devices:

Slot-2 devices go into the GBA game slot. To allow the DS to run code from Slot-2 you'll need either some kind of NoPass in Slot-1 or FlashMe installed.

Some Slot-2 devices provide extra RAM, allowing DSLinux to run more sophisticated programs.

DSLinux device support:

DSLinux supports devices via the DLDI interface, so if a DLDI driver is available for a device it should be supported. Most devices now support DLDI autopatching in the latest firmwares.

Log in with the login 'root' and the password 'uClinux' *case-sensitive*.


Hardware known to be compatible with DSLinux.

Known issues

Does NOT work on emulators (Tested on no$gba)

Both of the graphical browsers are very buggy at the moment. Flash and javascript are not supported.


  • Changes since the last build
Restored 'lib/audiofile/src/audiofile.spec'
Restored 'user/games/noiz2sa/src/bulletml/tinyxml/xmltest'
Restored 'user/esd/src/esddsp'
Restored 'user/esd/src/esound.spec'
Restored 'user/bzip2/src/manual.html'
Restored 'user/bzip2/src/'
Restored 'user/bzip2/src/manual.pdf'
Restored 'user/mc/src/intl/libintl.h'
A    user/fbview/pixmap.c
A    user/fbview/pixmap.h
A    user/fbview/ds_bmp.c
A    user/fbview/ds_bmp.h
A    user/fbview/ds_gpm.c
A    user/fbview/ds_jpeg.c 
A    user/fbview/ds_gpm.h
A    user/fbview/ds_jpeg.h
  • Updated to revision 2428.


See all the contributors here.