diff options
Diffstat (limited to 'spec/build/bsps/aarch64')
68 files changed, 588 insertions, 256 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/obj.yml b/spec/build/bsps/aarch64/a53/obj.yml index 33c0884b85..e4b5a70fd9 100644 --- a/spec/build/bsps/aarch64/a53/obj.yml +++ b/spec/build/bsps/aarch64/a53/obj.yml @@ -11,7 +11,6 @@ install: - destination: ${BSP_INCLUDEDIR} source: - bsps/aarch64/a53/include/bsp.h - - bsps/aarch64/a53/include/tm27.h - destination: ${BSP_INCLUDEDIR}/bsp source: - bsps/aarch64/a53/include/bsp/irq.h 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/obj.yml b/spec/build/bsps/aarch64/a72/obj.yml index 4fb5e59ba3..69836ce2f6 100644 --- a/spec/build/bsps/aarch64/a72/obj.yml +++ b/spec/build/bsps/aarch64/a72/obj.yml @@ -11,7 +11,6 @@ install: - destination: ${BSP_INCLUDEDIR} source: - bsps/aarch64/a72/include/bsp.h - - bsps/aarch64/a72/include/tm27.h - destination: ${BSP_INCLUDEDIR}/bsp source: - bsps/aarch64/a72/include/bsp/irq.h 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 new file mode 100644 index 0000000000..38a8d8bc8f --- /dev/null +++ b/spec/build/bsps/aarch64/raspberrypi/abi.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- split: null +- env-append: null +build-type: option +copyrights: +- Copyright (C) 2022 Mohd Noor Aman +default: +- enabled-by: true + value: + - -mcpu=cortex-a72 + - -march=armv8-a +description: | + ABI flags +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 new file mode 100644 index 0000000000..7b6511a8cc --- /dev/null +++ b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml @@ -0,0 +1,74 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: aarch64 +bsp: raspberrypi4b +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2022 Mohd Noor Aman +cppflags: [] +enabled-by: true +family: raspberrypi +includes: [] +install: +- destination: ${BSP_INCLUDEDIR} + 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 +links: +- role: build-dependency + uid: objclock +- role: build-dependency + uid: objsystemtimer +- role: build-dependency + uid: ../grp +- role: build-dependency + uid: ../start +- role: build-dependency + uid: ../optmmupages +- role: build-dependency + uid: ../optgtusevirt +- role: build-dependency + uid: ../optgtuseps +- role: build-dependency + uid: abi +- role: build-dependency + uid: ../../optcachedata +- role: build-dependency + uid: ../../optcacheinst +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: ../../bspopts +- role: build-dependency + uid: linkercmds +- role: build-dependency + 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/xilinx-versal/linkcmds_ilp32.yml b/spec/build/bsps/aarch64/raspberrypi/linkercmds.yml index 2d7a922495..701f9f935c 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/linkcmds_ilp32.yml +++ b/spec/build/bsps/aarch64/raspberrypi/linkercmds.yml @@ -4,7 +4,7 @@ content: | /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> + * Copyright (C) 2022 Mohd Noor Aman * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -29,9 +29,8 @@ content: | */ MEMORY { - RAM : ORIGIN = ${BSP_XILINX_VERSAL_RAM_BASE} + ${BSP_XILINX_VERSAL_LOAD_OFFSET}, LENGTH = ${BSP_XILINX_VERSAL_RAM_LENGTH} - ${BSP_XILINX_VERSAL_LOAD_OFFSET} - ${BSP_XILINX_VERSAL_NOCACHE_LENGTH} - (0x1000 * ${AARCH64_MMU_TRANSLATION_TABLE_PAGES}) - NOCACHE : ORIGIN = ${BSP_XILINX_VERSAL_RAM_BASE} + ${BSP_XILINX_VERSAL_RAM_LENGTH} - (0x1000 * ${AARCH64_MMU_TRANSLATION_TABLE_PAGES}) - ${BSP_XILINX_VERSAL_NOCACHE_LENGTH}, LENGTH = ${BSP_XILINX_VERSAL_NOCACHE_LENGTH} - RAM_MMU : ORIGIN = ${BSP_XILINX_VERSAL_RAM_BASE} + ${BSP_XILINX_VERSAL_RAM_LENGTH} - (0x1000 * ${AARCH64_MMU_TRANSLATION_TABLE_PAGES}), LENGTH = 0x1000 * ${AARCH64_MMU_TRANSLATION_TABLE_PAGES} + RAM_MMU : ORIGIN = 0x0, LENGTH = (0x1000 * ${AARCH64_MMU_TRANSLATION_TABLE_PAGES}) + RAM : ORIGIN = 0x80000, LENGTH = 1024M } REGION_ALIAS ("REGION_START", RAM); @@ -49,24 +48,27 @@ content: | REGION_ALIAS ("REGION_BSS", RAM); REGION_ALIAS ("REGION_WORK", RAM); REGION_ALIAS ("REGION_STACK", RAM); - REGION_ALIAS ("REGION_NOCACHE", NOCACHE); - REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE); + REGION_ALIAS ("REGION_NOCACHE", RAM); + REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM); + + bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024; + + bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M; bsp_stack_exception_size = DEFINED (bsp_stack_exception_size) ? bsp_stack_exception_size : 1024; bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M; bsp_vector_table_in_start_section = 1; - bsp_translation_table_base = ORIGIN (RAM_MMU); bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU); - OUTPUT_FORMAT ("elf32-littleaarch64") - OUTPUT_ARCH (aarch64:ilp32) + OUTPUT_FORMAT ("elf64-littleaarch64") + OUTPUT_ARCH (aarch64) INCLUDE linkcmds.base copyrights: -- Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> +- Copyright (C) 2022 Mohd Noor Aman enabled-by: true install-path: ${BSP_LIBDIR} links: [] 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 90bfca9f76..9e7a59a7f4 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/abi.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/abi.yml @@ -5,16 +5,11 @@ actions: - env-append: null build-type: option copyrights: -- Copyright (C) 2021 Gedare Bloom +- Copyright (C) 2021 Gedare Bloom default: -- -mcpu=cortex-a72 -default-by-variant: -- value: +- enabled-by: true + value: - -mcpu=cortex-a72 - - -mabi=ilp32 - variants: - - aarch64/xilinx_versal_ilp32_qemu - - aarch64/xilinx_versal_ilp32_vck190 description: | ABI flags enabled-by: true diff --git a/spec/build/bsps/aarch64/xilinx-versal/bspqemuilp32.yml b/spec/build/bsps/aarch64/xilinx-versal/bspaiedge.yml index cdad919b1c..f8c9011143 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/bspqemuilp32.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/bspaiedge.yml @@ -1,10 +1,10 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause arch: aarch64 -bsp: xilinx_versal_ilp32_qemu +bsp: xilinx_versal_aiedge build-type: bsp cflags: [] copyrights: -- Copyright (C) 2021 Gedare Bloom +- Copyright (C) 2022 Chris Johns <chris@contemporary.software> cppflags: [] enabled-by: true family: xilinx-versal @@ -12,8 +12,8 @@ includes: [] install: [] links: - role: build-dependency - uid: grp_qemu + uid: grp_aiedge - role: build-dependency - uid: linkcmds_ilp32 + uid: linkcmds_lp64 source: [] type: build diff --git a/spec/build/bsps/aarch64/xilinx-versal/bspqemulp64.yml b/spec/build/bsps/aarch64/xilinx-versal/bspqemu.yml index bd8dab6a6e..f7f167dbfb 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/bspqemulp64.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/bspqemu.yml @@ -1,10 +1,10 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause arch: aarch64 -bsp: xilinx_versal_lp64_qemu +bsp: xilinx_versal_qemu build-type: bsp cflags: [] copyrights: -- Copyright (C) 2021 Gedare Bloom +- Copyright (C) 2021 Gedare Bloom cppflags: [] enabled-by: true family: xilinx-versal diff --git a/spec/build/bsps/aarch64/xilinx-versal/bspvck190lp64.yml b/spec/build/bsps/aarch64/xilinx-versal/bspvck190.yml index b33a10f8f0..bc2bbc1c5d 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/bspvck190lp64.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/bspvck190.yml @@ -1,6 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause arch: aarch64 -bsp: xilinx_versal_lp64_vck190 +bsp: xilinx_versal_vck190 build-type: bsp cflags: [] copyrights: diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp.yml b/spec/build/bsps/aarch64/xilinx-versal/grp.yml index 27a77e9e6f..badfa07fcc 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/grp.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/grp.yml @@ -25,6 +25,8 @@ links: - role: build-dependency uid: obj - role: build-dependency + uid: optconirq +- role: build-dependency uid: optloadoff - role: build-dependency uid: optnocachelen @@ -33,6 +35,10 @@ links: - role: build-dependency uid: optramori - role: build-dependency + uid: optclki2c0 +- role: build-dependency + uid: optclki2c1 +- role: build-dependency uid: optclkuart - role: build-dependency uid: optconminor diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml b/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml new file mode 100644 index 0000000000..30f5852ac4 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: group +cflags: [] +copyrights: +- Copyright (C) 2022 Chris Johns <chris@contemporary.software> +cppflags: [] +cxxflags: [] +enabled-by: true +includes: [] +install: [] +ldflags: [] +links: +- role: build-dependency + uid: grp +- role: build-dependency + uid: objcadencei2c +- role: build-dependency + uid: tstaiedge +type: build +use-after: [] +use-before: [] diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml b/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml index 661a528038..2f9662c597 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml @@ -13,6 +13,8 @@ links: - role: build-dependency uid: grp - role: build-dependency + uid: objcadencei2c +- role: build-dependency uid: tstvck190 type: build use-after: [] diff --git a/spec/build/bsps/aarch64/xilinx-versal/obj.yml b/spec/build/bsps/aarch64/xilinx-versal/obj.yml index 04ac3761f9..ac7e6519db 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/obj.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/obj.yml @@ -11,7 +11,6 @@ install: - destination: ${BSP_INCLUDEDIR} source: - bsps/aarch64/xilinx-versal/include/bsp.h - - bsps/aarch64/xilinx-versal/include/tm27.h - destination: ${BSP_INCLUDEDIR}/bsp source: - bsps/aarch64/xilinx-versal/include/bsp/irq.h @@ -27,6 +26,7 @@ source: - bsps/aarch64/shared/mmu/vmsav8-64.c - bsps/aarch64/xilinx-versal/console/console.c - bsps/aarch64/xilinx-versal/dev/serial/versal-uart-polled.c +- bsps/aarch64/xilinx-versal/dev/serial/versal-uart.c - bsps/aarch64/xilinx-versal/start/bspstart.c - bsps/aarch64/xilinx-versal/start/bspstarthooks.c - bsps/aarch64/xilinx-versal/start/bspstartmmu.c diff --git a/spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml b/spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml new file mode 100644 index 0000000000..f290d433e7 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2021 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: [] +install: +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/aarch64/xilinx-versal/include/bsp/i2c.h +- destination: ${BSP_INCLUDEDIR}/dev/i2c + source: + - bsps/include/dev/i2c/cadence-i2c-regs.h + - bsps/include/dev/i2c/cadence-i2c.h +links: [] +source: +- bsps/shared/dev/i2c/cadence-i2c.c +type: build diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml b/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml new file mode 100644 index 0000000000..049bd0bd4a --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2022 Chris Johns <chris@contemporary.software> +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. +enabled-by: true +format: '{}' +links: [] +name: VERSAL_CLOCK_I2C0 +type: build diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml b/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml new file mode 100644 index 0000000000..1fa3ebba93 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2022 Chris Johns <chris@contemporary.software> +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. +enabled-by: true +format: '{}' +links: [] +name: VERSAL_CLOCK_I2C1 +type: build diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml b/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml index 4ba449b8fd..2ea9ea636d 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optclkuart.yml @@ -4,13 +4,12 @@ actions: - define: null build-type: option copyrights: -- Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 24000000 -default-by-variant: -- value: 100000000 - variants: - - aarch64/xilinx_versal_ilp32.* - - aarch64/xilinx_versal_lp64.* +- Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> +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 new file mode 100644 index 0000000000..00c5dbaebd --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-versal/optconirq.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2022 Chris Johns (chris@contemporary.software) +default: +- enabled-by: true + value: true +description: | + use interrupt driven mode for console devices (used by default) +enabled-by: true +links: [] +name: VERSAL_CONSOLE_USE_INTERRUPTS +type: build 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 41023dcf3e..27f7913fb4 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml @@ -7,12 +7,11 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 32768 -default-by-variant: -- value: 0x0 - variants: - - aarch64/xilinx_versal_lp64_vck190 - - aarch64/xilinx_versal_ilp32_vck190 +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 8ab8f5bc13..110642becf 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/optramori.yml @@ -7,12 +7,11 @@ actions: build-type: option copyrights: - Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> -default: 0x20000000 -default-by-variant: -- value: 0x10000000 - variants: - - aarch64/xilinx_versal_lp64_vck190 - - aarch64/xilinx_versal_ilp32_vck190 +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 new file mode 100644 index 0000000000..0a0ab619af --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-versal/tstaiedge.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- set-test-state: + 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: [] +description: '' +enabled-by: true +links: [] +type: build 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-versal/bspvck190ilp32.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml index 741b28c6e8..42316db4d3 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/bspvck190ilp32.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml @@ -1,19 +1,21 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause arch: aarch64 -bsp: xilinx_versal_ilp32_vck190 +bsp: xilinx_zynqmp_lp64_a53 build-type: bsp cflags: [] copyrights: -- Copyright (C) 2021 Gedare Bloom <gedare@rtems.org> +- Copyright (C) 2024 embedded brains GmbH cppflags: [] enabled-by: true -family: xilinx-versal +family: xilinx-zynqmp includes: [] install: [] links: - role: build-dependency - uid: grp_vck190 + uid: grp - role: build-dependency - uid: linkcmds_ilp32 + uid: linkcmds_lp64 +- role: build-dependency + uid: objfdtzynqmp source: [] type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspcfc400xlp64.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspcfc400xlp64.yml new file mode 100644 index 0000000000..1687ced857 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspcfc400xlp64.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: aarch64 +bsp: xilinx_zynqmp_lp64_cfc400x +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2022 On-Line Applications Research (OAR) +cppflags: [] +enabled-by: true +family: xilinx-zynqmp +includes: [] +install: [] +links: +- role: build-dependency + uid: grp_zu3eg +- role: build-dependency + uid: linkcmds_lp64 +- role: build-dependency + uid: objfdtcfc400x +source: [] +type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemuilp32.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemuilp32.yml index 6e0eafc871..18968cd43d 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemuilp32.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemuilp32.yml @@ -17,5 +17,7 @@ links: uid: tstqemu - role: build-dependency uid: linkcmds_ilp32 +- role: build-dependency + uid: objfdtzynqmp source: [] type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemulp64.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemulp64.yml index 0d047e263c..86177d7fcd 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemulp64.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspqemulp64.yml @@ -17,5 +17,7 @@ links: uid: tstqemu - role: build-dependency uid: linkcmds_lp64 +- role: build-dependency + uid: objfdtzynqmp source: [] type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml index dd7d39fb94..cd0bb2b854 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml @@ -15,5 +15,7 @@ links: uid: grp_zu3eg - role: build-dependency uid: linkcmds_ilp32 +- role: build-dependency + uid: objfdtzynqmp source: [] type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml index 073e91175b..19211dae15 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml @@ -15,5 +15,7 @@ links: uid: grp_zu3eg - 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/obj.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml index 6fb0631ed9..1a3b754d92 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/obj.yml @@ -11,7 +11,6 @@ install: - destination: ${BSP_INCLUDEDIR} source: - bsps/aarch64/xilinx-zynqmp/include/bsp.h - - bsps/aarch64/xilinx-zynqmp/include/tm27.h - destination: ${BSP_INCLUDEDIR}/bsp source: - bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h @@ -22,6 +21,7 @@ source: - bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c - bsps/aarch64/shared/mmu/vmsav8-64.c - bsps/aarch64/xilinx-zynqmp/console/console.c +- bsps/aarch64/xilinx-zynqmp/fdt/bsp_fdt.c - bsps/aarch64/xilinx-zynqmp/start/bspstart.c - bsps/aarch64/xilinx-zynqmp/start/bspstarthooks.c - bsps/aarch64/xilinx-zynqmp/start/bspstartmmu.c diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/objfdtcfc400x.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/objfdtcfc400x.yml new file mode 100644 index 0000000000..53d93803cb --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/objfdtcfc400x.yml @@ -0,0 +1,14 @@ +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: [] +install: [] +links: [] +source: +- bsps/aarch64/xilinx-zynqmp/fdt/cfc400x_dtb.c +type: build diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/objfdtzynqmp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/objfdtzynqmp.yml new file mode 100644 index 0000000000..271bb82976 --- /dev/null +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/objfdtzynqmp.yml @@ -0,0 +1,14 @@ +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: [] +install: [] +links: [] +source: +- bsps/aarch64/xilinx-zynqmp/fdt/zynqmp_dtb.c +type: build 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 0bdc2d61df..3a78b9af38 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml @@ -7,12 +7,15 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 32768 -default-by-variant: -- value: 0x0 - variants: - - aarch64/xilinx_zynqmp_lp64_zu3eg +default: +- enabled-by: + - aarch64/xilinx_zynqmp_lp64_a53 - aarch64/xilinx_zynqmp_ilp32_zu3eg + - aarch64/xilinx_zynqmp_lp64_cfc400x + - aarch64/xilinx_zynqmp_lp64_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 c17febe288..33f0946532 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml @@ -7,12 +7,15 @@ actions: build-type: option copyrights: - Copyright (C) 2020 On-Line Applications Research (OAR) -default: 0x40018000 -default-by-variant: -- value: 0x10000000 - variants: - - aarch64/xilinx_zynqmp_lp64_zu3eg +default: +- enabled-by: + - aarch64/xilinx_zynqmp_lp64_a53 - aarch64/xilinx_zynqmp_ilp32_zu3eg + - aarch64/xilinx_zynqmp_lp64_cfc400x + - aarch64/xilinx_zynqmp_lp64_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: [] |