jinpenghf的个人主页

http://bbs.ntpcb.com/u.php?uid=81685  [收藏] [复制]

jinpenghf

  • 0

    关注

  • 0

    粉丝

  • 2

    访客

  • 等级:二级逆天
  • 总积分:192
  • 保密,1990-01-01

最后登录:2017-10-13

更多资料

日志

2017-09-14 17:59

uboot源码中提供的进入uboot命令行的方式为输入任意键。我想将任意键换成Esc键。本次促改使用的是uboot.2012
修改方法:
1、修改common/main.c
或者 find .|xargs grep -ri ‘Hit any key’
2、代码修改
static int __abortboot(int bootdelay)
{
int abort = 0;
unsigned long ts;
#ifdef CONFIG_MENUPROMPT
printf(CONFIG_MENUPROMPT);
#else
// printf("Hit any key to stop autoboot: %2d ", bootdelay);
printf("Press 'ctrl+q/Q' to stop aut ..

阅读全文»分类:uboot操作|回复:0|浏览:426

Powered by phpwind v8.7.1 Certificate Copyright Time now is:04-27 21:59
©2003-2011 逆天PCB论坛 版权所有 Gzip disabled 粤ICP备14042835号 问题咨询 | 广告业务点这里