|
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 144K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
我移植到板子上,启动linux后出现这个问题。请问是什么情况呀?
我的NAND分区为:
static struct mtd_partition smdk_default_nand_part[] = {
[0]={
.name = "uboot",
.size = 0x00040000,
.offset = 0x00000000,
},
[1]={
.name = "kernel",
.size = 0x0004C000,
.offset = 0x00200000,
},
[2]={
.name = "rootfs",
.offset = 0x0024C000,
.size = 0x03DB0000,
}
};
static struct s3c2410_platform_nand smdk_nand_info = {
.tacls = 10, //default is 20
.twrph0 = 25, //default is 60
.twrph1 = 10, //defualt is 20 changed by yangdk
.nr_sets = ARRAY_SIZE(smdk_nand_sets),
.sets = smdk_nand_sets,
};
内核配置如下:
File systems --->
< > Second extended fs support
< > Ext3 journalling file system support
<*> Kernel automounter support
<*> Kernel automounter version 4 support (also supports v3)
<*> Filesystem in Userspace support
CD-ROM/DVD Filesystems --->
<*> ISO 9660 CDROM file system support
[ ] Microsoft Joliet CDROM extensions
[ ] Transparent decompression extension
< > UDF file system support
DOS/FAT/NT Filesystems --->
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
(437) Default codepage for FAT
(iso8859-1) Default iocharset for FAT
< > NTFS file system support
Pseudo filesystems --->
[*] Virtual memory file system support (former shm fs)
[*] Tmpfs POSIX Access Control Lists
<*> Userspace-driven configuration filesystem
Miscellaneous filesystems --->
<*> YAFFS2 file system support
-*- 512 byte / page devices
[] Use older-style on-NAND data format with pageStatus byte
[*] Lets Yaffs do its own ECC
[] Use the same ecc byte order as Steven Hill's nand_ecc
-*- 2048 byte (or larger) / page devices
[] Autoselect yaffs2 format
[*] Disable lazy loading
[*] Turn off wide tnodes
[*] Force chunk erase check
[ ] Cache short names in RAM
-*- Native language support --->
--- Native language support
(iso8859-1) Default NLS Option
<*> Codepage 437 (United States, Canada)
<*> Simplified Chinese charset (CP936, GB2312)
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
<*> NLS UTF-8 |
|