Wener Site

mtd

约 1 分钟阅读
bash
# 查看 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

关联信息

反向链接和本文引用的外部资料。

References

其他外链

3 条
最近更新commit 5444d8eEdit

On this page