Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: VFS - Unable to mount root fs on unknown-block(1,0)
PostPosted: Thu Apr 12, 2007 8:38 pm 
Offline

Joined: Thu Jan 11, 2007 10:46 pm
Posts: 5
I use buildroot-20070116-RC2 to build kernel and file system. I have succeeded with ext2 file system. Now I am trying jffs2 file system. But I got errors when the AT91SAM9260 board boot to some point after loading the kernel:
************************************************************
........
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
No filesystem could mount root, tried: ext2 cramfs vfat
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
***********************************************************

I don't know what happened.
The things I did are as following:
in buildroot, run "make menuconfig", select only ext2 file system, then "make", I got at91sam9260ek-linux-2.6.19-2007-02-26.gz, rootfs.arm-2007-02-26.ext.gz and u-boot-at91sam9260ek-2007-02-26.bin
Everything goes smoothly. Now we need some rewritable file system, so I run "make menuconfig" and choose jffs2 file system, and run "make". And I got rootfs.arm-2007-04-12.jffs2, I replaced the rootfs.arm-2007-02-26.ext.gz with rootfs.arm-2007-04-12.jffs2 in the AT91SAM9260_demo_linux_NandFlash.tcl, then I got the above error.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 5:55 am 
Offline

Joined: Thu Feb 03, 2005 11:41 am
Posts: 87
Location: Erfurt/Germany
Hi,

what's your kernel arguments line? Booting using jffs2 root requires rootfstype=jffs2 and root=31:x where x is the number of the mtd device.

--
Mike

_________________
Senior IT Consultant
Germany


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 29, 2007 4:26 pm 
Offline

Joined: Sun Apr 29, 2007 3:45 pm
Posts: 2
we seem to meet the same problem


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: