|
内核是2.4.19的,文件系统在pc上,通过nfs挂载。
内核启动时的提示信息:
NOW, Booting Linux......
Uncompressing Linux........................................................ done, booting the kernel.
SmartMedia card inserted.
NAND device: Manufacture ID: 0xec, Chip ID: 0x73 (Samsung KM29U128T)
Creating 2 MTD partitions on "Samsung KM29U128T":
0x00000000-0x00100000 : "AT91 NAND partition 1, kernel"
0x00100000-0x01000000 : "AT91 NAND partition 2, filesystem"
说明nand 的ID 是可以读到的,
板上所用nand 是三星k9f2808, ID正是0xec, 0x73。
-sh-2.05b# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "Bootloader"
mtd1: 00100000 00020000 "Kernel"
mtd2: 00e80000 00020000 "Filesystem"
mtd3: 00100000 00004000 "AT91 NAND partition 1, kernel"
mtd4: 00f00000 00004000 "AT91 NAND partition 2, filesystem"
这里也是对的。
执行
#mount /dev/mtdblock3 /mnt/nand
结果:
。。。。。。。。。。。。。。。。
(此处还有很多行)
。。。。。。。。。。。。。。。。。
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x000f8000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc000: 0x0707 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc004: 0x0707 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc008: 0x0707 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc00c: 0xff67 instead
jffs2_scan_empty(): Empty block at 0x000fc010 ends at 0x000fc200 (with 0x07070707)! Marking dirty
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc200: 0x0707 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc204: 0x0707 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc208: 0x0707 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000fc20c: 0xf767 instead
jffs2_scan_empty(): Empty block at 0x000fc210 ends at 0x000fc400 (with 0x07070707)! Marking dirty
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x000fc000 is not formatted. It will be erased
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
mount: Mounting /dev/mtdblock3 on /mnt/nand failed: Invalid argument
ERRORS
WHY?
怎么办啊?
另外,测试nand 的工具谁有阿,给一个吧。
E-mail:dtjaaafff@163.com;
在ubuntu 下搜到一个mtd-tools, 谁会用啊? |
|