Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C693CCD183 for ; Mon, 13 Oct 2025 18:02:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 66713838D7; Mon, 13 Oct 2025 20:02:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="vwwU6xTA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2684583935; Mon, 13 Oct 2025 20:02:45 +0200 (CEST) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 04F718382A for ; Mon, 13 Oct 2025 20:02:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-kumar1@ti.com Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 59DI2ZgU1400267; Mon, 13 Oct 2025 13:02:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1760378555; bh=gNxuHoxRsc7GYkqIxDHrk2jZFbS3La1oF/94kWkw46o=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=vwwU6xTAKSc1dueCSBbeniFNNtcdmnjdgstRvvuLxEhQfTC2pd3b38dAiToI1f3YF MxSi9eAePM1iv+8pCtotXG9VwtyKTfC6CQRJuFi0Bdu2geX03NRjS3VMyTgXB9fUXb V/bgc7mNITIyB05fV22nxILbbseX8raa8QIHEVTw= Received: from DLEE213.ent.ti.com (dlee213.ent.ti.com [157.170.170.116]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 59DI2YPc3141828 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Oct 2025 13:02:34 -0500 Received: from DLEE200.ent.ti.com (157.170.170.75) by DLEE213.ent.ti.com (157.170.170.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 13 Oct 2025 13:02:34 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE200.ent.ti.com (157.170.170.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Mon, 13 Oct 2025 13:02:34 -0500 Received: from [10.250.148.111] ([10.250.148.111]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 59DI2H0e2241867; Mon, 13 Oct 2025 13:02:21 -0500 Message-ID: <8be42ffa-c2fc-4954-bcee-3baddb50a7d9@ti.com> Date: Mon, 13 Oct 2025 23:32:14 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/11] remoteproc: Add support for i.MX8M[M/N/P/Q] and i.MX93 To: "Peng Fan (OSS)" , , , "NXP i.MX U-Boot Team" , Fabio Estevam , Stefano Babic CC: Tom Rini , Ye Li , Nobuhiro Iwamatsu , Patrick Delaunay , Patrice Chotard , Beleswar Padhi , Hari Nagalla , Andrew Davis , Judith Mendez , Ryan Eatmon , Oliver Gaskell , Peng Fan References: <20251013-imx-rproc-v1-0-fb43a3fafcd0@nxp.com> Content-Language: en-US From: "Kumar, Udit" In-Reply-To: <20251013-imx-rproc-v1-0-fb43a3fafcd0@nxp.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 > --- > 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,