Add USB-serial support to your Synology Diskstation

The Synology Diskstations do not support USB to serial converters (i.e. FTDI) out of the box. How ever, since Synology is so nice and publishes the kernel sources (its under GPL, so they actually have to), its not very hard to build and add the needed kernel modules.

To do so, I followed Charles-henri Hallards guide at http://hallard.wikidot.com/synomodules . Since the guide is already very nice and self explaining, I only want to show you the needed differences, if you have a DS210j, like I have.

The DS210j runs on an ARMv5TE processor. This means, we have to use the sources for the CPU-Model 88f6281. The German Synology-Wiki has a very nice list in case you want to know: http://www.synology-wiki.de/index.php/Welchen_Prozessortyp_besitzt_mein_System%3F.

You will have to download the  DSM 4.0 Tool Chains for the Marvell 88F628x Linux 2.6.32 or newer, depending on your kernel version. For the  Synology NAS GPL Source it will be the synogpl-2198-6281 source code of the latest branch.

Now wollow the instructions in the mentioned guide and extract the downloaded files into /usr/local/ and /usr/local/arm-none-linux-gnueabi/ .

The config file I had to copy to .conf was the 88f6281 file.

Then open the Makefile and change those two lines

ARCH        ?= powerpc
CROSS_COMPILE    ?= /usr/local/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-

to

ARCH=arm
CROSS_COMPILE=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-

After following the rest of the guide I got the needed kernel modules.

Since you might not want to do the whole way by yourself, you also can download my files from here:

DS210jUSB-Serial-Modules
DS210jUSB-Serial-Modules
DS210jUSB-Serial-Modules_2.6.32.zip
Version: 2.6.32
385.5 KiB
257 Downloads
Details...

Installation and autostart

For the installation on your diskstation and to set up the autostart, you also can follow the guide again.Clean up

If you are short of space on your Linux machine, you can remove the folder /usr/local/arm-none-linux-gnueabi.

This entry was posted in Electronics, Linux. Bookmark the permalink.
Comments
  • Post a comment

    Threaded commenting powered by Spectacu.la code.

  • Troels June 11, 2012 at 16:08

    Thanks a bunch! This was exacty what I was looking for for my ds211j (88f6281+dsm4) :-)
    Now I will go play with my arduino online ;-)