Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Arm Community blogs
Arm Community blogs
Automotive blog The evolution of software integration on Armv8-R Cortex-R52+
  • Blogs
  • Mentions
  • Sub-Groups
  • Tags
  • Jump...
  • Cancel
More blogs in Arm Community blogs
  • AI blog

  • Announcements

  • Architectures and Processors blog

  • Automotive blog

  • Embedded and Microcontrollers blog

  • Internet of Things (IoT) blog

  • Laptops and Desktops blog

  • Mobile, Graphics, and Gaming blog

  • Operating Systems blog

  • Servers and Cloud Computing blog

  • SoC Design and Simulation blog

  • Tools, Software and IDEs blog

Tags
  • Software
  • Cortex-R
  • automotive
  • Cortex-R52+
Actions
  • RSS
  • More
  • Cancel
Related blog posts
Related forum threads

The evolution of software integration on Armv8-R Cortex-R52+

Bernhard Rill
Bernhard Rill
May 15, 2024
6 minute read time.

The evolution of the automotive EE-architecture to zonal architecture with central compute supports the trend towards further software integration in cars. This minimizes the overall number of electronic control units (ECUs) in the car and reflects the requirements of the AI-enabled software-defined vehicle (SDV), especially regarding software updates and maintenance.

The software integration trend is already happening now in the application space, with virtualization being used in two automotive generations in cockpit and advanced driver-assistance systems (ADAS) for rich operating systems (RTOS, Linux, Android) that are integrated into one high performance system-on-chip (SoC). To further consolidate this functionality, the automotive industry is also embracing real-time software integration. Within this blog, we will provide some insights on the evolution of this integration trend.

The real-time software integration options

There are several options when it comes to real-time software integration, which vary based on the application demands and architecture evolution of the OEM. However, the two key options are the following:

  • Classic AUTOSAR based methods that are used for closely coupled structured software.
  • Hardware separation-based methods for functionality, which is derived from different application areas. For the hardware-based separation methods, Arm differentiates between:
    • Physical Support Memory Architecture (PSMA) for example, Armv8-R32 Cortex-R52+
    • Virtual Support Memory Architecture (VSMA) for example, Armv8-A Cortex A78AE (real-time software integration can be done on VSMA systems either bare-metal or on top of a rich RTOS either as direct applications are as part of real-time)
    • Note: On Armv8-R64 Cortex-R82AE, the user can select between a PSMA (Physical System Memory Architecture) or a VSMA (Virtual System Memory Architecture) configuration at boot time

Within this blog post, we will focus on the separation-based methods. We will also deep-dive into the evolution of the Armv8-R PSMA based evolution of software deployment.

The terms

To start with, it might be good to clarify some general terms.

When the term “virtualization” is used, this implies that the guest operating system is not aware that it does not have access to the full underlying hardware. From Arm’s perspective on VSMA based systems (e.g. Cortex-A78AE), this is the case. Therefore, a hypervisor will ensure that what the guest accesses from a virtual machine will be mapped with help from the System Memory Machine Unit (SMMU) through to the real physical addresses. In the case of PSMA based systems (e.g. Cortex-R52+), the systems only include Memory Protection Units (MPUs), so there is no address translation. Based on this, guests need to be aware that they run in such an environment and setup in a way that means they only access the resources which they are setup for. Therefore, from an academic perspective it is correct to speak of the EL2 functionality in PSMA systems of a separation kernel, instead of a virtualization kernel. The key advantage of the PSMA system is that it is deterministic, with the processors and system IP ensuring that you can get a full understanding of the code execution.

Differentiating the software

So, when it comes to real-time software integration, we first need to understand which type of software should be consolidated. We have already summarized this within a joint ETAS/Arm white paper called ‘Best practices for Armv8-R Cortex-R52 software consolidation’ and started to differentiate between different classes of real-time software. This differentiation should help to finally assess which integration method is best.  

Application type Interupt virtualization Virtual processor cores Para-virtualization/ Trap-and-emulate Example applications
Ultra-low latency hard real-time No No Yes, if the application allows it Powertrain, braking
Low-latency hard real-time Yes, dynamic scheduling may be needed. Yes, dynamic scheduling may be needed. Yes, if the application allows it Other chassis
Latency focused real-time Yes Yes Yes, if the application allows it General body functions (e.g. immobilizer, ambient lighting, etc.)
Best effort Yes Yes Yes Convenient body functions (e.g. road noise suppression)

