Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1666217
| From | Oleksij Rempel <o.rempel@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH 0/3] provide imx rproc driver |
| Date | 2017-06-14 22:50 +0200 |
| Message-ID | <tSnoJ-1uG-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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.
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RFC PATCH 0/3] provide imx rproc driver Oleksij Rempel <o.rempel@pengutronix.de> - 2017-06-14 22:50 +0200
[RFC PATCH 1/3] ARM: dts: imx7d: add imx7d-phyboard-zeta Oleksij Rempel <o.rempel@pengutronix.de> - 2017-06-14 22:50 +0200
[RFC PATCH 3/3] ARM: dts: imx7s: add rproc node Oleksij Rempel <o.rempel@pengutronix.de> - 2017-06-14 23:00 +0200
[RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver Oleksij Rempel <o.rempel@pengutronix.de> - 2017-06-14 23:00 +0200
Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver Suman Anna <s-anna@ti.com> - 2017-06-15 21:10 +0200
Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver Suman Anna <s-anna@ti.com> - 2017-06-16 18:30 +0200
Re: [RFC PATCH 2/3] remoteproc: imx_rproc: add a NXP/Freescale imx rproc driver Oleksij Rempel <ore@pengutronix.de> - 2017-06-19 09:50 +0200
Re: [RFC PATCH 0/3] provide imx rproc driver Sanchayan <maitysanchayan@gmail.com> - 2017-06-19 07:20 +0200
Re: [RFC PATCH 0/3] provide imx rproc driver Oleksij Rempel <ore@pengutronix.de> - 2017-06-19 09:40 +0200
csiph-web