[PATCH v3 00/12] remoteproc: Add support for i.MX8M[M/N/P/Q] and i.MX93

Peng Fan peng.fan at nxp.com
Wed Oct 22 02:48:26 CEST 2025


CI: https://dev.azure.com/pengfan/uboot-ci/_build/results?buildId=21

This patch series introduces remoteproc support for NXP i.MX8M and i.MX93
platforms. Most of the i.MX-specific logic is ported from the Linux kernel to
ensure compatibility and maintainability.

The existing bootaux command in U-Boot only supports loading raw binary images.
However, this approach fails when the remote processor firmware contains
sections that must be loaded into both TCM and DDR. To address this limitation,
need to use remoteproc framework ELF loader, enabling proper loading of
segmented firmware images.

Patch Summary:

Patches 1–2: Import memcpy_io and memset_io from the Linux kernel and enable
             them in the remoteproc subsystem.
Patches 3–11: Add platform-specific remoteproc support for i.MX8M and i.MX93.
Patch 6: Temporarily adds Cortex-M nodes to x-u-boot.dtsi since they are not
         yet available in the upstream Linux device tree. These nodes can be
	 removed once they are merged upstream.

NXP internal R-b tags are kept, because the patches are directly
cherry-picked from NXP LTS tree.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
Changes in v3:
- Add doc for remoteproc

Changes in v2:
- Drop patch 1 import memcpy_fromio which is not redundant
- Link to v1: https://lore.kernel.org/r/20251013-imx-rproc-v1-0-fb43a3fafcd0@nxp.com

---
Peng Fan (12):
      remoteproc: Extend device_to_virt with a is_iomem parameter
      remoteproc: Add imx_rproc driver to support NXP i.MX8MP/N
      remoteproc: imx_rproc: Support i.MX8MQ/M
      remoteproc: imx_rproc: Add support for i.MX93 CM33
      arm: dts: imx8m: Add remoteproc node
      imx8mp: Enable remoteproc for i.MX8MP EVK
      imx8mm: Enable remoteproc for i.MX8MM EVK
      imx8mn: Enable remoteproc for i.MX8MN EVK
      imx8mq: Enable remoteproc for i.MX8MQ EVK
      imx93: Enable remoteproc for i.MX93-EVK/QSB/FRDM
      doc: board: nxp: Add remoteproc guide
      doc: cmd: Document remoteproc usage

 MAINTAINERS                           |   2 +
 arch/arm/dts/imx8mm-u-boot.dtsi       |   4 +
 arch/arm/dts/imx8mn-u-boot.dtsi       |   4 +
 arch/arm/dts/imx8mp-u-boot.dtsi       |   4 +
 arch/arm/dts/imx8mq-u-boot.dtsi       |   4 +
 arch/arm/mach-imx/imx8m/Kconfig       |  20 ++
 arch/arm/mach-imx/imx9/Kconfig        |  12 ++
 doc/board/nxp/index.rst               |   1 +
 doc/board/nxp/rproc.rst               |  69 +++++++
 doc/usage/cmd/rproc.rst               |  78 +++++++
 doc/usage/index.rst                   |   1 +
 drivers/remoteproc/Kconfig            |   7 +
 drivers/remoteproc/Makefile           |   1 +
 drivers/remoteproc/imx_rproc.c        | 370 ++++++++++++++++++++++++++++++++++
 drivers/remoteproc/imx_rproc.h        |  56 +++++
 drivers/remoteproc/renesas_apmu.c     |   3 +-
 drivers/remoteproc/rproc-elf-loader.c |  94 ++++++---
 drivers/remoteproc/sandbox_testproc.c |   3 +-
 drivers/remoteproc/stm32_copro.c      |   3 +-
 drivers/remoteproc/ti_k3_dsp_rproc.c  |   2 +-
 drivers/remoteproc/ti_k3_m4_rproc.c   |   2 +-
 drivers/remoteproc/ti_k3_r5f_rproc.c  |   2 +-
 include/remoteproc.h                  |   3 +-
 23 files changed, 708 insertions(+), 37 deletions(-)
---
base-commit: 0f865ab5d68484b4dc1724809de1be06edc85df1
change-id: 20251020-imx-rproc-v3-d8d3d5f256d4

Best regards,
-- 
Peng Fan <peng.fan at nxp.com>



More information about the U-Boot mailing list