Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ARM FVP (FVP_BaseR_AEMv8R)

For maintainers. The Arm FVP is maintainer-run: its board row is cadence = "manual" and no probe track replays this page. So the nano-ros Book does not teach it (RFC-0115 D4, RFC-0124 D8); its generated board page stays in the Book’s reference. What follows is how to run it, for whoever maintains it or gives it a replaying track.

Run nano-ros on Arm’s Base_RevC AEMv8-R Fast Models — the Cortex-A SMP profile under Zephyr 3.7 (board id fvp_baser_aemv8r/fvp_aemv8r_aarch64/smp). The FVP is the canonical local proxy for the safety-island reference platforms that follow the same hwv2 Zephyr shape; pair this chapter with the Zephyr (west module) starter for the build half.

Status. The run half — invoking FVP_BaseR_AEMv8R and piping UART 0–3 to stdout — is landed.

The two standalone talker lanes were retired: their runners had been deleted, so they built images nothing booted. What remains is the part with consumers — the board-crate import surface and the workspace Entry. FVP support is intended to grow back from those. See the archived FVP runtime roadmap.

Verified where? The run half is maintainer-run: a maintainer boots the image by hand (the recipe is in the contributor lanes linked below), and no installed probe track replays this chapter. fvp-aemv8r-smp’s status and the date of its last boot are on its support evidence; a probe track follows an automated run, not the other way round. Read the output below as what a maintainer last saw, not as a gate.

When to use

  • You need to exercise a Cortex-A SMP Zephyr image on a developer laptop without dedicated silicon.
  • You’re bringing up a new hwv2 safety-island target — the FVP is the closest in-tree reference for board.cmake + SMP boot + Cyclone DDS shape.
  • You’re validating stock-Cyclone-DDS RMW interop locally before promoting to a hardware bench.

The FVP is not a replacement for QEMU on Cortex-M (mps2-an385, mps3-an547); those targets are covered by FreeRTOS (QEMU) and the Zephyr starter. The FVP is also not the same surface as Corellium’s AVH cloud FVP — AVH packages firmware as .coreimg and provisions via a remote API; local FVP loads a raw ELF via -a cluster0.cpu*=<elf>. AVH is out of scope for this chapter.

Prereqs

  • A working Zephyr 3.7 workspace — run nros setup zephyr once if you haven’t (see the Zephyr starter).
  • The Arm Base_RevC AEMv8R Fast Models binary, FVP_BaseR_AEMv8R. It is user-provided: nano-ros does not download, install or distribute it, and nros setup has no tool for it. x86_64 Linux only – Arm publishes no other host build of this model. On another architecture you can still build the image; you cannot run it here.

Install the FVP

  1. Download the AEMv8-R FVP (FVP_Base_AEMv8R, Linux x86_64) from Arm’s Arm Architecture FVPs page. It is an architecture model, so Arm’s Ecosystem FVPs page (Corstone and the reference designs) does not list it. Each release also has a direct link; FM 11.31, for example:

    curl -LO https://developer.arm.com/-/cdn-downloads/permalink/FVPs-Architecture/FM-11.31/FVP_Base_AEMv8R_11.31_28_Linux_x86.tar.gz
    

    The archive is a plain tarball with no installer; its license terms are in license_terms/ of the unpacked tree.

  2. Unpack it wherever you keep tools, for example:

    mkdir -p ~/opt/fvp-aemv8r
    tar -xzf FVP_Base_AEMv8R_*_Linux_x86.tar.gz -C ~/opt/fvp-aemv8r --strip-components=1
    
  3. Install its runtime dependency. The model’s libraries link libatomic.so.1 (Debian/Ubuntu libatomic1, Fedora libatomic, Arch gcc-libs). nros setup --system lists it among the OS packages to install only while it is missing, and nros doctor’s FVP line does not probe it; to check by hand, ldconfig -p | grep libatomic.so.1.

  4. Point nano-ros at it, in your shell rc:

    # Preferred -- Zephyr's canonical name: the directory holding the binary.
    export ARMFVP_BIN_PATH=~/opt/fvp-aemv8r/bin
    
    # Alternative -- the install root; the resolver looks at the root and
    # under `models/Linux64_GCC-*/` and `bin/`.
    export ARM_FVP_DIR=~/opt/fvp-aemv8r
    

    If neither is set, FVP_BaseR_AEMv8R is found on PATH. The order is ARMFVP_BIN_PATH, then ARM_FVP_DIR, then PATH; a setting that is set but does not hold the binary is reported, not skipped.

  5. Check it: "$ARMFVP_BIN_PATH"/FVP_BaseR_AEMv8R --version prints Fast Models [...] (or plain FVP_BaseR_AEMv8R --version if you put it on PATH; ARMFVP_BIN_PATH does not put it there).

