Forum Discussion
Altera_Forum
Honored Contributor
20 years agounable to load cramfs
hello friends i am using cramfs .i have compressed kernel . i have stored u-boot at 0x0 ,cramfs at 0x00100000 and kernel image at 0x00020000. my flash is 2MB(0x00000000 to 0x00200000).and s...
Altera_Forum
Honored Contributor
20 years agoHi slsnios,
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0) There are many possible causes. First, make sure you don't have the broken cramfs code. See: http://forum.niosforum.com/forum/index.php...=2383&hl=cramfs (http://forum.niosforum.com/forum/index.php?showtopic=2383&hl=cramfs) Once you're sure your cramfs code is clean, you might want to enable jffs2/cramfs support in u-boot. This will allow you to list and load jffs2/cramfs files into ram and view some file system information -- it's a good way to ensure you have a clean filesystem image _before_ you boot the kernel. And, of course, double-check your kernel configuration to ensure you have cramfs support enabled ;-) Regards, --Scott