nitrofs is not working on nds

support for the ARM toolchain
Post Reply
thiagoauler
Posts: 5
Joined: Wed Aug 26, 2009 8:17 pm

nitrofs is not working on nds

Post by thiagoauler » Fri Aug 28, 2009 10:51 pm

Hi,

I've made an simple app that uses nitrofs (filesystem.h)...
If I test on a emulator, it works perfectly.. but if I test on my NDS (EZ-Flash Vi) it doesn't work.
Even the example provided by devkit doesn't work.

Please.. some help

TIA

StevenH
Posts: 133
Joined: Sun Feb 22, 2009 7:59 pm

Re: nitrofs is not working on nds

Post by StevenH » Fri Aug 28, 2009 11:37 pm

Are you using the moonshell launcher for the EzVi or the homebrew menu? As the moonshell launcher does not support the argc/v features that is needed to run nitrofs apps

You'll have to download the homebrew menu from the devkitPro SVN...

Oh and this question has been asked a few, actually many times and each time I've repeated the same response. Might be time for a sticky on the common questions I think...

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: nitrofs is not working on nds

Post by vuurrobin » Fri Aug 28, 2009 11:42 pm

you may want to check to see if your flashcard provides the argv and argc variables that are passed on to main(), AFAIK, you need them to make it work, and I'm not sure if there is another way to provide the path to the *.nds file any other way to libfilesystem.

you could also try it with the homebrewmenu, which is in the devkitPro repository. this does pass the path to your *.nds file.


BTW, does anybody know the officiel name of the library? its based on nitroFS, but AFAIK, its called libfilesystem.

StevenH beat me to it...

I second the sticky, as well as a link to the homebrewmenu nds file, so people don't have to search the SVN and build it themselfs.

thiagoauler
Posts: 5
Joined: Wed Aug 26, 2009 8:17 pm

Re: nitrofs is not working on nds

Post by thiagoauler » Mon Aug 31, 2009 3:15 am

Hi... thanks for the replies...

I'm using the ezflash kernel version 2.0RC4, the only thing i know is it's based on moonshell 2
Hmm.. I know nothing about this homebrewmenu. can you provide some link? :oops:

Thanks again.. bye!

zazery
Posts: 2
Joined: Thu Jul 24, 2008 3:59 am

Re: nitrofs is not working on nds

Post by zazery » Mon Aug 31, 2009 7:36 pm

You can download the latest HomebrewMenu from here where it says "Download GNU Tarball."

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests