Terastation Flash

The TeraStation comes with 4MB of flash.

The flash is used to boot the TeraStation.

It is split into 4 parts:

admin@HD-HTGLxxx:~$ cat /proc/mtd dev:   size   erasesize  name mtd0: 00300000 00010000 "mtd0" mtd1: 00070000 00010000 "mtd1" mtd2: 00010000 00010000 "mtd2" mtd3: 00080000 00010000 "mtd3" mtd4: 00400000 00010000 "mtd4"

mtd0
Contains the flash header, kernel and the initrd.

mtd1
The bootloader

mtd2
Contains the bootparameters.

mtd3
Used to store the backup of the config files while updating the terastation.

mtd4
The full flash in one file. It is used when updating the flash.

You can dd the flash firmware image (allimage.bin) there to update the flash but it is better to use the official firmware update utility.