AnsweredAssumed Answered

VFS: Mounted root (yaffs2 filesystem) on device 31:1.

Question asked by wang luoshan on Nov 5, 2018
Latest reply on Nov 7, 2018 by wang luoshan

 want to use yaffs2  for  root filesystem,kernel configure for yaffs2 (Miscellaneous filesystems.png,Boot options.png) ,ltib -m config for yaffs2 (ltib config option.png).

I run  nandwrite -p  /dev/mtd1 /mnt/sdcard/rootfs.yaffs2 command down the yaffs2 filesystem to the nandflash, when start the freescale  imx287 board .  I eagerly  look forward to help.   the follow error appear:



VFS: Mounted root (yaffs2 filesystem) on device 31:1.
Freeing init memory: 160K
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c00344c8>] (dump_backtrace+0x0/0x114) from [<c04126e0>] (dump_stack+0x18/0x1c)
r7:00000013 r6:c0056014 r5:c002a228 r4:c0577ad8
[<c04126c8>] (dump_stack+0x0/0x1c) from [<c041275c>] (panic+0x78/0xf4)
[<c04126e4>] (panic+0x0/0xf4) from [<c0030604>] (init_post+0xbc/0xe8)
r3:00000000 r2:c7656d00 r1:c7656e00 r0:c04c1cf7
[<c0030548>] (init_post+0x0/0xe8) from [<c00084fc>] (kernel_init+0x12c/0x174)
r5:c002a228 r4:c0576c20
[<c00083d0>] (kernel_init+0x0/0x174) from [<c0056014>] (do_exit+0x0/0x6dc)
r5:c00083d0 r4:00000000