Page 1 of 1

DSLinux and DSerial Edge

Posted: Wed Jul 08, 2009 10:27 pm
by Sonny_Jim
Right, I've made a bit of progress, so I'd thought I'd start a mini blog here.

Basically I've done a quick and dirty port of the DSerial lib to DSLinux, which involved changing a few types in the source. I've also had to change the irq handler from libnds to linux kernel. Everything else seemed to compile ok with a few warnings.

The status so far is that I can sucessfully:


and the light changes color :-)

There's still loads left to do. I've got to tidy up what I've already got working, implement some kind of firmware loading and then integrate it with the linux char driver layer (*gulp*), which looks daunting to say the least.

Re: DSLinux and DSerial Edge

Posted: Thu Jul 30, 2009 11:17 am
by Sonny_Jim
Just a quick update:

I can now send and receive data from my PC via RS232 to my DS. :-)
I've found that I have had to introduce small delays into the code to make it function correctly.

What's left is to glue that into the kernel serial/tty layer, which is such a headmess even the Maintainer doesn't want to do it anymore: