启动配置:
/etc/init.d/rcS
# mkfs.jffs2 -r yyfs/ -o yy.jffs2 -p -l -n -e 0x8000 -m size
内核启动显示:
unable to open an initial console.
解决:
创建rootfs过程中,在/dev目录下手动创建如下节点:
mknod -m 660 null c 1 3
mknod -m 660 console c 5 1
Taking the GNU/Linux host as an example to find correct
major and minor numbers:
#ls l /dev/console
#ls l /dev/null
major and minor numbers:
#ls l /dev/console
#ls l /dev/null
Flushing the changes into the mounted filesystem image:
#sync
#sync
Please press Enter to activate this console.
将askfirst改为respawn

被折叠的 条评论
为什么被折叠?



