Flash ROM

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 03:11, 7 July 2006 by Jkk (Talk)

Jump to: navigation, search

Currently, all Kuroboxes have a 4MB flash ROM. The flash ROM houses vital information such as the kernel for standard and emergency mode, as well as the bootcode itself. The contents are layed out in different ways depending on which Kernel you are using. The data on the flash ROM chip can be updated, deleted, or reprogrammed through the Linux console or via the optional JTAG port.

Stock 2.4.x Kernel

device start end size contents
/dev/fl0 0xFFF80000 0x080000 512 K Empty
/dev/fl1 0xFFC00000 0x300000 3 MB Linux/initrd
/dev/fl2 0xFFF00000 0x070000 448 K bootcode.bin
/dev/fl3 0xFFF70000 0x010000 64K HDD status (OKOKOK)

Patched 2.6.x Kernel v1

device size erasesize name
mtd0: 00300000 00010000 "mtd_firmimg"
mtd1: 00070000 00010000 "mtd_bootcode"
mtd2: 00010000 00010000 "mtd_status"
mtd3: 00080000 00010000 "mtd_conf"
mtd4: 00400000 00010000 "mtd_allflash"
mtd5: 000f0000 00010000 "mtd_data"

Patched 2.6.x Kernel v2

device size erasesize name
mtd0: 00400000 00010000 "mtd_allflash"
mtd1: 00300000 00010000 "mtd_firmimg"
mtd2: 00070000 00010000 "mtd_bootcode"
mtd3: 00010000 00010000 "mtd_status"
mtd4: 00080000 00010000 "mtd_conf"