summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/powerpc/tqm8xx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/abi.yml23
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml19
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml19
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/grp.yml56
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/obj.yml49
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/objnet.yml17
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconchn.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc1.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc2.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc3.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc4.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml22
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml19
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optnetfec.yml18
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optnetscc.yml18
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/start.yml14
17 files changed, 370 insertions, 0 deletions
diff --git a/spec/build/bsps/powerpc/tqm8xx/abi.yml b/spec/build/bsps/powerpc/tqm8xx/abi.yml
new file mode 100644
index 0000000000..bf76b930bd
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/abi.yml
@@ -0,0 +1,23 @@
+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:
+- -Dmpc860
+- -mcpu=860
+- -mstrict-align
+- -fno-strict-aliasing
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml b/spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml
new file mode 100644
index 0000000000..cff38f2626
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: pghplus
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tqm8xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml b/spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml
new file mode 100644
index 0000000000..0640e8b872
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: tqm8xx_stk8xx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tqm8xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/grp.yml b/spec/build/bsps/powerpc/tqm8xx/grp.yml
new file mode 100644
index 0000000000..61e2b51baa
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/grp.yml
@@ -0,0 +1,56 @@
+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: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optconchn
+- role: build-dependency
+ uid: optconscc1
+- role: build-dependency
+ uid: optconscc2
+- role: build-dependency
+ uid: optconscc3
+- role: build-dependency
+ uid: optconscc4
+- role: build-dependency
+ uid: optconsmc1
+- role: build-dependency
+ uid: optconsmc2
+- role: build-dependency
+ uid: optnetfec
+- role: build-dependency
+ uid: optnetscc
+- role: build-dependency
+ uid: optprintkchn
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/tqm8xx/obj.yml b/spec/build/bsps/powerpc/tqm8xx/obj.yml
new file mode 100644
index 0000000000..124b0fb523
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/obj.yml
@@ -0,0 +1,49 @@
+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/powerpc/tqm8xx/include/bsp.h
+ - bsps/powerpc/tqm8xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h
+ - bsps/powerpc/tqm8xx/include/bsp/irq.h
+ - bsps/powerpc/tqm8xx/include/bsp/spi.h
+ - bsps/powerpc/tqm8xx/include/bsp/tqm.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/shared/start/linkcmds.base
+ - bsps/powerpc/tqm8xx/start/linkcmds
+links: []
+source:
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/powerpc/tqm8xx/btimer/btimer.c
+- bsps/powerpc/tqm8xx/clock/p_clock.c
+- bsps/powerpc/tqm8xx/console/console.c
+- bsps/powerpc/tqm8xx/irq/irq.c
+- bsps/powerpc/tqm8xx/spi/spi.c
+- bsps/powerpc/tqm8xx/start/bspgetworkarea.c
+- bsps/powerpc/tqm8xx/start/bspstart.c
+- bsps/powerpc/tqm8xx/start/cp.c
+- bsps/powerpc/tqm8xx/start/cpuinit.c
+- bsps/powerpc/tqm8xx/start/dpram.c
+- bsps/powerpc/tqm8xx/start/mmu.c
+- bsps/powerpc/tqm8xx/start/mmutlbtab.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/objnet.yml b/spec/build/bsps/powerpc/tqm8xx/objnet.yml
new file mode 100644
index 0000000000..3a3492c0ed
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/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/powerpc/tqm8xx/net/network_fec.c
+- bsps/powerpc/tqm8xx/net/network_scc.c
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconchn.yml b/spec/build/bsps/powerpc/tqm8xx/optconchn.yml
new file mode 100644
index 0000000000..a33cfc32ab
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconchn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_CHN_SMC1
+default-by-variant: []
+description: |
+ (BSP--console driver) Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC1, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device will be registered as /dev/console.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_CHN
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc1.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc1.yml
new file mode 100644
index 0000000000..6c0499daf1
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc1.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC1 UART IF mode) Must be defined if SCC1 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC1_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc2.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc2.yml
new file mode 100644
index 0000000000..754abd522f
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc2.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC2 UART IF mode) Must be defined if SCC2 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC2_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc3.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc3.yml
new file mode 100644
index 0000000000..bdc665cbde
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc3.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC3 UART IF mode) Must be defined if SCC3 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC3_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc4.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc4.yml
new file mode 100644
index 0000000000..e26ffcad07
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc4.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC4 UART IF mode) Must be defined if SCC4 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC4_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml b/spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml
new file mode 100644
index 0000000000..7c7f563d00
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant:
+- value: CONS_MODE_POLLED
+ variants:
+ - powerpc/tqm8xx_stk8xx
+- value: CONS_MODE_IRQ
+ variants:
+ - powerpc/pghplus
+description: |
+ (BSP--SMC1 UART IF mode) Must be defined if SMC1 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SMC1_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml b/spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml
new file mode 100644
index 0000000000..c19c2850fb
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant:
+- value: CONS_MODE_POLLED
+ variants:
+ - powerpc/tqm8xx_stk8xx
+description: |
+ (BSP--SMC2 UART IF mode) Must be defined if SMC2 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SMC2_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optnetfec.yml b/spec/build/bsps/powerpc/tqm8xx/optnetfec.yml
new file mode 100644
index 0000000000..52a1fc7afe
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optnetfec.yml
@@ -0,0 +1,18 @@
+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:
+- value: true
+ variants:
+ - powerpc/pghplus
+description: |
+ If defined, then the BSP will use the Fast Ethernet Controller for 10/100MBit networking and used as primary networking interface.
+enabled-by: true
+links: []
+name: BSP_USE_NETWORK_FEC
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optnetscc.yml b/spec/build/bsps/powerpc/tqm8xx/optnetscc.yml
new file mode 100644
index 0000000000..fe3492accf
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optnetscc.yml
@@ -0,0 +1,18 @@
+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:
+- value: false
+ variants:
+ - powerpc/pghplus
+description: |
+ If defined, then the BSP will use the Serial Communications Controller (SCC1) for 10MBit networking.
+enabled-by: true
+links: []
+name: BSP_USE_NETWORK_SCC
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml b/spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml
new file mode 100644
index 0000000000..cffd48009d
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_CHN_SMC1
+default-by-variant: []
+description: |
+ (BSP--console driver) Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device is used for output by printk(). If the port that printk() uses is also used for other I/O (e.g. if PRINTK_CHN == CONSOLE_CHN), then both ports should use the same type of I/O, otherwise the drivers will likely conflict with each other.
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_CHN
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/start.yml b/spec/build/bsps/powerpc/tqm8xx/start.yml
new file mode 100644
index 0000000000..ac62e13991
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/tqm8xx/start/start.S
+target: start.o
+type: build