Hi,
I am working on ARM Linux 3.6.6 version. YAFFS file system is downloaded from the following link:
http://www.gnu.org/licenses/gpl-2.0.html
I am getting a kernel panic once the filesystem is burnt on the ARM platform.
[ 0.535000] yaffs: dev is 32505858 name is "mtdblock2" rw
[ 0.535000] yaffs: passed flags ""
[ 0.635000] VFS: Mounted root (yaffs2 filesystem) on device 31:2.
[ 0.635000] Freeing init memory: 104K
[ 0.640000] Failed to execute /linuxrc. Attempting defaults...
[ 0.645000] Kernel panic - not syncing: No init found. Try passing init= opt
ion to kernel. See Linux Documentation/init.txt for guidance.
[ 0.645000] [<c000eb7c>] (unwind_backtrace+0x0/0xf8) from [<c0018530>] (panic
+0x80/0x210)
[ 0.645000] [<c0018530>] (panic+0x80/0x210) from [<c0008948>] (init_post+0xa0
/0xc8)
[ 0.645000] [<c0008948>] (init_post+0xa0/0xc8) from [<c0260664>] (kernel_init
+0x16c/0x1c8)
The ARM device uses 128MB nand flash.
The below states the relevant parts of .config file:
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
CONFIG_YAFFS_FS=y
CONFIG_YAFFS_YAFFS1=y
CONFIG_YAFFS_YAFFS2=y
CONFIG_YAFFS_AUTO_YAFFS2=y
CONFIG_YAFFS_XATTR=y
The tool (mkyaffs2image) used is obtained from yaffs source tree compilation.
Please help with a proper solution for the above.
Thank You