Skip to content

eBoot Bootloader

eBoot
Secure Bootloader

A modular C bootloader with Stage-0 and Stage-1, Ed25519 image authentication, slot management, and recovery code. Explore the implementation and configure it for your target.

Build from source

Follow the repository README for prerequisites and target-specific setup.

cmake -S . -B build -DEBLDR_BUILD_TESTS=ON
cmake --build build --parallel
ctest --test-dir build --output-on-failure

PROJECT NOTEChoose a target board and provision the production key as documented. Board configuration and security setup are required before deployment.

Boot Sequence

The repository’s boot-chain structure, from early initialization to a selected payload
  1. STAGE 01

    Stage-0

    Early reset entry, hardware initialization, watchdog, and transition to Stage-1.

  2. STAGE 02

    Stage-1

    Scan available images, evaluate boot policy, and select an application or RTOS image.

  3. STAGE 03

    Image authentication

    Inspect the Ed25519 verification, image metadata, key provisioning, and rollback logic in core/.

  4. STAGE 04

    Payload hand-off

    Transfer control to the selected image after the configured checks; use recovery when normal boot cannot proceed.

Boot implementation · source map
stage0/  Reset entry and hardware initializationstage1/  Image selection and payload hand-offcore/    Verification, slots, recovery, and updatesdocs/    Threat model, key lifecycle, and configuration

eBoot Features

  • Two-stage boot chain

    Stage-0 handles early bring-up; Stage-1 handles image selection and payload hand-off.

  • Image authentication

    The core includes Ed25519 image verification. Read the security options and key-lifecycle documentation before configuring a target.

  • A/B slot management

    Slot selection, anti-rollback counters, and firmware-update modules are present in the core.

  • Production-key configuration

    A real-board Release build requires a production public key unless the documented development-key override is explicitly enabled.

  • Recovery paths

    The repository includes authenticated recovery, a boot menu, and UART transport code.

  • Target-specific builds

    Native builds compile the platform-independent libraries. Cross-compiles select a board and toolchain explicitly.

Secure your device from boot

Read the build guide, select a target, and configure the trust anchor before deploying firmware.

Ask your AI about EmbeddedOS

See where open-source embedded software and hardware fit your industry, in the assistant you already use.