mbox series

[0/5] Cleanup MAIN R5F boot from R5 SPL

Message ID 20210726211311.5977-1-s-anna@ti.com
Headers show
Series Cleanup MAIN R5F boot from R5 SPL | expand

Message

Suman Anna July 26, 2021, 9:13 p.m. UTC
Hi Lokesh,

The following series cleans up the code related to booting of Main
R5FSS0 Core0 from R5 SPL, and moves it to A72 U-Boot on J721E SoCs.
This is no longer supported after the R5 SPL re-architecture that
splits the System Firmware functionality onto two separate processors.
This functionality has been merged post v2021.07 tag towards v2021.10-rc1.
The Main R5FSS0 Core0 is already being booted on A72 U-Boot on J7200
SoCs, the other SoC family that follows this split system firmware
architecture. 

Following is the patch summary:
 - Patch 1 skips the booting of Main R5FSS in R5 SPL and moves it to
   be supported on A72 U-Boot.
 - Patches 2 and 3 cleanup the start_non_linux_remote_cores() code
 - Patch 4 removes the Main R5F nodes from R5 SPL dtb
 - Patch 5 disables the K3 R5F remoteproc driver to be built in R5
   SPL (tiboot3.bin size reduces by about 5K).

regards
Suman

Suman Anna (5):
  arm: mach-k3: j721e: Move booting of Main R5FSS Core0 to A72 U-Boot
  arm: mach-k3: j721e: Cleanup MAIN R5 boot code from R5 SPL
  arm: mach-k3: Cleanup common start_non_linux_remote_cores()
  arm: dts: k3-j721e-r5: Remove MAIN R5FSS0 cluster from SPL
  configs: j721e_evm_r5: Disable K3 R5F remoteproc

 .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 14 --------
 .../arm/dts/k3-j721e-r5-common-proc-board.dts |  2 --
 arch/arm/mach-k3/common.c                     |  5 ---
 arch/arm/mach-k3/common.h                     |  1 -
 arch/arm/mach-k3/j721e_init.c                 | 36 -------------------
 configs/j721e_evm_r5_defconfig                |  1 -
 include/configs/j721e_evm.h                   |  3 +-
 7 files changed, 1 insertion(+), 61 deletions(-)

Comments

Suman Anna July 26, 2021, 9:23 p.m. UTC | #1
On 7/26/21 4:13 PM, Suman Anna wrote:
> Hi Lokesh,
> 
> The following series cleans up the code related to booting of Main
> R5FSS0 Core0 from R5 SPL, and moves it to A72 U-Boot on J721E SoCs.
> This is no longer supported after the R5 SPL re-architecture that
> splits the System Firmware functionality onto two separate processors.
> This functionality has been merged post v2021.07 tag towards v2021.10-rc1.
> The Main R5FSS0 Core0 is already being booted on A72 U-Boot on J7200
> SoCs, the other SoC family that follows this split system firmware
> architecture. 
> 
> Following is the patch summary:
>  - Patch 1 skips the booting of Main R5FSS in R5 SPL and moves it to
>    be supported on A72 U-Boot.
>  - Patches 2 and 3 cleanup the start_non_linux_remote_cores() code
>  - Patch 4 removes the Main R5F nodes from R5 SPL dtb
>  - Patch 5 disables the K3 R5F remoteproc driver to be built in R5
>    SPL (tiboot3.bin size reduces by about 5K).
> 

Forgot to mention that patches are on top of your for-rc HEAD, commit
cd096aa47423 ("configs: am335x_evm: Support GbE PHYs")

regards
Suman

> regards
> Suman
> 
> Suman Anna (5):
>   arm: mach-k3: j721e: Move booting of Main R5FSS Core0 to A72 U-Boot
>   arm: mach-k3: j721e: Cleanup MAIN R5 boot code from R5 SPL
>   arm: mach-k3: Cleanup common start_non_linux_remote_cores()
>   arm: dts: k3-j721e-r5: Remove MAIN R5FSS0 cluster from SPL
>   configs: j721e_evm_r5: Disable K3 R5F remoteproc
> 
>  .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 14 --------
>  .../arm/dts/k3-j721e-r5-common-proc-board.dts |  2 --
>  arch/arm/mach-k3/common.c                     |  5 ---
>  arch/arm/mach-k3/common.h                     |  1 -
>  arch/arm/mach-k3/j721e_init.c                 | 36 -------------------
>  configs/j721e_evm_r5_defconfig                |  1 -
>  include/configs/j721e_evm.h                   |  3 +-
>  7 files changed, 1 insertion(+), 61 deletions(-)
>
Lokesh Vutla July 29, 2021, 5:14 a.m. UTC | #2
On Mon, 26 Jul 2021 16:13:06 -0500, Suman Anna wrote:
> The following series cleans up the code related to booting of Main
> R5FSS0 Core0 from R5 SPL, and moves it to A72 U-Boot on J721E SoCs.
> This is no longer supported after the R5 SPL re-architecture that
> splits the System Firmware functionality onto two separate processors.
> This functionality has been merged post v2021.07 tag towards v2021.10-rc1.
> The Main R5FSS0 Core0 is already being booted on A72 U-Boot on J7200
> SoCs, the other SoC family that follows this split system firmware
> architecture.
> 
> [...]
 
Applied to https://source.denx.de/u-boot/custodians/u-boot-ti.git for-rc, thanks!
[1/5] arm: mach-k3: j721e: Move booting of Main R5FSS Core0 to A72 U-Boot
      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/05e858aefe
[2/5] arm: mach-k3: j721e: Cleanup MAIN R5 boot code from R5 SPL
      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/536f633d8a
[3/5] arm: mach-k3: Cleanup common start_non_linux_remote_cores()
      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/ea985f6d92
[4/5] arm: dts: k3-j721e-r5: Remove MAIN R5FSS0 cluster from SPL
      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/24f3fb6547
[5/5] configs: j721e_evm_r5: Disable K3 R5F remoteproc
      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/bcad620f68
 
--
Thanks and Regards,
Lokesh