Archive

Archive for February, 2008

Slug Flash

February 12, 2008 Pari Leave a comment

Where is the bootloader, kernel and initial ramdisk? The boot sequence is documented here.

Some notes on the slug’s flash memory organization, taken from system logs:

From dmesg:

Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0×7e0000
6 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 6 MTD partitions on “IXP4XX-Flash.0″:
0×00000000-0×00040000 : “RedBoot”           # 256 KB
0×00040000-0×00060000 : “SysConf”            # 128 KB
0×00060000-0×00080000 : “Loader”              # 128 KB
0×00080000-0×001e0000 : “Kernel”               # 1.375 MB
0×001e0000-0×007e0000 : “Ramdisk”            # 6 MB
0×007e0000-0×00800000 : “FIS directory”     # 128 KB

From /proc/mtd:

dev:    size   erasesize  name
mtd0: 00040000 00020000 “RedBoot”
mtd1: 00020000 00020000 “SysConf”
mtd2: 00020000 00020000 “Loader”
mtd3: 00160000 00020000 “Kernel”
mtd4: 00600000 00020000 “Ramdisk”
mtd5: 00020000 00020000 “FIS directory”

From /proc/partitions:

31     0        256 mtdblock0
31     1        128 mtdblock1
31     2        128 mtdblock2
31     3       1408 mtdblock3
31     4       6144 mtdblock4
31     5        128 mtdblock5

Categories: Slug