小弟在nios2上移植了uclinux1.4.0内核和根文件系统,flash(32M)分区为5块:在/dev建立了“@mtdblock0,b,31,0”,“@mtdblock1,b,31,1”,“@mtdblock2,b,31,2”,“@mtdblock3,b,31,3”,“@mtdblock4,b,31,4”对应于flash的5个分区 接下来对flash的分区2格式化为ext2格式时出现了问题(小弟用的是博创的ar2000开发箱),如下: #mount -n -t proc /proc proc #cat /proc/mtd dev: size erasesize name mtd0: 00600000 00020000 "romfs/jffs2" mtd1: 00400000 00020000 "loader/kernel" mtd2: 01200000 00020000 "user space" mtd3: 00200000 00020000 "user configuration" mtd4: 00200000 00020000 "safe configuration" #mke2fs /dev/mtdblock2 mke2fs 1.25 (20-set-2001) ......... writing inode tables:done writing superblocks and filesystem accounting information: 就停在这里了,各位大大帮忙啦,小弟先谢了 |