Installing my ARM Marvell bootstrap

Introduction

This article will explain how to install my bootstrap for synology DiskStations with a ARM Marvell CPU (see related project page)

The following DiskStations have a ARM Marvell CPU (source: http://oinkzwurgl.org/diskstation)

ARM (armv5tejl) based Disk-, Cube- and Rackstations:
Model:         CS-407      RS-407      DS-107+     DS-107+.128  DS-207+
-----------------------------------------------------------------------
CPU family                         Marvell (arm5tejl)
CPU model      88F5281     88F5281     88F5281     88F5281      88F5281
CPU speed      500 MHz     500 MHz     500 MHz     500 MHz      500 MHz
RAM            128 MB      128 MB       64 MB      128 MB       128 MB
internal HDD   4 x SATA    4 x SATA    1 x SATA    1 x SATA     2 x SATA
USB            2+0+?       2+0+?       2+1+?       2+1+?        2+1+?
eSATA          no          no          1x          1x           n/a (?)

Please do not try to apply this bootstrap package to any other synology diskstations as it just won't work.

Another precaution before we start:
I am not responsible for wrecking your DiskStation in any way! All information provided in this article is applied to your DiskStation at your own risk! Although it's very unlikely you'd wreck your DiskStation with these actions... but you have been warned.

Installation

Step 1:
I presume you have setup your diskstation properly network wise (DNS is working etc.) If you don't have this setup propely please do so before reading any further.


Step 2:

Install Synology SSH or telnet patch (the first one is recommended) you can find this ssh patch here:
http://download.synology.com/download/SSH/EnableSSH.zip

and the telnet patch here:

http://download.synology.com/download/telnet/EnableTelnet.zip

Instructions on how to install the SSH patch are included within the zip-file.


Step 3:

We are now ready to download and install the bootstrap.
Connect to your DiskStation using SSH (for Windows I'd recommend using PuTTY, you can download it at: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe)
we will use PuTTY throughout this article.

Open PuTTY and fill in the IP as shown in the image.

Once connected you'll see a prompt asking for a loginname, login as root with the admin password specified on your synology.

Go to a directory with enough space available, usually /volume1 has enough space.. so type:

cd /volume1/@tmp


To download the bootstrap type the following command:

wget http://www.maartendamen.com/synoware/ds_armmarvell-bootstrap_1.0.xsh


A screenshot illustrating this step.


Step 4:

Start the installation from the directory where you've downloaded the bootstrap using the following syntax:

sh ds_armmarvell-bootstrap_1.0.xsh

The installation will now start, several actions will occur.. wait patiently...


A screenshot illustrating this step.


Step 5:
The installation should have been completed. Next update the package list using the following command:

ipkg update

To view a list of available packages use the following command:

ipkg list

To install a package, use the following command:

ipkg install


A screenshot illustrating this step.

Everything has been setup now, enjoy your bootstrap and custom software on the DiskStation!

Special thanks

Special thanks fly out to Björn Heirman and his company Mobile Harddisk Solutions for providing me with a test/development DiskStation.

Also thanks to the NLSU2 linux project for some idea's and clue's how to create a bootstrap (I based mine on theirs)

Donations

If you like this article and project please consider making a donation on the project page, it's highly appreciated.