日志
-
2017-09-14 17:59
-
uboot源码中提供的进入uboot命令行的方式为输入任意键。我想将任意键换成Esc键。本次促改使用的是uboot.2012
阅读全文»分类:uboot操作|回复:0|浏览:426
修改方法:
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 ..