mtd

# 查看 mtd 和 ubi 分区
cat /proc/partitions
# mtd 块
cat /proc/mtd
nanddump -f /tmp/mtd0.bin /dev/mtd0
/usr/bin/ubiattach /dev/ubi_ctrl -m <MTD_partition> -O <block_size>
/bin/mount -t ubifs ubi1:rootfs0 /media/mnt
# 如果没有 fs
nanddump -f /tmp/mtd0.bin /dev/mtdblock0
# data flash / NOR
dd if=/dev/mtdblock1 of=/tmp/mtd1.bin
mknod -m 644 /dev/mtd9 c 90 9
mknod -m 644 /dev/mtdblock9 b 31 9
mount -t jffs2 /dev/mtdblock9 /mnt