Set bootdelay in TorizonCore process

How to set bootdelay to -2 using torizoncore process ?

yaml build srcipt is prefered.

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I don’t have specific information about setting bootdelay to -2 in the available documentation sources. While the sources show how to modify kernel arguments through TorizonCore Builder’s YAML configuration file(1), they don’t include examples of setting the bootdelay parameter.

To help you properly, could you specify which OS version you’re running and which hardware platform you’re using? You can use the tdx-info command to get this information: tdx-info command

Check out these potentially useful sources: Configuration File, Torizon OS - Easy-to-use Industrial Linux Platform, Torizon - Simplifying the Development and Operation of Linux IoT Devices

Would you like me to try to provide a general answer based on my knowledge instead?

**


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

@ToradexAI

Are parameters exist to pass argument to uboot ?

U-Boot Environment Variables in Toradex

Yes, U-Boot has environment variables that control bootloader behavior, but the documentation shows these are primarily managed through the U-Boot console interface rather than TorizonCore Builder YAML files (1).

Key U-Boot Environment Variables

The most important U-Boot environment variables include (1):

Variable Description Default Value
baudrate Debug console baud rate 115200
boot_targets Defines the sequence of device types U-Boot will try to boot from SoM-specific (e.g., mmc1 mmc2 dhcp)
console Specifies the UART device used for serial console output SoM-specific (e.g., ttymxc0)
bootargs Final string of kernel arguments passed to Linux Built from other variables

Bootdelay Consideration

While bootdelay isn’t explicitly listed in the documentation, U-Boot typically waits up to 3 seconds before continuing with the boot process by default (1).

TorizonCore Builder vs U-Boot Variables

TorizonCore Builder primarily focuses on kernel arguments rather than U-Boot environment variables (2). The YAML configuration allows you to customize kernel parameters using:

customization:
  kernel:
    arguments:
      - "key1=val1"
      - "key2=val2"

Security Hardening Impact

Note that Torizon OS implements U-Boot hardening features that may restrict direct modification of U-Boot environment variables, including kernel command-line protection to prevent changes to the bootargs variable (3).

To help you with your specific bootdelay requirement, could you specify which OS version and hardware platform you’re using? You can get this information with the tdx-info command: tdx-info command

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.