boards: mps3: Add support for corstone300/an552

What is changed?
 - Added a new mps3 board an552 for the soc corstone300.
   The qualifier to build/run application with board mps3/an552 is
   `mps3/corstone300/an552` for secure and
   `mps3/corstone300/an552/ns` for non-secure.
 - Added FVP variant to enable FVP testing with corstone300
   and it uses the ARM FVP `FVP_Corstone_SSE-300_Ethos-U55`.
   The qualifier to build/run application with FVP is
   `mps3/corstone300/fvp` for secure and
   `mps3/corstone300/fvp/ns` for non-secure.
 - Note: the qualifier to build/run application with board mps3/an547
   is now changed to
   `mps3/corstone300/an547` for secure and
   `mps3/corstone300/an547/ns` for non-secure.

How is it changed?
 - Moved common code from mps3/an547 to corstone300.
 - Renamed soc for an547 to corstone300 and added
   a new soc corstone300/an552.

Why do we need this change?
 - This enables FVP support and testing for corstone300.
 - SOC/qualifier for mps3/an547 was renamed to reduce code redundancy
 - A separate FVP variant was added for AN552 because, the TFM board
   used for non-secure variant differs for FPGA and FVP.
   TFM board `arm/mps3/corstone300/fvp` should be used when testing
   AN552 with FVP and `arm/mps3/corstone300/an552` should be used when
   testing with AN552 FPGA.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
This commit is contained in:
Sudan Landge 2024-09-16 21:46:17 +01:00 committed by David Leach
commit 3092d96e5b
57 changed files with 959 additions and 312 deletions

View file

@ -10,7 +10,7 @@ tests:
- qemu_cortex_m3
- mps2/an385
- mps2/an521/cpu0
- mps3/an547
- mps3/corstone300/an547
- nrf52840dk/nrf52840
- nrf9160dk/nrf9160
- nrf51dk/nrf51822

View file

@ -9,7 +9,7 @@ tests:
arch.arm.swap.tz:
# NOTE: this platform disables FPU access in TFM.
platform_exclude:
- mps3/an547/ns
- mps3/corstone300/an547/ns
- nucleo_l552ze_q/stm32l552xx/ns
integration_platforms:
- mps2/an521/cpu0/ns
@ -18,7 +18,7 @@ tests:
- CONFIG_ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS=n
# NOTE: this platform disables FPU access in TFM.
platform_exclude:
- mps3/an547/ns
- mps3/corstone300/an547/ns
- nucleo_l552ze_q/stm32l552xx/ns
integration_platforms:
- mps2/an521/cpu0/ns

View file

@ -17,7 +17,7 @@ tests:
filter: CONFIG_CPU_HAS_FPU
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- fpu
extra_configs:

View file

@ -24,8 +24,8 @@ tests:
arch_allow: arm
platform_allow:
- slwrb4180a
- mps3/an547
- mps3/corstone300/an547
- nrf9160dk/nrf9160
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
extra_args: CONFIG_MPU_GAP_FILLING=y

View file

@ -23,8 +23,8 @@ tests:
arch_allow: arm
platform_allow:
- slwrb4180a
- mps3/an547
- mps3/corstone300/an547
- nrf9160dk/nrf9160
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
extra_args: CONFIG_MPU_GAP_FILLING=y

View file

@ -16,7 +16,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -26,7 +26,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -55,7 +55,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -84,7 +84,8 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
- mps3/corstone300/an552
tags:
- cmsis-dsp
- fpu
@ -114,7 +115,8 @@ tests:
integration_platforms:
- mps2/an521/cpu1
platform_exclude:
- mps3/an547
- mps3/corstone300/an547
- mps3/corstone300/an552
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -23,7 +23,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -52,7 +52,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -81,7 +81,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -109,7 +109,7 @@ tests:
and CONFIG_CPU_HAS_FPU and CONFIG_FULL_LIBC_SUPPORTED)
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -138,7 +138,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -167,7 +167,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -197,7 +197,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -228,7 +228,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -259,7 +259,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -288,7 +288,7 @@ tests:
and CONFIG_CPU_HAS_FPU and CONFIG_FULL_LIBC_SUPPORTED)
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -318,7 +318,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -349,7 +349,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -16,7 +16,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -15,7 +15,7 @@ tests:
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -22,7 +22,7 @@ tests:
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -50,7 +50,7 @@ tests:
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -129,7 +129,7 @@ tests:
filter: (CMSIS_DSP_FLOAT16 and (CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M)
and CONFIG_CPU_HAS_FPU and CONFIG_FULL_LIBC_SUPPORTED)
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -156,7 +156,7 @@ tests:
filter: (CMSIS_DSP_FLOAT16 and (CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M)
and CONFIG_CPU_HAS_FPU and CONFIG_FULL_LIBC_SUPPORTED)
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu
@ -210,7 +210,7 @@ tests:
filter: ((CONFIG_CPU_AARCH32_CORTEX_R or CONFIG_CPU_CORTEX_M) and CONFIG_CPU_HAS_FPU
and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps3/an547
- mps3/corstone300/an547
tags:
- cmsis-dsp
- fpu

View file

@ -13,7 +13,7 @@ tests:
filter: (CONFIG_CPU_HAS_FPU and CONFIG_FULL_LIBC_SUPPORTED) or CONFIG_ARCH_POSIX
integration_platforms:
- mps2/an521/cpu1
- mps3/an547
- mps3/corstone300/an547
tags:
- zdsp
- fpu