On 10/13/2025 8:19 AM, Peng Fan (OSS) wrote:
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.

which CPU arch, you are using. I assume this is ARM-64 then I see already defined in

https://elixir.bootlin.com/u-boot/v2025.10/source/arch/arm/include/asm/io.h#L471


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 <[email protected]>
---
Peng Fan (11):
       lib: Import iomem_copy from Linux Kernel
       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

  MAINTAINERS                           |   1 +
  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 ++
  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 |  93 ++++++---
  drivers/remoteproc/sandbox_testproc.c |   3 +-
  drivers/remoteproc/stm32_copro.c      |   3 +-
  drivers/remoteproc/ti_k3_dsp_rproc.c  |   2 +-
  drivers/remoteproc/ti_k3_r5f_rproc.c  |   2 +-
  include/asm-generic/io.h              |  37 ++++
  include/remoteproc.h                  |   3 +-
  lib/Makefile                          |   1 +
  lib/iomem_copy.c                      | 136 +++++++++++++
  21 files changed, 731 insertions(+), 35 deletions(-)
---
base-commit: 48f21e66e360552c75d70a50421d0e0ed1f59e90
change-id: 20251012-imx-rproc-383db752c3f7

Best regards,

Reply via email to