[root@localhost linux-2.4]# mkdir /mnt/mtd
[root@localhost linux-2.4]# ls
blob junk.jffs2 xscale_fs.jffs2 zImage
[root@localhost linux-2.4]# modprobe mtdblock
[root@localhost linux-2.4]# modprobe mtdram total_size=18432 erase_size=128 //两个参数的单位是 KB
[root@localhost linux-2.4]# dd if=xscale_fs.jffs2 of=/dev/mtdblock0
[root@localhost linux-2.4]# mount -t jffs2 /dev/mtdblock0 /mnt/mtd
阅读(443) | 评论(0) | 转发(0) |