RTEMS on Nintendo DS port

Matthieu Bucchianeri mbucchia at gmail.com
Mon Jan 21 12:29:47 UTC 2008


On Jan 15, 2008 4:53 PM, Matthieu Bucchianeri <mbucchia at gmail.com> wrote:
> The wifi driver is finished and under debug, it may work soon.
>

The Wifi is working :-)

> Are RTEMS developers & maintainers interested in this BSP? We would be
> very happy to integrate our project to the official branch!

I'm having a little problem creating a patch for the current CVS.

The cpukit/score/cpu/arm/cpu.c code puts the ARM in Supervisor mode
(0x13), while the Nintendo DS must be in System mode (0x1F). We tried
to run the DS in Supervisor mode, but some devices are not working. So
during the development, we changed the value to System mode directly
in the file cpukit/score/cpu/arm/cpu.c.

I'm looking for a smarter solution to this problem. I saw the GBA BSP
copied the entire ARM code just to change a few things, and I don't
like this method.

I think a good solution would be:

- to add a constant in bsp.h or anywhere else in the BSP, defining the
ARM running mode
OR
- marking the _CPU_Context_Initialize function as weak, so we can override it

Any other ideas?

Thank you, our patch we be ready very soon :-)

-- 
Matthieu ``buckman'' Bucchianeri



More information about the users mailing list