I have a Microtronix uKit development board.
I want to use jffs2 as my root filesystem. The mtd drivers correctly detect my 8MB flash and set it up with two partitions. One of them is at offset 0 and is 2MB in size. The other is at offset 0x200000 and is 6MB in size. I have used the mkfs.jffs2 tools to create a jffs2.bin of my filesystem. I have used the upload tool to upload jffs2.bin at offset 0x200000. The pass the kernel the argument of "root=/dev/mtdblock1". Is there something else I need to do in order to get this to work. Right now I'm getting the usual error: "Kernel panic: VFS: Unable to mount root fs on mtdblock1"链接已复制
2 回复数
Hmmm ... this sounds familiar -- I had a similar problem before I
switched to cramfs. Unfortunately, I didn't keep good notes :-( but I believe I had to pass rootfstype=jffs2 as well. Anyway, there was another cmdline parameter that I needed ... sorry I can't be more specific ... give the above a try though. Regards, --Scott