Svashasan Logo
Simulated data

Automotive Hardware · Low-level software

Bootloader

Also known as boot loader, second-stage bootloader, flash bootloader, U-Boot

IntermediateSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Software that runs after reset to initialise essential hardware, locate, verify and load the next software stage, such as firmware, a hypervisor or an operating-system kernel, and transfer control to it.

Explanation

Booting is usually a chain of stages. On Arm application processors using Trusted Firmware-A, BL1 (trusted ROM) loads BL2 (trusted boot firmware), which loads BL31 (EL3 runtime), an optional secure payload (BL32) and BL33, the normal-world firmware such as U-Boot or UEFI. U-Boot's Standard Boot then scans boot devices for boot flows and loads the kernel, initial ramdisk and device tree.

In microcontroller ECUs, "bootloader" usually means a resident flash bootloader that checks and starts the application and supports reprogramming over the vehicle network using UDS diagnostic services.

Bootloaders are security-critical. Secure boot requires each stage to verify the signature of the next, anchored in a hardware root of trust; a stage that skips verification breaks the chain of trust. Bootloaders also implement A/B slot selection and rollback for software updates.

How it works

After reset, ROM code initialises minimal hardware and loads the first mutable stage from flash. That stage configures clocks and DRAM, then loads and authenticates the following images. The final stage reads its boot configuration, loads the kernel, device tree and initrd to their load addresses, passes boot arguments and jumps to the kernel entry point. If verification fails, it can try an alternative slot or enter recovery.

Automotive applications

  • Secure, verified start-up of ECUs and SoCs
  • ECU reprogramming via UDS
  • A/B partition selection for OTA updates
  • Board bring-up and recovery

Example

A cockpit SoC boots from ROM into the vendor's first-stage loader, then TF-A and U-Boot. U-Boot verifies the signature of the kernel image in the active slot; after repeated verification failures it switches to the backup slot and records the event for the update agent.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Firmware Design (opens in a new tab)

    Trusted Firmware-A project · Project documentation · Cold boot · retrieved 6 December 2026

    “The cold boot path starts when the platform is physically turned on.”
  2. Standard Boot Overview (opens in a new tab)

    U-Boot project · Project documentation · Bootdevs, bootmeths and bootflows · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.