In our previous breakdown of user interface (UI) modernization, we explored how updating a medical device’s presentation layer mitigates the End-of-Support (EoS) risks of legacy platforms. However, the stability of that user-facing software is completely dependent on the integrity of the underlying hardware communication.
This technical review details the simultaneous transformation of the device’s Core Infrastructure—specifically the Board Support Package (BSP) and Linux kernel architecture—to ensure strict regulatory compliance, hardware parity, and operational efficiency.
Contents
The Liabilities of Legacy BSPs and End-of-Support Kernels
For a commercialized medical device, relying on an EoS operating system is a business, financial, and regulatory liability that could even lead to a patient safety issue. If a business assessment determines that the product will continue to be sold and supported, then this risk must be mitigated.
Migrating to a modern BSP ensures the product line remains on a Long-Term Support (LTS) trajectory, delivering two critical upgrades:
- Updating Device Security: Moving to an LTS path ensures the device meets embedded security standards for ongoing software updates.
- Establishing System Longevity: This transition formally shifts the entire product line from a vulnerable status to an actively supported status, enabling the continuous integration of critical upstream security patches.
Executing a Major Version Migration of the Yocto Linux Kernel
To future-proof the platform, a critical architectural jump was executed from a legacy NXP BSP directly to a modernized NXP LTS standard. Because NXP bundled a strict modern Qt LTS engine within the updated delivery, this OS transition inherently mandated the strict UI presentation modernization detailed in Part 1 of this series. This upgrade required navigating modern Yocto build standards and heavily updated driver models to achieve two goals:
- Bridging the Version Gap: Because of the massive architectural divide between the legacy and modernized BSPs, the engineering team had to successfully execute a transition across multiple major versions of the Linux kernel.
- Maintaining Hardware Stability: The embedded software engineering infrastructure was refactored to support modern kernel features while remaining highly stable on the client’s existing, established hardware.
Resolving Technical Debt via Kernel Repository Consolidation
Previously, managing the client’s deployed product family required maintaining distinct, fragmented kernel repositories for each product variation—a process that inevitably leads to configuration drift and bug proliferation.
- Eliminating Code Diversion: The legacy repositories were successfully coalesced into a single, unified kernel repository.
- Streamlining CI/CD Maintenance: By removing the need to patch and validate multiple separate databases, a single optimization or security update is now cleanly inherited by all product builds simultaneously.
Technical Debt Resolution (Kernel Consolidation)

Architecting a Hardware-Aware Device Tree (DT)
Each of the modernized products utilizes a different physical monitor specification. To support this diversity within a single unified kernel, the Device Tree (DT) architecture was fundamentally expanded.
In embedded Linux, a Device Tree is a hardware-description file that passes the exact specifications of physical components to the operating system kernel at boot time, eliminating the need to hardcode specific drivers.
- Dynamic System Abstraction: By abstracting display timings and interface parameters into the DT, the kernel was made “hardware-aware.”
- Automated Boot Identification: The system dynamically identifies the specific monitor at boot time, ensuring display integrity across varying hardware profiles without fragmenting the codebase.
Engineering Feature Parity for Legacy Medical Peripherals
A strict requirement of this modernization was to ensure that functional behavior and system response were unchanged and were the same as the legacy product version. This avoided regulatory impacts such as the need to re-execute usability testing per IEC 62366 and clinical re-training protocols.
Because the newer reference product running the updated BSP natively lacked support for certain legacy features, the infrastructure was custom-engineered to bridge the gap:
- Complex Imaging Pipelines: The reference design was expanded at the driver level to fully support existing dual-camera configurations.
- Hot-Pluggable Biometric Peripherals: Custom support for third-party medical telemetry sensors was integrated. The system dynamically recognizes the peripheral hardware over a serial or USB interface and transfers raw data streams for real-time validation and display within the user interface (UI) layer.
Preserving Zero-Latency Communication via Asynchronous Netlink Sockets
To guarantee the updated UI stayed perfectly synchronized with the hardware without introducing performance regressions, the team successfully ported the system’s existing Netlink socket architecture across the multi-version kernel jump.
- Preventing High-Latency Overhead: Traditional software loops consume valuable CPU overhead by continuously “polling” a peripheral driver to ask if data is ready.
- Porting Event-Driven Efficiency: Rather than falling back to standard polling methods during the complex migration, the team adapted the legacy Netlink communication to function seamlessly within the new BSP environment, acting as a high-speed, asynchronous messaging bridge between the application and the peripheral drivers.
- Maintaining Immediate Responsiveness: By successfully preserving the Netlink socket family, the updated kernel instantly notifies the user application only when a peripheral event occurs, minimizing system latency and ensuring immediate responsiveness for critical networked patient data.
Polling vs. Event-Driven Sockets

Deploying a Unified Embedded Foundation for Clinical Devices
By synchronizing the presentation layer updates with this core infrastructure consolidation, a total platform revitalization was achieved. While multiple distinct firmware builds continue to be generated to meet specific product SKUs, they now pull from a single, deeply modernized, and actively supported kernel foundation.
The system foundation was effectively replaced without disrupting the workflows of the medical professionals who rely on them—resulting in a product line that is highly defensible to auditors, easier to maintain, and fully aligned with modern IoMT device engineering standards.
Evaluating an Embedded Linux or BSP Modernization?
Consolidating fragmented repositories and updating legacy kernels requires specialized systems-level expertise to prevent clinical disruptions. Cardinal Peak provides elite engineering teams to safely execute complex OS migrations, driver updates, and UI modernizations for regulated devices. Connect with our systems architecture team today to request a top-down project ROM delivered within five business days.