Difference between revisions of "Terastation Flash"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
 
Line 16: Line 16:
 
=== mtd0 ===
 
=== mtd0 ===
  
Contains the bootloader, the kernel and the initrd.
+
Contains the flash header, kernel and the initrd.
  
 
=== mtd1 ===
 
=== mtd1 ===
  
I've not idea.
+
The bootloader
  
 
=== mtd2 ===
 
=== mtd2 ===
Line 34: Line 34:
 
The full flash in one file. It is used when updating the flash.
 
The full flash in one file. It is used when updating the flash.
  
You can cat/copy the <tt>allimage.bin</tt> there to update the flash.
+
You can dd the flash firmware image (<tt>allimage.bin</tt>) there to update the flash but you will lose the bootparameters and config backup so it is not advised.

Revision as of 14:35, 17 July 2005

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"


Contents

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 you will lose the bootparameters and config backup so it is not advised.