Within this white paper, we refer to real-time software as classic AUTOSAR stacks, as those are predominantly used in the automotive industry currently. However, the whole principles also apply to other operating systems (e.g. FreeRTOS, Zephyr, Greenhills uVelosity, eSol).

For the Armv8-R32 Cortex-R52+ based software integration, the following evolution steps are reflected in the automotive industry:

  1. Cortex-R52+ has been used in series production projects for several years already. The first software architecture used in these reference projects is based on classic AUTOSAR.
    1. This is a logical evolution step as classic AUTOSAR stacks for similar processors (e.g. Cortex-R5F) were already available and deploying these stacks on a Cortex-R52+. Therefore, it is doable without big modifications and the deployment leads to an immediate performance gain.
    2. Due to the classic AUTOSAR integration options, different closely coupled-based software can be integrated.
  2. Moving forward, OEMs would like to integrate software derived from other application areas; therefore, the hardware separation options are used. The evolution of this kind of deployment can be structured in three phases:
    1. Cluster based integration
    2. CPU pinning
    3. Scheduling on a CPU

The hardware separation integration option is needed to further optimize the hardware usage and allow automotive platform development to scale, so all car segments can be served. Furthermore, software from different suppliers can be integrated (even non-AUTOSAR compliant code).

The hardware separation options

Now let’s have a closer look at these enhanced hardware separation options:

Cluster based integration

A reference software architecture for this integration looks as follows:

Cluster based integration
The classic AUTOSAR operating system spans across two cores (therefore this occupies a cluster), and the GIC is a shared resource per cluster. For such software architecture, the Armv8-R Exception Level 2 (EL2) hypervisor / separation kernel can host the following functions:

  • Boot-up orchestration
  • System error management (including supervision of separation)
  • PSCI (Power State Coordination Interface) / SCMI (System Control and Management Interfaces
  • Sharing of devices (VirtIO)
  • Organization of of granular software updates
  • Software Test Library integration

This integration scenario is the starting point for the Armv8-R EL2 usage in SOP 2025 projects. There are lead software partners that implement these kinds of solutions, more to follow in a separate note.

CPU pinning

The reference software architecture for this integration scenario is similar to the cluster pinning, except that each instance of the OS is mapped to a single core instead of a cluster:

CPU pinning

The key update of this CPU pinning architecture is that classic AUTOSAR or a real-time software stack is pinned to a CPU. As the GIC is a shared cluster resource in Armv8-R, this system IP needs to be virtualized in software. Of course, further adaptations and enhancements are needed for PSCI / SCMI, and the sharing of devices needs to be tailored to this upscale integration.

CPU scheduling

The final integration scenario is that virtual machines (VMs) are scheduled on a CPU core:

CPU scheduling
An integration in such software architecture needs further refinement to the aspects outlined in the previous chapter ‘CPU pinning’.

When it comes to the different integration scenarios, the Armv8-R device virtualization principles should be reflected, especially when it comes to sharing of devices within the software architecture. This is discussed in more detail in this whitepaper.

Conclusion 

There are several software integration architectures viable in the automotive industry. Depending on the application requirements, the industry can choose between closely coupled options (mainly derived from classic AUTOSAR) and hardware separation supported integration options. One general unique selling point with the Cortex-R52+ software enablement is that the software bring-up and tooling can be re-used in multiple ECUs in the car. This is because the CPU is being used in homogenous microcontroller designs and heterogenous SoCs as a safety island. Based on the level of investment and software enablement, high-end real-time compute on Armv8-R Cortex-R52+ must be a strategic decision for the automotive industry.

Anonymous
Automotive blog
  • Building an on-device multimodal assistant for automobiles

    Aaron Ang
    Aaron Ang
    In this blog post, learn how we are only starting to see what is possible when powerful, privacy-first AI runs directly in your car.
    • September 18, 2025
  • Building safe and scalable automotive systems with Functional Safety, containers, and DDS

    odinlmshen
    odinlmshen
    Build safe, modular SDV systems on Arm with functional safety, containerized workloads, and DDS-based real-time communication.
    • July 27, 2025
  • Driving the future of autonomous development: Deploying Open AD Kit on Arm Neoverse

    odinlmshen
    odinlmshen
    Accelerate SDV development with Arm’s new Learning Path: deploy Open AD Kit on Neoverse to simulate AV stacks using SOAFEE, ROS 2, and Docker.
    • June 6, 2025