5x faster boot for an industrial HMI display

How we cut the boot time of a Linux-based HMI panel from about 55–60 to 10 seconds with software alone, so operators never lose sight of live production data after a restart.

5
x
Faster boot
55–60 → 10
s
Boot time
100+
Cold boot cycles in verification
The product

A European OEM builds Linux-based industrial HMI displays. One of its customers, a food factory producing peanut butter in tubes, uses the panels to monitor roasting, grinding, mixing and filling in real time, next to high-frequency temperature, level and flow sensors.

Even small deviations in temperature or viscosity can cause texture defects, separation or contamination, so operators watch the panels continuously and act as soon as values drift.

At a glance

Planning something similar? A senior engineer replies within one business day.

The challenge

After power losses, maintenance or shift changes, sensors and controllers came back almost instantly, but the HMI panels needed about 55–60 seconds to become operational, far beyond the 15-second target expected in production. That left gaps in live data and alarms during every restart.

The manufacturer could move to a faster, more expensive hardware platform, or optimise the software on the existing hardware. It chose software, and asked us to analyse and optimise the Linux startup sequence.

Our approach

Boot-time profiling: using system logs, systemd-analyze and bootchart, we found latency at every stage, from U-Boot delays to systemd service ordering.

Bootloader and kernel: removed U-Boot delays and simplified init (about 3 s saved); disabled unused drivers and debug options in the kernel (about 3 s).

Root filesystem: moved from ext4 to a compressed SquashFS (LZ4) image with an OverlayFS layer, chosen for very fast decompression and low CPU overhead on a read-only system (about 14 s).

User space: restructured systemd so fieldbus, OPC UA and network communication start first, and deferred logs and diagnostics until the HMI interface is up (about 30 s).

Verification: more than 100 cold boot cycles with consistent startup, and five HMIs tested in the field in synchronised operation with no data delays and stable recovery after power cycles.

Tech stack: U-Boot (custom-tuned), Buildroot (Linux 4.x), SquashFS + OverlayFS (LZ4), systemd with custom targets, OPC UA, MQTT and Modbus TCP, on ARM Cortex-A7 with eMMC.

Boot time by stage before and after optimisation: about 55 s before, 10 s after
Boot time by stage, before (orange) and after (green) optimisation (tap or click to enlarge)

The challenge

After power losses, maintenance or shift changes, sensors and controllers came back almost instantly, but the HMI panels needed about 55–60 seconds to become operational, far beyond the 15-second target expected in production. That left gaps in live data and alarms during every restart.

The manufacturer could move to a faster, more expensive hardware platform, or optimise the software on the existing hardware. It chose software, and asked us to analyse and optimise the Linux startup sequence.

Our approach

Boot-time profiling: using system logs, systemd-analyze and bootchart, we found latency at every stage, from U-Boot delays to systemd service ordering.

Bootloader and kernel: removed U-Boot delays and simplified init (about 3 s saved); disabled unused drivers and debug options in the kernel (about 3 s).

Root filesystem: moved from ext4 to a compressed SquashFS (LZ4) image with an OverlayFS layer, chosen for very fast decompression and low CPU overhead on a read-only system (about 14 s).

User space: restructured systemd so fieldbus, OPC UA and network communication start first, and deferred logs and diagnostics until the HMI interface is up (about 30 s).

Verification: more than 100 cold boot cycles with consistent startup, and five HMIs tested in the field in synchronised operation with no data delays and stable recovery after power cycles.

Tech stack: U-Boot (custom-tuned), Buildroot (Linux 4.x), SquashFS + OverlayFS (LZ4), systemd with custom targets, OPC UA, MQTT and Modbus TCP, on ARM Cortex-A7 with eMMC.

Boot time by stage before and after optimisation: about 55 s before, 10 s after
Boot time by stage, before (orange) and after (green) optimisation (tap or click to enlarge)

Our approach

What it means for you: boot time is fixed in software first, so you keep your hardware and BOM and still meet the target.

Tech stack: U-Boot (custom-tuned), Buildroot (Linux 4.x), SquashFS + OverlayFS (LZ4), systemd with custom targets, OPC UA, MQTT and Modbus TCP, on ARM Cortex-A7 with eMMC.

Boot time by stage before and after optimisation: about 55 s before, 10 s after
Boot time by stage, before (orange) and after (green) optimisation (tap or click to enlarge)
01

Boot-time profiling

Using system logs, systemd-analyze and bootchart, we found latency at every stage, from U-Boot delays to systemd service ordering.

02

Bootloader and kernel

Removed U-Boot delays and simplified init (about 3 s saved); disabled unused drivers and debug options in the kernel (about 3 s).

03

Root filesystem

Moved from ext4 to a compressed SquashFS (LZ4) image with an OverlayFS layer, chosen for very fast decompression and low CPU overhead on a read-only system (about 14 s).

04

User space

Restructured systemd so fieldbus, OPC UA and network communication start first, and deferred logs and diagnostics until the HMI interface is up (about 30 s).

05

Verification

More than 100 cold boot cycles with consistent startup, and five HMIs tested in the field in synchronised operation with no data delays and stable recovery after power cycles.

Results

The optimised software lets the existing hardware start as fast as higher-end, more expensive displays, giving the manufacturer a clear advantage in price-to-boot-time and a longer life for the current product line.

Planning something similar?

Tell us where you are. A senior engineer replies within one business day.

Services

Services used

An engineer is engaged in the development and layout of elec

Production-grade embedded Linux for connected devices: from board bring-up to a maintained, updatable OS image.

Detailed closeup of a computer processor mounted on a circui

Board support packages that boot reliably, support all your peripherals and can be upgraded for the life of the product.

Engineer hardware and design for planning research or brains

An independent review of your device, edge and cloud architecture by engineers who have shipped and operated a connected product at fleet scale.

Contact us

Talk to an engineer, not a salesperson

Idea, prototype, production or a fleet in the field: tell us where you are. A senior engineer replies within one business day.

Your benefits:
What happens next?
1

A free 30-minute call with a senior engineer

2

A short technical discovery

3

A proposal with scope, timeline and cost

Tell us about your project
PDF, Office, images or ZIP, up to 10 MB