JFFS2 as root FS
Williams, Kevin M.
kevin.m.williams at marconi.com
Wed Apr 18 16:33:18 EDT 2001
Vipin wrote:
>Well, the kernel may not be able to understand the
>"mtdblock1" device by name unless you patched the
>init/main.c file to list a conversion table from
>mtdblockxx to a *device number*.
Can you please tell me where I can find more information on doing this? I
have downloaded and grepped the mailing list archives, and looked in the
patches, but only the 2.2.x patches seem to have any changes to main.c
included and those changes do not do what you are describing here. Reading
mailinglist archives shows I may also need to modify filesystems.c.
Is there a patch file for anything after the official 2.4.0 kernel
available?
I am using a mainline 2.4.3-pre3 kernel and simply copied from the latest
ftp snapshot into my kernel's /fs, /include, and /kernel directories. It
worked (at least the CFI_probe part did), and if I mknod I can create
entries in my /dev directory and erase them ok (maybe mknod is the wrong
thing to do, I don't know, but erase really does work now!), but mount is
still not working (it returns "bad area!!" and says something like I may
have "wrong device # or fstype not supported").
I tried enabling CONFIG_MTD_CHAR and CONFIG_MTD_BLOCK but that did not make
anything come up in my /dev directory.
I think I have not completely updated my kernel...
Thank you.
Kevin
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list