- 论坛徽章:
- 0
|
本帖最后由 dreamer0x 于 2011-11-02 20:53 编辑
s3c6410板子有两个内核:
#1.开发板带的2.6.28
#2.自己移植的2.6.34.7
自己做的rootfs;
#1内核+rootfs正常启动,换#2内核出现Failed to execute /linuxrc. Attempting defaults..
bootargs=root=1f02 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200不变。
求解答啊。。。。。。
问题补充:
mmc0: Minimum clock frequency too high for identification mode
s3c6400_setup_sdhci_cfg_card: CTRL 2=c0004100, 3=80808080
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
Freeing init memory: 84K
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c0023748>] (unwind_backtrace+0x0/0xec) from [<c015e468>] (panic+0x40/0xbc)
[<c015e468>] (panic+0x40/0xbc) from [<c001d594>] (init_post+0x9c/0xbc)
[<c001d594>] (init_post+0x9c/0xbc) from [<c00085f4>] (kernel_init+0x10c/0x144)
[<c00085f4>] (kernel_init+0x10c/0x144) from [<c001ede4>] (kernel_thread_exit+0x0/0x
在原有内核中加入了DM9000的驱动使用NFS文件系统正常启动,
mount -t yaffs2 /dev/mtdblock2 mnt/ 可以正常挂载,访问。
但直接从mtdblock2启动还是出现上述问题。
在下刚刚学习内核移植求大虾指导。 |
|