Tech Support > Computer Hardware > Microprocessors > yaffs2 porting.
yaffs2 porting.
Posted by raindrop on May 3rd, 2006


Hi?
I'm have Linux kernel 2.4.18.
and yaffs2 filesystem porting on linux-2.4.18 version.
But, failed.
error message.

==================================================
[root@ez-x5 /root]$ cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev pipefs
ext2
nodev ramfs
msdos
vfat
nodev nfs
nodev devpts
yaffs
yaffs2


[root@ez-x5 /root]$ ./flash_eraseall /dev/mtd2
Erasing 128 Kibyte @ 834000nand_erase: attempt to erase a bad block at
page 0x00011500
Erasing 128 Kibyte @ 8680000 -- 4 % complete.
../flash_eraseall: /dev/mtd2: MTD Erase failure: Input/output error
Erasing 12nand_erase: attempt to erase a bad block at page 0x00013200
Erasing 128 Kibyte @ 9500000 -- 10 % complete.
../flash_eraseall: /dev/mtd2: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ fbe0000 -- 2 % complete.


[root@ez-x5 /root]$ mount -t yaffs2 /dev/mtdblock2 /root/nand
yaffs: dev is 7938 name is "1f:02"
yaffs: Attempting MTD mount on 31.2, "1f:02"
block 1077 is bad
block 1193 is bad


[root@ez-x5 /root]$ cd nand
[root@ez-x5 nand]$ ls
lost+found


[root@ez-x5 nand]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 11895 7199 4082 64% /
/dev/ram0 11895 7199 4082 64% /
/dev/mtdblock2 258048 258048 0 100% /root/nand
[root@ez-x5 nand]$
================================================== =========

Command 'df' : /dev/mtdblock2 full (Use 100%)
Help me... Please.


Similar Posts