Overview
AM62A combines Linux application cores with three remote processors. Linux manages two of them through the remoteproc framework; the third is started by the boot loader and must keep running.
Which core can you use
| Core | Linux node | State on V1.1.0 | Role | Available for your firmware |
|---|---|---|---|---|
MCU R5F (mcu-r5fss0-0) | 79000000.r5f | running | Runs the TI IPC echo example (am62a-mcu-r5f0_0-fw) | Yes; this section uses it |
Wakeup R5F (r5fss0-0, DM R5) | 78000000.r5f | attached | Device Manager firmware: resource and power management for the whole SoC | No |
C7x DSP (c75ss0-0) | 7e000000.dsp | running | AI and vision firmware (am62a-c71_0-fw) | No; replacing it stops the AI runtime |
The wakeup R5F reports attached and firmware unknown because the boot loader started it before Linux. TI states that the DM R5 must be started by the boot loader and cannot be loaded from Linux or CCS. Do not stop it.
The MCU R5F firmware shipped in the image is the TI example ipc_rpmsg_echo_linux: its log reports REL.MCUSDK.K3.11.01.00.03+, and it announces the same two endpoints as the SDK source. That makes it the natural starting point for your own firmware.
On the test board no process had a /dev/rpmsg* device open and no system service referred to RPMsg. With the MCU console firmware loaded instead, the C7x AI benchmark still offloaded all 329 nodes. The process vx_app_arm_remote_log.out from the AI stack reads remote-core log memory through /dev/mem; it is not an RPMsg user.
Inspect the processors
List every remote processor with its hardware name, state and firmware:
for r in /sys/class/remoteproc/remoteproc*; do
printf '%s %-14s %-9s %s\n' "${r##*/}" "$(cat $r/name)" "$(cat $r/state)" "$(cat $r/firmware)"
done
Output on the test board:
remoteproc0 7e000000.dsp running am62a-c71_0-fw
remoteproc1 79000000.r5f running am62a-mcu-r5f0_0-fw
remoteproc2 78000000.r5f attached unknown
Always select a core by its name, not by its remoteprocN number. The numbering follows probe order and is not guaranteed across kernels or device-tree changes. The rest of this section finds the MCU R5F like this:
MCU=$(grep -l '^79000000.r5f$' /sys/class/remoteproc/remoteproc*/name | xargs dirname)
echo "$MCU"
Firmware files
Linux loads /lib/firmware/<firmware name> when the core starts. In the image these names are symbolic links:
ls -l /lib/firmware/am62a-*fw
sha256sum /opt/ti/firmware/am62a-mcu-r5f0_0-fw
/lib/firmware/am62a-c71_0-fw -> /opt/ti/firmware/am62a-c71_0-fw
/lib/firmware/am62a-mcu-r5f0_0-fw -> /opt/ti/firmware/am62a-mcu-r5f0_0-fw
29228716885522642ba205e9b1256f33d08b32512699c0fbedf2bc1bfb502a4c /opt/ti/firmware/am62a-mcu-r5f0_0-fw
Record this checksum before you change anything; Recovery uses it to confirm that the original file is back. The firmware prints its version to the trace log:
[mcu-r5f0-0] 0.000495s : [IPC RPMSG ECHO] Version: REL.MCUSDK.K3.11.01.00.03+ (Jun 16 2025 08:51:33):
Shared memory layout
Firmware for a remote core runs from DDR regions that Linux reserves in the device tree. The Mo62A device tree uses the same layout as the TI AM62A starter kit (am62ax-sk), so the SDK linker files work without changes:
| Address range | Size | Use (TI MCU+ SDK memory map) | Mo62A reserved-memory node |
|---|---|---|---|
0x9B800000–0x9B8FFFFF | 1 MiB | IPC VRING between Linux and MCU R5F | r5f-dma-memory@9b800000 |
0x9B900000–0x9B9003FF | 1 KiB | Resource table read by Linux | r5f-dma-memory@9b900000 |
0x9B900400–0x9B9FFFFF | about 1 MiB | Trace log buffer | same node |
0x9BA00000–0x9C7FFFFF | 14 MiB | MCU R5F code and data | same node |
0xA0000000–0xA0FFFFFF | 16 MiB | IPC VRING between remote cores | ipc-memories@a0000000 |
Check the reserved regions on your board:
for n in /proc/device-tree/reserved-memory/*@9b*; do
printf '%s ' "${n##*/}"; xxd -p "$n/reg" | tr -d '\n'; echo
done
r5f-dma-memory@9b800000 000000009b8000000000000000100000
r5f-dma-memory@9b900000 000000009b9000000000000000f00000
Each value is a 64-bit start address followed by a 64-bit size. If you change the device tree, or the firmware's linker.cmd, keep the two in agreement: firmware linked outside its reserved region can overwrite Linux or another core's memory even if it loads.
Limits to keep in mind
- Linux to R5F messages use 512-byte buffers including the 16-byte RPMsg header (at most 496 payload bytes), with 256 buffers per VRING; pass larger data through shared memory and send its offset.
- MCU-domain peripherals belong to the MCU R5F by default. Using a main-domain peripheral (GPIO, I2C, SPI, UART) from the MCU R5F requires removing it from the Linux device tree first; see TI: accessing main domain peripherals from MCU. That path has not been tested on Mo62A.
- A remote core does not make Linux deterministic. Put the time-critical loop in the R5F firmware and exchange only commands and results with Linux.
Next: SDK setup.