[uClinux-dev] MTD and jffs question?
eauth at softsys.co.at
Sat Mar 15 03:53:26 EST 2003
there should be no need to use blkmem anymore. Use MTD's mtdblock_ro driver
instead. You will need a device node mtdblock0. mtd0 is usually used as the
name of the character device.
mount -t jffs /dev/mtdblock0 /mnt
jffs doesn't actually use the block driver, it's just used as a handle for
the MTD device.
Von: uclinux-dev-admin at uclinux.org
[mailto:uclinux-dev-admin at uclinux.org]Im Auftrag von 杨亚军
Gesendet: Samstag, 15. M?rz 2003 08:01
An: uclinux-dev at uclinux.org
Betreff: [uClinux-dev] MTD and jffs question?
I want to use jffs on my 5272 board,I used MTD. I created a partition
AMD 29lv16 flash,and mknod a inode under /dev:
mtd0 b 30 0
When the board boot ,it shows that the partition is created
when I run:
mount -t jffs /dev/mtd0 /mnt
It return errors like that:
mount:Mounting /dev/mtd0 on /mnt failed:Unknown error 6
I go to /proc and run:
dev: size erasesize name
mtd0 00200000 00010000 "jffs (2M)"
And when I run:
Under "Block devices",it only shows:
There is no mtd.(I use blkmem to support Romfs at the same time)
What should I do?
Any help is appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the uClinux-dev