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 ago --- Quote Start --- originally posted by smcnutt@Jun 30 2006, 06:07 PM hi 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
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16571)
--- quote end ---
--- Quote End --- hi scott thans but i have already changed cramfs code. i selected cramfs option. i checked image of cramfs which is genereted by mkcram command. now i got sam problem.. please help me,what should be my next step?