DSLinux and DSerial Edge

Post Reply
Sonny_Jim
Posts: 7
Joined: Tue Jun 09, 2009 7:28 pm

DSLinux and DSerial Edge

Post by Sonny_Jim » Wed Jul 08, 2009 10:27 pm

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:

dseInit
dseVersion
dseBoot
dseStatus

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.

Sonny_Jim
Posts: 7
Joined: Tue Jun 09, 2009 7:28 pm

Re: DSLinux and DSerial Edge

Post by Sonny_Jim » Thu Jul 30, 2009 11:17 am

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:
http://linux.slashdot.org/story/09/07/29/1925224

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest