Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow to use jffs2 in flash ?
hi hippo I can cp -a some dirs to /mnt on uclinux with using initramfs. In other word, i have build rootfs in my flash(mtdblock0)that can mount it to /mnt dir, and i can see some dirs in /mnt...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@Jun 3 2006, 10:02 AM it tried to read mtd sector 00 twice. but failed to mount?
please try mtd debug level 3.
and try to trace into kernel source init/main.c and do_mount .
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15839)
--- quote end ---
--- Quote End --- hi hippo I have set mtd debug level is 3 that got the same result again. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif <div class='quotetop'>QUOTE </div> --- Quote Start --- USB Mass Storage support registered. mtdblock_open ok mtdblock: read on "jffs2" at 0x0, size 0x200 mtdblock_release ok mtdblock_open ok mtdblock: read on "jffs2" at 0x0, size 0x200 mtdblock_release ok Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)[/b] --- Quote End --- How to do that is croectlly ? Thx !