NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Change U-Boot bootdelay setting

From Texas Instruments Wiki
Jump to: navigation, search
{{#switchcategory:MSP430=<McuHitboxHeader/>|C2000=<McuHitboxHeader/>|Stellaris=<McuHitboxHeader/>|TMS570=<McuHitboxHeader/>|MCU=<McuHitboxHeader/>|MAVRK=<MAVRKHitboxHeader/>|<HitboxHeader/>}}

Content is no longer maintained and is being kept for reference only!


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


Background

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

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

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

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

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

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Change U-Boot bootdelay setting here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Change U-Boot bootdelay setting here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Change U-Boot bootdelay setting here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Change U-Boot bootdelay setting here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Change U-Boot bootdelay setting here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Change U-Boot bootdelay setting here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Change U-Boot bootdelay setting here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Change U-Boot bootdelay setting here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Change U-Boot bootdelay setting here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity

{{#switchcategory:MSP430=<McuHitboxFooter/>|C2000=<McuHitboxFooter/>|Stellaris=<McuHitboxFooter/>|TMS570=<McuHitboxFooter/>|MCU=<McuHitboxFooter/>|MAVRK=<MAVRKHitboxFooter/>|<HitboxFooter/>}}