Contents

Boot & security firmware on the HPC safety island (MCU)

The safety island starts trusted real-time software and, where the chip architecture permits, helps supervise startup of the rest of the HPC.

3 min read · Discipline stake: Security Safety Hardware BSW Update

What runs here

This layer takes the safety island from reset to execution of its real-time operating system and safety software. It establishes which firmware may run and prepares the hardware needed for a controlled startup.

Component Role
Boot ROM Executes an initial, immutable startup path and establishes the first trust decision using provisioned trust anchors.
Security firmware and hardware security module (HSM) Protect verification keys or trust-anchor data and provide image authentication services, according to the chip architecture.
Secondary bootloader Loads authorized firmware, performs assigned initialization and transfers control to the next stage.
Safety startup code Initializes required memory, configures safety mechanisms and performs startup checks allocated by the safety design.
Boot coordination and recovery logic Coordinates processor release, records failures and selects an authorized recovery path.

These components need not execute on the same core. The HSM may be a separate security processor, and startup responsibilities may be divided among ROM, vendor system firmware and island software. For example, TI documents separate security firmware and MCU bootloader responsibilities in its J784S4 boot architecture.

Why it looks like this

The island may need to establish monitoring or control before the application processor finishes booting. Local memory and a limited startup dependency set can support predictable availability. However, “the island starts first” is an architectural choice: verify the actual reset, power and security-controller sequence. TI’s MCU integration overview illustrates an implementation with an MCU domain supporting early operation and isolation from the main domain.

Secure boot establishes firmware authenticity and integrity. It does not establish functional correctness, satisfy an ASIL by itself or replace startup diagnostics. Lockstep cores and ECC memory also require correct configuration and fault handling. ASIL D safety requirements must be allocated and supported by evidence; the node label alone does not make every boot component ASIL D.

Integrating the island can reduce the need for a separate supervisory MCU, but shared silicon creates dependencies that the safety analysis must address. ROM minimizes mutable startup code, while updateable firmware allows fixes. Keeping the mutable trusted code small reduces review effort; it still needs a secure maintenance path throughout vehicle life.

How it connects

Below this layer are reset logic, clocks, power domains, protected key storage, memory protection and hardware diagnostics. The boot sequence must respect their initialization order, including making ECC-protected memory usable before ordinary accesses.

Above it, the bootloader hands control to startup code and then the AUTOSAR OS or safety RTOS. Define the entry point, memory layout, interrupt state, watchdog ownership and boot-status handover explicitly. AUTOSAR MCAL and ECU State Manager (EcuM) initialization must agree with work already performed by earlier stages.

Inside the SoC, coordination commonly uses mailboxes, shared memory and privileged system-firmware services. Release authority must follow the chip’s access-control model. Other vehicle nodes may need an early readiness indication or diagnostic failure report; those paths must not require the failed application processor to be operational.

Compared with other node classes

  • HPC application processor: Its chain typically loads a richer operating environment and may establish a trusted execution environment; the island focuses on bounded startup and safety supervision.
  • Zone controller: Its MCU bootloader prepares local I/O and communications, usually without coordinating a large application-processor complex.
  • MCU-based ECU: HSM-assisted authentication is similar, but startup generally coordinates fewer independently booted processing domains.
  • Smart node / LIN slave: ROM or a small bootloader reflects tighter resources; authentication and recovery capabilities depend on the device and system requirements.

Best practices

  • Document every boot stage, trust anchor, verification boundary and processor-release authority.
  • Bound startup and failure-handling times, including authentication, diagnostics and watchdog servicing.
  • Authenticate executable images and security-relevant metadata; prevent untrusted writes between verification and execution.
  • Coordinate version compatibility, rollback prevention and power-loss recovery across island, security and application firmware.
  • Define safe or degraded behavior for authentication failure, unavailable application cores and repeated resets.
  • Test cold boot, partial reset, corrupted images, interrupted updates and production debug restrictions on representative hardware.

Common pitfalls

  • Assuming the safety island owns the HSM or controls every processor’s reset.
  • Treating a valid signature as evidence that software satisfies its safety requirements.
  • Creating a circular dependency in which island recovery needs services from the application processor it supervises.
  • Allowing an otherwise authorized recovery image to bypass version policy or required startup checks.

What it means for your discipline

  • Cybersecurity Core

    Defines the chain of trust, image authorization, key provisioning, rollback policy and recovery access. Reviews whether debug and update paths preserve these controls.

  • Functional safety Core

    Allocates startup diagnostics, timing requirements and failure reactions. Demonstrates that boot failures and shared SoC dependencies are handled consistently with the safety concept.

  • Hardware & silicon Partial

    Provides the reset, power, memory and security-controller constraints that firmware must follow. Verifies board-level watchdog and fault-output behavior during startup.

  • Base software Partial

    Integrates the boot handover with MCAL, EcuM and operating-system startup. Prevents conflicting initialization and gaps in watchdog ownership.

  • Software update & OTA Partial

    Align update packages and installation sequences with image authentication, version policy and boot dependencies across island, security and application firmware. Verify interrupted-update recovery and ensure rollback or recovery images remain authorized and compatible.

No direct stake: E/E architecture · HPC & application software · Networks & communication · Diagnostics & lifecycle

Where it sits in the software stack

Generic layered software of a central HPC (application processor with hypervisor, plus a safety island) and of a classic MCU-based ECU (AUTOSAR Classic). Highlighted modules matter for this topic. Click any module to open its page.

HPC · application processor (MPU) and safety island (MCU)
  • Boot ROM · HSM — Authenticates island firmware, performs allocated startup checks and coordinates authorized recovery, version policy and watchdog handover.
MCU-based ECU · AUTOSAR Classic

Not directly involved on this node type.