Neither board setup command installs the model. Both say it is user-provided and report whether it is found, and through which setting, and both succeed either way, so a bootstrap that runs them on a host without the model keeps working:

# The board's store packages (Rust target, RMW sources). It plans the board's
# default RMW, zenoh; add `--rmw cyclonedds` for the Cyclone DDS image below.
nros setup fvp-aemv8r-smp

# The consumer Zephyr tree: patches the named west workspace for the board.
# `--zephyr-workspace` is required.
nros setup board fvp-aemv8r-smp --zephyr-workspace ~/.nros/workspaces/zephyr/3.7

Configure-cache trap

Zephyr’s cmake/emu/armfvp.cmake looks the model up once, at configure, and caches the answer. A build directory configured before the FVP was installed, or before ARMFVP_BIN_PATH was set, caches ARMFVP-NOTFOUND, and west build -t run then fails with /bin/sh: 1: ARMFVP-NOTFOUND: not found even though the model is now there. Re-configure that build directory: delete it, or rerun the configure (nros build demo_bringup:fvp -- --pristine, or west build -p always ...).

Doctor check

nros doctor reports whether the model is found, and through which setting (ARMFVP_BIN_PATH, ARM_FVP_DIR or PATH). A miss is a warning naming the install steps above, never a failure: a contributor who is not working on the FVP should not be blocked by its absence. nros doctor --board fvp-aemv8r-smp reports the same line.

Changing this in the tree: see Internals → per-platform lanes.

Build

The FVP is a Zephyr board, fvp-aemv8r-smp, so an image names it in its bringup’s system.toml and nros build hands it to west like any Zephyr image (Zephyr native_sim has the workspace flow). The worked example is examples/workspaces/realtime-cpp’s [image.fvp], a Cyclone DDS image:

[image.fvp]
board = "fvp-aemv8r-smp"
rmw = "cyclonedds"

The build generates the messages from your ROS 2 install, so the first one runs in a shell that has sourced it; it records the prefix, so later builds need no sourced shell:

nros setup zephyr --rmw cyclonedds     # the Zephyr workspace + SDK
# the FVP itself: user-provided, see "Install the FVP" above
source /opt/ros/humble/setup.bash
nros build demo_bringup:fvp

The model must be resolvable when the build configures (see the configure-cache trap). nros build says so in the note it prints after the build.

Run on the FVP

From the image’s workspace, nros run builds the image if it needs to and runs Zephyr’s FVP target, which invokes FVP_BaseR_AEMv8R with the board’s cluster and UART settings and pipes the UARTs to your terminal:

nros run demo_bringup:fvp

nros build also prints that target as a west build ... -t run line. West runs it only inside a west workspace or with ZEPHYR_BASE set, so nros build prefixes the line with the ZEPHYR_BASE of the Zephyr workspace it found (issue 2809). To run it by hand, point west at your Zephyr workspace:

export ZEPHYR_BASE=~/.nros/workspaces/zephyr/3.7/zephyr
west build -d build/zephyr-cyclonedds/demo_bringup__fvp_west -t run

Not replayed. No probe track builds or boots the FVP image yet, so this line is unmeasured on the installed track (tracking issue).

The model is user-provided (see Install the FVP); what keeps it off a CI lane is cost and its x86_64-only host build. It runs until you stop it (Ctrl-C).

Expected output

The UARTs print the FVP’s banner, then the Zephyr boot banner and the image’s two sched tasks: ctrl_node publishes std_msgs/Int32 on /ctrl every 10 ms and telem_node on /telem every 100 ms, over Cyclone DDS. What a maintainer saw on 2026-11-21 (FM 11.31.28), trimmed:

[2/4] FVP_BaseR_AEMv8R: 11.31.28
*** Booting Zephyr OS build v3.7.2 ***
Secondary CPU core 1 (MPID:0x0) is up
...
<inf> cyclonedds: session_create: dds_create_participant returned ...
nros: scheduler core=0 levels=2 backing=232
[ctrl] tick=0
[ctrl] tick=1
...
[telem] tick=0

The lines of the two sched tasks interleave, and log lines from the cores can split one another. Stop the model with Ctrl-C (Simulation stopped by user).

A stock ROS 2 peer on the host (ros2 topic echo /ctrl std_msgs/msg/Int32) would read the publisher through the model’s ethernet; that interop is not measured on this board, so treat it as unverified.

Cross-references