Altera_Forum
Honored Contributor
19 years agojffs2 filesystem not correct
hi
we use nios2 on 2C35. it okay with kernel altera (cygwin) or linux with buildroot for kernel 2.6.11 but when i change kernelt for kernel2.6.17 for a test, kernel boot but i got this jffs2_scan_eraseblock() You cannot use older JFFS2 filesystems with newer kernels (a lot) ........ Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes empty_blocks 22, bad_blocks 0, c->nr_blocks 32 VFS: Cannot open root device "mtdblock0" or unknown-block(31,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0) it's okay with root=/dev/mtdblock0 ro rootfstype=romfs init=/init http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/laugh.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/laugh.gif Bests regards