AEVION · Intelligent Energy Everywhere Talk to Aevion
Resources / White papers
White paper · Boot Time Optimization

Boot Time Optimisation in EV Chargers

Why every second between power-on and "ready to charge" matters, and how to engineer it down

After a power cut, a firmware update or a watchdog reset, an EV charger must come back fast and come back safe. This paper breaks down where boot time goes in an embedded charger and the techniques that bring it down without cutting corners on security.

AEVION Engineering & InsightsDecember 20269 min read
Charger control board with status lights and a green light trail suggesting fast start-up

Executive summary

An EV charger spends most of its life switched on, but the moments when it starts up are disproportionately important. In India, short supply interruptions, voltage dips and planned shutdowns are common at many commercial and residential sites. Every restart is a window in which the charger is unavailable, a charging session may be lost, and the end user's trust is tested.

Boot time is the interval from the moment power is applied to the moment the charger is genuinely ready: able to detect a plugged-in vehicle, run its safety checks, communicate with the car, and report its status to the charging station management system (CSMS).

This paper:

  • explains why boot time matters for uptime, session continuity and user experience;
  • breaks a typical embedded Linux charger boot into measurable stages;
  • describes proven techniques at each stage, from bootloader to application;
  • shows how to optimise boot time without weakening secure boot or safety;
  • proposes a measurement discipline and target budget.

1. Why boot time matters

1.1 Availability is a revenue metric

For a destination charger, availability directly drives utilisation, and utilisation drives revenue for the site host, the local partner and the operator. A charger that takes three minutes to recover after each brief outage at a site with several outages a day can lose meaningful availability over a year. More importantly, those minutes often fall at exactly the wrong time, when power returns and several vehicles are waiting.

1.2 Sessions should survive interruptions gracefully

If a power dip occurs mid-session, the charger should restart, recognise that a vehicle is still connected, re-establish communication and either resume or close the session cleanly with correct metering data. The faster the restart, the more likely the vehicle is still awake and willing to resume.

1.3 Protocols have timeouts

The vehicle does not wait forever. DC charging communication (DIN 70121 and ISO 15118) and the underlying IEC 61851 / IS 17017 state machine involve timeouts. A charger whose communication stack is not ready when the cable is inserted may fail to start the session, leading to the end user having to unplug and re-plug. See our ISO 15118 white paper for more on the charging sequence.

1.4 Updates require restarts

Firmware over-the-air (FOTA) updates are essential for security and feature delivery. Each update implies at least one reboot. Short, predictable boot times make it practical to update a fleet during off-peak hours without disrupting end users.

2. Anatomy of a charger boot

A modern smart DC charger usually contains several processors:

  • a main application processor (often running embedded Linux) handling the user interface, CSMS connectivity (OCPP), logging and updates;
  • a real-time microcontroller managing the power stage, contactors, insulation monitoring and safety interlocks;
  • a communication controller (sometimes the main processor, sometimes dedicated) running the vehicle communication stack and the power-line modem;
  • auxiliary controllers: power modules, meters, display, RFID reader, cellular modem.

On the main processor, boot typically proceeds through these stages:

Stage What happens Typical unoptimised time
Power rails and reset Supplies stabilise, reset released 50 to 200 ms
Boot ROM SoC loads the first-stage loader from flash 50 to 300 ms
First-stage loader (SPL) DRAM initialised, next stage loaded and verified 200 to 800 ms
Bootloader (e.g. U-Boot) Hardware set-up, boot delay, kernel and device tree loaded and verified 1 to 5 s
Linux kernel Decompression, driver probing, root filesystem mount 2 to 8 s
Init system and services System services, networking, filesystem checks 5 to 30 s
Charger application Configuration loaded, peripherals handshaked, protocol stacks started 5 to 40 s
Back-end connection Cellular/Ethernet attach, OCPP boot notification 5 to 60 s

Unoptimised, it is not unusual for a charger to take one to two minutes before it can accept a session. With disciplined engineering, the time to "safe and ready to detect a vehicle" can often be brought down to a few seconds, and full back-end readiness to well under a minute, network permitting.

3. Principles before techniques

Three principles guide every optimisation:

  1. Separate what must be fast from what can be late. Safety monitoring and vehicle detection must be available almost immediately. The touch-screen animation, log upload and CSMS connection can follow.
  2. Measure first, optimise second. Assumptions about where time goes are usually wrong. Instrument every stage.
  3. Never trade away safety or security. A charger that boots quickly but skips signature checks, or energises an output before its self-tests complete, is worse than a slow one.

4. Techniques, stage by stage

4.1 Hardware and power-up

  • Give the real-time controller its own fast path. A microcontroller running a bare-metal or RTOS firmware from internal flash can reach a safe, monitored state in tens of milliseconds, independent of the Linux processor. It should own contactor control, emergency stop, insulation monitoring and the control pilot state machine.
  • Choose boot media wisely. eMMC in a high-speed mode or QSPI NOR flash with fast read modes reduces loader time. Avoid slow SD-card style interfaces in production.
  • Hold-up capacitance. Modest energy storage on the logic supply lets the controller ride through very short dips without resetting at all, and complete orderly shutdown on longer ones.

4.2 Boot ROM and first-stage loader

  • Place the loader in the boot device that the SoC reads fastest.
  • Initialise only the DRAM and clocks the next stage needs.
  • Use hardware-accelerated hashing and signature verification offered by many SoCs, so secure boot costs milliseconds rather than seconds.

