Skip to main content

rpmsg-aen

warning
[UNTESTED] — structural draft; the carve-out is blocked and the A32 slice does not build

Two things stand between this example and a bench run, as of alp-sdk v0.17.0:

  • The carve-out resolves status: blocked. The only region reachable from all three cores is mram_main, and its extent equals the SoC's whole App MRAM aperture — it is flash-class, not a safe IPC carve-out target. (Earlier releases blocked it because the region's base was TBD; that base is now resolved, but the region is still unsuitable.) The orchestrator records the blocked carve-out in system-manifest.yaml, and the generated <alp/system_ipc.h> carries an #error so a consumer build trips with a clear message.
  • The a32_cluster Yocto slice is not built today. MACHINE = e1m-aen801-a32 is a known-non-buildable Yocto machine, so the planner emits command: null plus a yocto-machine-unbuildable warning for that slice. The slice is carried, not dropped, so tan build still succeeds overall and builds the two Zephyr slices (m55_hp, and the m55_he stock shim).

Heterogeneous-compute demo for E1M-AEN801 (Alif Ensemble E8). The E8 die carries a 2-core Cortex-A32 cluster plus two Cortex-M55 cores (HP + HE). This example wires:

  • a32_cluster — Yocto Linux consumer under linux/.
  • m55_hp — Zephyr producer under m55_hp/ that publishes one imu_sample event per second over <alp/rpc.h>. The sensors are not wired up yet: the producer loop publishes synthetic accelerometer / pressure / temperature values.
  • m55_he — left at the SoM topology default (stock-shim Zephyr image); the always-on M55-HE core stays alive for future low-power offload but doesn't participate in this demo's RPMsg channel.

Source: examples/multicore/rpmsg-aen/.

board.yaml​

libraries:
- name: mbedtls
cores: [a32_cluster]
- name: nlohmann-json
cores: [a32_cluster]
- name: cmsis-dsp
cores: [m55_hp]

som:
sku: E1M-AEN801
hw_rev: r2

preset: e1m-evk # BMP581 + BMI323 (on-board IMU) are
# populated by the EVK preset defaults.

pins:
- { e1m: E1M_I2C0, macro: EVK_I2C_BUS_SENSORS, doc: "Shared sensor + IO-expander + INA236 bus" }
cores:
a32_cluster:
app: ./linux
image: alp-image-edge
m55_hp:
app: ./m55_hp
peripherals: [i2c]

ipc:
- kind: rpmsg
endpoints: [a32_cluster, m55_hp]
carve_out_kb: 256
name: alp_default_rpmsg

diagnostics:
log_level: info

m55_he is not listed, so it stays at the SoM topology default (the stock-shim Zephyr image).

Cache policy​

cacheable: is deliberately left unset here. The spec would flip an AEN carve-out to cacheable by default because the M55 D-cache is on — but <alp/rpc.h> has no cache-maintenance layer behind that flag yet, so the loader rejects an explicit cacheable: true on a kind: rpmsg entry until real cache maintenance ships. The orchestrator instead forces CONFIG_DCACHE=n for this core, the same conservative posture V2N already has.

note
This is not the raw_shmem auto-emit

Declaring an ipc: entry of kind: raw_shmem emits CONFIG_DCACHE=n for every core in that entry's endpoints unless the entry sets cacheable: true. That rule covers raw_shmem only — it does not apply to kind: rpmsg (this example) or kind: mailbox_only. The CONFIG_DCACHE=n you get here comes from the separate RPMsg carve-out path, not from that rule. See mproc-mailbox for the raw_shmem case.

See also​

Questions about this page? Email contact@alplab.ai