diff options
Diffstat (limited to 'spec/build/bsps/aarch64')
49 files changed, 356 insertions, 265 deletions
diff --git a/spec/build/bsps/aarch64/a53/abi.yml b/spec/build/bsps/aarch64/a53/abi.yml index 6401972f76..4374818fbd 100644 --- a/spec/build/bsps/aarch64/a53/abi.yml +++ b/spec/build/bsps/aarch64/a53/abi.yml @@ -7,13 +7,13 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: -- -mcpu=cortex-a53 -default-by-variant: -- value: +- enabled-by: aarch64/a53_ilp32_qemu + value: - -mcpu=cortex-a53 - -mabi=ilp32 - variants: - - aarch64/a53_ilp32_qemu +- enabled-by: true + value: + - -mcpu=cortex-a53 description: | ABI flags enabled-by: true diff --git a/spec/build/bsps/aarch64/a53/optloadoff.yml b/spec/build/bsps/aarch64/a53/optloadoff.yml index cce5dbc627..efdc8a0d8b 100644 --- a/spec/build/bsps/aarch64/a53/optloadoff.yml +++ b/spec/build/bsps/aarch64/a53/optloadoff.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 32768 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00008000 description: | offset of RAM region from memory area base enabled-by: true diff --git a/spec/build/bsps/aarch64/a53/optnocachelen.yml b/spec/build/bsps/aarch64/a53/optnocachelen.yml index 0255838dd0..989354af2e 100644 --- a/spec/build/bsps/aarch64/a53/optnocachelen.yml +++ b/spec/build/bsps/aarch64/a53/optnocachelen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 1048576 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00100000 description: | length of nocache RAM region enabled-by: true diff --git a/spec/build/bsps/aarch64/a53/optramlen.yml b/spec/build/bsps/aarch64/a53/optramlen.yml index b67c427b1d..452587021f 100644 --- a/spec/build/bsps/aarch64/a53/optramlen.yml +++ b/spec/build/bsps/aarch64/a53/optramlen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 0x8000000 -default-by-variant: [] +default: +- enabled-by: true + value: 0x08000000 description: | length of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/a53/optramori.yml b/spec/build/bsps/aarch64/a53/optramori.yml index fdf50787fe..58e4ec0082 100644 --- a/spec/build/bsps/aarch64/a53/optramori.yml +++ b/spec/build/bsps/aarch64/a53/optramori.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 1073741824 -default-by-variant: [] +default: +- enabled-by: true + value: 0x40000000 description: | base address of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/a53/tsta53.yml b/spec/build/bsps/aarch64/a53/tsta53.yml index 6af1b186a3..adf6d85ae1 100644 --- a/spec/build/bsps/aarch64/a53/tsta53.yml +++ b/spec/build/bsps/aarch64/a53/tsta53.yml @@ -1,37 +1,18 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to fail, don't compile these - minimum: exclude - - # tests that are passing intermittently - spcpucounter01: indeterminate - rtmonuse: indeterminate - sp68: indeterminate - sp04: indeterminate - sp20: indeterminate - sp69: indeterminate - rtmonusxtimes01: indeterminate - spedfsched02: indeterminate - spedfsched04: indeterminate - psxtimes01: indeterminate - sprmsched01: indeterminate - sptimecounter02: indeterminate - sptimecounter04: indeterminate - ttest02: indeterminate - - # tests that pass nominally, but fail under Qemu when the host is under - # heavy load - psx12: indeterminate - spintrcritical03: indeterminate - spintrcritical04: indeterminate - spintrcritical05: indeterminate + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true -links: [] +links: +- role: build-dependency + uid: ../../tstqemu type: build diff --git a/spec/build/bsps/aarch64/a72/abi.yml b/spec/build/bsps/aarch64/a72/abi.yml index 9b9438648c..994a3bbbe1 100644 --- a/spec/build/bsps/aarch64/a72/abi.yml +++ b/spec/build/bsps/aarch64/a72/abi.yml @@ -7,13 +7,13 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: -- -mcpu=cortex-a72 -default-by-variant: -- value: +- enabled-by: aarch64/a72_ilp32_qemu + value: - -mcpu=cortex-a72 - -mabi=ilp32 - variants: - - aarch64/a72_ilp32_qemu +- enabled-by: true + value: + - -mcpu=cortex-a72 description: | ABI flags enabled-by: true diff --git a/spec/build/bsps/aarch64/a72/optloadoff.yml b/spec/build/bsps/aarch64/a72/optloadoff.yml index cbe390c2f6..91ea7669f3 100644 --- a/spec/build/bsps/aarch64/a72/optloadoff.yml +++ b/spec/build/bsps/aarch64/a72/optloadoff.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 32768 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00008000 description: | offset of RAM region from memory area base enabled-by: true diff --git a/spec/build/bsps/aarch64/a72/optnocachelen.yml b/spec/build/bsps/aarch64/a72/optnocachelen.yml index 47d55be601..6b069f2d7e 100644 --- a/spec/build/bsps/aarch64/a72/optnocachelen.yml +++ b/spec/build/bsps/aarch64/a72/optnocachelen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 1048576 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00100000 description: | length of nocache RAM region enabled-by: true diff --git a/spec/build/bsps/aarch64/a72/optramlen.yml b/spec/build/bsps/aarch64/a72/optramlen.yml index b18ef2ff08..5d1e1e5043 100644 --- a/spec/build/bsps/aarch64/a72/optramlen.yml +++ b/spec/build/bsps/aarch64/a72/optramlen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 0x8000000 -default-by-variant: [] +default: +- enabled-by: true + value: 0x08000000 description: | length of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/a72/optramori.yml b/spec/build/bsps/aarch64/a72/optramori.yml index be92685f83..ec7e098fe4 100644 --- a/spec/build/bsps/aarch64/a72/optramori.yml +++ b/spec/build/bsps/aarch64/a72/optramori.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 1073741824 -default-by-variant: [] +default: +- enabled-by: true + value: 0x40000000 description: | base address of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/a72/tsta72.yml b/spec/build/bsps/aarch64/a72/tsta72.yml index 6af1b186a3..adf6d85ae1 100644 --- a/spec/build/bsps/aarch64/a72/tsta72.yml +++ b/spec/build/bsps/aarch64/a72/tsta72.yml @@ -1,37 +1,18 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to fail, don't compile these - minimum: exclude - - # tests that are passing intermittently - spcpucounter01: indeterminate - rtmonuse: indeterminate - sp68: indeterminate - sp04: indeterminate - sp20: indeterminate - sp69: indeterminate - rtmonusxtimes01: indeterminate - spedfsched02: indeterminate - spedfsched04: indeterminate - psxtimes01: indeterminate - sprmsched01: indeterminate - sptimecounter02: indeterminate - sptimecounter04: indeterminate - ttest02: indeterminate - - # tests that pass nominally, but fail under Qemu when the host is under - # heavy load - psx12: indeterminate - spintrcritical03: indeterminate - spintrcritical04: indeterminate - spintrcritical05: indeterminate + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true -links: [] +links: +- role: build-dependency + uid: ../../tstqemu type: build diff --git a/spec/build/bsps/aarch64/grp.yml b/spec/build/bsps/aarch64/grp.yml index 9428fb9435..8f40a9952e 100644 --- a/spec/build/bsps/aarch64/grp.yml +++ b/spec/build/bsps/aarch64/grp.yml @@ -12,9 +12,6 @@ install: source: - bsps/aarch64/include/bsp/linker-symbols.h - bsps/aarch64/include/bsp/start.h -- destination: ${BSP_INCLUDEDIR}/dev/clock - source: - - bsps/include/dev/clock/arm-generic-timer.h - destination: ${BSP_INCLUDEDIR}/dev/irq source: - bsps/aarch64/include/dev/irq/arm-gic-arch.h diff --git a/spec/build/bsps/aarch64/optgtuseps.yml b/spec/build/bsps/aarch64/optgtuseps.yml index 3c85f08e17..9ce0cb7552 100644 --- a/spec/build/bsps/aarch64/optgtuseps.yml +++ b/spec/build/bsps/aarch64/optgtuseps.yml @@ -5,8 +5,9 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: false -default-by-variant: [] +default: +- enabled-by: true + value: false description: | If set to true, and AARCH64_GENERIC_TIMER_USE_VIRTUAL is false, then the clock driver uses the Physical Secure Timer of the AARCH64 diff --git a/spec/build/bsps/aarch64/optgtusevirt.yml b/spec/build/bsps/aarch64/optgtusevirt.yml index 919eb86c32..b50e5b0490 100644 --- a/spec/build/bsps/aarch64/optgtusevirt.yml +++ b/spec/build/bsps/aarch64/optgtusevirt.yml @@ -5,8 +5,9 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: false -default-by-variant: [] +default: +- enabled-by: true + value: false description: | If set to true, then the clock driver uses the Virtual Timer of the AARCH64 Generic Timer, otherwise it uses the Physical Non-Secure Timer (EL1). diff --git a/spec/build/bsps/aarch64/optmmupages.yml b/spec/build/bsps/aarch64/optmmupages.yml index d737002f87..a8460ca11d 100644 --- a/spec/build/bsps/aarch64/optmmupages.yml +++ b/spec/build/bsps/aarch64/optmmupages.yml @@ -1,15 +1,16 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - get-integer: null -- assert-ge: 0x1 -- assert-le: 0x800 +- assert-ge: 1 +- assert-le: 2048 - env-assign: null - format-and-define: null build-type: option copyrights: - Copyright (C) 2021 On-Line Applications Research (OAR) -default: 0x40 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00000040 description: | Defines the number of MMU translation table pages to provide. enabled-by: true diff --git a/spec/build/bsps/aarch64/raspberrypi/abi.yml b/spec/build/bsps/aarch64/raspberrypi/abi.yml index 1c4c35d911..38a8d8bc8f 100644 --- a/spec/build/bsps/aarch64/raspberrypi/abi.yml +++ b/spec/build/bsps/aarch64/raspberrypi/abi.yml @@ -7,14 +7,13 @@ build-type: option copyrights: - Copyright (C) 2022 Mohd Noor Aman default: -- -mcpu=cortex-a72 -- -march=armv8-a - -default-by-variant: [] -includes: [] +- enabled-by: true + value: + - -mcpu=cortex-a72 + - -march=armv8-a description: | ABI flags -links: [] enabled-by: true +links: [] name: ABI_FLAGS type: build diff --git a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml index 36aff5d5f6..7b6511a8cc 100644 --- a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml +++ b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml @@ -14,39 +14,16 @@ install: source: - bsps/aarch64/raspberrypi/include/bsp.h - bsps/aarch64/raspberrypi/include/tm27.h - - destination: ${BSP_INCLUDEDIR}/bsp source: - bsps/aarch64/raspberrypi/include/bsp/irq.h - bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h - -source: -- bsps/aarch64/raspberrypi/console/console.c -- bsps/aarch64/raspberrypi/start/bspstart.c -- bsps/aarch64/raspberrypi/start/bspstarthooks.c -- bsps/aarch64/raspberrypi/start/bspstartmmu.c -- bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c -- bsps/aarch64/shared/cache/cache.c -- bsps/aarch64/shared/mmu/vmsav8-64.c -- bsps/shared/dev/clock/arm-generic-timer.c -- bsps/shared/dev/irq/arm-gicv2.c -- bsps/shared/dev/irq/arm-gicv2-get-attributes.c -- bsps/shared/dev/serial/console-termios-init.c -- bsps/shared/dev/serial/console-termios.c -- bsps/shared/dev/serial/arm-pl011.c -- bsps/shared/dev/getentropy/getentropy-cpucounter.c -- bsps/shared/dev/btimer/btimer-cpucounter.c -- bsps/shared/irq/irq-default-handler.c -- bsps/shared/start/bspfatal-default.c -- bsps/shared/start/bspreset-arm-psci.c -- bsps/shared/start/gettargethash-default.c -- bsps/shared/start/sbrk.c -- bsps/shared/start/wkspaceinitone.c -- bsps/shared/start/mallocinitmulti.c -- bsps/shared/start/bspgetworkarea-default.c - links: - role: build-dependency + uid: objclock +- role: build-dependency + uid: objsystemtimer +- role: build-dependency uid: ../grp - role: build-dependency uid: ../start @@ -72,5 +49,26 @@ links: uid: ../../obj - role: build-dependency uid: ../../objirq - +source: +- bsps/aarch64/raspberrypi/console/console.c +- bsps/aarch64/raspberrypi/start/bspstart.c +- bsps/aarch64/raspberrypi/start/bspstarthooks.c +- bsps/aarch64/raspberrypi/start/bspstartmmu.c +- bsps/aarch64/shared/cache/cache.c +- bsps/aarch64/shared/mmu/vmsav8-64.c +- bsps/shared/dev/irq/arm-gicv2.c +- bsps/shared/dev/irq/arm-gicv2-get-attributes.c +- bsps/shared/dev/serial/console-termios-init.c +- bsps/shared/dev/serial/console-termios.c +- bsps/shared/dev/serial/arm-pl011.c +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/dev/btimer/btimer-cpucounter.c +- bsps/shared/irq/irq-default-handler.c +- bsps/shared/start/bspfatal-default.c +- bsps/shared/start/bspreset-arm-psci.c +- bsps/shared/start/gettargethash-default.c +- bsps/shared/start/sbrk.c +- bsps/shared/start/wkspaceinitone.c +- bsps/shared/start/mallocinitmulti.c +- bsps/shared/start/bspgetworkarea-default.c type: build diff --git a/spec/build/bsps/aarch64/raspberrypi/objclock.yml b/spec/build/bsps/aarch64/raspberrypi/objclock.yml new file mode 100644 index 0000000000..24f61c93c4 --- /dev/null +++ b/spec/build/bsps/aarch64/raspberrypi/objclock.yml @@ -0,0 +1,31 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: + - Copyright (C) 2022 Mohd Noor Aman + - Copyright (C) 2023 Utkarsh Verma + - Copyright (C) 2024 Ning Yang + +type: build +enabled-by: + not: BSP_CLOCK_USE_SYSTEMTIMER + +build-type: objects +cflags: [] +cppflags: [] +cxxflags: [] +includes: [] +install: +- destination: ${BSP_INCLUDEDIR}/dev/clock + source: + - bsps/include/dev/clock/arm-generic-timer.h + +source: + - bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c + - bsps/shared/dev/clock/arm-generic-timer.c + +links: + - role: build-dependency + uid: ../optgtusevirt + - role: build-dependency + uid: ../optgtuseps + - role: build-dependency + uid: optsystemtimer
\ No newline at end of file diff --git a/spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml b/spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml new file mode 100644 index 0000000000..1ead15fdd5 --- /dev/null +++ b/spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml @@ -0,0 +1,23 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: + - Copyright (C) 2024 Ning Yang + +type: build +enabled-by: +- BSP_CLOCK_USE_SYSTEMTIMER + +build-type: objects +cflags: [] +cppflags: [] +cxxflags: [] +includes: [] +install: [] + +source: + - bsps/shared/dev/clock/bcm2835-system-timer.c + - bsps/shared/dev/cpucounter/cpucounterfrequency.c + - bsps/shared/dev/cpucounter/cpucounterread.c + +links: + - role: build-dependency + uid: optsystemtimer
\ No newline at end of file diff --git a/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml b/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml new file mode 100644 index 0000000000..c20371ab8b --- /dev/null +++ b/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml @@ -0,0 +1,25 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: + - Copyright (C) 2024 Ning Yang + +type: build +build-type: option + +enabled-by: true +name: BSP_CLOCK_USE_SYSTEMTIMER +description: | + The clock from the ARM timer is derived from the system clock. This clock can + change dynamically e.g. if the system goes into reduced power or in low power + mode. Thus the clock speed adapts to the overall system performance + capabilities. For accurate timing it is recommended to use the system timers. + +actions: + - get-boolean: null + - define-condition: null + - env-enable: null +default: + - enabled-by: + - aarch64/raspberrypi4b + value: false + +links: []
\ No newline at end of file diff --git a/spec/build/bsps/aarch64/xilinx-versal/abi.yml b/spec/build/bsps/aarch64/xilinx-versal/abi.yml index b52df18fb3..9e7a59a7f4 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/abi.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/abi.yml @@ -7,8 +7,9 @@ build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom default: -- -mcpu=cortex-a72 -default-by-variant: [] +- enabled-by: true + value: + - -mcpu=cortex-a72 description: | ABI flags enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml b/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml index 3d567c961c..049bd0bd4a 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml @@ -5,8 +5,9 @@ actions: build-type: option copyrights: - Copyright (C) 2022 Chris Johns <chris@contemporary.software> -default: 99999001 -default-by-variant: [] +default: +- enabled-by: true + value: 99999001 description: | Versal i2c0 clock frequency in Hz. This is the frequency after the signal has been processed using the values passed to the I2C0_REF_CTRL register. diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml b/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml index 4f67f3ee95..1fa3ebba93 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml @@ -5,8 +5,9 @@ actions: build-type: option copyrights: - Copyright (C) 2022 Chris Johns <chris@contemporary.software> -default: 99999001 -default-by-variant: [] +default: +- enabled-by: true + value: 99999001 description: | Versal i2c1 clock frequency in Hz. This is the frequency after the signal has been processed using the values passed to the I2C1_REF_CTRL register. diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml b/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml index fb344019e2..2ea9ea636d 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml @@ -5,11 +5,11 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 100000000 -default-by-variant: -- value: 24000000 - variants: - - aarch64/xilinx_versal_qemu +default: +- enabled-by: aarch64/xilinx_versal_qemu + value: 24000000 +- enabled-by: true + value: 100000000 description: | Versal UART clock frequency in Hz enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optconirq.yml b/spec/build/bsps/aarch64/xilinx-versal/optconirq.yml index 24108512fc..00c5dbaebd 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optconirq.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optconirq.yml @@ -5,8 +5,9 @@ actions: build-type: option copyrights: - Copyright (C) 2022 Chris Johns (chris@contemporary.software) -default: true -default-by-variant: [] +default: +- enabled-by: true + value: true description: | use interrupt driven mode for console devices (used by default) enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml b/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml index bb21e8fae7..dc38507bca 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optconminor.yml @@ -4,9 +4,10 @@ actions: - define: null build-type: option copyrights: -- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -default: 0 -default-by-variant: [] +- Copyright (C) 2020 embedded brains GmbH & Co. KG +default: +- enabled-by: true + value: 0 description: | minor number of console device enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml index 577a1451dd..27f7913fb4 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml @@ -7,11 +7,11 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 0x0 -default-by-variant: -- value: 32768 - variants: - - aarch64/xilinx_versal_qemu +default: +- enabled-by: aarch64/xilinx_versal_qemu + value: 0x00008000 +- enabled-by: true + value: 0x00000000 description: | offset of RAM region from memory area base enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml b/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml index 97c1c8bfab..894a0b59e9 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 0x100000 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00100000 description: | length of nocache RAM region enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml b/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml index 95347fc7e3..b635f01502 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 0x10000000 -default-by-variant: [] +default: +- enabled-by: true + value: 0x10000000 description: | length of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/optramori.yml b/spec/build/bsps/aarch64/xilinx-versal/optramori.yml index 6e94f55b7e..110642becf 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optramori.yml @@ -7,11 +7,11 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 0x10000000 -default-by-variant: -- value: 0x20000000 - variants: - - aarch64/xilinx_versal_qemu +default: +- enabled-by: aarch64/xilinx_versal_qemu + value: 0x20000000 +- enabled-by: true + value: 0x10000000 description: | base address of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/tstaiedge.yml b/spec/build/bsps/aarch64/xilinx-versal/tstaiedge.yml index cbc1c7e381..0a0ab619af 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/tstaiedge.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/tstaiedge.yml @@ -1,14 +1,15 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to produce a fatal-error when run - minimum: exclude - + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true links: [] diff --git a/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml b/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml index a02232b239..69b85cadbd 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml @@ -1,15 +1,18 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to fail - minimum: exclude - + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true -links: [] +links: +- role: build-dependency + uid: ../../tstqemu type: build diff --git a/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml b/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml index cbc1c7e381..0a0ab619af 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/tstvck190.yml @@ -1,14 +1,15 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to produce a fatal-error when run - minimum: exclude - + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true links: [] diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml index 59b5f922d4..8f514ca791 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml @@ -7,16 +7,17 @@ build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) default: -- -mcpu=cortex-a53 -- -mno-outline-atomics -default-by-variant: -- value: +- enabled-by: + - aarch64/xilinx_zynqmp_ilp32_qemu + - aarch64/xilinx_zynqmp_ilp32_zu3eg + value: - -mcpu=cortex-a53 - -mno-outline-atomics - -mabi=ilp32 - variants: - - aarch64/xilinx_zynqmp_ilp32_qemu - - aarch64/xilinx_zynqmp_ilp32_zu3eg +- enabled-by: true + value: + - -mcpu=cortex-a53 + - -mno-outline-atomics description: | ABI flags enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml new file mode 100644 index 0000000000..42316db4d3 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: aarch64 +bsp: xilinx_zynqmp_lp64_a53 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2024 embedded brains GmbH +cppflags: [] +enabled-by: true +family: xilinx-zynqmp +includes: [] +install: [] +links: +- role: build-dependency + uid: grp +- role: build-dependency + uid: linkcmds_lp64 +- role: build-dependency + uid: objfdtzynqmp +source: [] +type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml index 4274d1222f..00b1060be6 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml @@ -21,6 +21,8 @@ links: - role: build-dependency uid: obj - role: build-dependency + uid: objjffs2qspinor +- role: build-dependency uid: objsmp - role: build-dependency uid: optloadoff @@ -37,8 +39,6 @@ links: - role: build-dependency uid: optclkuart - role: build-dependency - uid: ../../optconminor -- role: build-dependency uid: ../../obj - role: build-dependency uid: ../../objirq @@ -51,6 +51,8 @@ links: - role: build-dependency uid: ../../objmem - role: build-dependency + uid: ../../objxilinxsupport +- role: build-dependency uid: ../../optcachedata - role: build-dependency uid: ../../optcacheinst diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml index 30cddaa0bb..a7a23ca2c0 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml @@ -11,6 +11,10 @@ install: [] ldflags: [] links: - role: build-dependency + uid: ../../objnandpsu +- role: build-dependency + uid: objnandjffs2 +- role: build-dependency uid: grp - role: build-dependency uid: tstzu3eg diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/objjffs2qspinor.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/objjffs2qspinor.yml new file mode 100644 index 0000000000..818e32d985 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/objjffs2qspinor.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2022 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: +- bsps/include/dev/spi/ +- bsps/include/xil/ +- bsps/include/xil/${XIL_SUPPORT_PATH}/ +install: +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h +links: +- role: build-dependency + uid: ../../objqspipsu +source: +- bsps/aarch64/xilinx-zynqmp/jffs2_xqspipsu.c +type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/objnandjffs2.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/objnandjffs2.yml new file mode 100644 index 0000000000..d57251e81c --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/objnandjffs2.yml @@ -0,0 +1,20 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: +- bsps/include/dev/nand/ +- bsps/include/xil/ +- bsps/include/xil/${XIL_SUPPORT_PATH}/ +install: +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xnandpsu.h +links: [] +source: +- bsps/aarch64/xilinx-zynqmp/jffs2_xnandpsu.c +type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c0.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c0.yml index 98a2222353..9b367d22bb 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c0.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c0.yml @@ -5,21 +5,10 @@ actions: build-type: option copyrights: - Copyright (C) 2021 On-Line Applications Research (OAR) -- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -default: 111111111 -default-by-variant: -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_ilp32_qemu.* -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_ilp32_zu3eg.* -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_lp64_qemu.* -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_lp64_zu3eg.* +- Copyright (C) 2020 embedded brains GmbH & Co. KG +default: +- enabled-by: true + value: 111111111 description: | ZynqMP i2c0 clock frequency in Hz. This is the frequency after the signal has been processed using the values passed to the I2C0_REF_CTRL register. diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c1.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c1.yml index 6fe6c18dfa..e2798548a6 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c1.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optclki2c1.yml @@ -5,21 +5,10 @@ actions: build-type: option copyrights: - Copyright (C) 2021 On-Line Applications Research (OAR) -- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -default: 111111111 -default-by-variant: -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_ilp32_qemu.* -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_ilp32_zu3eg.* -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_lp64_qemu.* -- value: 111111111 - variants: - - aarch64/xilinx_zynqmp_lp64_zu3eg.* +- Copyright (C) 2020 embedded brains GmbH & Co. KG +default: +- enabled-by: true + value: 111111111 description: | ZynqMP i2c1 clock frequency in Hz. This is the frequency after the signal has been processed using the values passed to the I2C1_REF_CTRL register. diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml index d663d6f640..5cec0d2188 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optclkuart.yml @@ -5,12 +5,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 100000000 -default-by-variant: -- value: 100000000 - variants: - - aarch64/xilinx_zynqmp_ilp32.* - - aarch64/xilinx_zynqmp_lp64.* +default: +- enabled-by: true + value: 100000000 description: | Zynq UART clock frequency in Hz enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml index 976a4aeb0e..3a78b9af38 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml @@ -7,13 +7,15 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 32768 -default-by-variant: -- value: 0x0 - variants: +default: +- enabled-by: + - aarch64/xilinx_zynqmp_lp64_a53 + - aarch64/xilinx_zynqmp_ilp32_zu3eg - aarch64/xilinx_zynqmp_lp64_cfc400x - aarch64/xilinx_zynqmp_lp64_zu3eg - - aarch64/xilinx_zynqmp_ilp32_zu3eg + value: 0x00000000 +- enabled-by: true + value: 0x00008000 description: | offset of RAM region from memory area base enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml index 58d2c34b41..68aa5dc9ab 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 0x100000 -default-by-variant: [] +default: +- enabled-by: true + value: 0x00100000 description: | length of nocache RAM region enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml index 4599773985..9f488afd10 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramlen.yml @@ -7,8 +7,9 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 0x10000000 -default-by-variant: [] +default: +- enabled-by: true + value: 0x10000000 description: | length of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml index 427f14c7c8..33f0946532 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml @@ -7,13 +7,15 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 0x40018000 -default-by-variant: -- value: 0x10000000 - variants: +default: +- enabled-by: + - aarch64/xilinx_zynqmp_lp64_a53 + - aarch64/xilinx_zynqmp_ilp32_zu3eg - aarch64/xilinx_zynqmp_lp64_cfc400x - aarch64/xilinx_zynqmp_lp64_zu3eg - - aarch64/xilinx_zynqmp_ilp32_zu3eg + value: 0x10000000 +- enabled-by: true + value: 0x40018000 description: | base address of memory area available to the BSP enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml index e0c1b9a137..adf6d85ae1 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml @@ -1,37 +1,18 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to fail - minimum: exclude - - # tests that are passing intermittently - spcpucounter01: indeterminate - rtmonuse: indeterminate - sp68: indeterminate - sp04: indeterminate - sp20: indeterminate - sp69: indeterminate - rtmonusxtimes01: indeterminate - spedfsched02: indeterminate - spedfsched04: indeterminate - psxtimes01: indeterminate - sprmsched01: indeterminate - sptimecounter02: indeterminate - sptimecounter04: indeterminate - ttest02: indeterminate - - # tests that pass nominally, but fail under Qemu when the host is under - # heavy load - psx12: indeterminate - spintrcritical03: indeterminate - spintrcritical04: indeterminate - spintrcritical05: indeterminate + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true -links: [] +links: +- role: build-dependency + uid: ../../tstqemu type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml index 6cd6dc0954..15cb9697ed 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml @@ -1,14 +1,15 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - set-test-state: - # expected to produce a fatal-error when run - minimum: exclude - + reason: | + Expected to fail, do not compile these. + state: exclude + tests: + - minimum build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: null -default-by-variant: [] +default: [] description: '' enabled-by: true links: [] |