mbox series

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

Message ID 20200817231514.8034-1-s-anna@ti.com
Headers show
Series Early-boot support of R5FSS from A72 U-Boot for J7200 SoCs | expand

Message

Suman Anna Aug. 17, 2020, 11:15 p.m. UTC
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(-)

Comments

Lokesh Vutla Sept. 15, 2020, 1:47 p.m. UTC | #1
On 18/08/20 4:45 am, Suman Anna wrote:
> 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


Applied to u-boot-ti next branch.

Thanks and regards,
Lokesh