<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>
作者:孙天泽,华清远见嵌入式学院金牌讲师。
近日,有学生在邮件中向我询问在移植Linux内核到2410开发板的问题。在内核已经运行起来后,始终无法看到login和shell。
这是因为在高版本内核中已经不包含devfs,所以还需要在/dev中创建console设备文件。所以在创建这个console文件后,问题解决。
具体命令如下:
mknod -m 600 console c 5 1
内核肯定是在不断发展的。不过只要你掌握了内核启动流程,这类错误还是比较好判断的