Hi, On Fri, Jul 24, 2020 at 04:08:03PM +0800, Peng Fan wrote: > This patchset is to support i.MX8MQ/M coproc booted before linux. > Since i.MX8MQ/M was not supported, several patches are needed > to first support the platform, then support early boot case. > > I intended to included i.MX8QM/QXP, but that would introduce a large > patchset, so not included. But the clk/syscon optional patch for > i.MX8QM/QXP was still kept here to avoid rebase error. Thank you for your work. Can you please provide more information about big picture of this work. If I see it correctly, we have here support for i.MX8MM, which seems to be able to fully control Cortex M4 (enable CPU core, etc...). And other case, where remoteproc is running on application processor and can't or should not touch M4 (i.MX7ULP, i.MX8QM/QXP..). Since M4 provides some functionality, you are trying to reuse remoteproc framework to get resource table present in ELF header and to dynamically load things. For some reasons this header provides more information then needed, so you are changing the ELF parser in the kernel to workaround it. Correct? > Peng Fan (10): > dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M > remoteproc: imx_rproc: correct err message > remoteproc: imx: use devm_ioremap > remoteproc: imx_rproc: make syscon optional > remoteproc: imx_rproc: make clk optional > remoteproc: imx_rproc: add load hook > remoteproc: imx_rproc: add i.MX specific parse fw hook > remoteproc: imx_rproc: support i.MX8MQ/M > remoteproc: imx_proc: enable virtio/mailbox > remoteproc: imx_rproc: support coproc booting before Linux > > .../devicetree/bindings/remoteproc/imx-rproc.txt | 3 + > drivers/remoteproc/imx_rproc.c | 409 ++++++++++++++++++++- > 2 files changed, 401 insertions(+), 11 deletions(-) > > -- > 2.16.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature