启动内核,运行到Freeing init memory: 120K卡死的解决方法

来源:互联网 发布:苏州园区网络托管 编辑:程序博客网 时间:2024/04/30 03:38

问题描述:

启动内核,运行到Freeing init memory: 120K卡死,具体如下:

......

yaffs: dev is 32505858 name is "mtdblock2"

yaffs: passed flags ""

yaffs: Attempting MTD mount on 31.2, "mtdblock2"

yaffs: auto selecting yaffs2

VFS: Mounted root (yaffs filesystem).

Freeing init memory: 120K

---------------------------------------------------------------------------------------------------

解决方法:

原因是守护进程init没有运行起来,或者运行错误。使用与编译kernel相同的交叉编译器来编译busybox,然后重新制作文件系统,内核完美启动如下:

yaffs: dev is 32505858 name is "mtdblock2"

yaffs: passed flags ""

yaffs: Attempting MTD mount on 31.2, "mtdblock2"

yaffs: auto selecting yaffs2

VFS: Mounted root (yaffs filesystem).

Freeing init memory: 120K

init started: BusyBox v1.7.0 (2010-11-26 18:26:44 CST)

starting pid 731, tty '': '/etc/init.d/rcS'

mount: mounting tmpfs on /dev failed: Invalid argument

Please press Enter to activate this console.

starting pid 736, tty '/dev/console': '/bin/sh'

#

# ls

bin etc linuxrc proc sys

dev lib lost+found sbin usr

#









0 0
原创粉丝点击