Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751265AbdFSFNo (ORCPT ); Mon, 19 Jun 2017 01:13:44 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33448 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750851AbdFSFNm (ORCPT ); Mon, 19 Jun 2017 01:13:42 -0400 Date: Mon, 19 Jun 2017 10:43:38 +0530 From: Sanchayan To: Oleksij Rempel Cc: devicetree@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King , Shawn Guo , Fabio Estevam , Ohad Ben-Cohen , Bjorn Andersson , linux-remoteproc@vger.kernel.org Subject: Re: [RFC PATCH 0/3] provide imx rproc driver Message-ID: <20170619051338.GA3064@Sanchayan-Arch> References: <20170614204855.18347-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170614204855.18347-1-o.rempel@pengutronix.de> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3137 Lines: 87 Hello Oleksij, On 17-06-14 22:48:52, Oleksij Rempel wrote: > Hallo all, > > this is RFC patchset to provide remoteproc functionality on > imx7d SoC. > Since current kernel do not have devicetrees for board which > I used for testing, this RFC patchset includes this too. > > For testing I used this simple counter written in ASM: > ====================================== > .syntax unified > .text > .thumb > .int 0x10020000 @ Initial SP value > .int reset + 1 > > reset: > > mov r0, #0x55 > ldr r1, =(0x40) > 1: > str r0, [r1] > add r0, 1 > b 1b > > /* Dummy data, required by remoteproc loader */ > /* Please FIXME, this part seem to be incorrect */ > .data > .section .resource_table, "aw" > .word 1, 0, 0, 0 /* struct resource_table base */ > .word 0 /* uint32_t offset[1] */ > ============================================================ > compiled with: > ${CROSS}as -o imx7m4.o imx7m4.S > ${CROSS}ld -Ttext=0x0 -o imx7m4.elf imx7m4.o > cp imx7m4.elf /srv/nfs/sid-armhf/lib/firmware/rproc-imx_rproc-fw > > Functionality was confirmed with current OpenOCD master. > OpenOCD cfg file can be found here: > https://github.com/olerem/openocd/blob/imx7-2017.06.14/tcl/target/imx7.cfg > > Comment and suggestions are welcome. Have you by chance also tried testing this with FreeRTOS code running on the M4 side? Regards, Sanchayan. > > Regards, > Oleksij > > Oleksij Rempel (3): > ARM: dts: imx7d: add imx7d-phyboard-zeta > remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver > ARM: dts: imx7s: add rproc node > > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx7d-pba-c-09.dtsi | 272 ++++++++++++++++++++++++++++++ > arch/arm/boot/dts/imx7d-peb-av-02.dtsi | 104 ++++++++++++ > arch/arm/boot/dts/imx7d-peb-eval-02.dtsi | 130 ++++++++++++++ > arch/arm/boot/dts/imx7d-phyboard-zeta.dts | 144 ++++++++++++++++ > arch/arm/boot/dts/imx7d-phycore-som.dtsi | 272 ++++++++++++++++++++++++++++++ > arch/arm/boot/dts/imx7d-pinfunc-lpsr.h | 76 +++++++++ > arch/arm/boot/dts/imx7s.dtsi | 9 + > drivers/remoteproc/Kconfig | 8 + > drivers/remoteproc/Makefile | 1 + > drivers/remoteproc/imx_rproc.c | 264 +++++++++++++++++++++++++++++ > 11 files changed, 1281 insertions(+) > create mode 100644 arch/arm/boot/dts/imx7d-pba-c-09.dtsi > create mode 100644 arch/arm/boot/dts/imx7d-peb-av-02.dtsi > create mode 100644 arch/arm/boot/dts/imx7d-peb-eval-02.dtsi > create mode 100644 arch/arm/boot/dts/imx7d-phyboard-zeta.dts > create mode 100644 arch/arm/boot/dts/imx7d-phycore-som.dtsi > create mode 100644 arch/arm/boot/dts/imx7d-pinfunc-lpsr.h > create mode 100644 drivers/remoteproc/imx_rproc.c > > -- > 2.11.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html