diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-21 10:22:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-23 15:18:42 +0200 |
commit | adb85dd473af5c9a72e9da9b7fe013d1b216abc3 (patch) | |
tree | ed54d2ce2354cf2b75995d1e1f2bc685436bc4ca /bsps/powerpc | |
parent | bsps: Remove AC_CONFIG_SRCDIR() (diff) | |
download | rtems-adb85dd473af5c9a72e9da9b7fe013d1b216abc3.tar.bz2 |
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.
This patch is a part of the BSP source reorganization.
Update #3285.
Diffstat (limited to 'bsps/powerpc')
71 files changed, 969 insertions, 0 deletions
diff --git a/bsps/powerpc/beatnik/config/beatnik.cfg b/bsps/powerpc/beatnik/config/beatnik.cfg new file mode 100644 index 0000000000..1190cadf62 --- /dev/null +++ b/bsps/powerpc/beatnik/config/beatnik.cfg @@ -0,0 +1,39 @@ +# +# Config file for the PowerPC 745x based mvmexxxx +# +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=beatnik + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=7400 -D__ppc_generic +#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi + +# optimize flag: typically -0, could use -O4 or -fast +# -O4 is ok for RTEMS +# NOTE: some level of -O may be actually required by inline assembler +#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +# debug flags: typically none, but at least -O1 is required due to this +# BSP using inlined code +CFLAGS_DEBUG_V = -O1 -g + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary $@ $(basename $@)$(DOWNEXT) +endef + +# Miscellaneous additions go here +START_BASE = motld_start diff --git a/bsps/powerpc/gen5200/config/brs5l.cfg b/bsps/powerpc/gen5200/config/brs5l.cfg new file mode 100644 index 0000000000..d6e556a183 --- /dev/null +++ b/bsps/powerpc/gen5200/config/brs5l.cfg @@ -0,0 +1,10 @@ +# +# Config file for customer specific MPC5200 board +# + +# +# All GEN5200 configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/bsps/powerpc/gen5200/config/brs6l.cfg b/bsps/powerpc/gen5200/config/brs6l.cfg new file mode 100644 index 0000000000..d6e556a183 --- /dev/null +++ b/bsps/powerpc/gen5200/config/brs6l.cfg @@ -0,0 +1,10 @@ +# +# Config file for customer specific MPC5200 board +# + +# +# All GEN5200 configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/bsps/powerpc/gen5200/config/dp2.cfg b/bsps/powerpc/gen5200/config/dp2.cfg new file mode 100644 index 0000000000..81941fe0dc --- /dev/null +++ b/bsps/powerpc/gen5200/config/dp2.cfg @@ -0,0 +1,5 @@ +# +# Config file for Direct Prototyping Data Processing (DP2) board. +# + +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/bsps/powerpc/gen5200/config/gen5200.inc b/bsps/powerpc/gen5200/config/gen5200.inc new file mode 100644 index 0000000000..71c605c8da --- /dev/null +++ b/bsps/powerpc/gen5200/config/gen5200.inc @@ -0,0 +1,19 @@ +# +# Shared base config file for GEN5200 BSPs +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=603e -mstrict-align \ + -meabi -msdata=sysv -fno-common + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/gen5200/config/icecube.cfg b/bsps/powerpc/gen5200/config/icecube.cfg new file mode 100644 index 0000000000..c53040e1b3 --- /dev/null +++ b/bsps/powerpc/gen5200/config/icecube.cfg @@ -0,0 +1,12 @@ +# +# Config file for Freescale 5200Lite a.k.a. IceCube +# +# NOTE: This is the same as the Embedded Planets EP5200C and +# possibly other MPC5200 boards. + +# +# All GEN5200 configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/bsps/powerpc/gen5200/config/pm520_cr825.cfg b/bsps/powerpc/gen5200/config/pm520_cr825.cfg new file mode 100644 index 0000000000..d86814ab66 --- /dev/null +++ b/bsps/powerpc/gen5200/config/pm520_cr825.cfg @@ -0,0 +1,10 @@ +# +# Config file for MicroSys PM520 Module (based on MPC5200) +# on carrier board CR825 + +# +# All GEN5200 configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/bsps/powerpc/gen5200/config/pm520_ze30.cfg b/bsps/powerpc/gen5200/config/pm520_ze30.cfg new file mode 100644 index 0000000000..e16e2e1886 --- /dev/null +++ b/bsps/powerpc/gen5200/config/pm520_ze30.cfg @@ -0,0 +1,10 @@ +# +# Config file for MicroSys PM520 Module (based on MPC5200) +# on carrier board ZE30 + +# +# All GEN5200 configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen5200.inc diff --git a/bsps/powerpc/gen83xx/config/br_uid.cfg b/bsps/powerpc/gen83xx/config/br_uid.cfg new file mode 100644 index 0000000000..0db23d54dd --- /dev/null +++ b/bsps/powerpc/gen83xx/config/br_uid.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc83xx_config +# +# @brief Configuration file for the BR UID base board +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/gen83xx.inc b/bsps/powerpc/gen83xx/config/gen83xx.inc new file mode 100644 index 0000000000..e1bee9f786 --- /dev/null +++ b/bsps/powerpc/gen83xx/config/gen83xx.inc @@ -0,0 +1,22 @@ +# +# Shared base config file for GEN83xx BSPs +# + +include $(RTEMS_ROOT)/make/custom/default.cfg +# +# FIXME: we might want to use the e300 CPU model explicitely, +# using -me300 +# but I doubt the compiler actually generates different code +# +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=603e -meabi -msdata=sysv -fno-common -mstrict-align + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/gen83xx/config/hsc_cm01.cfg b/bsps/powerpc/gen83xx/config/hsc_cm01.cfg new file mode 100644 index 0000000000..8f2ac1829d --- /dev/null +++ b/bsps/powerpc/gen83xx/config/hsc_cm01.cfg @@ -0,0 +1,10 @@ +# +# Config file for customer specific MPC8349 board +# + +# +# All GEN83xx configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/mpc8309som.cfg b/bsps/powerpc/gen83xx/config/mpc8309som.cfg new file mode 100644 index 0000000000..be25fcd4fb --- /dev/null +++ b/bsps/powerpc/gen83xx/config/mpc8309som.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc83xx_config +# +# @brief Configuration file for the MPC8309 System on Module. +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/mpc8313erdb.cfg b/bsps/powerpc/gen83xx/config/mpc8313erdb.cfg new file mode 100644 index 0000000000..4a6331e8c4 --- /dev/null +++ b/bsps/powerpc/gen83xx/config/mpc8313erdb.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc83xx_config +# +# @brief Configuration file for the MPC8313E Reference Design Board. +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/gen83xx/config/mpc8349eamds.cfg b/bsps/powerpc/gen83xx/config/mpc8349eamds.cfg new file mode 100644 index 0000000000..b58c60a92a --- /dev/null +++ b/bsps/powerpc/gen83xx/config/mpc8349eamds.cfg @@ -0,0 +1,10 @@ +# +# Config file for freescale's MPC8349EAMDS evaluation board +# + +# +# All GEN83xx configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/gen83xx.inc diff --git a/bsps/powerpc/haleakala/config/haleakala.cfg b/bsps/powerpc/haleakala/config/haleakala.cfg new file mode 100644 index 0000000000..90b9292d0b --- /dev/null +++ b/bsps/powerpc/haleakala/config/haleakala.cfg @@ -0,0 +1,28 @@ +# +# Config file for a PowerPC 405 based card +# mhamel +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=405 -Dppc405 + +# optimize flag: typically -0, could use -O4 or -fast +# -O4 is ok for RTEMS +# NOTE: some level of -O may be actually required by inline assembler +CFLAGS_OPTIMIZE_V = -O1 -g + +# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561. +# The following two lines enable compiling and linking on per element. +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef diff --git a/bsps/powerpc/motorola_powerpc/config/mcp750.cfg b/bsps/powerpc/motorola_powerpc/config/mcp750.cfg new file mode 100644 index 0000000000..691a76a65a --- /dev/null +++ b/bsps/powerpc/motorola_powerpc/config/mcp750.cfg @@ -0,0 +1,31 @@ +# +# Config file for Motorola MCP750 -- a MPC750 CompactPCI board +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=750 -Dmpc750 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems + gzip -vf9 rtems + $(LD) -o $(basename $@)$(DOWNEXT) \ + $ $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + --no-warn-mismatch \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ + rm -f rtems.gz +endef diff --git a/bsps/powerpc/motorola_powerpc/config/mtx603e.cfg b/bsps/powerpc/motorola_powerpc/config/mtx603e.cfg new file mode 100644 index 0000000000..dd889b8e70 --- /dev/null +++ b/bsps/powerpc/motorola_powerpc/config/mtx603e.cfg @@ -0,0 +1,32 @@ +# +# Config file for Motorola MTX603e -- a MPC603e ATX form factor board +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=603e -Dppc603e + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems + gzip -vf9 rtems + $(LD) -o $(basename $@)$(DOWNEXT) \ + $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + --no-warn-mismatch \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ + rm -f rtems.gz +endef + +# Miscellaneous additions go here diff --git a/bsps/powerpc/motorola_powerpc/config/mvme2100.cfg b/bsps/powerpc/motorola_powerpc/config/mvme2100.cfg new file mode 100644 index 0000000000..e358c2d7af --- /dev/null +++ b/bsps/powerpc/motorola_powerpc/config/mvme2100.cfg @@ -0,0 +1,30 @@ +# +# Config file for Motorola MVME2100 -- a MPC8240 VMEBus board +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=603e -Dppc603e + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems + gzip -vf9 rtems + $(LD) -o $(basename $@)$(DOWNEXT) \ + $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + --no-warn-mismatch \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ + rm -f rtems.gz +endef diff --git a/bsps/powerpc/motorola_powerpc/config/mvme2307.cfg b/bsps/powerpc/motorola_powerpc/config/mvme2307.cfg new file mode 100644 index 0000000000..1a5115999b --- /dev/null +++ b/bsps/powerpc/motorola_powerpc/config/mvme2307.cfg @@ -0,0 +1,30 @@ +# +# Config file for the PowerPC 604 based mvme2307 +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems + gzip -vf9 rtems + $(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + --no-warn-mismatch \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ + rm -f rtems.gz +endef diff --git a/bsps/powerpc/motorola_powerpc/config/qemuprep-altivec.cfg b/bsps/powerpc/motorola_powerpc/config/qemuprep-altivec.cfg new file mode 100644 index 0000000000..9d09089f94 --- /dev/null +++ b/bsps/powerpc/motorola_powerpc/config/qemuprep-altivec.cfg @@ -0,0 +1,37 @@ +# +# Config file for the PowerPC 604 based mvme2307 +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=7400 -mmultiple -mstring -mstrict-align -D__ppc_generic + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +ifdef PURE_BINARY +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef +else +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems + gzip -vf9 rtems + $(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + --no-warn-mismatch \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ + rm -f rtems.gz +endef +endif diff --git a/bsps/powerpc/motorola_powerpc/config/qemuprep.cfg b/bsps/powerpc/motorola_powerpc/config/qemuprep.cfg new file mode 100644 index 0000000000..fa5abd6bba --- /dev/null +++ b/bsps/powerpc/motorola_powerpc/config/qemuprep.cfg @@ -0,0 +1,37 @@ +# +# Config file for the PowerPC 604 based mvme2307 +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=powerpc -mmultiple -mstring -mstrict-align -D__ppc_generic + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +ifdef PURE_BINARY +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef +else +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems + gzip -vf9 rtems + $(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \ + --just-symbols=$(basename $@)$(EXEEXT) \ + --no-warn-mismatch \ + -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ + -Map $(basename $@).map && chmod 755 $@ + rm -f rtems.gz +endef +endif diff --git a/bsps/powerpc/mpc55xxevb/config/gwlcfm-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/gwlcfm-testsuite.tcfg new file mode 100644 index 0000000000..f8e516bb8e --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/gwlcfm-testsuite.tcfg @@ -0,0 +1,11 @@ +# +# gwlcfm RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/dltests-broken-on-this-bsp.tcfg +include: testdata/disable-jffs2-tests.tcfg + +exclude: fsdosfsname01 +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/gwlcfm.cfg b/bsps/powerpc/mpc55xxevb/config/gwlcfm.cfg new file mode 100644 index 0000000000..f9a40532cb --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/gwlcfm.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief configuration file for the GWLCFM MPC5516 board +# + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5566evb-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5566evb-testsuite.tcfg new file mode 100644 index 0000000000..cba4641dc3 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5566evb-testsuite.tcfg @@ -0,0 +1,11 @@ +# +# mpc5566evb RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/dltests-broken-on-this-bsp.tcfg +include: testdata/disable-jffs2-tests.tcfg + +exclude: fsdosfsname01 +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5566evb.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5566evb.cfg new file mode 100644 index 0000000000..0e19d66284 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5566evb.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief Configuration file for MPC5566 evaluation board. +# + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe-testsuite.tcfg new file mode 100644 index 0000000000..826a183b8e --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe-testsuite.tcfg @@ -0,0 +1,11 @@ +# +# mpc5566evb_spe RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/dltests-broken-on-this-bsp.tcfg +include: testdata/disable-jffs2-tests.tcfg + +exclude: fsdosfsname01 +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe.cfg new file mode 100644 index 0000000000..b0feb2e1ba --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5566evb_spe.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc b/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc new file mode 100644 index 0000000000..5b0b843ac4 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc55xx.inc @@ -0,0 +1,23 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief Shared configuration file for the MPC55xx board family. +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = powerpc + +CPU_CFLAGS_FLOAT ?= -msoft-float -mno-spe + +# FIXME +CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common $(CPU_CFLAGS_FLOAT) \ + -D__ppc_generic -mstrict-align + +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/mpc55xxevb/config/mpc55xx_spe.inc b/bsps/powerpc/mpc55xxevb/config/mpc55xx_spe.inc new file mode 100644 index 0000000000..fa69d09a3e --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc55xx_spe.inc @@ -0,0 +1,3 @@ +CPU_CFLAGS_FLOAT ?= -mspe -mabi=spe -mfloat-gprs=single + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu-testsuite.tcfg new file mode 100644 index 0000000000..84d7efad7b --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu-testsuite.tcfg @@ -0,0 +1,13 @@ +# +# mpc5643l_dpu RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/dltests-broken-on-this-bsp.tcfg +include: testdata/disable-jffs2-tests.tcfg + +exclude: flashdisk01 +exclude: fsdosfsname01 +exclude: linpack +exclude: spstkalloc02 diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu.cfg new file mode 100644 index 0000000000..67fe396486 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5643l_dpu.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief Configuration file for MPC5643L Data Processing Unit board. +# + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5643l_evb-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5643l_evb-testsuite.tcfg new file mode 100644 index 0000000000..373d10b544 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5643l_evb-testsuite.tcfg @@ -0,0 +1,13 @@ +# +# mpc5643l_evb RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/dltests-broken-on-this-bsp.tcfg +include: testdata/disable-jffs2-tests.tcfg + +exclude: flashdisk01 +exclude: fsdosfsname01 +exclude: linpack +exclude: spstkalloc02 diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5643l_evb.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5643l_evb.cfg new file mode 100644 index 0000000000..eb9c0db185 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5643l_evb.cfg @@ -0,0 +1,10 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief Configuration file for XKT564LEVB evaluation board. +# + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5668g-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5668g-testsuite.tcfg new file mode 100644 index 0000000000..6c79cceeac --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5668g-testsuite.tcfg @@ -0,0 +1,7 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg + +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5668g.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5668g.cfg new file mode 100644 index 0000000000..b0cb600143 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5668g.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app-testsuite.tcfg new file mode 100644 index 0000000000..aa6f47e038 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app-testsuite.tcfg @@ -0,0 +1,8 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/disable-iconv-tests.tcfg +include: testdata/dltests-broken-on-this-bsp.tcfg + +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app.cfg new file mode 100644 index 0000000000..b0feb2e1ba --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_app.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot-testsuite.tcfg new file mode 100644 index 0000000000..f359262339 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot-testsuite.tcfg @@ -0,0 +1,11 @@ +# +# mpc5674f_ecu508_boot RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/disable-iconv-tests.tcfg +include: testdata/dltests-broken-on-this-bsp.tcfg + +exclude: fsdosfsname01 +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot.cfg new file mode 100644 index 0000000000..b0feb2e1ba --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674f_ecu508_boot.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6-testsuite.tcfg new file mode 100644 index 0000000000..c417b93df1 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6-testsuite.tcfg @@ -0,0 +1,11 @@ +# +# mpc5674f_rsm6 RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/disable-iconv-tests.tcfg +include: testdata/dltests-broken-on-this-bsp.tcfg + +exclude: fsdosfsname01 +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6.cfg new file mode 100644 index 0000000000..b0feb2e1ba --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674f_rsm6.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674fevb-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb-testsuite.tcfg new file mode 100644 index 0000000000..6c79cceeac --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb-testsuite.tcfg @@ -0,0 +1,7 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg + +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674fevb.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb.cfg new file mode 100644 index 0000000000..eb1a3f5c3d --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb.cfg @@ -0,0 +1,11 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief Configuration file for MPC567XEVBFXMB evaluation board equipped with +# an MPC5674F core from Freescale and Axiom. +# + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe-testsuite.tcfg new file mode 100644 index 0000000000..6c79cceeac --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe-testsuite.tcfg @@ -0,0 +1,7 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg + +exclude: linpack diff --git a/bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe.cfg b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe.cfg new file mode 100644 index 0000000000..b0feb2e1ba --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/mpc5674fevb_spe.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc diff --git a/bsps/powerpc/mpc55xxevb/config/phycore_mpc5554-testsuite.tcfg b/bsps/powerpc/mpc55xxevb/config/phycore_mpc5554-testsuite.tcfg new file mode 100644 index 0000000000..3ca7f48c46 --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/phycore_mpc5554-testsuite.tcfg @@ -0,0 +1,10 @@ +# +# phycore_mpc5554 RTEMS Test Database. +# +# Format is one line per test that is _NOT_ built. +# + +include: testdata/dltests-broken-on-this-bsp.tcfg +include: testdata/disable-jffs2-tests.tcfg + +exclude: fsdosfsname01 diff --git a/bsps/powerpc/mpc55xxevb/config/phycore_mpc5554.cfg b/bsps/powerpc/mpc55xxevb/config/phycore_mpc5554.cfg new file mode 100644 index 0000000000..b0feb2e1ba --- /dev/null +++ b/bsps/powerpc/mpc55xxevb/config/phycore_mpc5554.cfg @@ -0,0 +1 @@ +include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc diff --git a/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg b/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg new file mode 100644 index 0000000000..4869e726d6 --- /dev/null +++ b/bsps/powerpc/mpc8260ads/config/mpc8260ads.cfg @@ -0,0 +1,23 @@ +# +# Config file for MPC8260 based Motorola ADS board +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +8XX_CPU_TYPE=8260 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +# CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align +CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \ + -meabi -msdata=sysv -fno-common + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2565. +# The following two lines enable compiling and linking on per element. +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/mvme3100/config/mvme3100.cfg b/bsps/powerpc/mvme3100/config/mvme3100.cfg new file mode 100644 index 0000000000..6e7c6950f5 --- /dev/null +++ b/bsps/powerpc/mvme3100/config/mvme3100.cfg @@ -0,0 +1,23 @@ +# +# Config file for the PowerPC 8540 based mvme3100 +# +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=powerpc -msoft-float -D__ppc_generic + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef diff --git a/bsps/powerpc/mvme5500/config/mvme5500.cfg b/bsps/powerpc/mvme5500/config/mvme5500.cfg new file mode 100644 index 0000000000..6a0fceabe7 --- /dev/null +++ b/bsps/powerpc/mvme5500/config/mvme5500.cfg @@ -0,0 +1,28 @@ +# +# Config file for the PowerPC 7455 based mvme5500 +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This is the actual bsp directory used during the build process. +RTEMS_BSP_FAMILY=mvme5500 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef + +# +START_BASE=mvme5500start diff --git a/bsps/powerpc/psim/config/psim.cfg b/bsps/powerpc/psim/config/psim.cfg new file mode 100644 index 0000000000..cb399493d2 --- /dev/null +++ b/bsps/powerpc/psim/config/psim.cfg @@ -0,0 +1,18 @@ +# +# Config file for the PowerPC 60x simulator - psim +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -meabi -mcpu=603e -msdata=sysv -fno-common -Dppc603e + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +# arguments to compile and link with per-element sections +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/qemuppc/config/qemuppc.cfg b/bsps/powerpc/qemuppc/config/qemuppc.cfg new file mode 100644 index 0000000000..f424ec22ee --- /dev/null +++ b/bsps/powerpc/qemuppc/config/qemuppc.cfg @@ -0,0 +1,24 @@ +# +# Config file for the PowerPC 60x simulator in Qemu +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +CPU_CFLAGS = -mcpu=603e -Dppc603e + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2564. +# The following two lines enable compiling and linking on per element. +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef diff --git a/bsps/powerpc/qoriq/config/qoriq.inc b/bsps/powerpc/qoriq/config/qoriq.inc new file mode 100644 index 0000000000..ff9586eec4 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq.inc @@ -0,0 +1,23 @@ +# +# Shared base config file for QorIQ BSPs +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = powerpc + +CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \ + -mspe -mabi=spe -mfloat-gprs=double \ + -D__ppc_generic + +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +# define bsp-post-link +# $(OBJCOPY) -O binary '$@' '$(basename $@).bin' +# gzip -f -9 '$(basename $@).bin' +# mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img' +# $(default-bsp-post-link) +# endef diff --git a/bsps/powerpc/qoriq/config/qoriq_core_0-testsuite.tcfg b/bsps/powerpc/qoriq/config/qoriq_core_0-testsuite.tcfg new file mode 100644 index 0000000000..fb84b55762 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_core_0-testsuite.tcfg @@ -0,0 +1,5 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/bsps/powerpc/qoriq/config/qoriq_core_0.cfg b/bsps/powerpc/qoriq/config/qoriq_core_0.cfg new file mode 100644 index 0000000000..8ce12d84a3 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_core_0.cfg @@ -0,0 +1,3 @@ +# Config file for QorIQ Core 0 + +include $(RTEMS_ROOT)/make/custom/qoriq.inc diff --git a/bsps/powerpc/qoriq/config/qoriq_core_1-testsuite.tcfg b/bsps/powerpc/qoriq/config/qoriq_core_1-testsuite.tcfg new file mode 100644 index 0000000000..fb84b55762 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_core_1-testsuite.tcfg @@ -0,0 +1,5 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/bsps/powerpc/qoriq/config/qoriq_core_1.cfg b/bsps/powerpc/qoriq/config/qoriq_core_1.cfg new file mode 100644 index 0000000000..ee7eadd947 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_core_1.cfg @@ -0,0 +1,3 @@ +# Config file for QorIQ Core 1 + +include $(RTEMS_ROOT)/make/custom/qoriq.inc diff --git a/bsps/powerpc/qoriq/config/qoriq_e500-testsuite.tcfg b/bsps/powerpc/qoriq/config/qoriq_e500-testsuite.tcfg new file mode 100644 index 0000000000..fb84b55762 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_e500-testsuite.tcfg @@ -0,0 +1,5 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/bsps/powerpc/qoriq/config/qoriq_e500.cfg b/bsps/powerpc/qoriq/config/qoriq_e500.cfg new file mode 100644 index 0000000000..91e957d967 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_e500.cfg @@ -0,0 +1,3 @@ +# Config file for e500 or e500v2 core based QorIQ chips, e.g. P1020, P2040 + +include $(RTEMS_ROOT)/make/custom/qoriq.inc diff --git a/bsps/powerpc/qoriq/config/qoriq_e6500_32-testsuite.tcfg b/bsps/powerpc/qoriq/config/qoriq_e6500_32-testsuite.tcfg new file mode 100644 index 0000000000..fb84b55762 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_e6500_32-testsuite.tcfg @@ -0,0 +1,5 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/bsps/powerpc/qoriq/config/qoriq_e6500_32.cfg b/bsps/powerpc/qoriq/config/qoriq_e6500_32.cfg new file mode 100644 index 0000000000..d0f0391384 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_e6500_32.cfg @@ -0,0 +1,13 @@ +# Config file for e6500 core based QorIQ chips, e.g. T2080, T4240 + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = powerpc + +CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \ + -D__ppc_generic + +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/qoriq/config/qoriq_e6500_64-testsuite.tcfg b/bsps/powerpc/qoriq/config/qoriq_e6500_64-testsuite.tcfg new file mode 100644 index 0000000000..fb84b55762 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_e6500_64-testsuite.tcfg @@ -0,0 +1,5 @@ +# +# This is the set of tests which are known to not link on this BSP +# + +include: testdata/dltests-broken-on-this-bsp.tcfg diff --git a/bsps/powerpc/qoriq/config/qoriq_e6500_64.cfg b/bsps/powerpc/qoriq/config/qoriq_e6500_64.cfg new file mode 100644 index 0000000000..b766fec8c9 --- /dev/null +++ b/bsps/powerpc/qoriq/config/qoriq_e6500_64.cfg @@ -0,0 +1,14 @@ +# Config file for e6500 core based QorIQ chips in 64-bit mode, e.g. T2080, +# T4240 + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = powerpc + +CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common \ + -D__ppc_generic + +CFLAGS_OPTIMIZE_V = -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/ss555/config/ss555.cfg b/bsps/powerpc/ss555/config/ss555.cfg new file mode 100644 index 0000000000..1745bb5cad --- /dev/null +++ b/bsps/powerpc/ss555/config/ss555.cfg @@ -0,0 +1,32 @@ +# +# Config file for an Intec Automation SS555 MPC555-based card +# +# This file is derived from: +# +# Config file for a PowerPC MPC860-based MBX821-001 card. +# Config file for a PowerPC 403 based helas403 card +# Config file for MPC860 based Ethernet Comm Board + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc +GCC_CPU_MODEL=505 + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -Dmpc555 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions + +# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2563. +# The following two lines enable compiling and linking on per element. +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) + $(STRIP) $(basename $@)$(DOWNEXT) +endef diff --git a/bsps/powerpc/t32mppc/config/t32mppc.cfg b/bsps/powerpc/t32mppc/config/t32mppc.cfg new file mode 100644 index 0000000000..1bbfe76a09 --- /dev/null +++ b/bsps/powerpc/t32mppc/config/t32mppc.cfg @@ -0,0 +1,11 @@ +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU = powerpc + +CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe \ + -D__ppc_generic + +CFLAGS_OPTIMIZE_V = -Og -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections diff --git a/bsps/powerpc/tqm8xx/config/pghplus.cfg b/bsps/powerpc/tqm8xx/config/pghplus.cfg new file mode 100644 index 0000000000..75eb65fe90 --- /dev/null +++ b/bsps/powerpc/tqm8xx/config/pghplus.cfg @@ -0,0 +1,10 @@ +# +# Config file for a PowerPC MPC860-based TQM8xx carrier board. +# + +# +# All TQM8xx configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/tqm8xx.inc diff --git a/bsps/powerpc/tqm8xx/config/tqm8xx.inc b/bsps/powerpc/tqm8xx/config/tqm8xx.inc new file mode 100644 index 0000000000..f9a31d0835 --- /dev/null +++ b/bsps/powerpc/tqm8xx/config/tqm8xx.inc @@ -0,0 +1,23 @@ +# +# Config file for a PowerPC MPC8xx-based TQM8xx carrier card +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +CPU_CFLAGS = -mcpu=860 -Dmpc860 \ + -mstrict-align -fno-strict-aliasing \ + -meabi -msdata=sysv -fno-common + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) + $(STRIP) $(basename $@)$(DOWNEXT) + $(default-bsp-post-link) +endef diff --git a/bsps/powerpc/tqm8xx/config/tqm8xx_stk8xx.cfg b/bsps/powerpc/tqm8xx/config/tqm8xx_stk8xx.cfg new file mode 100644 index 0000000000..7b5ab01b8a --- /dev/null +++ b/bsps/powerpc/tqm8xx/config/tqm8xx_stk8xx.cfg @@ -0,0 +1,10 @@ +# +# Config file for a PowerPC MPC860-based TQM8xx starter kit base board +# + +# +# All TQM8xx configurations share the same base file, only a few +# parameters differ. +# + +include $(RTEMS_ROOT)/make/custom/tqm8xx.inc diff --git a/bsps/powerpc/virtex/config/virtex.cfg b/bsps/powerpc/virtex/config/virtex.cfg new file mode 100644 index 0000000000..412b0da7b9 --- /dev/null +++ b/bsps/powerpc/virtex/config/virtex.cfg @@ -0,0 +1,25 @@ +# +# Config file for a generic PowerPC 405 based card +# + +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata=sysv -fno-common + +# optimize flag: typically -0, could use -O4 or -fast +# -O4 is ok for RTEMS +# NOTE: some level of -O may be actually required by inline assembler +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef diff --git a/bsps/powerpc/virtex4/config/virtex4.cfg b/bsps/powerpc/virtex4/config/virtex4.cfg new file mode 100644 index 0000000000..a893abe9b5 --- /dev/null +++ b/bsps/powerpc/virtex4/config/virtex4.cfg @@ -0,0 +1,21 @@ +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=405 -Dppc405 + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +# Miscellaneous additions go here +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef + diff --git a/bsps/powerpc/virtex5/config/virtex5.cfg b/bsps/powerpc/virtex5/config/virtex5.cfg new file mode 100644 index 0000000000..6f039da854 --- /dev/null +++ b/bsps/powerpc/virtex5/config/virtex5.cfg @@ -0,0 +1,21 @@ +include $(RTEMS_ROOT)/make/custom/default.cfg + +RTEMS_CPU=powerpc + +# This contains the compiler options necessary to select the CPU model +# and (hopefully) optimize for it. +# +CPU_CFLAGS = -mcpu=440 -Dppc440 -msoft-float + +# optimize flag: typically -O2 +CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections + +# Miscellaneous additions go here +define bsp-post-link + $(default-bsp-post-link) + $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) +endef + |