Total: 16MB = 192 + 64 + 64 + 15808 + 128 + 64 + 64 = 16384kB
Firmware Start Address: 0x050000
layer0 layer1 layer2
-----------------------------------------------------------------------
mtd0:u-boot
3*64kB=192kB
0x000000-0x030000
-----------------------------------------------------------------------
mtd1:hw_panic
1*64kB = 64kB
0x030000-0x040000
-----------------------------------------------------------------------
mtd2:Factory
1*64kB = 64kB
0x040000-0x050000
-----------------------------------------------------------------------
mtd7:kernel
18*64kB = 1152kB
mtd6:firmware 0x050000-0x170000
247*64kB = 15808kB --------------------------------------------
0x050000-0xfc0000
mtd8:rootfs
229*64kB = 14656kB -----------------
0x170000-0xfc0000 mtd9:rootfs_data
57*64kB = 3648kB
0xc30000-0xfc0000
-----------------------------------------------------------------------
mtd3:oem
2*64kB = 128kB
0xfc0000-0xfe0000
-----------------------------------------------------------------------
mtd4: bdinfo
1*64kB = 64kB
0xfe0000-0xff0000
-----------------------------------------------------------------------
mtd5:backup
1*64kB = 64kB
0xff0000-0x1000000
cat /proc/version
Linux version 3.10.49 (build@DEV-9-1-242) (gcc version 4.8.3 (OpenWrt/Linaro
GCC 4.8-2014.04 1.4.11.21001s) ) #1 Thu May 10 06:25:14 CST 2018
cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "hw_panic"
mtd2: 00010000 00010000 "Factory"
mtd3: 00020000 00010000 "oem"
mtd4: 00010000 00010000 "bdinfo"
mtd5: 00010000 00010000 "backup"
mtd6: 00f70000 00010000 "firmware"
mtd7: 00120000 00010000 "kernel"
mtd8: 00e50000 00010000 "rootfs"
mtd9: 00390000 00010000 "rootfs_data"
cat /proc/partitions
major minor #blocks name
31 0 192 mtdblock0
31 1 64 mtdblock1
31 2 64 mtdblock2
31 3 128 mtdblock3
31 4 64 mtdblock4
31 5 64 mtdblock5
31 6 15808 mtdblock6
31 7 1152 mtdblock7
31 8 14656 mtdblock8
31 9 3648 mtdblock9
254 0 62464 zram0
7 0 131072 loop0
179 0 15351808 mmcblk0
253 0 129024 dm-0
dmesg output segment:
[ 1.500000] deice id : ef 40 18 0 0 (40180000)
[ 1.510000] chip info: w25q128(ef 40180000)
[ 1.510000] mtd name = raspi, size = 0x01000000 (16M) erasesize = 0x00010000
[ 1.530000] Creating 7 MTD partitions on "raspi":
[ 1.530000] 0x000000000000-0x000000030000 : "u-boot"
[ 1.540000] 0x000000030000-0x000000040000 : "hw_panic"
[ 1.550000] 0x000000040000-0x000000050000 : "Factory"
[ 1.550000] 0x000000fc0000-0x000000fe0000 : "oem"
[ 1.560000] 0x000000fe0000-0x000000ff0000 : "bdinfo"
[ 1.570000] 0x000000ff0000-0x000001000000 : "backup"
[ 1.570000] 0x000000050000-0x000000fc0000 : "firmware"
[ 1.580000] 2 uimage-fw partitions found on MTD device firmware
[ 1.590000] 0x000000050000-0x000000170000 : "kernel"
[ 1.590000] 0x000000170000-0x000000fc0000 : "rootfs"
[ 1.600000] mtd: device 8 (rootfs) set to be root filesystem
[ 1.610000] mtd: partition "rootfs_data" created automatically, ofs=0xc30000,
[ 1.620000] 0x000000c30000-0x000000fc0000 : "rootfs_data"