NSLU2-Linux
view · edit · print · history

The Flash memory on the DS-101 is partitioned into 8 "/dev/mtd" devices:

(you can type cat /proc/mtd to see this)

Linux deviceTypeStart mem addrLengthDescription
/dev/mtd0RedBoot 384KBThis block contains the code from which the IXP420 boots.
/dev/mtd1Kernel 1536KBThe Linux kernel
/dev/mtd2Ramdisk 7040KBThe ramdisk image for /
/dev/mtd3System Libraries 6912KBThis is simply a tar.gz of the libraries used by the DS-101. It is extracted to a newly formatted (internal) disk, and is restored from this partition if any of the files are missing. There also seems to be a "reinstall library flag" somewhere (Run strings updater|grep reinstall), so it should upgrade your libraries if you flash a new firmware.
/dev/mtd4Vender 128KBContains the mac-address
/dev/mtd5Synocfg 128KBSynology configuration
/dev/mtd6Redboot Config 128KBRedBoot configuration
/dev/mtd7Redboot FIS 128KBRedBoot FIS directory index

Output of fis list:

 
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00060000  0x00000000
zImage            0x50060000  0x11600000  0x00180000  0x11600000
rd.gz             0x501E0000  0x10800000  0x006E0000  0x10800000
AllLib.tgz        0x508C0000  0x508C0000  0x006C0000  0x508C0000
vendor            0x50F80000  0x50F80000  0x00020000  0x00000000
synocfg           0x50FA0000  0x50FA0000  0x00020000  0x00000000
RedBoot Config    0x50FC0000  0x50FC0000  0x00020000  0x00000000
FIS directory     0x50FE0000  0x50FE0000  0x00020000  0x00000000

The Flash memory on the DS-101g+ is also partitioned into 8 "/dev/mtd" devices:

Linux deviceTypeStart mem addrLengthDescription
/dev/mtd0PPCBoot 256KBThe boot-loader
/dev/mtd1Kernel 1536KBThe Linux kernel
/dev/mtd2Ramdisk 6656KBinitrd (ext2.gz with a 64 byte header)
/dev/mtd3System Libraries 7168KBtar.gz of the libraries used by the DS-101g+.
/dev/mtd4Vendor? 128KBVendor (Spelled "vender" in firmware) - Appears to contain MAC
/dev/mtd5Synocfg 128KBSynology configuration
/dev/mtd6Redboot Config 128KBRedBoot configuration
/dev/mtd7Redboot FIS 128KBRedBoot FIS directory index

It's not clear (yet) why the DS-101g+ contains a Redboot FIS and configuration partition.

The Flash memory on the DS-101j is partitioned into 6 "/dev/mtd" devices:

Linux deviceTypeStart mem addrLengthDescription
/dev/mtd0RedBoot 256KBThe boot-loader
/dev/mtd1Kernel 832KBThe Linux kernel
/dev/mtd2Ramdisk 768KBinitrd (ext2.gz with a 64 byte header)
/dev/mtd3Vendor 64KBContains the MAC-address
/dev/mtd4Redboot Config 64KBRedBoot configuration
/dev/mtd5Redboot FIS 64KBRedBoot FIS directory index
view · edit · print · history · Last edited by Wolf.
Based on work by Gmurphy, shir, repvik, mcdmx, rwhitby, mma, and tman.
Originally by repvik.
Page last modified on October 10, 2008, at 05:11 PM