Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
7d83c6c7
Commit
7d83c6c7
authored
Jun 15, 2016
by
Thanassis Tsiodras
Browse files
RTEMS is at 4.12 now
parent
b5bc5de5
Changes
2
Hide whitespace changes
Inline
Side-by-side
OAR/README.md
View file @
7d83c6c7
...
...
@@ -11,7 +11,7 @@ source code demonstrates how to:
Building RTEMS via the RSB
--------------------------
The contrib folder includes a script that you can use to compile RTEMS4.1
1
The contrib folder includes a script that you can use to compile RTEMS4.1
2
with the Leon2 and Leon3 BSPs from the OAR repository. Note that
[
as discussed in the RTEMS mailing list
](
https://lists.rtems.org/pipermail/users/2016-February/029782.html
)
,
you will need to compile your BSP for native or emulated FPU, based
...
...
@@ -90,7 +90,7 @@ To use emulation (default, if `FPU` option is not provided), pass `FPU=0`:
The
`FPU`
and
`CFG`
options are completely independent ; you can e.g.
compile a debug version that uses native FPU, and a release one that uses
emulation. Just keep in mind that currently, 4.1
1
emulation. Just keep in mind that currently, 4.1
2
[
does not allow you to use the same BSP
](
https://lists.rtems.org/pipermail/users/2016-February/029782.html
)
,
for both native and emulated FPU usage ; you'll have to build separate
BSPs by tweaking the
`leon2.cfg`
/
`leon3.cfg`
files when you build RTEMS.
...
...
@@ -118,23 +118,23 @@ If you want to see the complete commands used, pass `V=1`:
$ touch src/task1.c
$ make CFG=debug FPU=0 V=1
/opt/rtems-4.1
1
-2016.0
4.01
.NONFPU/bin/sparc-rtems4.1
1
-gcc -c \
-B/opt/rtems-4.1
1
-2016.0
4.01
.NONFPU/sparc-rtems4.1
1
/leon3/lib \
/opt/rtems-4.1
2
-2016.0
6.13
.NONFPU/bin/sparc-rtems4.1
2
-gcc -c \
-B/opt/rtems-4.1
2
-2016.0
6.13
.NONFPU/sparc-rtems4.1
2
/leon3/lib \
-specs bsp_specs -qrtems -mcpu=cypress -DBSP_leon3 -ffunction-sections \
-fdata-sections -Wall -Wmissing-prototypes \
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs \
-g -Wall -D_DEBUG -I src -msoft-float \
-o objs.debug.NONFPU.leon3/task1.o src/task1.c
/opt/rtems-4.1
1
-2016.0
4.01
.NONFPU/bin/sparc-rtems4.1
1
-gcc -g \
/opt/rtems-4.1
2
-2016.0
6.13
.NONFPU/bin/sparc-rtems4.1
2
-gcc -g \
-o bin.debug.NONFPU.leon3/fputest objs.debug.NONFPU.leon3/init.o \
objs.debug.NONFPU.leon3/task1.o objs.debug.NONFPU.leon3/task2.o \
objs.debug.NONFPU.leon3/common.o -msoft-float \
-B/opt/rtems-4.1
1
-2016.0
4.01
.NONFPU/sparc-rtems4.1
1
/leon3/lib \
-B/opt/rtems-4.1
2
-2016.0
6.13
.NONFPU/sparc-rtems4.1
2
/leon3/lib \
-specs bsp_specs -qrtems -mcpu=cypress -DBSP_leon3 \
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes \
-Wimplicit-function-declaration -Wstrict-prototypes \
-Wnested-externs -Wl,--gc-sections
Built with RTEMS at /opt/rtems-4.1
1
-2016.0
4.01
.NONFPU/sparc-rtems4.1
1
/leon3/lib for leon3.
Built with RTEMS at /opt/rtems-4.1
2
-2016.0
6.13
.NONFPU/sparc-rtems4.1
2
/leon3/lib for leon3.
# Support
...
...
OAR/contrib/build.rtems.4.1
1
.sh
→
OAR/contrib/build.rtems.4.1
2
.sh
View file @
7d83c6c7
#!/bin/bash
#
# This script builds the RTEMS
4.11/Sparc
cross-compiler
# and
L
eon2/
3
BSPs.
# This script builds the RTEMS
/SPARC
cross-compiler
# and
l
eon2/
leon3/ngmp
BSPs.
#
# To have a reproducible setup,
we suggest you execute
# this script under a Debian jessie chroot,
bootstrapped
# via the following:
# To have a reproducible setup,
it would be prudent if you
#
executed
this script under a Debian jessie chroot,
#
bootstrapped
via the following:
#
# mkdir /opt/jessie-chroot
# debootstrap jessie /opt/jessie-chroot
...
...
@@ -59,7 +59,8 @@ BUILD_LOG=/root/rtems.build.logs/${DATE}.log
# If your network is like the one in ESA/ESTEC and this is forbidden,
# you'll have to fetch these tarballs and hardlink to them each time
# (so no FTP action is triggered by the RTEMS RSB builder).
# This is how I do it - adapt according to your needs:
#
# This is one way to do it - adapt it according to your needs:
#
# cd rtems
# [ ! -d sources ] && {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment