947 Commits

Author SHA1 Message Date
Sebastian Huber
528ee187ea 5: Update tools to ship rtems-bin2c
Update #3380.
2018-06-15 07:11:55 +02:00
Amaan Cheval
20f62cd487 x86_64/binutils: Add PEI target to build UEFI application images
Updates #2898.
2018-06-13 11:03:07 -04:00
Sebastian Huber
8ef0d7394c 5: Add GDB for RISC-V
Mainline GDB support for RISC-V is not yet in a released GDB version.

Close #3453.
2018-06-13 10:44:28 +02:00
Sebastian Huber
f432e19a54 5: Update RISC-V Binutils
This includes the following bug fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=23244

Update #3452.
2018-06-13 10:44:17 +02:00
Sebastian Huber
d8daad23f4 Build only the GDB
The Binutils and GDB share a repository.  In order to build the GDB
from a repository snapshot some components must be disabled.

Update #3453.
2018-06-13 10:43:53 +02:00
Sebastian Huber
9530518b4a Build only the Binutils
The Binutils and GDB share a repository.  In order to build the Binutils
from a repository snapshot some components must be disabled.

Update #3452.
2018-06-13 10:37:46 +02:00
Amaan Cheval
a3a6c34c15 x86_64/gcc: Have gcc build crti.o and crtn.o
The original commit in GCC's repo is here:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ab55f7db3694293e4799d58f7e1a556c0eae863a

We need this to be able to use crti.o and crtn.o in the bsp_specs file for the
port, and therefore provide missing symbols like "_fini" which RTEMS assumes are
defined in:

./cpukit/libcsupport/src/newlibc_exit.c
2018-05-14 11:24:43 +02:00
Amaan Cheval
defa958301 x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)
Adds -qnolinkcmds, -qrtems, and defaults to pass to linker, for
gcc targeting x86_64.

Corresponding gcc commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=602fa1e9d3ea5e87d4d6e17e3e91fc2647e42da3
2018-05-04 11:37:13 +10:00
Chris Johns
aa798b5cd8 Revert "x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)"
This reverts commit 8e763905381755ec2e421bb50d92166cc7fd8ec5.
2018-05-04 11:36:53 +10:00
Amaan Cheval
8e76390538 x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)
Adds -qnolinkcmds, -qrtems, and defaults to pass to linker, for
gcc targeting x86_64.

Corresponding gcc commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=602fa1e9d3ea5e87d4d6e17e3e91fc2647e42da3
2018-05-04 11:34:27 +10:00
Chris Johns
6ac3ed87d3 bare/devel: Add qemu-couverture support.
Add a build set and configuration to build a QEMU we can use for
coverage testing.
2018-05-01 11:58:43 +10:00
Chris Johns
10d3aaf467 rtems-tools: Update to pick up the --enable-rtems-debug fix. 2018-04-24 15:39:39 +10:00
Sebastian Huber
1645debc4f bootstrap: Do not generate acinlude.m4 files
Do not generate files which are part of the Git repository.  These files
should be maintained manually in the future.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 13:36:33 +02:00
Sebastian Huber
50593d4406 5: Use a specific RTEMS tools version
Download via cgit archive.

Close #3403.
2018-04-18 07:50:33 +02:00
Chris Johns
cabaff8206 sb/path: Walk up to root checking if a path is writable.
A dirname of / is / so the path will never have a length of 0.

Close #3392
2018-04-13 13:02:51 +10:00
Chris Johns
162cbda055 sb/config: Terminate building on an error.
This changes the previous functionality where the RSB switch to
dry run mode. This functionality can be enabled by adding
`--keep-going`.

