Skip to content

Early-boot support of R5FSS from A72 U-Boot for J7200 SoCs

Suman Anna u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dt-bindings: remoteproc: k3-r5f: Update bindings for J7200 SoCsdoc/device-tree-bindings/remoteproc/ti,k3-r5f-rproc.txt+4 -10 replies
2/8remoteproc: k3-r5: Add support for J7200 R5Fsdrivers/remoteproc/ti_k3_r5f_rproc.c+89 -100 replies
3/8armv8: K3: j7200: Add custom MMU supportarch/arm/mach-k3/arm64-mmu.c+58 -10 replies
4/8arm: dts: k3-j7200-mcu: Add MCU domain R5F cluster nodearch/arm/dts/k3-j7200-common-proc-board.dts arch/arm/dts/k3-j7200-mcu-wakeup.dtsi+45 -00 replies
5/8arm: dts: k3-j7200-main: Add MAIN domain R5F cluster nodesarch/arm/dts/k3-j7200-common-proc-board.dts arch/arm/dts/k3-j7200-main.dtsi+42 -00 replies
6/8env: ti: j721e-evm: Update rproc_fw_binaries env variable for J7200include/configs/j721e_evm.h+13 -10 replies
7/8configs: j7200_evm_a72: Enable R5F remoteproc driverconfigs/j7200_evm_a72_defconfig+3 -10 replies
8/8configs: j7200_evm_a72: Enhance bootcmd to start remoteprocsconfigs/j7200_evm_a72_defconfig+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Early-boot support of R5FSS from A72 U-Boot for J7200 SoCs

Hi Lokesh,

The following series adds the early-boot support of the revised R5FSS IP on J7200 SoCS from A72 U-Boot. The J7200 SoCs has two R5FSS clusters, one in MCU domain and another in MAIN domain. Patches are on top of the latest master + "Configure J721E Main R5FSS1 to Split-mode & env" series [1].

The current series enables the default variables only for the MAIN R5FSS cores. The config file used is common between J721E and J7200 SoCs, so is adjusted accordingly.

The MCU R5FSS is shutdown at the end of R5 SPL, and can be booted by modifying env variables. Early-boot is supported only through the MMC rootfs just like on J721E SoCs.

Following are the default modes and firmware image names supported with this series:
1. Modes
MCU R5FSS0: LockStep mode
MAIN R5FSS0: Split mode
2. Firmware images

    MCU R5FSS0 Core0  : j7200-mcu-r5f0_0-fw
    MCU R5FSS0 Core1  : j7200-mcu-r5f0_1-fw
    MAIN R5FSS0 Core0 : j7200-main-r5f0_0-fw
    MAIN R5FSS0 Core0 : j7200-main-r5f0_1-fw

Following is the patch summary:
- Patches #1 and #2 update the binding and the K3 R5F remoteproc driver for J7200 SoCs
- Patch #3 sets up a separate MMU map for J7200 SoCs using the appropriate CONFIG_TARGET_<SOC>_A72_EVM symbols
- Patches #4 and #5 add the dts nodes with LockStep for MCU R5FSS0 and Split-mode for MAIN R5FSS0
- Patch #6 leverages the CONFIG_TARGET_<SOC>_A72_EVM symbols to set the SoC-specific default remoteproc boot list
- Patch #7 enables the R5F remoteproc driver and needed options for A72 U-Boot
- Patch #8 enhances the bootcmd variable to include the booting of the rprocs based on couple of control variables

regards
Suman

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=196091

Suman Anna (8):
dt-bindings: remoteproc: k3-r5f: Update bindings for J7200 SoCs
remoteproc: k3-r5: Add support for J7200 R5Fs
armv8: K3: j7200: Add custom MMU support
arm: dts: k3-j7200-mcu: Add MCU domain R5F cluster node
arm: dts: k3-j7200-main: Add MAIN domain R5F cluster nodes
env: ti: j721e-evm: Update rproc_fw_binaries env variable for J7200
configs: j7200_evm_a72: Enable R5F remoteproc driver
configs: j7200_evm_a72: Enhance bootcmd to start remoteprocs

 arch/arm/dts/k3-j7200-common-proc-board.dts   |  7 ++
 arch/arm/dts/k3-j7200-main.dtsi               | 40 ++++++++
 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi         | 40 ++++++++
 arch/arm/mach-k3/arm64-mmu.c                  | 59 ++++++++++-
 configs/j7200_evm_a72_defconfig               |  6 +-
 .../remoteproc/ti,k3-r5f-rproc.txt            |  5 +-
 drivers/remoteproc/ti_k3_r5f_rproc.c          | 99 +++++++++++++++++--
 include/configs/j721e_evm.h                   | 14 ++-
 8 files changed, 255 insertions(+), 15 deletions(-)
Signature · 1 line
2.28.0