Can't get DSLinux to work

  • Thread starter Thread starter Plastisheep
  • Start date Start date
  • Views Views 1,956
  • Replies Replies 10

Plastisheep

Member
Newcomer
Joined
Dec 14, 2022
Messages
5
Reaction score
1
Trophies
0
Age
19
XP
51
Country
United States
No matter what I try with DSLinux, it always fails to work. The single-file version boots and I can log in, but it doesn't let me use most commands. The DLDI version won't even boot properly, and gives me "Internal Error : 0 [#1]" whatever that means. I'm getting really frustrated. If someone could help I would be really grateful! I can send more info on these problems if needed.

Also I forgot to mention that I'm running it on a DSi using an SD card and DS compatibility mode, so it should work.
 
Last edited by Plastisheep,
I'm running it on a DSi using an SD card and DS compatibility mode, so it should work.
Nah, in DS mode the software doesn't use all the available RAM of the DSi but only 4 MB or less, while in DSi mode it won't even work unless someone sooner or later makes the appropriate changes to the .nds file. Someone please correct me if I am wrong.
If you used a DSTwo instead, it would work properly.
 
Nah, in DS mode the software doesn't use all the available RAM of the DSi but only 4 MB or less, while in DSi mode it won't even work unless someone sooner or later makes the appropriate changes to the .nds file. Someone please correct me if I am wrong.
If you used a DSTwo instead, it would work properly.
I'm using twilight menu and I allocated the dsi amount of virtual memory while running it in ds mode
 
I do not think this is possible. Let's try calling in our own @RocketRobz about this, assuming he has the time and inclination to respond.
Yeah, in DS mode, you're limited to 4MB of RAM. idk how the virtual memory feature works, if not using a paging file on the SD card.
 
No matter what I try with DSLinux, it always fails to work. The single-file version boots and I can log in, but it doesn't let me use most commands. The DLDI version won't even boot properly, and gives me "Internal Error : 0 [#1]" whatever that means. I'm getting really frustrated. If someone could help I would be really grateful! I can send more info on these problems if needed.

Also I forgot to mention that I'm running it on a DSi using an SD card and DS compatibility mode, so it should work.

Sadly, in my experience, DSLinux does not work on all cards. The best card I've found for it is DSTT, which works out of the box without issues and with YSMenu you can even set Linux to autoboot.

Also, to boot the DLDI version you need a memory expansion pack. Despite what it says on their website that dslinux.nds is for the non-MEP and dslinuxm.nds is for MEP, it's kind of a lie because the latest build won't run without a MEP at all. You can get the official Nintendo DS Web Browser for like $15 on eBay and use the MEP that comes with that, that's the easiest to acquire one that is compatible.

The problem, though, is that you are using a DSi, which obviously doesn't have a slot for a MEP. While the DSi does have more RAM than an original NDS, I'm not entirely sure if DSLinux could even access it in compatibility mode. I've never actually seen evidence of anyone booting DSLinux on the DSi. The website only says it might work, so it probably doesn't.

Depending on your card, you will also have to manually patch the DLDI version with the DLDI patcher tool to get it to boot. The fact you could get it to boot at all though makes me wonder if your card is fine, because the cards I have that it is incompatible with only give a black screen and don't do anything, and it's probably just the fact you're using a DSi and not an original NDS.

Nah, in DS mode the software doesn't use all the available RAM of the DSi but only 4 MB or less, while in DSi mode it won't even work unless someone sooner or later makes the appropriate changes to the .nds file. Someone please correct me if I am wrong.
If you used a DSTwo instead, it would work properly.

With the MEP in the DS Browser it will actually give you 10 MB of usable memory. It's plenty enough memory for hobbyist stuff.

Yeah, in DS mode, you're limited to 4MB of RAM. idk how the virtual memory feature works, if not using a paging file on the SD card.

DSLinux doesn't support anything like this due to the NDS lacking an MMU, making virtual memory impossible. You are limited to the physical RAM you have and if you exceed that the system will simply crash.
 