4.3 Bootloader

  • Remove the boot delay (the autoboot countdown) in production builds.
  • Disable unused drivers and commands; do not probe USB, network or displays unless the bootloader genuinely needs them.
  • Consider Falcon mode or equivalent, where the first-stage loader directly starts the kernel, skipping the full bootloader in normal boots while keeping a fallback path.
  • Load an uncompressed or fast-decompressing kernel (for example LZ4) where flash read speed allows.
  • Verify kernel, device tree and initramfs with signed FIT images, using hardware crypto.

4.4 Linux kernel

  • Trim the configuration. Build in only the drivers the board needs; disable debugging features in production builds.
  • Defer non-critical drivers to modules loaded later, or probe them asynchronously.
  • Reduce console logging at boot (quiet boot); serial output is slow.
  • Prefer a read-only root filesystem (for example SquashFS) with a separate writable data partition. This avoids filesystem checks, improves robustness against power loss and pairs naturally with dm-verity integrity checking.
  • Measure with kernel boot tracing (initcall timing) to find slow drivers.

4.5 Init system and services

  • Use a lean init (a minimal custom init, BusyBox init or a tuned systemd) and start only what is needed.
  • With systemd, use dependency analysis tools to visualise the critical chain and parallelise independent services.
  • Avoid synchronous waits for network availability before starting services that do not need the network.
  • Pre-generate anything that is otherwise computed at first boot (keys aside, which should be provisioned securely in manufacturing).

4.6 Charger application

  • Stage the application start-up. Start the safety supervisor and vehicle detection first; then the vehicle communication stack; then metering; then the UI; then the CSMS client.
  • Lazy-load heavy resources (fonts, images, language packs).
  • Keep configuration in a fast, robust store; validate it once and cache.
  • Handshake with power modules and meters in parallel, with sensible timeouts and retries.
  • For displays, show a static "starting" frame as early as possible so the end user sees the charger is alive.

4.7 Back-end connectivity

  • Start the modem early and in parallel with application start-up.
  • Cache the last known good network configuration.
  • Allow the charger to authorise sessions locally (for example from a cached authorisation list, or free-vend mode configured by the operator) if the CSMS is not yet reachable, then reconcile transactions when the link returns. OCPP supports offline operation and transaction message queuing for exactly this purpose.

5. Boot time and secure boot: allies, not enemies

A frequent concern is that a verified, measured chain of trust will slow boot down. In practice:

  • Signature verification of a few megabytes with hardware acceleration takes milliseconds.
  • dm-verity verifies root filesystem blocks on demand as they are read, not all at once at boot.
  • Read-only, verified root filesystems actually remove slow filesystem checks and recovery steps.

In short, a well-designed secure boot chain and a fast boot are complementary. Our secure boot white paper covers the chain of trust in detail.

6. Resilience: A/B images and watchdogs

Fast boot is only useful if the charger reliably boots into a working image.

  • A/B (dual-bank) partitions: a new firmware image is written to the inactive bank, and the bootloader switches to it. If the new image fails to report healthy within a defined window, the bootloader falls back to the previous image automatically.
  • Hardware watchdogs on both the application processor and the real-time controller ensure that a hung process leads to a controlled restart, not a frozen charger.
  • Boot counters prevent endless reboot loops by forcing fallback after a set number of failed attempts.

7. Measuring what matters

Define and track a small set of boot milestones on every build:

Milestone Definition Suggested target
T-safe Real-time controller monitoring safety inputs; outputs held safe under 100 ms
T-detect Control pilot state machine able to detect a plugged-in vehicle under 1 s
T-comm Vehicle communication stack ready to answer a new session under 10 s
T-UI Display showing an interactive, ready screen under 15 s
T-CSMS OCPP boot notification accepted by the back end under 60 s, network permitting

Targets depend on the hardware platform and network; the point is to set them, measure them automatically in the test lab and in the field, and treat regressions as defects.

Useful tools include: GPIO toggles captured on a logic analyser for precise early timing; bootloader timestamps; kernel boot-time tracing; init-system analysis tools; and application-level timestamps reported to the CSMS with each boot notification, so that fleet-wide boot behaviour is visible.

8. A practical optimisation roadmap

  1. Instrument every stage and capture a baseline across several cold and warm boots.
  2. Split responsibilities so the safety controller is independent and fast.
  3. Remove waste: boot delays, unused drivers and services, verbose logging.
  4. Parallelise independent initialisation.
  5. Re-architect storage: read-only verified root, separate data partition, A/B images.
  6. Stage the application so vehicle-facing functions come first.
  7. Validate under real conditions: brown-outs, repeated power cycling, network loss, vehicles plugged in during boot.
  8. Lock in boot-time budgets in continuous integration.

9. Conclusion

Boot time is not a cosmetic metric. It shapes availability, protocol reliability, update strategy and the end user's first impression after every outage. The best results come from treating it as a system property: a fast, independent safety controller; a lean, verified software stack; staged application start-up; and continuous measurement.

At AEVION, these principles are part of how we engineer the Bridge platform, so that the charger is ready when the end user is.

Intelligent Energy. Everywhere.

References

  • IS 17017 (Part 1) and IS 17017 (Part 23):2026, Electric Vehicle Conductive Charging System (BIS).
  • ISO 15118-2 and DIN SPEC 70121, vehicle-to-charger communication.
  • Open Charge Alliance, OCPP specifications (offline behaviour and transaction queuing).
  • Linux kernel, U-Boot and systemd project documentation on boot-time analysis and verified boot.
This white paper is for general information. Implementation details depend on the specific hardware platform.
Host · Partner · Charge

Bring intelligent charging to your site.

Talk to us about Bridge 20 for your hotel, office, community or district.

Talk to Aevion