Skip to content

Introduce K3 remoteproc driver for M4 subsystem

Judith Mendez u-boot 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 4 repliesIn review
  2. v46 patches 2 repliesSuperseded
  3. v34 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches2 repliesSuperseded
v14 patches3 repliesSuperseded

Changes in v5 from the cover letter

- Remove patch 6 from v4
- Add patches 6-10 from v5

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystemdrivers/remoteproc/Kconfig drivers/remoteproc/Makefile drivers/remoteproc/ti_k3_m4_rproc.c+382 -00 replies
2/10remoteproc: k3-r5: Add support for R5F cores on AM64x SoCsdrivers/remoteproc/ti_k3_r5f_rproc.c+2 -00 replies
3/10board: ti: am64x: Add remoteproc specific env supportboard/ti/am64x/am64x.env+6 -00 replies
4/10board: ti: am62x: Add remoteproc specific env supportboard/ti/am62x/am62x.env+6 -00 replies
5/10board: ti: am62px: Add remoteproc specific env supportboard/ti/am62px/am62px.env+6 -00 replies
6/10remoteproc: Enable ARM64 remoteproc driver by default for K3 ARCHdrivers/remoteproc/Kconfig+1 -00 replies
7/10spl: Enable SPL remoteproc by default for K3 ARCHcommon/spl/Kconfig+1 -00 replies
8/10cmd: Enable CMD remoteproc by default for K3 ARCHcmd/Kconfig+1 -00 replies
9/10arm: mach-k3: Enable remoteproc drivers by default for K3 ARCHarch/arm/mach-k3/Kconfig+24 -00 replies
10/10configs: am6*/j7*: Remove remoteproc configsconfigs/am62ax_evm_a53_defconfig configs/am62ax_evm_r5_defconfig configs/am62px_evm_a53_defconfig +23 more+0 -750 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchDaniel Schultz
1/10T-b
2/10R-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 00/10] Introduce K3 remoteproc driver for M4 subsystem

Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core.

This series also adds support for R5F cores on am64x SoCs in patch 2 and sets up environment to load FW in remote cores in patch 3,4,5.

This patch series also enables remoteproc drivers by default as per what remoteproc sybsystem is supported per SoC, thus all remoteproc options are now deleted in configs/* since they are no longer required.

This patch series was tested on am64x EVM, am62x SK, am62ax SK, am62px SK boards.

Any additional tested by's are welcome since I was not able to test any additional boards.

Tested by running the following commands in u-boot prompt:

=> setenv dorprocboot 1
=> run boot_rprocs

Links:
v4: https://lore.kernel.org/u-boot/[email protected]/
v3: https://lore.kernel.org/u-boot/[email protected]/
v2: https://lore.kernel.org/u-boot/[email protected]/
v1: https://lore.kernel.org/u-boot/[email protected]/

Changes since v4:
- Remove patch 6 from v4
- Add patches 6-10 from v5

Hari Nagalla (5):
remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem
remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs
board: ti: am64x: Add remoteproc specific env support
board: ti: am62x: Add remoteproc specific env support
board: ti: am62px: Add remoteproc specific env support

Judith Mendez (5):
remoteproc: Enable ARM64 remoteproc driver by default for K3 ARCH
spl: Enable SPL remoteproc by default for K3 ARCH
cmd: Enable CMD remoteproc by default for K3 ARCH
arm: mach-k3: Enable remoteproc drivers by default for K3 ARCH
configs: am6*/j7*: Remove remoteproc configs

 arch/arm/mach-k3/Kconfig                   |  24 ++
 board/ti/am62px/am62px.env                 |   6 +
 board/ti/am62x/am62x.env                   |   6 +
 board/ti/am64x/am64x.env                   |   6 +
 cmd/Kconfig                                |   1 +
 common/spl/Kconfig                         |   1 +
 configs/am62ax_evm_a53_defconfig           |   4 -
 configs/am62ax_evm_r5_defconfig            |   3 -
 configs/am62px_evm_a53_defconfig           |   4 -
 configs/am62px_evm_r5_defconfig            |   3 -
 configs/am62x_beagleplay_a53_defconfig     |   1 -
 configs/am62x_beagleplay_r5_defconfig      |   3 -
 configs/am62x_evm_a53_defconfig            |   1 -
 configs/am62x_evm_r5_defconfig             |   3 -
 configs/am64x_evm_a53_defconfig            |   3 -
 configs/am64x_evm_r5_defconfig             |   3 -
 configs/am65x_evm_a53_defconfig            |   3 -
 configs/am65x_evm_r5_defconfig             |   3 -
 configs/am65x_evm_r5_usbdfu_defconfig      |   3 -
 configs/am65x_evm_r5_usbmsc_defconfig      |   3 -
 configs/j7200_evm_a72_defconfig            |   2 -
 configs/j7200_evm_r5_defconfig             |   3 -
 configs/j721e_beagleboneai64_a72_defconfig |   3 -
 configs/j721e_beagleboneai64_r5_defconfig  |   3 -
 configs/j721e_evm_a72_defconfig            |   3 -
 configs/j721e_evm_r5_defconfig             |   3 -
 configs/j721s2_evm_a72_defconfig           |   3 -
 configs/j721s2_evm_r5_defconfig            |   3 -
 configs/j722s_evm_a53_defconfig            |   4 -
 configs/j722s_evm_r5_defconfig             |   3 -
 configs/j784s4_evm_a72_defconfig           |   3 -
 configs/j784s4_evm_r5_defconfig            |   2 -
 drivers/remoteproc/Kconfig                 |  11 +
 drivers/remoteproc/Makefile                |   1 +
 drivers/remoteproc/ti_k3_m4_rproc.c        | 371 +++++++++++++++++++++
 drivers/remoteproc/ti_k3_r5f_rproc.c       |   2 +
 36 files changed, 429 insertions(+), 75 deletions(-)
 create mode 100644 drivers/remoteproc/ti_k3_m4_rproc.c

base-commit: d6da3dbaef57fc1d319b6b552efa009e2489d7d9

Signature · 1 line
2.48.0