嵌入式 Change U-Boot_bootdelay_setting(进入uboot的方法)

原创 2013年12月02日 14:50:06

你好!可以将bootdelay改为0

#defineCONFIG_BOOTDELAY   //3

From Texas Instruments Wiki

Jump to: navigation, search
Change U-Boot bootdelay setting

Halt U-Boot from automatically booting the processor by startingthe system while pressing ctrl-C.

Background

The "bootdelay" variable in U-Boot indicates how long U-Boot willwait before it begins booting the system into Linux. Usually, yousee it set to 'bootdelay=3' or 'bootdelay=5'; which will give theuser 3 (or 5) seconds to type any key and stop the system frombooting. The main reason to stop the system from booting is tochange the arguments U-Boot passes to the Linux kernel during boot;for example, changing the 'bootargs' U-Boot variable so that theroot file system uses an NFS directory as opposed to a hard discdrive.

Occasionally, though, someone may set 'bootdelay=0'. This wouldprevent anyone from interrupting the boot process and changing theU-Boot configuration. While this may be advantageous in aproduction system (i.e., saves 3 seconds on system boot), it can bebothersome during development.

If this happens, and you want to regain access to U-Bootconfiguration, try using ctrl-C.

When U-Boot starts, even if "bootdelay=0", it still checks forctrl-C, so there still is a possibility of it halting.

Other options are to reload the U-Boot program using an externalemulator, such as Code Composer Studio. This would, in effect,force U-Boot back to its default settings. But, if you're justneeding to halt boot, the ctrl-C option will be much easier.

 

 

相关文章推荐

系统停止在uboot, bootdelay等待时间处

系统停止在uboot, bootdelay等待时间处  问题描述 1、注释x-loader 的core dpll初始化之后,启动可以启动,//注释prcm_init--->core dpll...

当bootdelay误设置为0时的解决办法

今天干了一件糗事,设置uboot的启动延时参数bootdelay,忘了怎么写了,于是就写了set bootdelay = 5,然后save了一下,然后,然后就悲剧了。。。。。。bootdelay参数直...

嵌入式Minis3c2440开发板详解之Bootloader下的U-boot移植,内核移植,文件系统移植

嵌入式Minis3c2440开发板详解Minis3c2440接口布局以及跳线说明一、地址空间分配和片选信号的定义   S3c2440支持两种启动模式:一种是从Nand Flash启动(MINI2440...

u-boot 嵌入式

  • 2012年11月01日 08:48
  • 9.01MB
  • 下载

扬创2440 uboot移植(1)--基于《嵌入式Linux之我行--u-boot-2009.08在2440上的移植详解》

扬创2440 uboot移植(1)--基于《嵌入式Linux之我行--u-boot-2009.08在2440上的移植详解》   http://linchunai1212.blog.163.com/b...

扬创uboot移植(2)--基于《嵌入式Linux之我行--u-boot-2009.08在2440上的移植详解》

9)实现u-boot对yaffs/yaffs2文件系统下载的支持。       注意:此篇对Nand的操作是基于MTD架构方式,在“u-boot-2009.08在2440上的移植详解(三)”中讲到...

【嵌入式】探究bootloader,分析u-boot源码

Preface    之前也发表过关于《Bootloader启动过程分析》的文章,但是内容表达得比较抽象,大多是文字叙述,所以这里从系统和代码的角度来深入分析bootloader的启动过程。    工...

初探嵌入式(arm9 2440)linux之一——加载u-boot

以arm9为例讲解嵌入式linux的u-boot基本概念及启动 方式
  • ds1231h
  • ds1231h
  • 2016年09月05日 11:50
  • 473
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:嵌入式 Change U-Boot_bootdelay_setting(进入uboot的方法)
举报原因:
原因补充:

(最多只允许输入30个字)