Debonaras
view · edit · print · history

You can access 6 different memories as /dev/mtd[0-5].

For example, you can retrieve a binary image of the binary RedBoot bootloader with:

 cat /dev/mtd0ro > redboot
mtdcontents
mtd0RedBoot
mtd1initrd
mtd2kernel
mtd3jffs2, config data for thecus firmware
mtd4RedBoot configuration
mtd5FIS directory; partition table used by RedBoot for flash

Or from cat /proc/mtd:

dev:    size   erasesize  name
mtd0: 00040000 00020000 "RedBoot"
mtd1: 00d00000 00020000 "ramdisk"
mtd2: 00160000 00020000 "kernel"
mtd3: 00120000 00020000 "user"
mtd4: 00001000 00020000 "RedBoot config"
mtd5: 00020000 00020000 "FIS directory"
view · edit · print · history · Last edited by LoicMinier.
Originally by LoicMinier.
Page last modified on February 01, 2007, at 09:26 PM