diff options
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/sparc/leon3/abi.yml | 33 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/abiclang.yml | 36 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/bspgr712rc.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/bspgr740.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/bspleon3.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/bsput699.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/bsput700.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/grp.yml | 46 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/obj.yml | 62 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/objmpci.yml | 18 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/objnet.yml | 17 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/objnetnosmp.yml | 18 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/objsmp.yml | 15 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/optconirq.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/optleon3smp.yml | 15 | ||||
-rw-r--r-- | spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml | 15 |
16 files changed, 386 insertions, 0 deletions
diff --git a/spec/build/bsps/sparc/leon3/abi.yml b/spec/build/bsps/sparc/leon3/abi.yml new file mode 100644 index 0000000000..b725d5de48 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/abi.yml @@ -0,0 +1,33 @@ +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) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: +- -mcpu=leon3 +default-by-variant: +- value: + - -mcpu=leon3 + - -mfix-ut700 + variants: + - sparc/ut700 +- value: + - -mcpu=leon + - -mfix-ut699 + variants: + - sparc/ut699 +- value: + - -mcpu=leon3 + - -mfix-gr712rc + variants: + - sparc/gr712rc +description: | + ABI flags +enabled-by: +- gcc +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/sparc/leon3/abiclang.yml b/spec/build/bsps/sparc/leon3/abiclang.yml new file mode 100644 index 0000000000..6c9646e7cd --- /dev/null +++ b/spec/build/bsps/sparc/leon3/abiclang.yml @@ -0,0 +1,36 @@ +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) 2020 Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> +default: +- -mcpu=leon3 +default-by-variant: +- value: + - -mcpu=leon3 + - -mfix-ut700 + variants: + - sparc/ut700 +- value: + - -mcpu=leon + - -mfix-ut699 + variants: + - sparc/ut699 +- value: + - -mcpu=gr712rc + variants: + - sparc/gr712rc +- value: + - -mcpu=gr740 + variants: + - sparc/gr740 +description: | + ABI flags +enabled-by: +- clang +links: [] +name: ABI_FLAGS +type: build diff --git a/spec/build/bsps/sparc/leon3/bspgr712rc.yml b/spec/build/bsps/sparc/leon3/bspgr712rc.yml new file mode 100644 index 0000000000..8a065444ab --- /dev/null +++ b/spec/build/bsps/sparc/leon3/bspgr712rc.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: sparc +bsp: gr712rc +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: leon3 +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/sparc/leon3/bspgr740.yml b/spec/build/bsps/sparc/leon3/bspgr740.yml new file mode 100644 index 0000000000..a5f3cd30f6 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/bspgr740.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: sparc +bsp: gr740 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: leon3 +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/sparc/leon3/bspleon3.yml b/spec/build/bsps/sparc/leon3/bspleon3.yml new file mode 100644 index 0000000000..63b4e54f58 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/bspleon3.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: sparc +bsp: leon3 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: leon3 +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/sparc/leon3/bsput699.yml b/spec/build/bsps/sparc/leon3/bsput699.yml new file mode 100644 index 0000000000..0a2f9ce596 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/bsput699.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: sparc +bsp: ut699 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: leon3 +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/sparc/leon3/bsput700.yml b/spec/build/bsps/sparc/leon3/bsput700.yml new file mode 100644 index 0000000000..52353fda7d --- /dev/null +++ b/spec/build/bsps/sparc/leon3/bsput700.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: sparc +bsp: ut700 +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +enabled-by: true +family: leon3 +includes: [] +install: [] +links: +- role: build-dependency + uid: ../../opto2 +- role: build-dependency + uid: grp +source: [] +type: build diff --git a/spec/build/bsps/sparc/leon3/grp.yml b/spec/build/bsps/sparc/leon3/grp.yml new file mode 100644 index 0000000000..48d73df908 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/grp.yml @@ -0,0 +1,46 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: group +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +includes: [] +install: [] +ldflags: [] +links: +- role: build-dependency + uid: ../../linkcmds +- role: build-dependency + uid: ../../obj +- role: build-dependency + uid: ../../objgrlib +- role: build-dependency + uid: ../../objirq +- role: build-dependency + uid: ../grp +- role: build-dependency + uid: abiclang +- role: build-dependency + uid: abi +- role: build-dependency + uid: obj +- role: build-dependency + uid: objmpci +- role: build-dependency + uid: objnet +- role: build-dependency + uid: objnetnosmp +- role: build-dependency + uid: objsmp +- role: build-dependency + uid: optconirq +- role: build-dependency + uid: optleon3smp +- role: build-dependency + uid: optpwrdwnhlt +- role: build-dependency + uid: ../start +- role: build-dependency + uid: ../../bspopts +type: build +use-after: [] +use-before: [] diff --git a/spec/build/bsps/sparc/leon3/obj.yml b/spec/build/bsps/sparc/leon3/obj.yml new file mode 100644 index 0000000000..03629ee620 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/obj.yml @@ -0,0 +1,62 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: [] +install: +- destination: ${BSP_INCLUDEDIR} + source: + - bsps/sparc/leon3/include/amba.h + - bsps/sparc/leon3/include/bsp.h + - bsps/sparc/leon3/include/leon.h + - bsps/sparc/leon3/include/tm27.h +- destination: ${BSP_INCLUDEDIR}/bsp + source: + - bsps/sparc/leon3/include/bsp/irq.h + - bsps/sparc/leon3/include/bsp/watchdog.h +- destination: ${BSP_LIBDIR} + source: + - bsps/sparc/leon3/start/linkcmds.gr712rc + - bsps/sparc/leon3/start/linkcmds.gr740 + - bsps/sparc/leon3/start/linkcmds.leon3 + - bsps/sparc/leon3/start/linkcmds.ut699 + - bsps/sparc/leon3/start/linkcmds.ut700 + - bsps/sparc/shared/start/linkcmds.base +links: [] +source: +- bsps/shared/dev/getentropy/getentropy-cpucounter.c +- bsps/shared/dev/serial/console-termios.c +- bsps/shared/irq/irq-default-handler.c +- bsps/shared/start/bspreset-empty.c +- bsps/shared/start/sbrk.c +- bsps/sparc/leon3/btimer/btimer.c +- bsps/sparc/leon3/btimer/watchdog.c +- bsps/sparc/leon3/clock/ckinit.c +- bsps/sparc/leon3/console/console.c +- bsps/sparc/leon3/console/printk_support.c +- bsps/sparc/leon3/gnatsupp/gnatsupp.c +- bsps/sparc/leon3/start/amba.c +- bsps/sparc/leon3/start/bsp_fatal_halt.c +- bsps/sparc/leon3/start/bspclean.c +- bsps/sparc/leon3/start/bspdelay.c +- bsps/sparc/leon3/start/bspidle.S +- bsps/sparc/leon3/start/bspstart.c +- bsps/sparc/leon3/start/cache.c +- bsps/sparc/leon3/start/cpucounter.c +- bsps/sparc/leon3/start/eirq.c +- bsps/sparc/leon3/start/setvec.c +- bsps/sparc/leon3/start/spurious.c +- bsps/sparc/shared/gnatcommon.c +- bsps/sparc/shared/irq/bsp_isr_handler.c +- bsps/sparc/shared/irq/irq-shared.c +- bsps/sparc/shared/pci/gr_cpci_gr740.c +- bsps/sparc/shared/pci/gr_leon4_n2x.c +- bsps/sparc/shared/pci/pci_memreg_sparc_be.c +- bsps/sparc/shared/pci/pci_memreg_sparc_le.c +- bsps/sparc/shared/start/bsp_fatal_exit.c +- bsps/sparc/shared/start/bspgetworkarea.c +type: build diff --git a/spec/build/bsps/sparc/leon3/objmpci.yml b/spec/build/bsps/sparc/leon3/objmpci.yml new file mode 100644 index 0000000000..dee85a3cd1 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/objmpci.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: +- RTEMS_MULTIPROCESSING +includes: [] +install: [] +links: [] +source: +- bsps/sparc/leon3/mpci/addrconv.c +- bsps/sparc/leon3/mpci/getcfg.c +- bsps/sparc/leon3/mpci/lock.c +- bsps/sparc/leon3/mpci/mpisr.c +type: build diff --git a/spec/build/bsps/sparc/leon3/objnet.yml b/spec/build/bsps/sparc/leon3/objnet.yml new file mode 100644 index 0000000000..2e7611e8bc --- /dev/null +++ b/spec/build/bsps/sparc/leon3/objnet.yml @@ -0,0 +1,17 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: +- RTEMS_NETWORKING +includes: +- cpukit/libnetworking +install: [] +links: [] +source: +- bsps/sparc/leon3/net/leon_open_eth.c +- bsps/sparc/leon3/net/leon_smc91111.c +type: build diff --git a/spec/build/bsps/sparc/leon3/objnetnosmp.yml b/spec/build/bsps/sparc/leon3/objnetnosmp.yml new file mode 100644 index 0000000000..3d4a2c3ed9 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/objnetnosmp.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: +- and: + - RTEMS_NETWORKING + - not: RTEMS_SMP +includes: +- cpukit/libnetworking +install: [] +links: [] +source: +- bsps/sparc/leon3/net/leon_greth.c +type: build diff --git a/spec/build/bsps/sparc/leon3/objsmp.yml b/spec/build/bsps/sparc/leon3/objsmp.yml new file mode 100644 index 0000000000..72a43f2a78 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/objsmp.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: +- RTEMS_SMP +includes: [] +install: [] +links: [] +source: +- bsps/sparc/leon3/start/bspsmp.c +type: build diff --git a/spec/build/bsps/sparc/leon3/optconirq.yml b/spec/build/bsps/sparc/leon3/optconirq.yml new file mode 100644 index 0000000000..2278f00ef3 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/optconirq.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: 0 +default-by-variant: [] +description: | + The leon3 console driver can operate in either polled or interrupt mode. Under the simulator (especially when FAST_UART is defined), polled seems to operate better. +enabled-by: true +format: '{}' +links: [] +name: CONSOLE_USE_INTERRUPTS +type: build diff --git a/spec/build/bsps/sparc/leon3/optleon3smp.yml b/spec/build/bsps/sparc/leon3/optleon3smp.yml new file mode 100644 index 0000000000..c78929c198 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/optleon3smp.yml @@ -0,0 +1,15 @@ +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) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + Always defined when on a LEON3 to enable the LEON3 support for determining the CPU core number in an SMP configuration. +enabled-by: true +links: [] +name: BSP_LEON3_SMP +type: build diff --git a/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml b/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml new file mode 100644 index 0000000000..8923870017 --- /dev/null +++ b/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml @@ -0,0 +1,15 @@ +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) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: false +default-by-variant: [] +description: | + If defined, CPU is powered down on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc. +enabled-by: true +links: [] +name: BSP_POWER_DOWN_AT_FATAL_HALT +type: build |