免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1908 | 回复: 3

[BootLoader] uboot [复制链接]

论坛徽章:
0
发表于 2012-06-28 17:13 |显示全部楼层
求问下大神门,uboot内多次console——init——r 模式位设定silent mode是有何意义啊!代表什么工作模式啊!求教了!!!!!:wink:

论坛徽章:
0
发表于 2012-07-03 02:02 |显示全部楼层
回复 1# 梦sui心飞


Setting the environment variable 'silent' to any value (i.e., having this variable present) will prevent U-boot
from sending any output to the debug port:

setenv silent 1
saveenv

When silent mode is enabled, you can still get a U-boot command prompt by pressing Enter during the
autoboot countdown after applying power to the board. The countdown will not be visible but the system
still gives you a chance to interrupt the boot process.
To disable silent mode, clear the 'silent' variable by typing:

setenv silent
saveenv

When the silent variable is set, U-boot will set the Linux console to null (empty, console=) on the command
line automatically. If you wish to silence the serial gettys, as well, you should disable (comment out) the
serial login gettys in the file /etc/inittab.

论坛徽章:
0
发表于 2012-07-05 11:12 |显示全部楼层
不知道你 用的是什么版本的 uboot, 我用的 1.16的 没有这个模式, 用的蛮好的啊

论坛徽章:
0
发表于 2012-07-05 13:31 |显示全部楼层
感谢2楼的说明,也就是说这个silent mode就是说串口不打印信息罢了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP