Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
3,298 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# CONFIG.Common.RTEMS-beaglebineblack | ||
# Author: Heinz Junkes <junkes@fhi-berlin.mpg.de> | ||
# | ||
# All RTEMS targets use the same Makefile fragment | ||
# | ||
#EXE = .elf | ||
RTEMS_BSP = beagleboneblack | ||
RTEMS_TARGET_CPU = arm | ||
GNU_TARGET = arm-rtems | ||
|
||
OP_SYS_LDLIBS += -Wl,--gc-sections | ||
ARCH_DEP_LDFLAGS = -L$(RTEMS_BASE)/$(GNU_TARGET)$(RTEMS_VERSION)/beagleboneblack/lib/ | ||
|
||
include $(CONFIG)/os/CONFIG.Common.RTEMS | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Author: W. Eric Norum | ||
# Canadian Light Source | ||
# eric@cls.usask.ca | ||
# | ||
# All RTEMS targets use the same Makefile fragment | ||
# | ||
RTEMS_BSP = pc686 | ||
RTEMS_TARGET_CPU = i386 | ||
GNU_TARGET = i386-rtems | ||
|
||
MUNCH_SUFFIX = .boot | ||
define MUNCH_CMD | ||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< $@ | ||
endef | ||
|
||
OP_SYS_LDLIBS += -Wl,--gc-sections | ||
ARCH_DEP_LDFLAGS = -L$(RTEMS_BASE)/$(GNU_TARGET)$(RTEMS_VERSION)/pc686/lib/ | ||
|
||
include $(CONFIG)/os/CONFIG.Common.RTEMS | ||
|
||
# | ||
# Put text segment where it will work with etherboot | ||
# | ||
OP_SYS_LDFLAGS += -Wl,-Ttext,0x100000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# | ||
# CONFIG.Common.RTEMS-qoriq_e500 | ||
# Author: Heinz Junkes <junkes@fhi-berlin.mpg.de> | ||
# | ||
# All RTEMS targets use the same Makefile fragment | ||
# | ||
EXE = .elf | ||
RTEMS_BSP = qoriq_e500 | ||
RTEMS_TARGET_CPU = powerpc | ||
GNU_TARGET = powerpc-rtems | ||
# optimization trouble in postfix.c | ||
#ARCH_DEP_CFLAGS += -DRTEMS_HAS_ALTIVEC | ||
#will use bootp | ||
#ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL | ||
|
||
#ARCH_DEP_CFLAGS += -DRTEMS_NETWORK_CONFIG_MBUF_SPACE=2048 | ||
#ARCH_DEP_CFLAGS += -DRTEMS_NETWORK_CONFIG_CLUSTER_SPACE=5120 | ||
|
||
#netbsdlib | ||
#ARCH_DEP_CFLAGS += -I$(RTEMS_BASE)/powerpc-rtems5/qoriq_e500/lib/include | ||
|
||
#OP_SYS_LDLIBS += -lbspExt #does not use posix stuff ... want to ignore | ||
OP_SYS_LDLIBS += -Wl,--gc-sections | ||
#ARCH_DEP_LDFLAGS = -mcpu=8540 -meabi -msdata=sysv -mstrict-align -mspe -mabi=spe -mfloat-gprs=double | ||
ARCH_DEP_LDFLAGS = -L$(RTEMS_BASE)/powerpc-rtems5/qoriq_e500/lib | ||
|
||
MUNCH_SUFFIX = .img | ||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX)) | ||
define MUNCH_CMD | ||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@ | ||
gzip -9 -f $@ | ||
mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -n $* -d $@.gz $*.img | ||
endef | ||
|
||
include $(CONFIG)/os/CONFIG.Common.RTEMS | ||
|
||
RTEMSSYMS=$(PRODNAME:%$(EXE)=%.sym) | ||
RTEMSIMGS=$(PRODNAME:%$(EXE)=%.bin) | ||
INSTALL_RTEMSSYMS=$(RTEMSSYMS:%=$(INSTALL_BIN)/%) | ||
INSTALL_RTEMSIMGS=$(RTEMSIMGS:%=$(INSTALL_BIN)/%) | ||
|
||
%.sym: %$(EXE) | ||
$(XSYMS) $^ $@ | ||
|
||
%.bin: %$(EXE) | ||
$(OBJCOPY) -Obinary $^ $@ | ||
|
||
#PRODTARGETS+=$(INSTALL_RTEMSSYMS) $(INSTALL_RTEMSIMGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# CONFIG.Common.RTEMS-xilinx_zynq_a9_qemu | ||
# Author: Heinz Junkes <junkes@fhi-berlin.mpg.de> | ||
# | ||
# All RTEMS targets use the same Makefile fragment | ||
# | ||
#EXE = .elf | ||
RTEMS_BSP = xilinx_zynq_a9_qemu | ||
RTEMS_TARGET_CPU = arm | ||
GNU_TARGET = arm-rtems | ||
|
||
#use dhcp/bootp | ||
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL | ||
|
||
OP_SYS_LDLIBS += -Wl,--gc-sections | ||
ARCH_DEP_LDFLAGS = -L$(RTEMS_BASE)/$(GNU_TARGET)$(RTEMS_VERSION)/xilinx_zynq_a9_qemu/lib/ | ||
|
||
|
||
include $(CONFIG)/os/CONFIG.Common.RTEMS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# CONFIG.Common.RTEMS-xilinx_zynq_zedboard | ||
# Author: Heinz Junkes <junkes@fhi-berlin.mpg.de> | ||
# | ||
# All RTEMS targets use the same Makefile fragment | ||
# | ||
#EXE = .elf | ||
RTEMS_BSP = xilinx_zynq_zedboard | ||
RTEMS_TARGET_CPU = arm | ||
GNU_TARGET = arm-rtems | ||
|
||
OP_SYS_LDLIBS += -Wl,--gc-sections | ||
ARCH_DEP_LDFLAGS = -L$(RTEMS_BASE)/$(GNU_TARGET)$(RTEMS_VERSION)/xilinx_zynq_zedboard/lib/ | ||
|
||
|
||
include $(CONFIG)/os/CONFIG.Common.RTEMS | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.