把yaffs编进内核,rootfs采用yaffs,将yaffs映像烧写到分区,设置linux_cmd_line "noinitrd root=/dev/mtdblock/5 init=/linuxrc console=ttySAC0"启动,出错:
Scanning device for bad blocks
Creating 6 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00020000 : "vivi"
0x00020000-0x00030000 : "param"
0x00030000-0x001f0000 : "kernel"
0x00200000-0x00400000 : "root"
0x00400000-0x01000000 : "usr"
0x01000000-0x03000000 : "yaffs"
mice: PS/2 mouse device common for all mice
Reading data from NAND FLASH without ECC is not recommended
yaffs: dev is 32505861 name is "(unavailable)"
VFS: Mounted root (yaffs filesystem) readonly.
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 56K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
请问版主当时是怎么解决的?