mbox series

[0/9] TI: AM654/J721e: Add support to boot from OSPI

Message ID 20200129121855.30112-1-vigneshr@ti.com
Headers show
Series TI: AM654/J721e: Add support to boot from OSPI | expand

Message

Vignesh Raghavendra Jan. 29, 2020, 12:18 p.m. UTC
This series adds support to boot from OSPI on TI's AM654 and J721e SoCs.
These EVMs have Micron MT35x flash and works in 1-1-8 mode.

Lokesh Vutla (1):
  ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFW

Vignesh Raghavendra (8):
  drivers: Descend to drivers/soc unconditionally
  ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU
  ARM: dts: k3-am65: Add OSPI DT nodes
  ARM: dts: k3-j721e: Add OSPI DT nodes
  configs: am65x_evm: Setup mtdparts for OSPI
  configs: j721e_evm: Setup mtdparts for OSPI
  configs: j721e_evm_defconfig: Enable OSPI configs
  configs: am65x_evm_defconfig: Enable OSPI configs

 arch/arm/dts/k3-am65-mcu.dtsi                 | 38 ++++++++++++++++++
 arch/arm/dts/k3-am65.dtsi                     | 13 ++++++-
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi  | 19 +++++++++
 arch/arm/dts/k3-am654-base-board.dts          | 36 +++++++++++++++++
 arch/arm/dts/k3-am654-r5-base-board.dts       | 39 +++++++++++++++++++
 .../k3-j721e-common-proc-board-u-boot.dtsi    | 16 ++++++++
 arch/arm/dts/k3-j721e-common-proc-board.dts   | 33 ++++++++++++++++
 arch/arm/dts/k3-j721e-mcu-wakeup.dtsi         | 31 +++++++++++++++
 .../arm/dts/k3-j721e-r5-common-proc-board.dts | 39 +++++++++++++++++++
 arch/arm/dts/k3-j721e-som-p0.dtsi             | 36 +++++++++++++++++
 arch/arm/dts/k3-j721e.dtsi                    |  2 +
 arch/arm/mach-k3/Kconfig                      |  8 ++++
 arch/arm/mach-k3/arm64-mmu.c                  |  7 ++++
 arch/arm/mach-k3/sysfw-loader.c               | 31 ++++++++++++++-
 configs/am65x_evm_a53_defconfig               | 25 ++++++++++++
 configs/am65x_evm_r5_defconfig                | 17 ++++++++
 configs/j721e_evm_a72_defconfig               |  9 ++++-
 configs/j721e_evm_r5_defconfig                |  7 ++++
 drivers/Makefile                              |  3 +-
 include/configs/am65x_evm.h                   | 21 +++++++++-
 include/configs/j721e_evm.h                   | 14 ++++++-
 21 files changed, 436 insertions(+), 8 deletions(-)

Comments

Andreas Dannenberg Jan. 29, 2020, 4:31 p.m. UTC | #1
Hi Vignesh,

On Wed, Jan 29, 2020 at 05:48:46PM +0530, Vignesh Raghavendra wrote:
> This series adds support to boot from OSPI on TI's AM654 and J721e SoCs.
> These EVMs have Micron MT35x flash and works in 1-1-8 mode.

we have some documentation in our TI tree regarding OSPI boot in the
board-specific readme files such as how to program the OSPI with the
different U-Boot artifacts, etc which is super helpful for a user.

Would you mind including this info into this series for both AM654x and
J721E?

Thanks, Andreas


--
Andreas Dannenberg
Texas Instruments Inc



> 
> Lokesh Vutla (1):
>   ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFW
> 
> Vignesh Raghavendra (8):
>   drivers: Descend to drivers/soc unconditionally
>   ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU
>   ARM: dts: k3-am65: Add OSPI DT nodes
>   ARM: dts: k3-j721e: Add OSPI DT nodes
>   configs: am65x_evm: Setup mtdparts for OSPI
>   configs: j721e_evm: Setup mtdparts for OSPI
>   configs: j721e_evm_defconfig: Enable OSPI configs
>   configs: am65x_evm_defconfig: Enable OSPI configs
> 
>  arch/arm/dts/k3-am65-mcu.dtsi                 | 38 ++++++++++++++++++
>  arch/arm/dts/k3-am65.dtsi                     | 13 ++++++-
>  arch/arm/dts/k3-am654-base-board-u-boot.dtsi  | 19 +++++++++
>  arch/arm/dts/k3-am654-base-board.dts          | 36 +++++++++++++++++
>  arch/arm/dts/k3-am654-r5-base-board.dts       | 39 +++++++++++++++++++
>  .../k3-j721e-common-proc-board-u-boot.dtsi    | 16 ++++++++
>  arch/arm/dts/k3-j721e-common-proc-board.dts   | 33 ++++++++++++++++
>  arch/arm/dts/k3-j721e-mcu-wakeup.dtsi         | 31 +++++++++++++++
>  .../arm/dts/k3-j721e-r5-common-proc-board.dts | 39 +++++++++++++++++++
>  arch/arm/dts/k3-j721e-som-p0.dtsi             | 36 +++++++++++++++++
>  arch/arm/dts/k3-j721e.dtsi                    |  2 +
>  arch/arm/mach-k3/Kconfig                      |  8 ++++
>  arch/arm/mach-k3/arm64-mmu.c                  |  7 ++++
>  arch/arm/mach-k3/sysfw-loader.c               | 31 ++++++++++++++-
>  configs/am65x_evm_a53_defconfig               | 25 ++++++++++++
>  configs/am65x_evm_r5_defconfig                | 17 ++++++++
>  configs/j721e_evm_a72_defconfig               |  9 ++++-
>  configs/j721e_evm_r5_defconfig                |  7 ++++
>  drivers/Makefile                              |  3 +-
>  include/configs/am65x_evm.h                   | 21 +++++++++-
>  include/configs/j721e_evm.h                   | 14 ++++++-
>  21 files changed, 436 insertions(+), 8 deletions(-)
> 
> -- 
> 2.25.0
>
Vignesh Raghavendra Jan. 30, 2020, 4:21 a.m. UTC | #2
Hi Andreas,

