mirror of
https://git.rtems.org/rtems-docs/
synced 2025-07-22 20:05:34 +08:00
parent
120c8a09e6
commit
60a6d6eae9
@ -1663,7 +1663,7 @@ DESCRIPTION:
|
||||
|
||||
NOTE:
|
||||
The size of the thread control block is increased by the maximum thread name
|
||||
size. This configuration option is available since RTEMS 4.12.
|
||||
size. This configuration option is available since RTEMS 5.1.
|
||||
|
||||
.. COMMENT: === CONFIGURE_MINIMUM_TASK_STACK_SIZE ===
|
||||
|
||||
@ -4929,77 +4929,77 @@ CONFIGURE_BDBUF_BUFFER_COUNT
|
||||
----------------------------
|
||||
.. index:: CONFIGURE_BDBUF_BUFFER_COUNT
|
||||
|
||||
This configuration option was introduced in RTEMS 4.7 and is obsolete since
|
||||
RTEMS 4.10.
|
||||
This configuration option was introduced in RTEMS 4.7.0 and is obsolete since
|
||||
RTEMS 4.10.0.
|
||||
|
||||
CONFIGURE_BDBUF_BUFFER_SIZE
|
||||
---------------------------
|
||||
.. index:: CONFIGURE_BDBUF_BUFFER_SIZE
|
||||
|
||||
This configuration option was introduced in RTEMS 4.7 and is obsolete since
|
||||
RTEMS 4.10.
|
||||
This configuration option was introduced in RTEMS 4.7.0 and is obsolete since
|
||||
RTEMS 4.10.0.
|
||||
|
||||
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
|
||||
--------------------------------------
|
||||
.. index:: CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
|
||||
|
||||
This configuration option was introduced in RTEMS 4.9 and is obsolete since
|
||||
RTEMS 4.12.
|
||||
This configuration option was introduced in RTEMS 4.9.0 and is obsolete since
|
||||
RTEMS 5.1.
|
||||
|
||||
CONFIGURE_HAS_OWN_BDBUF_TABLE
|
||||
-----------------------------
|
||||
.. index:: CONFIGURE_HAS_OWN_BDBUF_TABLE
|
||||
|
||||
This configuration option was introduced in RTEMS 4.7 and is obsolete since
|
||||
RTEMS 4.10.
|
||||
This configuration option was introduced in RTEMS 4.7.0 and is obsolete since
|
||||
RTEMS 4.10.0.
|
||||
|
||||
CONFIGURE_MAXIMUM_POSIX_BARRIERS
|
||||
--------------------------------
|
||||
.. index:: CONFIGURE_MAXIMUM_POSIX_BARRIERS
|
||||
|
||||
This configuration option is obsolete since RTEMS 4.12.
|
||||
This configuration option is obsolete since RTEMS 5.1.
|
||||
|
||||
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
|
||||
-------------------------------------------
|
||||
.. index:: CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
|
||||
|
||||
This configuration option is obsolete since RTEMS 4.12.
|
||||
This configuration option is obsolete since RTEMS 5.1.
|
||||
|
||||
CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS
|
||||
-------------------------------
|
||||
.. index:: CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS
|
||||
|
||||
This configuration option was introduced in RTEMS 4.10 and is obsolete since
|
||||
RTEMS 4.12.
|
||||
This configuration option was introduced in RTEMS 4.10.0 and is obsolete since
|
||||
RTEMS 5.1.
|
||||
|
||||
CONFIGURE_MAXIMUM_POSIX_MUTEXES
|
||||
-------------------------------
|
||||
.. index:: CONFIGURE_MAXIMUM_POSIX_MUTEXES
|
||||
|
||||
This configuration option is obsolete since RTEMS 4.12.
|
||||
This configuration option is obsolete since RTEMS 5.1.
|
||||
|
||||
CONFIGURE_MAXIMUM_POSIX_RWLOCKS
|
||||
-------------------------------
|
||||
.. index:: CONFIGURE_MAXIMUM_POSIX_RWLOCKS
|
||||
|
||||
This configuration option is obsolete since RTEMS 4.12.
|
||||
This configuration option is obsolete since RTEMS 5.1.
|
||||
|
||||
CONFIGURE_MAXIMUM_POSIX_SPINLOCKS
|
||||
---------------------------------
|
||||
.. index:: CONFIGURE_MAXIMUM_POSIX_SPINLOCKS
|
||||
|
||||
This configuration option is obsolete since RTEMS 4.12.
|
||||
This configuration option is obsolete since RTEMS 5.1.
|
||||
|
||||
CONFIGURE_SMP_APPLICATION
|
||||
-------------------------
|
||||
.. index:: CONFIGURE_SMP_APPLICATION
|
||||
|
||||
This configuration option was introduced in RTEMS 4.11 and is obsolete since
|
||||
RTEMS 4.12.
|
||||
This configuration option was introduced in RTEMS 4.11.0 and is obsolete since
|
||||
RTEMS 5.1.
|
||||
|
||||
CONFIGURE_SMP_MAXIMUM_PROCESSORS
|
||||
--------------------------------
|
||||
.. index:: CONFIGURE_SMP_MAXIMUM_PROCESSORS
|
||||
|
||||
This configuration option was introduced in RTEMS 4.11 and is obsolete since
|
||||
RTEMS 4.12. See also :ref:`CONFIGURE_MAXIMUM_PROCESSORS`.
|
||||
This configuration option was introduced in RTEMS 4.11.0 and is obsolete since
|
||||
RTEMS 5.1. See also :ref:`CONFIGURE_MAXIMUM_PROCESSORS`.
|
||||
|
@ -258,7 +258,7 @@ only available in SMP configurations and replaces the priority inheritance
|
||||
protocol in this case. One aim of the locking protocols is to avoid priority
|
||||
inversion.
|
||||
|
||||
Since RTEMS 4.12, priority updates due to the locking protocols take place
|
||||
Since RTEMS 5.1, priority updates due to the locking protocols take place
|
||||
immediately and are propagated recursively. The mutex owner and wait for mutex
|
||||
relationships define a directed acyclic graph (DAG). The run-time of the mutex
|
||||
obtain, release and timeout operations depend on the complexity of this
|
||||
@ -314,7 +314,7 @@ Priority Inheritance Protocol
|
||||
|
||||
The priority of the mutex owner is raised to the highest priority of all
|
||||
threads that currently wait for ownership of this mutex :cite:`Sha:1990:PI`.
|
||||
Since RTEMS 4.12, priority updates due to the priority inheritance protocol
|
||||
Since RTEMS 5.1, priority updates due to the priority inheritance protocol
|
||||
take place immediately and are propagated recursively.
|
||||
|
||||
.. _MrsP:
|
||||
@ -334,7 +334,7 @@ then the normal priority of the thread is restored. Threads that wait for
|
||||
mutex ownership are not blocked with respect to the scheduler and instead
|
||||
perform a busy wait. The MrsP uses temporary thread migrations to foreign
|
||||
scheduler instances in case of a preemption of the mutex owner. This locking
|
||||
protocol is available since RTEMS 4.11. It was re-implemented in RTEMS 4.12 to
|
||||
protocol is available since RTEMS 4.11. It was re-implemented in RTEMS 5.1 to
|
||||
overcome some shortcomings of the original implementation
|
||||
:cite:`Catellani:2015:MrsP`.
|
||||
|
||||
@ -353,7 +353,7 @@ OMIP mutexes do not need any external configuration data, e.g. a ceiling
|
||||
priority. This makes them a good choice for general purpose libraries that
|
||||
need internal locking. The complex part of the implementation is contained in
|
||||
the thread queues and shared with the MrsP support. This locking protocol is
|
||||
available since RTEMS 4.12.
|
||||
available since RTEMS 5.1.
|
||||
|
||||
Thread Queues
|
||||
=============
|
||||
@ -406,7 +406,7 @@ In case the thread is dequeued, there are two options
|
||||
Since there are usually more objects than threads, this actually reduces the
|
||||
memory demands. In addition the objects only contain a pointer to the queue
|
||||
structure. This helps to hide implementation details. Inter-cluster priority
|
||||
queues are available since RTEMS 4.12.
|
||||
queues are available since RTEMS 5.1.
|
||||
|
||||
A doubly-linked list (chain) is used to implement the FIFO queues yielding a
|
||||
:math:`O(1)` worst-case time complexity for enqueue and dequeue operations.
|
||||
@ -480,9 +480,9 @@ The use cases fall roughly into two categories:
|
||||
and need a high resolution. An example use case is a time driven scheduler,
|
||||
e.g. rate-monotonic or EDF.
|
||||
|
||||
In RTEMS versions prior to 4.12 the timer and timeout support was implemented
|
||||
In RTEMS versions prior to 5.1 the timer and timeout support was implemented
|
||||
by means of delta chains. This implementation was unfit for SMP systems due to
|
||||
several reasons. The new implementation present since RTEMS 4.12 uses a
|
||||
several reasons. The new implementation present since RTEMS 5.1 uses a
|
||||
red-black tree with the expiration time as the key. This leads to
|
||||
:math:`O(log(n))` worst-case insert and removal operations for :math:`n` active
|
||||
timer or timeouts. Each processor provides its own timer and timeout service
|
||||
|
@ -11,7 +11,7 @@ Symmetric Multiprocessing (SMP)
|
||||
Introduction
|
||||
============
|
||||
|
||||
The Symmetric Multiprocessing (SMP) support of the RTEMS 4.12 is available on
|
||||
The Symmetric Multiprocessing (SMP) support of the RTEMS is available on
|
||||
|
||||
- ARMv7-A,
|
||||
|
||||
@ -324,7 +324,7 @@ executing thread and restored from the thread control block of the heir thread.
|
||||
This is inherently broken if more than one executing thread exists.
|
||||
Alternatives to task variables are POSIX keys and :ref:`TLS <TLS>`. All use
|
||||
cases of task variables in the RTEMS code base were replaced with alternatives.
|
||||
The task variable API has been removed in RTEMS 4.12.
|
||||
The task variable API has been removed in RTEMS 5.1.
|
||||
|
||||
Highest Priority Thread Never Walks Alone
|
||||
-----------------------------------------
|
||||
|
@ -554,7 +554,7 @@ Transition Advice for Obsolete Notepads
|
||||
.. index:: rtems_task_set_note
|
||||
|
||||
Task notepads and the associated directives :ref:`rtems_task_get_note` and
|
||||
:ref:`rtems_task_set_note` were removed in RTEMS 4.12. These were never
|
||||
:ref:`rtems_task_set_note` were removed in RTEMS 5.1. These were never
|
||||
thread-safe to access and subject to conflicting use of the notepad index by
|
||||
libraries which were designed independently.
|
||||
|
||||
@ -573,7 +573,7 @@ Transition Advice for Obsolete Task Variables
|
||||
|
||||
Task notepads and the associated directives :ref:`rtems_task_variable_add`,
|
||||
:ref:`rtems_task_variable_get` and :ref:`rtems_task_variable_delete` were
|
||||
removed in RTEMS 4.12. Task variables must be replaced by POSIX Keys or
|
||||
removed in RTEMS 5.1. Task variables must be replaced by POSIX Keys or
|
||||
thread-local storage (TLS). POSIX Keys are available in all configurations and
|
||||
support value destructors. For the TLS support consult the :title:`RTEMS CPU
|
||||
Architecture Supplement`.
|
||||
@ -1697,7 +1697,7 @@ TASK_GET_NOTE - Get task notepad entry
|
||||
|
||||
.. warning::
|
||||
|
||||
This directive was removed in RTEMS 4.12.
|
||||
This directive was removed in RTEMS 5.1.
|
||||
|
||||
CALLING SEQUENCE:
|
||||
.. code-block:: c
|
||||
@ -1750,7 +1750,7 @@ TASK_SET_NOTE - Set task notepad entry
|
||||
|
||||
.. warning::
|
||||
|
||||
This directive was removed in RTEMS 4.12.
|
||||
This directive was removed in RTEMS 5.1.
|
||||
|
||||
CALLING SEQUENCE:
|
||||
.. code-block:: c
|
||||
@ -1804,7 +1804,7 @@ TASK_VARIABLE_ADD - Associate per task variable
|
||||
|
||||
.. warning::
|
||||
|
||||
This directive was removed in RTEMS 4.12.
|
||||
This directive was removed in RTEMS 5.1.
|
||||
|
||||
CALLING SEQUENCE:
|
||||
.. code-block:: c
|
||||
@ -1866,7 +1866,7 @@ TASK_VARIABLE_GET - Obtain value of a per task variable
|
||||
|
||||
.. warning::
|
||||
|
||||
This directive was removed in RTEMS 4.12.
|
||||
This directive was removed in RTEMS 5.1.
|
||||
|
||||
CALLING SEQUENCE:
|
||||
.. code-block:: c
|
||||
@ -1924,7 +1924,7 @@ TASK_VARIABLE_DELETE - Remove per task variable
|
||||
|
||||
.. warning::
|
||||
|
||||
This directive was removed in RTEMS 4.12.
|
||||
This directive was removed in RTEMS 5.1.
|
||||
|
||||
CALLING SEQUENCE:
|
||||
.. code-block:: c
|
||||
|
@ -35,7 +35,7 @@ to the path to our tools:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ export PATH=/opt/rtems/4.12/bin:$PATH
|
||||
$ export PATH=/opt/rtems/5/bin:$PATH
|
||||
|
||||
Now run the `bootstrap` command:
|
||||
|
||||
@ -133,7 +133,7 @@ The paths used in this project are:
|
||||
:file:`/opt/work/chris/rtems/kernel/rtems.master`
|
||||
The RTEMS Kernel source code.
|
||||
|
||||
:file:`/opt/work/chris/rtems/kernel/4.12`
|
||||
:file:`/opt/work/chris/rtems/kernel/5`
|
||||
The RTEMS Kernel prefix.
|
||||
|
||||
:file:`/opt/work/chris/rtems/kernel/bsp/pc`
|
||||
@ -197,7 +197,7 @@ We now configure the project's properties by right clicking on the
|
||||
:alt:
|
||||
|
||||
Click on the **Autotools** item then **Configure Settings** and **Platform
|
||||
specifiers** and set the **Target platform** field with ``i386-rtems4.12``:
|
||||
specifiers** and set the **Target platform** field with ``i386-rtems5``:
|
||||
|
||||
.. figure:: ../images/eclipse/eclipse-rtems-git-prop-at-target.png
|
||||
:width: 100%
|
||||
@ -206,7 +206,7 @@ specifiers** and set the **Target platform** field with ``i386-rtems4.12``:
|
||||
|
||||
Select **Platform directories** and enter the **Arch-independent install
|
||||
directory (--prefix)** to the RTEMS Kernel prefix of
|
||||
:file:`/opt/work/chris/rtems/kernel/4.12`:
|
||||
:file:`/opt/work/chris/rtems/kernel/5`:
|
||||
|
||||
.. figure:: ../images/eclipse/eclipse-rtems-git-prop-at-prefix.png
|
||||
:width: 100%
|
||||
@ -246,7 +246,7 @@ project can have a specific set of tools. Press the **Add...** button:
|
||||
:alt: C/C++ Build Environment
|
||||
|
||||
Enter the path to the tools, in our case it is
|
||||
:file:`/opt/work/rtems/4.12/bin`, then press **Variables** :
|
||||
:file:`/opt/work/rtems/5/bin`, then press **Variables** :
|
||||
|
||||
.. figure:: ../images/eclipse/eclipse-rtems-git-prop-cdt-env-var.png
|
||||
:width: 85%
|
||||
|
@ -3,7 +3,7 @@
|
||||
lfile=unprobed_methods.txt
|
||||
cpu=arm
|
||||
bsp=xilinx_zynq_a9_qemu
|
||||
bsp_path=/home/joel/rtems-work/tools/4.12/bsps/arm-rtems4.12
|
||||
bsp_path=/home/joel/rtems-work/tools/5/bsps/arm-rtems5
|
||||
bsp_flags="-march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9"
|
||||
|
||||
cat_template()
|
||||
@ -35,7 +35,7 @@ do
|
||||
fi
|
||||
|
||||
gen_prober ${method} >tmp_probe.c
|
||||
${cpu}-rtems4.12-gcc \
|
||||
${cpu}-rtems5-gcc \
|
||||
-B${bsp_path}/${bsp}/lib/ -specs bsp_specs -qrtems \
|
||||
${bsp_flags} \
|
||||
tmp_probe.c >/dev/null 2>&1
|
||||
|
@ -12,7 +12,7 @@ Developer (Unstable)
|
||||
.. index:: Git
|
||||
|
||||
RTEMS provides open access to it's development processes. We call this the
|
||||
developer set up. The project encouages all users to inspect, review, comment
|
||||
developer set up. The project encourages all users to inspect, review, comment
|
||||
and contribute to the code base. The processes described here are the same
|
||||
processes the core development team use when developing and maintaining RTEMS.
|
||||
|
||||
@ -36,7 +36,7 @@ you can do this without needing to be root. You can also use
|
||||
The location used to install the tools and kernel is called the `prefix`. It is
|
||||
best to have a `prefix` for each different version of RTEMS you are using. If
|
||||
you are using RTEMS 4.11 in production it is not a good idea to install a
|
||||
development version of 4.12 over the top. A separate `prefix` for each version
|
||||
development version of 5 over the top. A separate `prefix` for each version
|
||||
avoids this.
|
||||
|
||||
The RTEMS tool chain changes less often than the RTEMS kernel. One method of
|
||||
@ -85,23 +85,22 @@ requires:
|
||||
|
||||
$ cd rsb
|
||||
$ ./source-builder/sb-check
|
||||
RTEMS Source Builder - Check, 4.12 (e645642255cc)
|
||||
RTEMS Source Builder - Check, 5 (089327b5dcf9)
|
||||
Environment is ok
|
||||
|
||||
Build a tool chain for the SPARC architecure. We are using the SPARC
|
||||
Build a tool chain for the SPARC architecture. We are using the SPARC
|
||||
architecture because GDB has a good simulator that lets us run and test the
|
||||
samples RTEMS builds by default. The current development version
|
||||
is `4.12` and is on master:
|
||||
is `5` and is on master:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ cd rtems
|
||||
$ ../source-builder/sb-set-builder \
|
||||
--prefix=/usr/home/chris/development/rtems/4.12 4.12/rtems-sparc
|
||||
RTEMS Source Builder - Set Builder, 4.12 (e645642255cc)
|
||||
Build Set: 4.12/rtems-sparc
|
||||
Build Set: 4.12/rtems-autotools.bset
|
||||
Build Set: 4.12/rtems-autotools-internal.bset
|
||||
$ ../source-builder/sb-set-builder --prefix=/usr/home/chris/development/rtems/5 5/rtems-sparc
|
||||
RTEMS Source Builder - Set Builder, 5 (089327b5dcf9)
|
||||
Build Set: 5/rtems-sparc
|
||||
Build Set: 5/rtems-autotools.bset
|
||||
Build Set: 5/rtems-autotools-internal.bset
|
||||
config: tools/rtems-autoconf-2.69-1.cfg
|
||||
package: autoconf-2.69-x86_64-linux-gnu-1
|
||||
Creating source directory: sources
|
||||
@ -113,13 +112,13 @@ is `4.12` and is on master:
|
||||
download: ftp://ftp.gnu.org/gnu/automake/automake-1.12.6.tar.gz -> sources/automake-1.12.6.tar.gz
|
||||
downloading: sources/automake-1.12.6.tar.gz - 2.0MB of 2.0MB (100%)
|
||||
Creating source directory: patches
|
||||
download: https://git.rtems.org/rtems-tools/plain/tools/4.12/automake/automake-1.12.6-bugzilla.redhat.com-1239379.diff -> patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff
|
||||
download: https://git.rtems.org/rtems-tools/plain/tools/5/automake/automake-1.12.6-bugzilla.redhat.com-1239379.diff -> patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff
|
||||
downloading: patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff - 408.0 bytes of 408.0 bytes (100%)
|
||||
building: automake-1.12.6-x86_64-linux-gnu-1
|
||||
cleaning: autoconf-2.69-x86_64-linux-gnu-1
|
||||
cleaning: automake-1.12.6-x86_64-linux-gnu-1
|
||||
Build Set: Time 0:00:17.465024
|
||||
Build Set: 4.12/rtems-autotools-base.bset
|
||||
Build Set: Time 0:00:12.713221
|
||||
Build Set: 5/rtems-autotools-base.bset
|
||||
config: tools/rtems-autoconf-2.69-1.cfg
|
||||
package: autoconf-2.69-x86_64-linux-gnu-1
|
||||
building: autoconf-2.69-x86_64-linux-gnu-1
|
||||
@ -130,59 +129,66 @@ is `4.12` and is on master:
|
||||
building: automake-1.12.6-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
|
||||
installing: autoconf-2.69-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
|
||||
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
|
||||
installing: autoconf-2.69-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
|
||||
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
|
||||
cleaning: autoconf-2.69-x86_64-linux-gnu-1
|
||||
cleaning: automake-1.12.6-x86_64-linux-gnu-1
|
||||
Build Set: Time 0:00:05.358624
|
||||
Build Set: Time 0:00:22.824422
|
||||
Build Set: Time 0:00:09.105363
|
||||
Build Set: Time 0:00:21.822083
|
||||
config: devel/expat-2.1.0-1.cfg
|
||||
package: expat-2.1.0-x86_64-linux-gnu-1
|
||||
download: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
|
||||
redirect: http://internode.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
|
||||
redirect: https://vorboss.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
|
||||
downloading: sources/expat-2.1.0.tar.gz - 549.4kB of 549.4kB (100%)
|
||||
building: expat-2.1.0-x86_64-linux-gnu-1
|
||||
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
|
||||
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-binutils-2.26-1.cfg
|
||||
package: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
|
||||
download: ftp://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2 -> sources/binutils-2.26.tar.bz2
|
||||
downloading: sources/binutils-2.26.tar.bz2 - 24.4MB of 24.4MB (100%)
|
||||
download: https://git.rtems.org/rtems-tools/plain/tools/4.12/binutils/binutils-2.26-rtems-aarch64-x86_64.patch -> patches/binutils-2.26-rtems-aarch64-x86_64.patch
|
||||
downloading: patches/binutils-2.26-rtems-aarch64-x86_64.patch - 3.2kB of 3.2kB (100%)
|
||||
building: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-binutils-2.26-1.cfg -> sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-binutils-2.26-1.cfg -> sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-gcc-6-20160228-newlib-2.3.0.20160226-1.cfg
|
||||
package: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1
|
||||
download: ftp://gcc.gnu.org/pub/gcc/snapshots/6-20160228/gcc-6-20160228.tar.bz2 -> sources/gcc-6-20160228.tar.bz2
|
||||
downloading: sources/gcc-6-20160228.tar.bz2 - 90.8MB of 90.8MB (100%)
|
||||
download: ftp://sourceware.org/pub/newlib/newlib-2.3.0.20160226.tar.gz -> sources/newlib-2.3.0.20160226.tar.gz
|
||||
downloading: sources/newlib-2.3.0.20160226.tar.gz - 16.9MB of 16.9MB (100%)
|
||||
download: http://www.mpfr.org/mpfr-2.4.2/mpfr-2.4.2.tar.bz2 ->
|
||||
sources/mpfr-2.4.2.tar.bz2
|
||||
downloading: sources/mpfr-2.4.2.tar.bz2 - 1.0MB of 1.0MB (100%)
|
||||
download: http://www.multiprecision.org/mpc/download/mpc-0.8.1.tar.gz -> sources/mpc-0.8.1.tar.gz
|
||||
downloading: sources/mpc-0.8.1.tar.gz - 532.2kB of 532.2kB (100%)
|
||||
download: ftp://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.bz2 -> sources/gmp-4.3.2.tar.bz2
|
||||
downloading: sources/gmp-4.3.2.tar.bz2 - 1.8MB of 1.8MB (100%)
|
||||
building: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-gcc-6-20160228-newlib-2.3.0.20160226-1.cfg -> sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-gcc-6-20160228-newlib-2.3.0.20160226-1.cfg -> sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-gdb-7.9-1.cfg
|
||||
package: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
|
||||
download: http://ftp.gnu.org/gnu/gdb/gdb-7.9.tar.xz -> sources/gdb-7.9.tar.xz
|
||||
downloading: sources/gdb-7.9.tar.xz - 17.0MB of 17.0MB (100%)
|
||||
download: https://git.rtems.org/rtems-tools/plain/tools/4.12/gdb/gdb-sim-arange-inline.diff -> patches/gdb-sim-arange-inline.diff
|
||||
downloading: patches/gdb-sim-arange-inline.diff - 761.0 bytes of 761.0 bytes (100%)
|
||||
download: https://git.rtems.org/rtems-tools/plain/tools/4.12/gdb/gdb-sim-cgen-inline.diff -> patches/gdb-sim-cgen-inline.diff
|
||||
downloading: patches/gdb-sim-cgen-inline.diff - 706.0 bytes of 706.0 bytes (100%)
|
||||
download: https://git.rtems.org/rtems-tools/plain/tools/4.12/gdb/gdb-7.9-aarch64-x86_64.patch -> patches/gdb-7.9-aarch64-x86_64.patch
|
||||
downloading: patches/gdb-7.9-aarch64-x86_64.patch - 1.7kB of 1.7kB (100%)
|
||||
building: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-gdb-7.9-1.cfg -> sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-gdb-7.9-1.cfg -> sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-tools-4.12-1.cfg
|
||||
config: tools/rtems-binutils-2.29-1.cfg
|
||||
package: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1
|
||||
download: ftp://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.bz2 -> sources/binutils-2.29.tar.bz2
|
||||
downloading: sources/binutils-2.29.tar.bz2 - 27.7MB of 27.7MB (100%)
|
||||
download: https://devel.rtems.org/raw-attachment/ticket/3091/0001-Fix-Binutils-2.29-PR21884.patch -> patches/0001-Fix-Binutils-2.29-PR21884.patch
|
||||
downloading: patches/0001-Fix-Binutils-2.29-PR21884.patch - 8.8kB of 8.8kB (100%)
|
||||
building: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-binutils-2.29-1.cfg -> sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-binutils-2.29-1.cfg -> sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg
|
||||
package: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1
|
||||
download: https://ftp.gnu.org/gnu/gcc/gcc-7.2.0/gcc-7.2.0.tar.xz -> sources/gcc-7.2.0.tar.xz
|
||||
downloading: sources/gcc-7.2.0.tar.xz - 59.4MB of 59.4MB (100%)
|
||||
download: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0 -> patches/gcc-62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0.patch
|
||||
downloading: patches/gcc-62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0.patch - 1.8kB
|
||||
download: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/config.gcc;h=593631849bb5e0df5cc4ff42c1a1cc34b7eec2f8;hp=a9196cd26d9ec24c2e3f6026f63348cae3734861;hb=e840389000b8339a63bee56d8b3...<see log> -> patches/gcc-593631849bb5e0df5cc4ff42c1a1cc34b7eec2f8.patch
|
||||
downloading: patches/gcc-593631849bb5e0df5cc4ff42c1a1cc34b7eec2f8.patch - 806.0 bytes
|
||||
download: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/config/rs6000/rtems.h;h=7ea9ebdb77b6a9b7060ad2362318e0e12b9058ae;hp=8a62fdcbaf321d616021c4c396619b7f56cf5ed2;hb=e840389000b8339a...<see log> -> patches/gcc-7ea9ebdb77b6a9b7060ad2362318e0e12b9058ae.patch
|
||||
downloading: patches/gcc-7ea9ebdb77b6a9b7060ad2362318e0e12b9058ae.patch - 3.2kB
|
||||
download: ftp://sourceware.org/pub/newlib/newlib-2.5.0.20170922.tar.gz -> sources/newlib-2.5.0.20170922.tar.gz
|
||||
downloading: sources/newlib-2.5.0.20170922.tar.gz - 17.3MB of 17.3MB (100%)
|
||||
download: https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch -> patches/0001-RTEMS-Self-contained-POSIX-objects.patch
|
||||
downloading: patches/0001-RTEMS-Self-contained-POSIX-objects.patch - 5.7kB of 5.7kB (100%)
|
||||
download: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a -> patches/newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch
|
||||
downloading: patches/newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch - 986.0 bytes
|
||||
download: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c -> patches/newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch
|
||||
downloading: patches/newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch - 3.4kB
|
||||
download: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2 -> sources/mpfr-3.1.4.tar.bz2
|
||||
downloading: sources/mpfr-3.1.4.tar.bz2 - 1.2MB of 1.2MB (100%)
|
||||
download: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz -> sources/mpc-1.0.3.tar.gz
|
||||
downloading: sources/mpc-1.0.3.tar.gz - 654.2kB of 654.2kB (100%)
|
||||
download: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2 -> sources/gmp-6.1.0.tar.bz2
|
||||
downloading: sources/gmp-6.1.0.tar.bz2 - 2.3MB of 2.3MB (100%)
|
||||
building: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg -> sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg -> sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-gdb-8.0.1-1.cfg
|
||||
package: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
|
||||
download: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz -> sources/gdb-8.0.1.tar.xz
|
||||
downloading: sources/gdb-8.0.1.tar.xz - 18.7MB of 18.7MB (100%)
|
||||
download: https://gaisler.org/gdb/gdb-8.0.1-sis-leon2-leon3.diff -> patches/gdb-8.0.1-sis-leon2-leon3.diff
|
||||
downloading: patches/gdb-8.0.1-sis-leon2-leon3.diff - 224.5kB of 224.5kB (100%)
|
||||
building: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
|
||||
reporting: tools/rtems-gdb-8.0.1-1.cfg -> sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.txt
|
||||
reporting: tools/rtems-gdb-8.0.1-1.cfg -> sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.xml
|
||||
config: tools/rtems-tools-5-1.cfg
|
||||
package: rtems-tools-HEAD-1
|
||||
Creating source directory: sources/git
|
||||
git: clone: git://git.rtems.org/rtems-tools.git -> sources/git/rtems-tools.git
|
||||
@ -191,20 +197,26 @@ is `4.12` and is on master:
|
||||
git: checkout: git://git.rtems.org/rtems-tools.git => HEAD
|
||||
git: pull: git://git.rtems.org/rtems-tools.git
|
||||
building: rtems-tools-HEAD-1
|
||||
reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.txt
|
||||
reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.xml
|
||||
installing: expat-2.1.0-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
|
||||
installing: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
|
||||
installing: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
|
||||
installing: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
|
||||
installing: rtems-tools-HEAD-1 -> /usr/home/chris/development/rtems/4.12
|
||||
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-HEAD-1.txt
|
||||
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-HEAD-1.xml
|
||||
config: tools/rtems-kernel-5.cfg
|
||||
package: sparc-rtems5-kernel-5-1
|
||||
building: sparc-rtems5-kernel-5-1
|
||||
reporting: tools/rtems-kernel-5.cfg -> sparc-rtems5-kernel-5-1.txt
|
||||
reporting: tools/rtems-kernel-5.cfg -> sparc-rtems5-kernel-5-1.xml
|
||||
installing: expat-2.1.0-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
|
||||
installing: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
|
||||
installing: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
|
||||
installing: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
|
||||
installing: rtems-tools-HEAD-1 -> /usr/home/chris/development/rtems/5
|
||||
installing: sparc-rtems5-kernel-5-1 -> /usr/home/chris/development/rtems/5
|
||||
cleaning: expat-2.1.0-x86_64-linux-gnu-1
|
||||
cleaning: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
|
||||
cleaning: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1
|
||||
cleaning: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
|
||||
cleaning: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1
|
||||
cleaning: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1
|
||||
cleaning: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
|
||||
cleaning: rtems-tools-HEAD-1
|
||||
Build Set: Time 0:31:09.754219
|
||||
|
||||
cleaning: sparc-rtems5-kernel-5-1
|
||||
Build Set: Time 0:39:33.988995
|
||||
.. _windows-tool-chain:
|
||||
|
||||
Windows Host Tool Chain
|
||||
|
@ -47,7 +47,7 @@ the RTEMS version and not your host's versions:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ export PATH=$HOME/development/rtems/4.12/bin:$PATH
|
||||
$ export PATH=$HOME/development/rtems/5/bin:$PATH
|
||||
|
||||
.. _bootstrapping:
|
||||
|
||||
@ -111,7 +111,7 @@ directory then run the bootsrap commands:
|
||||
Generating ./c/src/libchip/preinstall.am
|
||||
Generating ./c/src/wrapup/preinstall.am
|
||||
Generating ./c/src/ada/preinstall.am
|
||||
RTEMS Source Builder - RTEMS Bootstrap, 4.12 (e645642255cc modified)
|
||||
RTEMS Source Builder - RTEMS Bootstrap, 5 (089327b5dcf9)
|
||||
1/139: autoreconf: configure.ac
|
||||
2/139: autoreconf: cpukit/configure.ac
|
||||
3/139: autoreconf: tools/cpu/configure.ac
|
||||
@ -160,15 +160,15 @@ enabled and the networking stack disabled:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/4.12 \
|
||||
--target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix \
|
||||
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 \
|
||||
--target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-posix \
|
||||
--disable-networking
|
||||
checking for gmake... no
|
||||
checking for make... make
|
||||
checking for RTEMS Version... 4.11.99.0
|
||||
checking build system type... x86_64-pc-linux-gnu
|
||||
checking host system type... x86_64-pc-linux-gnu
|
||||
checking target system type... sparc-unknown-rtems4.12
|
||||
checking target system type... sparc-unknown-rtems5
|
||||
checking for a BSD-compatible install... /usr/bin/install -c
|
||||
checking whether build environment is sane... yes
|
||||
checking for a thread-safe mkdir -p... /bin/mkdir -p
|
||||
@ -178,11 +178,11 @@ enabled and the networking stack disabled:
|
||||
checking whether to enable maintainer-specific portions of Makefiles... no
|
||||
checking that generated files are newer than configure... done
|
||||
......
|
||||
checking target system type... sparc-unknown-rtems4.12
|
||||
checking target system type... sparc-unknown-rtems5
|
||||
checking rtems target cpu... sparc
|
||||
checking for a BSD-compatible install... /usr/bin/install -c
|
||||
checking whether build environment is sane... yes
|
||||
checking for sparc-rtems4.12-strip... sparc-rtems4.12-strip
|
||||
checking for sparc-rtems5-strip... sparc-rtems5-strip
|
||||
checking for a thread-safe mkdir -p... /bin/mkdir -p
|
||||
checking for gawk... no
|
||||
checking for mawk... mawk
|
||||
@ -250,35 +250,35 @@ Build RTEMS using two cores:
|
||||
make[2]: Nothing to be done for 'all-am'.
|
||||
make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/testsuites/tools'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/testsuites/tools'
|
||||
Making all in sparc-rtems4.12/c
|
||||
make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
|
||||
Making all in sparc-rtems5/c
|
||||
make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
|
||||
Making all in .
|
||||
make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
|
||||
make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
|
||||
Configuring RTEMS_BSP=erc32
|
||||
checking for gmake... no
|
||||
checking for make... make
|
||||
checking build system type... x86_64-pc-linux-gnu
|
||||
checking host system type... sparc-unknown-rtems4.12
|
||||
checking host system type... sparc-unknown-rtems5
|
||||
......
|
||||
sparc-rtems4.12-gcc -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs -I.. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/../support/include -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o /home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs/init.c
|
||||
sparc-rtems4.12-gcc -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs -I.. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/../support/include -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT empty.o -MD -MP -MF .deps/empty.Tpo -c -o empty.o /home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs/empty.c
|
||||
sparc-rtems5-gcc -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs -I.. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/../support/include -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o /home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs/init.c
|
||||
sparc-rtems5-gcc -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs -I.. -I/home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/../support/include -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT empty.o -MD -MP -MF .deps/empty.Tpo -c -o empty.o /home/chris/development/rtems/kernel/rtems/c/src/../../testsuites/samples/nsecs/empty.c
|
||||
mv -f .deps/empty.Tpo .deps/empty.Po
|
||||
mv -f .deps/init.Tpo .deps/init.Po
|
||||
sparc-rtems4.12-gcc -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mcpu=cypress -o nsecs.exe init.o empty.o
|
||||
sparc-rtems4.12-nm -g -n nsecs.exe > nsecs.num
|
||||
sparc-rtems4.12-size nsecs.exe
|
||||
sparc-rtems5-gcc -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -Wl,--gc-sections -mcpu=cypress -o nsecs.exe init.o empty.o
|
||||
sparc-rtems5-nm -g -n nsecs.exe > nsecs.num
|
||||
sparc-rtems5-size nsecs.exe
|
||||
text data bss dec hex filename
|
||||
121392 1888 6624 129904 1fb70 nsecs.exe
|
||||
cp nsecs.exe nsecs.ralf
|
||||
make[6]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites/samples/nsecs'
|
||||
make[5]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites/samples'
|
||||
make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites/samples'
|
||||
make[4]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites'
|
||||
make[6]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites/samples/nsecs'
|
||||
make[5]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites/samples'
|
||||
make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites/samples'
|
||||
make[4]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites'
|
||||
make[4]: Nothing to be done for 'all-am'.
|
||||
make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites'
|
||||
make[3]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites'
|
||||
make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
|
||||
make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites'
|
||||
make[3]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites'
|
||||
make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
|
||||
make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32'
|
||||
make[1]: Nothing to be done for 'all-am'.
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32'
|
||||
@ -302,10 +302,10 @@ RTEMS with the following command:
|
||||
Making install in tools/build
|
||||
make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32/tools/build'
|
||||
make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32/tools/build'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/4.12/bin'
|
||||
/usr/bin/install -c cklength eolstrip packhex unhex rtems-bin2c '/home/chris/development/rtems/4.12/bin'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/4.12/bin'
|
||||
/usr/bin/install -c install-if-change '/home/chris/development/rtems/4.12/bin'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/5/bin'
|
||||
/usr/bin/install -c cklength eolstrip packhex unhex rtems-bin2c '/home/chris/development/rtems/5/bin'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/5/bin'
|
||||
/usr/bin/install -c install-if-change '/home/chris/development/rtems/5/bin'
|
||||
make[2]: Nothing to be done for 'install-data-am'.
|
||||
make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/tools/build'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/tools/build'
|
||||
@ -326,16 +326,16 @@ RTEMS with the following command:
|
||||
make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/tools/cpu'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/tools/cpu
|
||||
......
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
|
||||
make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32'
|
||||
make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32'
|
||||
make[2]: Nothing to be done for 'install-exec-am'.
|
||||
/bin/mkdir -p '/home/chris/development/rtems/4.12/make'
|
||||
/usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/main.cfg /home/chris/development/rtems/kernel/rtems/make/leaf.cfg '/home/chris/development/rtems/4.12/make'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/4.12/share/rtems4.12/make/Templates'
|
||||
/usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/Templates/Makefile.dir /home/chris/development/rtems/kernel/rtems/make/Templates/Makefile.leaf /home/chris/development/rtems/kernel/rtems/make/Templates/Makefile.lib '/home/chris/development/rtems/4.12/share/rtems4.12/make/Templates'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/4.12/make/custom'
|
||||
/usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/custom/default.cfg '/home/chris/development/rtems/4.12/make/custom'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/5/make'
|
||||
/usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/main.cfg /home/chris/development/rtems/kernel/rtems/make/leaf.cfg '/home/chris/development/rtems/5/make'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/5/share/rtems5/make/Templates'
|
||||
/usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/Templates/Makefile.dir /home/chris/development/rtems/kernel/rtems/make/Templates/Makefile.leaf /home/chris/development/rtems/kernel/rtems/make/Templates/Makefile.lib '/home/chris/development/rtems/5/share/rtems5/make/Templates'
|
||||
/bin/mkdir -p '/home/chris/development/rtems/5/make/custom'
|
||||
/usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/custom/default.cfg '/home/chris/development/rtems/5/make/custom'
|
||||
make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32'
|
||||
make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32'
|
||||
|
||||
|
@ -32,7 +32,7 @@ The location used to install the tools and kernel is called the
|
||||
`prefix`. :ref:`prefixes` explains prefixes and how to use them. It is best to
|
||||
have a `prefix` for each different version of RTEMS you are using. If you are
|
||||
using RTEMS 4.11 in production it is **not** a good idea to install a
|
||||
development version of 4.12 over the top by using the same `prefix` as the 4.11
|
||||
development version of 5 over the top by using the same `prefix` as the 4.11
|
||||
build. A separate `prefix` for each version avoids this.
|
||||
|
||||
Released versions of the RTEMS Source Builder (RSB) downloads all source code
|
||||
|
@ -42,7 +42,7 @@ chain (:ref:`posix-host-tools-chain`):
|
||||
...
|
||||
$ cd rtems
|
||||
$ ../source-builder/sb-set-builder \
|
||||
--prefix=/usr/home/chris/development/rtems/4.12 4.12/rtems-sparc
|
||||
--prefix=/usr/home/chris/development/rtems/5 5/rtems-sparc
|
||||
...
|
||||
|
||||
Build the RTEMS Kernel (:ref:`rtems-kernel-install`) by cloning the repository,
|
||||
@ -51,7 +51,7 @@ kernel:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ export PATH=$HOME/development/rtems/4.12/bin:$PATH
|
||||
$ export PATH=$HOME/development/rtems/5/bin:$PATH
|
||||
$ cd
|
||||
$ cd development/rtems
|
||||
$ mkdir kernel
|
||||
@ -65,8 +65,8 @@ kernel:
|
||||
$ cd ..
|
||||
$ mkdir erc32
|
||||
$ cd erc32
|
||||
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/4.12 \
|
||||
--target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix
|
||||
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 \
|
||||
--target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-posix
|
||||
...
|
||||
$ make -j 8
|
||||
...
|
||||
|
@ -34,7 +34,7 @@ chain (See :ref:`rtems-tools-chain`):
|
||||
...
|
||||
$ cd rtems
|
||||
$ ../source-builder/sb-set-builder \
|
||||
--prefix=/usr/home/chris/development/rtems/4.12 4.12/rtems-sparc
|
||||
--prefix=/usr/home/chris/development/rtems/5 5/rtems-sparc
|
||||
...
|
||||
|
||||
Build the RTEMS Kernel (See :ref:`rtems-kernel`) by cloning the repository,
|
||||
@ -43,7 +43,7 @@ kernel:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ export PATH=$HOME/development/rtems/4.12/bin:$PATH
|
||||
$ export PATH=$HOME/development/rtems/5/bin:$PATH
|
||||
$ cd
|
||||
$ cd development/rtems
|
||||
$ mkdir kernel
|
||||
@ -57,8 +57,8 @@ kernel:
|
||||
$ cd ..
|
||||
$ mkdir erc32
|
||||
$ cd erc32
|
||||
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/4.12 \
|
||||
--target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix \
|
||||
$ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 \
|
||||
--target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-posix \
|
||||
--disable-networking
|
||||
...
|
||||
$ make -j 8
|
||||
|
@ -347,12 +347,12 @@ need to be regression tested:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ /opt/rtems/4.12/bin/rtems-bsp-builder --build-path=/build/rtems \
|
||||
--rtems-tools=/opt/work/rtems/4.12 \
|
||||
--rtems=/opt/work/chris/rtems/kernel/rtems.git \
|
||||
--profiles=tier-1 \
|
||||
$ /opt/rtems/5/bin/rtems-bsp-builder --build-path=/build/rtems \
|
||||
--rtems-tools=/opt/work/rtems/5 \
|
||||
--rtems=/opt/work/chris/rtems/kernel/rtems.git \
|
||||
--profiles=tier-1 \
|
||||
--jobs=5/10
|
||||
RTEMS Tools Project - RTEMS Kernel BSP Builder, 4.12 (61ddcfc8f057)
|
||||
RTEMS Tools Project - RTEMS Kernel BSP Builder, 5.not_released
|
||||
Profile(s): tier-1
|
||||
Cleaning: bsp-builds
|
||||
[ 1/655] arm/altcycv_devkit (debug) Start
|
||||
@ -396,14 +396,14 @@ To build a couple of BSPs you are interested in with tests:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ /opt/rtems/4.12/bin/rtems-bsp-builder --build-path=/build/rtems \
|
||||
--rtems-tools=/opt/work/rtems/4.12 \
|
||||
--rtems=/opt/work/chris/rtems/kernel/rtems.git \
|
||||
----log=lpc-log \
|
||||
$ /opt/rtems/5/bin/rtems-bsp-builder --build-path=/build/rtems \
|
||||
--rtems-tools=/opt/work/rtems/5 \
|
||||
--rtems=/opt/work/chris/rtems/kernel/rtems.git \
|
||||
----log=lpc-log \
|
||||
--bsp=arm/lpc2362,arm/lpc23xx_tli800 \
|
||||
--build=tests \
|
||||
--jobs=5/12
|
||||
RTEMS Tools Project - RTEMS Kernel BSP Builder, 4.12 (61ddcfc8f057 modified)
|
||||
RTEMS Tools Project - RTEMS Kernel BSP Builder, 5.not_released
|
||||
BSPS(s): arm/lpc2362, arm/lpc23xx_tli800
|
||||
Cleaning: bsp-builds
|
||||
[1/2] arm/lpc2362 (tests) Start
|
||||
@ -428,15 +428,15 @@ To build a couple of BSPs you are interested in with tests:
|
||||
Failures:
|
||||
1 tests arm/lpc2362 build:
|
||||
configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
|
||||
=arm-rtems4.12 --enable-rtemsbsp=lpc2362 --prefix=/opt/rtems/4.12\
|
||||
=arm-rtems5 --enable-rtemsbsp=lpc2362 --prefix=/opt/rtems/5\
|
||||
--enable-tests
|
||||
error: ld/collect2:0 error: math.exe section '.rodata' will not fit
|
||||
in region 'ROM_INT'; region 'ROM_INT' overflowed by 7284 bytes
|
||||
|
||||
2 tests arm/lpc23xx_tli800 build:
|
||||
configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
|
||||
=arm-rtems4.12 --enable-rtemsbsp=lpc23xx_tli800\
|
||||
--prefix=/opt/rtems/4.12 --enable-tests
|
||||
=arm-rtems5 --enable-rtemsbsp=lpc23xx_tli800\
|
||||
--prefix=/opt/rtems/5 --enable-tests
|
||||
error: ld/collect2:0 error: math.exe section '.text' will not fit in
|
||||
region 'ROM_INT'; region 'ROM_INT' overflowed by 13972 bytes
|
||||
|
||||
|
@ -95,60 +95,66 @@ Prints all reports for the ``hello.exe`` for the ``i386/pc686`` BSP:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ rtems-exeinfo -a i386-rtems4.12/c/pc686/testsuites/samples/hello/hello.exe
|
||||
RTEMS Executable Info 4.12.a72a462adc18
|
||||
rtems-exeinfo -a i386-rtems4.12/c/pc686/testsuites/samples/hello/hello.exe
|
||||
exe: i386-rtems4.12/c/pc686/testsuites/samples/hello/hello.exe
|
||||
Sections: 23
|
||||
-------------- address: 0x00000000 0x00000000 size: 0 align: 0 relocs: 0
|
||||
.bss WA------------ address: 0x0013f340 0x00144d9c size: 23132 align: 32 relocs: 0
|
||||
.comment ---MS--------- address: 0x00000000 0x0000008f size: 143 align: 1 relocs: 0
|
||||
.ctors WA------------ address: 0x0013cc9c 0x0013cca4 size: 8 align: 4 relocs: 0
|
||||
.data WA------------ address: 0x0013ccc0 0x0013f32c size: 9836 align: 32 relocs: 0
|
||||
.debug_abbrev -------------- address: 0x00000000 0x0003ef4c size: 257868 align: 1 relocs: 0
|
||||
.debug_aranges -------------- address: 0x00000000 0x00003da8 size: 15784 align: 8 relocs: 0
|
||||
.debug_info -------------- address: 0x00000000 0x0036dd9e size: 3595678 align: 1 relocs: 0
|
||||
.debug_line -------------- address: 0x00000000 0x00072dca size: 470474 align: 1 relocs: 0
|
||||
.debug_loc -------------- address: 0x00000000 0x0003fd2c size: 261420 align: 1 relocs: 0
|
||||
.debug_ranges -------------- address: 0x00000000 0x00009738 size: 38712 align: 1 relocs: 0
|
||||
.debug_str ---MS--------- address: 0x00000000 0x0001bf78 size: 114552 align: 1 relocs: 0
|
||||
.dtors WA------------ address: 0x0013cca4 0x0013ccac size: 8 align: 4 relocs: 0
|
||||
.eh_frame -A------------ address: 0x00134340 0x0013bc9c size: 31068 align: 4 relocs: 0
|
||||
.fini -AE----------- address: 0x0012d8a9 0x0012d8b1 size: 8 align: 1 relocs: 0
|
||||
.init -AE----------- address: 0x0012d89c 0x0012d8a9 size: 13 align: 1 relocs: 0
|
||||
.jcr WA------------ address: 0x0013ccac 0x0013ccb0 size: 4 align: 4 relocs: 0
|
||||
.rodata -A------------ address: 0x0012d8c0 0x0013433d size: 27261 align: 32 relocs: 0
|
||||
.rtemsroset WA------------ address: 0x0012d860 0x0012d89c size: 60 align: 4 relocs: 0
|
||||
.shstrtab -------------- address: 0x00000000 0x000000cb size: 203 align: 1 relocs: 0
|
||||
.strtab -------------- address: 0x00000000 0x0000772a size: 30506 align: 1 relocs: 0
|
||||
.symtab -------------- address: 0x00000000 0x00007120 size: 28960 align: 4 relocs: 0
|
||||
.text WAE----------- address: 0x00100000 0x0012d860 size: 186464 align: 16 relocs: 0
|
||||
$ rtems-exeinfo -a i386-rtems5/c/pc686/testsuites/samples/hello/hello.exe
|
||||
RTEMS Executable Info 5.6f5cfada964c
|
||||
rtems-exeinfo -a i386-rtems5/c/pc686/testsuites/samples/hello/hello.exe
|
||||
exe: i386-rtems5/c/pc686/testsuites/samples/hello/hello.exe
|
||||
Sections: 22
|
||||
-------------- addr: 0x00000000 0x00000000 size: 0 align: 0 relocs: 0
|
||||
.bss WA------------ addr: 0x00135760 0x0013b300 size: 23456 align: 32 relocs: 0
|
||||
.comment ---MS--------- addr: 0x00000000 0x00000083 size: 131 align: 1 relocs: 0
|
||||
.ctors WA------------ addr: 0x0013322c 0x00133234 size: 8 align: 4 relocs: 0
|
||||
.data WA------------ addr: 0x00133240 0x0013574c size: 9484 align: 32 relocs: 0
|
||||
.debug_abbrev -------------- addr: 0x00000000 0x0003c5ce size: 247246 align: 1 relocs: 0
|
||||
.debug_aranges -------------- addr: 0x00000000 0x00003a18 size: 14872 align: 8 relocs: 0
|
||||
.debug_info -------------- addr: 0x00000000 0x0032496d size: 3295597 align: 1 relocs: 0
|
||||
.debug_line -------------- addr: 0x00000000 0x0006606b size: 417899 align: 1 relocs: 0
|
||||
.debug_loc -------------- addr: 0x00000000 0x0003b704 size: 243460 align: 1 relocs: 0
|
||||
.debug_ranges -------------- addr: 0x00000000 0x00008128 size: 33064 align: 1 relocs: 0
|
||||
.debug_str ---MS--------- addr: 0x00000000 0x0001a9d7 size: 109015 align: 1 relocs: 0
|
||||
.dtors WA------------ addr: 0x00133234 0x0013323c size: 8 align: 4 relocs: 0
|
||||
.eh_frame -A------------ addr: 0x0012b884 0x0013222c size: 27048 align: 4 relocs: 0
|
||||
.fini -AE----------- addr: 0x00127fdd 0x00127fe5 size: 8 align: 1 relocs: 0
|
||||
.init -AE----------- addr: 0x00127fd0 0x00127fdd size: 13 align: 1 relocs: 0
|
||||
.rodata -A------------ addr: 0x00128000 0x0012b884 size: 14468 align: 32 relocs: 0
|
||||
.rtemsroset WA------------ addr: 0x00127f94 0x00127fd0 size: 60 align: 4 relocs: 0
|
||||
.shstrtab -------------- addr: 0x00000000 0x000000c6 size: 198 align: 1 relocs: 0
|
||||
.strtab -------------- addr: 0x00000000 0x000068ca size: 26826 align: 1 relocs: 0
|
||||
.symtab -------------- addr: 0x00000000 0x00006290 size: 25232 align: 4 relocs: 0
|
||||
.text WAE----------- addr: 0x00100000 0x00127f91 size: 163729 align: 16 relocs: 0
|
||||
|
||||
Init sections: 2
|
||||
Init sections: 3
|
||||
.ctors
|
||||
0xffffffff RamSize
|
||||
0x00000000 _TLS_Data_size
|
||||
0x00000000 REG_EFLAGS
|
||||
.init
|
||||
0xfd81ebe8 no symbol
|
||||
0xff86e8ff no symbol
|
||||
0x00c2ffff no symbol
|
||||
.rtemsroset
|
||||
0x00100280 bsp_work_area_initialize
|
||||
0x001003b0 bsp_start_default
|
||||
0x0011ace0 _User_extensions_Handler_initialization
|
||||
0x00113040 rtems_initialize_data_structures
|
||||
0x00112ec0 _RTEMS_tasks_Manager_initialization
|
||||
0x0011df30 _Message_queue_Manager_initialization
|
||||
0x0011cfa0 _Semaphore_Manager_initialization
|
||||
0x0011ce70 _POSIX_Keys_Manager_initialization
|
||||
0x00117360 _Thread_Create_idle
|
||||
0x0010c8d0 rtems_libio_init
|
||||
0x0010c7c0 rtems_filesystem_initialize
|
||||
0x00100390 bsp_predriver_hook
|
||||
0x001130f0 _IO_Initialize_all_drivers
|
||||
0x00112d90 _RTEMS_tasks_Initialize_user_tasks_body
|
||||
0x0010d520 rtems_libio_post_driver
|
||||
0x00100310 bsp_work_area_initialize
|
||||
0x00100440 bsp_start_default
|
||||
0x001160e0 _User_extensions_Handler_initialization
|
||||
0x0010fe60 rtems_initialize_data_structures
|
||||
0x0010fcf0 _RTEMS_tasks_Manager_initialization
|
||||
0x0010f310 _Semaphore_Manager_initialization
|
||||
0x0010ed90 _POSIX_Keys_Manager_initialization
|
||||
0x00113af0 _Thread_Create_idle
|
||||
0x0010c100 rtems_libio_init
|
||||
0x0010bec0 rtems_filesystem_initialize
|
||||
0x00100420 bsp_predriver_hook
|
||||
0x0010bfb0 _Console_simple_Initialize
|
||||
0x0010ff30 _IO_Initialize_all_drivers
|
||||
0x0010fc10 _RTEMS_tasks_Initialize_user_tasks_body
|
||||
0x0010ccb0 rtems_libio_post_driver
|
||||
|
||||
Fini sections: 1
|
||||
Fini sections: 2
|
||||
.dtors
|
||||
0xffffffff RamSize
|
||||
0x00000000 _TLS_Data_size
|
||||
0x00000000 REG_EFLAGS
|
||||
.fini
|
||||
0xfd815ee8 no symbol
|
||||
0x0000c2ff no symbol
|
||||
|
||||
The Init section ``.rtemsroset`` shows the initialisation call order for the
|
||||
``hello.exe`` sample application. The order is initialise the BSP work area,
|
||||
@ -163,41 +169,39 @@ Print the ``Init`` section data for the ``cdtest.exe`` for the ``i386/pc686`` BS
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ rtems-exeinfo -I i386-rtems4.12/c/pc686/testsuites/samples/cdtest/cdtest.exe
|
||||
RTEMS Executable Info 4.12.a72a462adc18
|
||||
rtems-exeinfo -I i386-rtems4.12/c/pc686/testsuites/samples/cdtest/cdtest.exe
|
||||
exe: i386-rtems4.12/c/pc686/testsuites/samples/cdtest/cdtest.exe
|
||||
Init sections: 2
|
||||
$ rtems-exeinfo -I i386-rtems5/c/pc686/testsuites/samples/cdtest/cdtest.exe
|
||||
RTEMS Executable Info 5.6f5cfada964c
|
||||
rtems-exeinfo -I i386-rtems5/c/pc686/testsuites/samples/cdtest/cdtest.exe
|
||||
exe: i386-rtems5/c/pc686/testsuites/samples/cdtest/cdtest.exe
|
||||
Init sections: 3
|
||||
.ctors
|
||||
0xffffffff RamSize
|
||||
0x00100e90 rtems_test_name
|
||||
0x001014b0 __gnu_cxx::__freeres()
|
||||
0x001017c0 __cxa_get_globals_fast
|
||||
0x001024e0 __cxxabiv1::__terminate(void (*)())
|
||||
0x001030a0 std::_V2::error_category::~error_category()
|
||||
0x0010cfa0 std::ctype_byname<char>::ctype_byname(std::string const&, unsigned long)
|
||||
0x0010d070 std::ctype_byname<wchar_t>::ctype_byname(std::string const&, unsigned long)
|
||||
0x0010d210 std::nothrow
|
||||
0x0010d230 std::ctype_byname<char>::ctype_byname(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)
|
||||
0x0010d2c0 std::ctype_byname<wchar_t>::ctype_byname(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)
|
||||
0x00000000 _TLS_Data_size
|
||||
0x00100ea0 _GLOBAL__sub_I_rtems_test_name
|
||||
0x001015d0 __gnu_cxx::__freeres()
|
||||
0x00101df0 __cxxabiv1::__terminate(void (*)())
|
||||
0x00102ac0 _GLOBAL__sub_I___cxa_get_globals_fast
|
||||
0x00103260 std::nothrow
|
||||
0x00000000 REG_EFLAGS
|
||||
.init
|
||||
0xfcb3dbe8 no symbol
|
||||
0xff86e8ff no symbol
|
||||
0x00c2ffff no symbol
|
||||
.rtemsroset
|
||||
0x00111210 bsp_work_area_initialize
|
||||
0x00111340 bsp_start_default
|
||||
0x0012c560 _User_extensions_Handler_initialization
|
||||
0x001244d0 rtems_initialize_data_structures
|
||||
0x00124350 _RTEMS_tasks_Manager_initialization
|
||||
0x0012f790 _Message_queue_Manager_initialization
|
||||
0x0012e7c0 _Semaphore_Manager_initialization
|
||||
0x0013ccc0 _POSIX_signals_Manager_Initialization
|
||||
0x0012e650 _POSIX_Keys_Manager_initialization
|
||||
0x00128be0 _Thread_Create_idle
|
||||
0x0011d9d0 rtems_libio_init
|
||||
0x0011d8c0 rtems_filesystem_initialize
|
||||
0x00111320 bsp_predriver_hook
|
||||
0x00124580 _IO_Initialize_all_drivers
|
||||
0x00124220 _RTEMS_tasks_Initialize_user_tasks_body
|
||||
0x0011e620 rtems_libio_post_driver
|
||||
0x001112c0 bsp_work_area_initialize
|
||||
0x001113f0 bsp_start_default
|
||||
0x001276c0 _User_extensions_Handler_initialization
|
||||
0x00121260 rtems_initialize_data_structures
|
||||
0x001210f0 _RTEMS_tasks_Manager_initialization
|
||||
0x00120710 _Semaphore_Manager_initialization
|
||||
0x0011ff70 _POSIX_Keys_Manager_initialization
|
||||
0x001250d0 _Thread_Create_idle
|
||||
0x0011d220 rtems_libio_init
|
||||
0x0011cfe0 rtems_filesystem_initialize
|
||||
0x001113d0 bsp_predriver_hook
|
||||
0x0011d0d0 _Console_simple_Initialize
|
||||
0x00121310 _IO_Initialize_all_drivers
|
||||
0x00121010 _RTEMS_tasks_Initialize_user_tasks_body
|
||||
0x0011ddd0 rtems_libio_post_driver
|
||||
|
||||
The C++ constructor section ``.ctors`` shows you the C++ static objects the
|
||||
RTEMS kernel will construct before calling ``main``.
|
||||
|
@ -115,8 +115,8 @@ Command
|
||||
|
||||
.. option:: -E, --exec-prefix
|
||||
|
||||
Specify the RTEMS tool prefix. For example for RTEMS 4.12 and the SPARC
|
||||
architecture the prefix is ``sparc-rtems4.12``.
|
||||
Specify the RTEMS tool prefix. For example for RTEMS 5 and the SPARC
|
||||
architecture the prefix is ``sparc-rtems5``.
|
||||
|
||||
.. option:: -c, --cflags
|
||||
|
||||
@ -136,7 +136,7 @@ program for the ``i386/pc686`` BSP:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ rtems-syms -o ms.o i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
$ rtems-syms -o ms.o i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
$ file ms.o
|
||||
ms.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
|
||||
|
||||
@ -144,10 +144,10 @@ Run the same command, this time create a map file:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ rtems-syms -o ms.o -m ms.map i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
$ rtems-syms -o ms.o -m ms.map i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
$ head -10 ms.map
|
||||
RTEMS Kernel Symbols Map
|
||||
kernel: i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
kernel: i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
|
||||
Globals:
|
||||
No. Index Scope Type SHNDX Address Size Name
|
||||
@ -162,12 +162,12 @@ command performs:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ rtems-syms -vvv -o ms.o i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
RTEMS Kernel Symbols 4.12.a72a462adc18
|
||||
kernel: i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
$ rtems-syms -vvv -o ms.o i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
RTEMS Kernel Symbols 5.a72a462adc18
|
||||
kernel: i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
|
||||
cache:load-sym: object files: 1
|
||||
cache:load-sym: symbols: 1043
|
||||
symbol C file: /tmp/rld--X7paaa.c
|
||||
symbol O file: ms.o
|
||||
execute: i386-rtems4.12-gcc -O2 -c -o ms.o /tmp/rld--X7paaa.c
|
||||
execute: i386-rtems5-gcc -O2 -c -o ms.o /tmp/rld--X7paaa.c
|
||||
execute: status: 0
|
||||
|
@ -76,7 +76,7 @@ configure after running ``bootstrap``.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ ../../rtems.git/configure --target=sparc-rtems4.12 \
|
||||
$ ../../rtems.git/configure --target=sparc-rtems5 \
|
||||
--enable-tests --enable-rtemsbsp=erc32
|
||||
$ make
|
||||
|
||||
@ -92,7 +92,7 @@ run command:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ sparc-rtems4.12-run sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe
|
||||
$ sparc-rtems5-run sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe
|
||||
|
||||
*** BEGIN OF TEST HELLO WORLD ***
|
||||
Hello World
|
||||
@ -104,14 +104,14 @@ Running the example using GDB:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ sparc-rtems4.12-gdb sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe
|
||||
$ sparc-rtems5-gdb sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe
|
||||
GNU gdb (GDB) 7.12
|
||||
Copyright (C) 2016 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
|
||||
and "show warranty" for details.
|
||||
This GDB was configured as "--host=x86_64-linux-gnu --target=sparc-rtems4.12".
|
||||
This GDB was configured as "--host=x86_64-linux-gnu --target=sparc-rtems5".
|
||||
Type "show configuration" for configuration details.
|
||||
For bug reporting instructions, please see:
|
||||
<http://www.gnu.org/software/gdb/bugs/>.
|
||||
@ -120,12 +120,12 @@ Running the example using GDB:
|
||||
For help, type "help".
|
||||
Type "apropos word" to search for commands related to "word"...
|
||||
Reading symbols from
|
||||
sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe...done.
|
||||
sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe...done.
|
||||
(gdb) target sim
|
||||
Connected to the simulator.
|
||||
(gdb) load
|
||||
(gdb) r
|
||||
Starting program: sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe
|
||||
Starting program: sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe
|
||||
|
||||
|
||||
*** BEGIN OF TEST HELLO WORLD ***
|
||||
@ -158,9 +158,9 @@ BSP build tree:
|
||||
$ ~/development/rtems/test/rtems-tools.git/tester/rtems-test \
|
||||
--log=log_erc32_run \
|
||||
--rtems-bsp=erc32-run \
|
||||
--rtems-tools=$HOME/development/rtems/4.12 \
|
||||
sparc-rtems4.12/c/erc32/testsuites/samples
|
||||
RTEMS Testing - Tester, 4.12.not_released
|
||||
--rtems-tools=$HOME/development/rtems/5 \
|
||||
sparc-rtems5/c/erc32/testsuites/samples
|
||||
RTEMS Testing - Tester, 5.not_released
|
||||
[ 1/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 | sparc/erc32: base_sp.exe
|
||||
[ 2/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 | sparc/erc32: capture.exe
|
||||
[ 3/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 | sparc/erc32: cdtest.exe
|
||||
@ -206,8 +206,8 @@ BSP build tree:
|
||||
* The output shows the average time per test and the total time taken to run
|
||||
all the tests.
|
||||
* If the path to the testsuites was put to
|
||||
``sparc-rtems4.12/c/erc32/testsuites`` instead of
|
||||
``sparc-rtems4.12/c/erc32/testsuites/samples`` then all the executables
|
||||
``sparc-rtems5/c/erc32/testsuites`` instead of
|
||||
``sparc-rtems5/c/erc32/testsuites/samples`` then all the executables
|
||||
would have been tested and not just those in samples.
|
||||
|
||||
This BSP requires the ``--rtems-tools`` option because the SPARC GDB is the
|
||||
|
Loading…
x
Reference in New Issue
Block a user