Sadly, in my experience, DSLinux does not work on all cards. The best card I've found for it is DSTT, which works out of the box without issues and with YSMenu you can even set Linux to autoboot.

Also, to boot the DLDI version you need a memory expansion pack. Despite what it says on their website that dslinux.nds is for the non-MEP and dslinuxm.nds is for MEP, it's kind of a lie because the latest build won't run without a MEP at all. You can get the official Nintendo DS Web Browser for like $15 on eBay and use the MEP that comes with that, that's the easiest to acquire one that is compatible.

The problem, though, is that you are using a DSi, which obviously doesn't have a slot for a MEP. While the DSi does have more RAM than an original NDS, I'm not entirely sure if DSLinux could even access it in compatibility mode. I've never actually seen evidence of anyone booting DSLinux on the DSi. The website only says it might work, so it probably doesn't.

Depending on your card, you will also have to manually patch the DLDI version with the DLDI patcher tool to get it to boot. The fact you could get it to boot at all though makes me wonder if your card is fine, because the cards I have that it is incompatible with only give a black screen and don't do anything, and it's probably just the fact you're using a DSi and not an original NDS.



With the MEP in the DS Browser it will actually give you 10 MB of usable memory. It's plenty enough memory for hobbyist stuff.



DSLinux doesn't support anything like this due to the NDS lacking an MMU, making virtual memory impossible. You are limited to the physical RAM you have and if you exceed that the system will simply crash.
Also, in addition to no MEP, the dslinux kernel and nds loader source would have to be changed for dslinux to work on the DSI, otherwise it won't work since the CPU registers need to be setup differently on the DSi than on the ds as well as device drivers. This repo looks promising but it is just the kernel+not much more, and it does not come with an nds loader, and the google drive instructions are deleted: https://github.com/grahamgrieb/DSiLinux. Furthermore, the authors of dslinux, left us source that has compilation errors (the most I got was the toolchain to compile, but not the kernel... on Debian Wheezy recommended by this article: https://amihart.medium.com/dslinux-in-2024-7055fcd7dd5b ) - Kei
 
Also, in addition to no MEP, the dslinux kernel and nds loader source would have to be changed for dslinux to work on the DSI, otherwise it won't work since the CPU registers need to be setup differently on the DSi than on the ds as well as device drivers. This repo looks promising but it is just the kernel+not much more, and it does not come with an nds loader, and the google drive instructions are deleted: https://github.com/grahamgrieb/DSiLinux. Furthermore, the authors of dslinux, left us source that has compilation errors (the most I got was the toolchain to compile, but not the kernel... on Debian Wheezy recommended by this article: https://amihart.medium.com/dslinux-in-2024-7055fcd7dd5b ) - Kei
Update: I finally got the dslinux source code to compile on Debian Wheezy as-is and I am now making edits to it. If I get something that works on dsi/dsi xl I will post a message here. -Kei
 
Update: I finally got the dslinux source code to compile on Debian Wheezy as-is and I am now making edits to it. If I get something that works on dsi/dsi xl I will post a message here. -Kei
Update: on the DSI SD card via Twilightmenu++, the DLDI version is crashing loading the DLDI driver, since that driver is for flashcarts. A new Linux DLDI driver is required to get it to work on the SD card of the DSI. If you try it on the flashcart, there is not enough RAM, as others have noted above. -Kei
Post automatically merged:

Update: on the DSI SD card via Twilightmenu++, the DLDI version is crashing loading the DLDI driver, since that driver is for flashcarts. A new Linux DLDI driver is required to get it to work on the SD card of the DSI. If you try it on the flashcart, there is not enough RAM, as others have noted above. -Kei
I published a proof-of-concept release, enjoy :-) https://github.com/keiichicom/dslinux/releases/tag/Linux .
 
Last edited by keiichicom,
  • Like
Reactions: Nikokaro

Site & Scene News

Popular threads in this forum