On 29/01/20 10:01 pm, Andreas Dannenberg wrote:
> Hi Vignesh,
> 
> On Wed, Jan 29, 2020 at 05:48:46PM +0530, Vignesh Raghavendra wrote:
>> This series adds support to boot from OSPI on TI's AM654 and J721e SoCs.
>> These EVMs have Micron MT35x flash and works in 1-1-8 mode.
> 
> we have some documentation in our TI tree regarding OSPI boot in the
> board-specific readme files such as how to program the OSPI with the
> different U-Boot artifacts, etc which is super helpful for a user.
> 
> Would you mind including this info into this series for both AM654x and
> J721E?
> 

Sure, thanks for pointing that out! Will include it as part of this
series if I have to respin because of any other comments, else will
submit a separate series updating the READMEs

Regards
Vignesh

> Thanks, Andreas
> 
> 
> --
> Andreas Dannenberg
> Texas Instruments Inc
> 
> 
> 
>>
>> Lokesh Vutla (1):
>>   ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFW
>>
>> Vignesh Raghavendra (8):
>>   drivers: Descend to drivers/soc unconditionally
>>   ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU
>>   ARM: dts: k3-am65: Add OSPI DT nodes
>>   ARM: dts: k3-j721e: Add OSPI DT nodes
>>   configs: am65x_evm: Setup mtdparts for OSPI
>>   configs: j721e_evm: Setup mtdparts for OSPI
>>   configs: j721e_evm_defconfig: Enable OSPI configs
>>   configs: am65x_evm_defconfig: Enable OSPI configs
>>
>>  arch/arm/dts/k3-am65-mcu.dtsi                 | 38 ++++++++++++++++++
>>  arch/arm/dts/k3-am65.dtsi                     | 13 ++++++-
>>  arch/arm/dts/k3-am654-base-board-u-boot.dtsi  | 19 +++++++++
>>  arch/arm/dts/k3-am654-base-board.dts          | 36 +++++++++++++++++
>>  arch/arm/dts/k3-am654-r5-base-board.dts       | 39 +++++++++++++++++++
>>  .../k3-j721e-common-proc-board-u-boot.dtsi    | 16 ++++++++
>>  arch/arm/dts/k3-j721e-common-proc-board.dts   | 33 ++++++++++++++++
>>  arch/arm/dts/k3-j721e-mcu-wakeup.dtsi         | 31 +++++++++++++++
>>  .../arm/dts/k3-j721e-r5-common-proc-board.dts | 39 +++++++++++++++++++
>>  arch/arm/dts/k3-j721e-som-p0.dtsi             | 36 +++++++++++++++++
>>  arch/arm/dts/k3-j721e.dtsi                    |  2 +
>>  arch/arm/mach-k3/Kconfig                      |  8 ++++
>>  arch/arm/mach-k3/arm64-mmu.c                  |  7 ++++
>>  arch/arm/mach-k3/sysfw-loader.c               | 31 ++++++++++++++-
>>  configs/am65x_evm_a53_defconfig               | 25 ++++++++++++
>>  configs/am65x_evm_r5_defconfig                | 17 ++++++++
>>  configs/j721e_evm_a72_defconfig               |  9 ++++-
>>  configs/j721e_evm_r5_defconfig                |  7 ++++
>>  drivers/Makefile                              |  3 +-
>>  include/configs/am65x_evm.h                   | 21 +++++++++-
>>  include/configs/j721e_evm.h                   | 14 ++++++-
>>  21 files changed, 436 insertions(+), 8 deletions(-)
>>
>> -- 
>> 2.25.0
>>