Close #3209.
2018-04-10 17:59:48 +10:00
Chris Johns
4b3e0f8e3d The libexpat project has moved to github. Fetch expat from github.
Close #3315
2018-03-05 08:29:40 +11:00
Chris Johns
d255e812ab sb: Convert any unicode keys to strings
Closes #3312
2018-02-23 13:04:35 +11:00
Maksim E. Kozlov
d30be3129e sb: Add option to set location of the patches directory
Signed-off-by: Maksim E. Kozlov <maksim.e.kozlov@gmail.com>
2018-02-20 09:51:05 +11:00
Chris Johns
d2b25d131d sb: Option --source-only-download does not download the source.
The option expansion is missing `--with-download'.
2018-02-08 09:18:34 +11:00
Chris Johns
858b6488e4 gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the
tools have a version string that matches the release.

Close #3294
2018-02-07 15:28:35 +11:00
Stephan Gambke
18e1ba6a40 sb: Switch some md5 hashes to sha256
Using md5 hashes will break the building of qemu.bset,
so switch all involved hashes to sha256
2018-02-05 09:40:54 +11:00
Stephan Gambke
dde330b8f8 sb: Fix path.py
is_abspath() now considers zero-length strings

Also: Remove not needed line in expand()
2018-02-05 09:40:47 +11:00
Sebastian Huber
703532cb04 5: Add versions to file names 2018-01-31 09:29:14 +01:00
Sebastian Huber
2a5c9da489 Avoid hard coded GCC binary paths
In order to build a tool chain with Ada support a native GCC with Ada
support of the same version as the cross compiler is required.  The RSB
used hard coded paths for the gcc and g++ programs.  This forced the RSB
user to change the main GCC installation of the machine to build a
particular RTEMS tool chain.  This is undesired/infeasible in most
situations.

Close #3284.
2018-01-31 09:24:47 +01:00
Sebastian Huber
6d9c77c77d 5: Update to Binutils 2.30 2018-01-29 07:23:54 +01:00
Sebastian Huber
d7fd32078a 5: Update to Newlib 3.0.0 and GCC 7.3
Epiphany target can now use the default build set.  The or1k and m32c
targets still need special GCC versions.
2018-01-26 14:38:55 +00:00
Chris Johns
a293ddc992 sb: Disable a log file for the check command.
Fix a minor issue in the log module.
2018-01-18 13:38:52 +11:00
Chris Johns
3ddbd791b8 sb: Add an orphan check to sb-check.
The orphans check lets you see which configuration and build set
files in the RSB are not referernced. You can audit the list and
remove any configuration files not being used. Top level
build set files are included so you need to becareful not to
remove something that is valid and useful. To run:

 $ ./source-builder/sb-check --check-orphans
2018-01-18 13:16:47 +11:00
Sebastian Huber
f3b1700dfd 5: Update SPARC chip errata workarounds
Update #3242.
2017-12-19 09:38:44 +01:00
Sebastian Huber
7034d65872 5: Ada: Fix more POSIX types
Update #3256.
2017-12-04 08:03:00 +01:00
Sebastian Huber
d60799b936 5: Ada: Fix some POSIX types
Close #3256.
2017-12-01 12:07:29 +01:00
Sebastian Huber
ffbd5e9285 5: Add SPARC chip errata workarounds
Close #3242.
2017-11-30 09:37:11 +01:00
Joel Sherrill
ea15753f14 source-builder/sb/bootstrap.py: Do not reference bsp_specs to find BSPs
Updates #3520.
2017-11-22 15:43:06 -06:00
Joel Sherrill
d1e6dfcb1e 5/rtems-all.bset: Add missing aarch64
closes #3227.
2017-11-12 09:51:15 -06:00
Sebastian Huber
8b30eb3f44 5: Update to special MIPS GDB to 8.0.1 2017-11-10 10:09:15 +01:00
Sebastian Huber
831bc7ebbc 5: Avoid rtems-tools for epiphany GDB
Close #3226.
2017-11-10 09:54:19 +01:00
Sebastian Huber
ebe0053097 5: Use custome GDB 7.11 without for or1k
Do not include aarch64 and SPARC patches.
2017-11-10 09:36:02 +01:00
Sebastian Huber
d20f4df857 5: Upgrade m32c to GDB 8.0.1
Close #3225.
2017-11-10 09:33:43 +01:00
Sebastian Huber
dbe55c357a 5: Use Binutils 2.29 for or1k and m32c
This avoids Binutils patches from rtems-tools.

Close #3224.
2017-11-10 09:15:08 +01:00
Sebastian Huber
33f1deb26c 5: Use ticket attachment for automake patch
Update #2616.
2017-11-10 08:31:58 +01:00
Sebastian Huber
089327b5dc Change RSB version from 4.12 to 5
Update #3220.
2017-11-09 08:08:44 +01:00
Sebastian Huber
c6b890c4e1 5: Add Newlib patches
Update #3185.
Close #3189.
2017-11-09 08:08:44 +01:00
Sebastian Huber
637061c0bb Change RTEMS version from 4.12 to 5
Update #3220.
2017-11-09 08:08:32 +01:00
Chris Johns
0f2cf80a93 4.12: Add x86_64 and RISCV64 to 4.12/rtems-all. 2017-10-31 14:54:23 +11:00
Chris Johns
4dc9bf3a37 sb: Add platform reporting for better host reviewing in posted email reports. 2017-10-31 11:57:21 +11:00
Chris Johns
4e7fdaf15d sb: Make a to_addr comma list a Python list for sending. 2017-10-31 11:56:23 +11:00
Hesham Almatary
e274bdfe10 RSB - RISC-V: Add scripts to build RISC-V's simulator
Update #3109
2017-10-28 18:00:42 +11:00
Chris Johns
8cdc8e42e4 sb: Remove debug print left in by mistake. 2017-10-27 17:36:06 +11:00
Chris Johns
70e3e5e115 sb: Set the to email address to build@rtems.org.
- Fix a minor bug in the to addr processing.

Update #3210
2017-10-27 17:34:00 +11:00