|
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.
|