Changeset 60a6d6e in rtems-docs


Ignore:
Timestamp:
Nov 9, 2017, 9:22:24 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
42d50d7
Parents:
120c8a0
git-author:
Sebastian Huber <sebastian.huber@…> (11/09/17 09:22:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/09/17 09:24:09)
Message:

Change RTEMS version to 5

Update #3220.

Files:
16 edited

Legend:

Unmodified
Added
Removed
  • c-user/configuring_a_system.rst

    r120c8a0 r60a6d6e  
    16641664NOTE:
    16651665   The size of the thread control block is increased by the maximum thread name
    1666    size.  This configuration option is available since RTEMS 4.12.
     1666   size.  This configuration option is available since RTEMS 5.1.
    16671667
    16681668.. COMMENT: === CONFIGURE_MINIMUM_TASK_STACK_SIZE ===
     
    49304930.. index:: CONFIGURE_BDBUF_BUFFER_COUNT
    49314931
    4932 This configuration option was introduced in RTEMS 4.7 and is obsolete since
    4933 RTEMS 4.10.
     4932This configuration option was introduced in RTEMS 4.7.0 and is obsolete since
     4933RTEMS 4.10.0.
    49344934
    49354935CONFIGURE_BDBUF_BUFFER_SIZE
     
    49374937.. index:: CONFIGURE_BDBUF_BUFFER_SIZE
    49384938
    4939 This configuration option was introduced in RTEMS 4.7 and is obsolete since
    4940 RTEMS 4.10.
     4939This configuration option was introduced in RTEMS 4.7.0 and is obsolete since
     4940RTEMS 4.10.0.
    49414941
    49424942CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
     
    49444944.. index:: CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS
    49454945
    4946 This configuration option was introduced in RTEMS 4.9 and is obsolete since
    4947 RTEMS 4.12.
     4946This configuration option was introduced in RTEMS 4.9.0 and is obsolete since
     4947RTEMS 5.1.
    49484948
    49494949CONFIGURE_HAS_OWN_BDBUF_TABLE
     
    49514951.. index:: CONFIGURE_HAS_OWN_BDBUF_TABLE
    49524952
    4953 This configuration option was introduced in RTEMS 4.7 and is obsolete since
    4954 RTEMS 4.10.
     4953This configuration option was introduced in RTEMS 4.7.0 and is obsolete since
     4954RTEMS 4.10.0.
    49554955
    49564956CONFIGURE_MAXIMUM_POSIX_BARRIERS
     
    49584958.. index:: CONFIGURE_MAXIMUM_POSIX_BARRIERS
    49594959
    4960 This configuration option is obsolete since RTEMS 4.12.
     4960This configuration option is obsolete since RTEMS 5.1.
    49614961
    49624962CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
     
    49644964.. index:: CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
    49654965
    4966 This configuration option is obsolete since RTEMS 4.12.
     4966This configuration option is obsolete since RTEMS 5.1.
    49674967
    49684968CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS
     
    49704970.. index:: CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS
    49714971
    4972 This configuration option was introduced in RTEMS 4.10 and is obsolete since
    4973 RTEMS 4.12.
     4972This configuration option was introduced in RTEMS 4.10.0 and is obsolete since
     4973RTEMS 5.1.
    49744974
    49754975CONFIGURE_MAXIMUM_POSIX_MUTEXES
     
    49774977.. index:: CONFIGURE_MAXIMUM_POSIX_MUTEXES
    49784978
    4979 This configuration option is obsolete since RTEMS 4.12.
     4979This configuration option is obsolete since RTEMS 5.1.
    49804980
    49814981CONFIGURE_MAXIMUM_POSIX_RWLOCKS
     
    49834983.. index:: CONFIGURE_MAXIMUM_POSIX_RWLOCKS
    49844984
    4985 This configuration option is obsolete since RTEMS 4.12.
     4985This configuration option is obsolete since RTEMS 5.1.
    49864986
    49874987CONFIGURE_MAXIMUM_POSIX_SPINLOCKS
     
    49894989.. index:: CONFIGURE_MAXIMUM_POSIX_SPINLOCKS
    49904990
    4991 This configuration option is obsolete since RTEMS 4.12.
     4991This configuration option is obsolete since RTEMS 5.1.
    49924992
    49934993CONFIGURE_SMP_APPLICATION
     
    49954995.. index:: CONFIGURE_SMP_APPLICATION
    49964996
    4997 This configuration option was introduced in RTEMS 4.11 and is obsolete since
    4998 RTEMS 4.12.
     4997This configuration option was introduced in RTEMS 4.11.0 and is obsolete since
     4998RTEMS 5.1.
    49994999
    50005000CONFIGURE_SMP_MAXIMUM_PROCESSORS
     
    50025002.. index:: CONFIGURE_SMP_MAXIMUM_PROCESSORS
    50035003
    5004 This configuration option was introduced in RTEMS 4.11 and is obsolete since
    5005 RTEMS 4.12.  See also :ref:`CONFIGURE_MAXIMUM_PROCESSORS`.
     5004This configuration option was introduced in RTEMS 4.11.0 and is obsolete since
     5005RTEMS 5.1.  See also :ref:`CONFIGURE_MAXIMUM_PROCESSORS`.
  • c-user/key_concepts.rst

    r120c8a0 r60a6d6e  
    259259inversion.
    260260
    261 Since RTEMS 4.12, priority updates due to the locking protocols take place
     261Since RTEMS 5.1, priority updates due to the locking protocols take place
    262262immediately and are propagated recursively.  The mutex owner and wait for mutex
    263263relationships define a directed acyclic graph (DAG).  The run-time of the mutex
     
    315315The priority of the mutex owner is raised to the highest priority of all
    316316threads that currently wait for ownership of this mutex :cite:`Sha:1990:PI`.
    317 Since RTEMS 4.12, priority updates due to the priority inheritance protocol
     317Since RTEMS 5.1, priority updates due to the priority inheritance protocol
    318318take place immediately and are propagated recursively.
    319319
     
    335335perform a busy wait.  The MrsP uses temporary thread migrations to foreign
    336336scheduler instances in case of a preemption of the mutex owner.  This locking
    337 protocol is available since RTEMS 4.11. It was re-implemented in RTEMS 4.12 to
     337protocol is available since RTEMS 4.11. It was re-implemented in RTEMS 5.1 to
    338338overcome some shortcomings of the original implementation
    339339:cite:`Catellani:2015:MrsP`.
     
    354354need internal locking.  The complex part of the implementation is contained in
    355355the thread queues and shared with the MrsP support.  This locking protocol is
    356 available since RTEMS 4.12.
     356available since RTEMS 5.1.
    357357
    358358Thread Queues
     
    407407memory demands.  In addition the objects only contain a pointer to the queue
    408408structure.  This helps to hide implementation details.  Inter-cluster priority
    409 queues are available since RTEMS 4.12.
     409queues are available since RTEMS 5.1.
    410410
    411411A doubly-linked list (chain) is used to implement the FIFO queues yielding a
     
    481481  e.g.  rate-monotonic or EDF.
    482482
    483 In RTEMS versions prior to 4.12 the timer and timeout support was implemented
     483In RTEMS versions prior to 5.1 the timer and timeout support was implemented
    484484by means of delta chains.  This implementation was unfit for SMP systems due to
    485 several reasons.  The new implementation present since RTEMS 4.12 uses a
     485several reasons.  The new implementation present since RTEMS 5.1 uses a
    486486red-black tree with the expiration time as the key.  This leads to
    487487:math:`O(log(n))` worst-case insert and removal operations for :math:`n` active
  • c-user/symmetric_multiprocessing_services.rst

    r120c8a0 r60a6d6e  
    1212============
    1313
    14 The Symmetric Multiprocessing (SMP) support of the RTEMS 4.12 is available on
     14The Symmetric Multiprocessing (SMP) support of the RTEMS is available on
    1515
    1616- ARMv7-A,
     
    325325Alternatives to task variables are POSIX keys and :ref:`TLS <TLS>`.  All use
    326326cases of task variables in the RTEMS code base were replaced with alternatives.
    327 The task variable API has been removed in RTEMS 4.12.
     327The task variable API has been removed in RTEMS 5.1.
    328328
    329329Highest Priority Thread Never Walks Alone
  • c-user/task_manager.rst

    r120c8a0 r60a6d6e  
    555555
    556556Task notepads and the associated directives :ref:`rtems_task_get_note` and
    557 :ref:`rtems_task_set_note` were removed in RTEMS 4.12. These were never
     557:ref:`rtems_task_set_note` were removed in RTEMS 5.1. These were never
    558558thread-safe to access and subject to conflicting use of the notepad index by
    559559libraries which were designed independently.
     
    574574Task notepads and the associated directives :ref:`rtems_task_variable_add`,
    575575:ref:`rtems_task_variable_get` and :ref:`rtems_task_variable_delete` were
    576 removed in RTEMS 4.12.  Task variables must be replaced by POSIX Keys or
     576removed in RTEMS 5.1.  Task variables must be replaced by POSIX Keys or
    577577thread-local storage (TLS).  POSIX Keys are available in all configurations and
    578578support value destructors.  For the TLS support consult the :title:`RTEMS CPU
     
    16981698.. warning::
    16991699
    1700     This directive was removed in RTEMS 4.12.
     1700    This directive was removed in RTEMS 5.1.
    17011701
    17021702CALLING SEQUENCE:
     
    17511751.. warning::
    17521752
    1753     This directive was removed in RTEMS 4.12.
     1753    This directive was removed in RTEMS 5.1.
    17541754
    17551755CALLING SEQUENCE:
     
    18051805.. warning::
    18061806
    1807     This directive was removed in RTEMS 4.12.
     1807    This directive was removed in RTEMS 5.1.
    18081808
    18091809CALLING SEQUENCE:
     
    18671867.. warning::
    18681868
    1869     This directive was removed in RTEMS 4.12.
     1869    This directive was removed in RTEMS 5.1.
    18701870
    18711871CALLING SEQUENCE:
     
    19251925.. warning::
    19261926
    1927     This directive was removed in RTEMS 4.12.
     1927    This directive was removed in RTEMS 5.1.
    19281928
    19291929CALLING SEQUENCE:
  • eclipse/rtems.rst

    r120c8a0 r60a6d6e  
    3636.. code-block:: shell
    3737
    38   $ export PATH=/opt/rtems/4.12/bin:$PATH
     38  $ export PATH=/opt/rtems/5/bin:$PATH
    3939
    4040Now run the `bootstrap` command:
     
    134134   The RTEMS Kernel source code.
    135135
    136 :file:`/opt/work/chris/rtems/kernel/4.12`
     136:file:`/opt/work/chris/rtems/kernel/5`
    137137   The RTEMS Kernel prefix.
    138138
     
    198198
    199199Click on the **Autotools** item then **Configure Settings** and **Platform
    200 specifiers** and set the **Target platform** field with ``i386-rtems4.12``:
     200specifiers** and set the **Target platform** field with ``i386-rtems5``:
    201201
    202202.. figure:: ../images/eclipse/eclipse-rtems-git-prop-at-target.png
     
    207207Select **Platform directories** and enter the **Arch-independent install
    208208directory (--prefix)** to the RTEMS Kernel prefix of
    209 :file:`/opt/work/chris/rtems/kernel/4.12`:
     209:file:`/opt/work/chris/rtems/kernel/5`:
    210210
    211211.. figure:: ../images/eclipse/eclipse-rtems-git-prop-at-prefix.png
     
    247247
    248248Enter the path to the tools, in our case it is
    249 :file:`/opt/work/rtems/4.12/bin`, then press **Variables** :
     249:file:`/opt/work/rtems/5/bin`, then press **Variables** :
    250250
    251251.. figure:: ../images/eclipse/eclipse-rtems-git-prop-cdt-env-var.png
  • posix-compliance/probe_rtems

    r120c8a0 r60a6d6e  
    44cpu=arm
    55bsp=xilinx_zynq_a9_qemu
    6 bsp_path=/home/joel/rtems-work/tools/4.12/bsps/arm-rtems4.12
     6bsp_path=/home/joel/rtems-work/tools/5/bsps/arm-rtems5
    77bsp_flags="-march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9"
    88
     
    3636
    3737  gen_prober ${method} >tmp_probe.c
    38   ${cpu}-rtems4.12-gcc \
     38  ${cpu}-rtems5-gcc \
    3939    -B${bsp_path}/${bsp}/lib/ -specs bsp_specs -qrtems \
    4040    ${bsp_flags} \
  • user/installation/developer.rst

    r120c8a0 r60a6d6e  
    1313
    1414RTEMS provides open access to it's development processes. We call this the
    15 developer set up.  The project encouages all users to inspect, review, comment
     15developer set up.  The project encourages all users to inspect, review, comment
    1616and contribute to the code base. The processes described here are the same
    1717processes the core development team use when developing and maintaining RTEMS.
     
    3737best to have a `prefix` for each different version of RTEMS you are using. If
    3838you are using RTEMS 4.11 in production it is not a good idea to install a
    39 development version of 4.12 over the top. A separate `prefix` for each version
     39development version of 5 over the top. A separate `prefix` for each version
    4040avoids this.
    4141
     
    8686  $ cd rsb
    8787  $ ./source-builder/sb-check
    88   RTEMS Source Builder - Check, 4.12 (e645642255cc)
     88  RTEMS Source Builder - Check, 5 (089327b5dcf9)
    8989  Environment is ok
    9090
    91 Build a tool chain for the SPARC architecure. We are using the SPARC
     91Build a tool chain for the SPARC architecture. We are using the SPARC
    9292architecture because GDB has a good simulator that lets us run and test the
    9393samples RTEMS builds by default. The current development version
    94 is `4.12` and is on master:
     94is `5` and is on master:
    9595
    9696.. code-block:: shell
    9797
    9898  $ cd rtems
    99   $ ../source-builder/sb-set-builder \
    100       --prefix=/usr/home/chris/development/rtems/4.12 4.12/rtems-sparc
    101   RTEMS Source Builder - Set Builder, 4.12 (e645642255cc)
    102   Build Set: 4.12/rtems-sparc
    103   Build Set: 4.12/rtems-autotools.bset
    104   Build Set: 4.12/rtems-autotools-internal.bset
     99  $ ../source-builder/sb-set-builder --prefix=/usr/home/chris/development/rtems/5 5/rtems-sparc
     100  RTEMS Source Builder - Set Builder, 5 (089327b5dcf9)
     101  Build Set: 5/rtems-sparc
     102  Build Set: 5/rtems-autotools.bset
     103  Build Set: 5/rtems-autotools-internal.bset
    105104  config: tools/rtems-autoconf-2.69-1.cfg
    106105  package: autoconf-2.69-x86_64-linux-gnu-1
     
    114113  downloading: sources/automake-1.12.6.tar.gz - 2.0MB of 2.0MB (100%)
    115114  Creating source directory: patches
    116   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
     115  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
    117116  downloading: patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff - 408.0 bytes of 408.0 bytes (100%)
    118117  building: automake-1.12.6-x86_64-linux-gnu-1
    119118  cleaning: autoconf-2.69-x86_64-linux-gnu-1
    120119  cleaning: automake-1.12.6-x86_64-linux-gnu-1
    121   Build Set: Time 0:00:17.465024
    122   Build Set: 4.12/rtems-autotools-base.bset
     120  Build Set: Time 0:00:12.713221
     121  Build Set: 5/rtems-autotools-base.bset
    123122  config: tools/rtems-autoconf-2.69-1.cfg
    124123  package: autoconf-2.69-x86_64-linux-gnu-1
     
    131130  reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
    132131  reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
    133   installing: autoconf-2.69-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
    134   installing: automake-1.12.6-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
     132  installing: autoconf-2.69-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
     133  installing: automake-1.12.6-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
    135134  cleaning: autoconf-2.69-x86_64-linux-gnu-1
    136135  cleaning: automake-1.12.6-x86_64-linux-gnu-1
    137   Build Set: Time 0:00:05.358624
    138   Build Set: Time 0:00:22.824422
     136  Build Set: Time 0:00:09.105363
     137  Build Set: Time 0:00:21.822083
    139138  config: devel/expat-2.1.0-1.cfg
    140139  package: expat-2.1.0-x86_64-linux-gnu-1
    141140  download: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
    142     redirect: http://internode.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
     141   redirect: https://vorboss.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
    143142  downloading: sources/expat-2.1.0.tar.gz - 549.4kB of 549.4kB (100%)
    144143  building: expat-2.1.0-x86_64-linux-gnu-1
    145144  reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
    146145  reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
    147   config: tools/rtems-binutils-2.26-1.cfg
    148   package: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
    149   download: ftp://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2 -> sources/binutils-2.26.tar.bz2
    150   downloading: sources/binutils-2.26.tar.bz2 - 24.4MB of 24.4MB (100%)
    151   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
    152   downloading: patches/binutils-2.26-rtems-aarch64-x86_64.patch - 3.2kB of 3.2kB (100%)
    153   building: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
    154   reporting: tools/rtems-binutils-2.26-1.cfg -> sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1.txt
    155   reporting: tools/rtems-binutils-2.26-1.cfg -> sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1.xml
    156   config: tools/rtems-gcc-6-20160228-newlib-2.3.0.20160226-1.cfg
    157   package: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1
    158   download: ftp://gcc.gnu.org/pub/gcc/snapshots/6-20160228/gcc-6-20160228.tar.bz2 -> sources/gcc-6-20160228.tar.bz2
    159   downloading: sources/gcc-6-20160228.tar.bz2 - 90.8MB of 90.8MB (100%)
    160   download: ftp://sourceware.org/pub/newlib/newlib-2.3.0.20160226.tar.gz -> sources/newlib-2.3.0.20160226.tar.gz
    161   downloading: sources/newlib-2.3.0.20160226.tar.gz - 16.9MB of 16.9MB (100%)
    162   download: http://www.mpfr.org/mpfr-2.4.2/mpfr-2.4.2.tar.bz2 ->
    163   sources/mpfr-2.4.2.tar.bz2
    164   downloading: sources/mpfr-2.4.2.tar.bz2 - 1.0MB of 1.0MB (100%)
    165   download: http://www.multiprecision.org/mpc/download/mpc-0.8.1.tar.gz -> sources/mpc-0.8.1.tar.gz
    166   downloading: sources/mpc-0.8.1.tar.gz - 532.2kB of 532.2kB (100%)
    167   download: ftp://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.bz2 -> sources/gmp-4.3.2.tar.bz2
    168   downloading: sources/gmp-4.3.2.tar.bz2 - 1.8MB of 1.8MB (100%)
    169   building: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1
    170   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
    171   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
    172   config: tools/rtems-gdb-7.9-1.cfg
    173   package: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
    174   download: http://ftp.gnu.org/gnu/gdb/gdb-7.9.tar.xz -> sources/gdb-7.9.tar.xz
    175   downloading: sources/gdb-7.9.tar.xz - 17.0MB of 17.0MB (100%)
    176   download: https://git.rtems.org/rtems-tools/plain/tools/4.12/gdb/gdb-sim-arange-inline.diff -> patches/gdb-sim-arange-inline.diff
    177   downloading: patches/gdb-sim-arange-inline.diff - 761.0 bytes of 761.0 bytes (100%)
    178   download: https://git.rtems.org/rtems-tools/plain/tools/4.12/gdb/gdb-sim-cgen-inline.diff -> patches/gdb-sim-cgen-inline.diff
    179   downloading: patches/gdb-sim-cgen-inline.diff - 706.0 bytes of 706.0 bytes (100%)
    180   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
    181   downloading: patches/gdb-7.9-aarch64-x86_64.patch - 1.7kB of 1.7kB (100%)
    182   building: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
    183   reporting: tools/rtems-gdb-7.9-1.cfg -> sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1.txt
    184   reporting: tools/rtems-gdb-7.9-1.cfg -> sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1.xml
    185   config: tools/rtems-tools-4.12-1.cfg
     146  config: tools/rtems-binutils-2.29-1.cfg
     147  package: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1
     148  download: ftp://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.bz2 -> sources/binutils-2.29.tar.bz2
     149  downloading: sources/binutils-2.29.tar.bz2 - 27.7MB of 27.7MB (100%)
     150  download: https://devel.rtems.org/raw-attachment/ticket/3091/0001-Fix-Binutils-2.29-PR21884.patch -> patches/0001-Fix-Binutils-2.29-PR21884.patch
     151  downloading: patches/0001-Fix-Binutils-2.29-PR21884.patch - 8.8kB of 8.8kB (100%)
     152  building: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1
     153  reporting: tools/rtems-binutils-2.29-1.cfg -> sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1.txt
     154  reporting: tools/rtems-binutils-2.29-1.cfg -> sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1.xml
     155  config: tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg
     156  package: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1
     157  download: https://ftp.gnu.org/gnu/gcc/gcc-7.2.0/gcc-7.2.0.tar.xz -> sources/gcc-7.2.0.tar.xz
     158  downloading: sources/gcc-7.2.0.tar.xz - 59.4MB of 59.4MB (100%)
     159  download: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0 -> patches/gcc-62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0.patch
     160  downloading: patches/gcc-62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0.patch - 1.8kB
     161  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
     162  downloading: patches/gcc-593631849bb5e0df5cc4ff42c1a1cc34b7eec2f8.patch - 806.0 bytes
     163  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
     164  downloading: patches/gcc-7ea9ebdb77b6a9b7060ad2362318e0e12b9058ae.patch - 3.2kB
     165  download: ftp://sourceware.org/pub/newlib/newlib-2.5.0.20170922.tar.gz -> sources/newlib-2.5.0.20170922.tar.gz
     166  downloading: sources/newlib-2.5.0.20170922.tar.gz - 17.3MB of 17.3MB (100%)
     167  download: https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch -> patches/0001-RTEMS-Self-contained-POSIX-objects.patch
     168  downloading: patches/0001-RTEMS-Self-contained-POSIX-objects.patch - 5.7kB of 5.7kB (100%)
     169  download: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a -> patches/newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch
     170  downloading: patches/newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch - 986.0 bytes
     171  download: https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c -> patches/newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch
     172  downloading: patches/newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch - 3.4kB
     173  download: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2 -> sources/mpfr-3.1.4.tar.bz2
     174  downloading: sources/mpfr-3.1.4.tar.bz2 - 1.2MB of 1.2MB (100%)
     175  download: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz -> sources/mpc-1.0.3.tar.gz
     176  downloading: sources/mpc-1.0.3.tar.gz - 654.2kB of 654.2kB (100%)
     177  download: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2 -> sources/gmp-6.1.0.tar.bz2
     178  downloading: sources/gmp-6.1.0.tar.bz2 - 2.3MB of 2.3MB (100%)
     179  building: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1
     180  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
     181  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
     182  config: tools/rtems-gdb-8.0.1-1.cfg
     183  package: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
     184  download: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz -> sources/gdb-8.0.1.tar.xz
     185  downloading: sources/gdb-8.0.1.tar.xz - 18.7MB of 18.7MB (100%)
     186  download: https://gaisler.org/gdb/gdb-8.0.1-sis-leon2-leon3.diff -> patches/gdb-8.0.1-sis-leon2-leon3.diff
     187  downloading: patches/gdb-8.0.1-sis-leon2-leon3.diff - 224.5kB of 224.5kB (100%)
     188  building: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
     189  reporting: tools/rtems-gdb-8.0.1-1.cfg -> sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.txt
     190  reporting: tools/rtems-gdb-8.0.1-1.cfg -> sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.xml
     191  config: tools/rtems-tools-5-1.cfg
    186192  package: rtems-tools-HEAD-1
    187193  Creating source directory: sources/git
     
    192198  git: pull: git://git.rtems.org/rtems-tools.git
    193199  building: rtems-tools-HEAD-1
    194   reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.txt
    195   reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.xml
    196   installing: expat-2.1.0-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
    197   installing: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
    198   installing: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
    199   installing: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/4.12
    200   installing: rtems-tools-HEAD-1 -> /usr/home/chris/development/rtems/4.12
     200  reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-HEAD-1.txt
     201  reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-HEAD-1.xml
     202  config: tools/rtems-kernel-5.cfg
     203  package: sparc-rtems5-kernel-5-1
     204  building: sparc-rtems5-kernel-5-1
     205  reporting: tools/rtems-kernel-5.cfg -> sparc-rtems5-kernel-5-1.txt
     206  reporting: tools/rtems-kernel-5.cfg -> sparc-rtems5-kernel-5-1.xml
     207  installing: expat-2.1.0-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
     208  installing: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
     209  installing: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
     210  installing: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1 -> /usr/home/chris/development/rtems/5
     211  installing: rtems-tools-HEAD-1 -> /usr/home/chris/development/rtems/5
     212  installing: sparc-rtems5-kernel-5-1 -> /usr/home/chris/development/rtems/5
    201213  cleaning: expat-2.1.0-x86_64-linux-gnu-1
    202   cleaning: sparc-rtems4.12-binutils-2.26-x86_64-linux-gnu-1
    203   cleaning: sparc-rtems4.12-gcc-6-20160228-newlib-2.3.0.20160226-x86_64-linux-gnu-1
    204   cleaning: sparc-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
     214  cleaning: sparc-rtems5-binutils-2.29-x86_64-linux-gnu-1
     215  cleaning: sparc-rtems5-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-linux-gnu-1
     216  cleaning: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
    205217  cleaning: rtems-tools-HEAD-1
    206   Build Set: Time 0:31:09.754219
    207 
     218  cleaning: sparc-rtems5-kernel-5-1
     219  Build Set: Time 0:39:33.988995
    208220.. _windows-tool-chain:
    209221
  • user/installation/kernel.rst

    r120c8a0 r60a6d6e  
    4848.. code-block:: shell
    4949
    50   $ export PATH=$HOME/development/rtems/4.12/bin:$PATH
     50  $ export PATH=$HOME/development/rtems/5/bin:$PATH
    5151
    5252.. _bootstrapping:
     
    112112  Generating ./c/src/wrapup/preinstall.am
    113113  Generating ./c/src/ada/preinstall.am
    114   RTEMS Source Builder - RTEMS Bootstrap, 4.12 (e645642255cc modified)
     114  RTEMS Source Builder - RTEMS Bootstrap, 5 (089327b5dcf9)
    115115    1/139: autoreconf: configure.ac
    116116    2/139: autoreconf: cpukit/configure.ac
     
    161161.. code-block:: shell
    162162
    163   $ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/4.12 \
    164                      --target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix \
     163  $ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 \
     164                     --target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-posix \
    165165                     --disable-networking
    166166  checking for gmake... no
     
    169169  checking build system type... x86_64-pc-linux-gnu
    170170  checking host system type... x86_64-pc-linux-gnu
    171   checking target system type... sparc-unknown-rtems4.12
     171  checking target system type... sparc-unknown-rtems5
    172172  checking for a BSD-compatible install... /usr/bin/install -c
    173173  checking whether build environment is sane... yes
     
    179179  checking that generated files are newer than configure... done
    180180   ......
    181   checking target system type... sparc-unknown-rtems4.12
     181  checking target system type... sparc-unknown-rtems5
    182182  checking rtems target cpu... sparc
    183183  checking for a BSD-compatible install... /usr/bin/install -c
    184184  checking whether build environment is sane... yes
    185   checking for sparc-rtems4.12-strip... sparc-rtems4.12-strip
     185  checking for sparc-rtems5-strip... sparc-rtems5-strip
    186186  checking for a thread-safe mkdir -p... /bin/mkdir -p
    187187  checking for gawk... no
     
    251251  make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/testsuites/tools'
    252252  make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/testsuites/tools'
    253   Making all in sparc-rtems4.12/c
    254   make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
     253  Making all in sparc-rtems5/c
     254  make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
    255255  Making all in .
    256   make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
     256  make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
    257257  Configuring RTEMS_BSP=erc32
    258258  checking for gmake... no
    259259  checking for make... make
    260260  checking build system type... x86_64-pc-linux-gnu
    261   checking host system type... sparc-unknown-rtems4.12
     261  checking host system type... sparc-unknown-rtems5
    262262   ......
    263   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
    264   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
     263  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
     264  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
    265265  mv -f .deps/empty.Tpo .deps/empty.Po
    266266  mv -f .deps/init.Tpo .deps/init.Po
    267   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
    268   sparc-rtems4.12-nm -g -n nsecs.exe > nsecs.num
    269   sparc-rtems4.12-size nsecs.exe
     267  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
     268  sparc-rtems5-nm -g -n nsecs.exe > nsecs.num
     269  sparc-rtems5-size nsecs.exe
    270270     text    data     bss     dec     hex filename
    271271   121392    1888    6624  129904   1fb70 nsecs.exe
    272272  cp nsecs.exe nsecs.ralf
    273   make[6]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites/samples/nsecs'
    274   make[5]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites/samples'
    275   make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites/samples'
    276   make[4]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites'
     273  make[6]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites/samples/nsecs'
     274  make[5]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites/samples'
     275  make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites/samples'
     276  make[4]: Entering directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites'
    277277  make[4]: Nothing to be done for 'all-am'.
    278   make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites'
    279   make[3]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32/testsuites'
    280   make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/ c/erc32'
    281   make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
     278  make[4]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites'
     279  make[3]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32/testsuites'
     280  make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/ c/erc32'
     281  make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
    282282  make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32'
    283283  make[1]: Nothing to be done for 'all-am'.
     
    303303  make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32/tools/build'
    304304  make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32/tools/build'
    305   /bin/mkdir -p '/home/chris/development/rtems/4.12/bin'
    306   /usr/bin/install -c cklength eolstrip packhex unhex rtems-bin2c '/home/chris/development/rtems/4.12/bin'
    307   /bin/mkdir -p '/home/chris/development/rtems/4.12/bin'
    308   /usr/bin/install -c install-if-change '/home/chris/development/rtems/4.12/bin'
     305  /bin/mkdir -p '/home/chris/development/rtems/5/bin'
     306  /usr/bin/install -c cklength eolstrip packhex unhex rtems-bin2c '/home/chris/development/rtems/5/bin'
     307  /bin/mkdir -p '/home/chris/development/rtems/5/bin'
     308  /usr/bin/install -c install-if-change '/home/chris/development/rtems/5/bin'
    309309  make[2]: Nothing to be done for 'install-data-am'.
    310310  make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32/tools/build'
     
    327327  make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/tools/cpu
    328328   ......
    329   make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems4.12/c'
     329  make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32/sparc-rtems5/c'
    330330  make[1]: Entering directory '/home/chris/development/rtems/kernel/erc32'
    331331  make[2]: Entering directory '/home/chris/development/rtems/kernel/erc32'
    332332  make[2]: Nothing to be done for 'install-exec-am'.
    333   /bin/mkdir -p '/home/chris/development/rtems/4.12/make'
    334   /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'
    335   /bin/mkdir -p '/home/chris/development/rtems/4.12/share/rtems4.12/make/Templates'
    336   /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'
    337   /bin/mkdir -p '/home/chris/development/rtems/4.12/make/custom'
    338   /usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/custom/default.cfg '/home/chris/development/rtems/4.12/make/custom'
     333  /bin/mkdir -p '/home/chris/development/rtems/5/make'
     334  /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'
     335  /bin/mkdir -p '/home/chris/development/rtems/5/share/rtems5/make/Templates'
     336  /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'
     337  /bin/mkdir -p '/home/chris/development/rtems/5/make/custom'
     338  /usr/bin/install -c -m 644 /home/chris/development/rtems/kernel/rtems/make/custom/default.cfg '/home/chris/development/rtems/5/make/custom'
    339339  make[2]: Leaving directory '/home/chris/development/rtems/kernel/erc32'
    340340  make[1]: Leaving directory '/home/chris/development/rtems/kernel/erc32'
  • user/installation/releases.rst

    r120c8a0 r60a6d6e  
    3333have a `prefix` for each different version of RTEMS you are using. If you are
    3434using RTEMS 4.11 in production it is **not** a good idea to install a
    35 development version of 4.12 over the top by using the same `prefix` as the 4.11
     35development version of 5 over the top by using the same `prefix` as the 4.11
    3636build. A separate `prefix` for each version avoids this.
    3737
  • user/start/index.rst

    r120c8a0 r60a6d6e  
    4343  $ cd rtems
    4444  $ ../source-builder/sb-set-builder \
    45       --prefix=/usr/home/chris/development/rtems/4.12 4.12/rtems-sparc
     45      --prefix=/usr/home/chris/development/rtems/5 5/rtems-sparc
    4646    ...
    4747
     
    5252.. code-block:: shell
    5353
    54   $ export PATH=$HOME/development/rtems/4.12/bin:$PATH
     54  $ export PATH=$HOME/development/rtems/5/bin:$PATH
    5555  $ cd
    5656  $ cd development/rtems
     
    6666  $ mkdir erc32
    6767  $ cd erc32
    68   $ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/4.12 \
    69                      --target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix
     68  $ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 \
     69                     --target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-posix
    7070    ...
    7171  $ make -j 8
  • user/start/quick.rst

    r120c8a0 r60a6d6e  
    3535  $ cd rtems
    3636  $ ../source-builder/sb-set-builder \
    37       --prefix=/usr/home/chris/development/rtems/4.12 4.12/rtems-sparc
     37      --prefix=/usr/home/chris/development/rtems/5 5/rtems-sparc
    3838    ...
    3939
     
    4444.. code-block:: shell
    4545
    46   $ export PATH=$HOME/development/rtems/4.12/bin:$PATH
     46  $ export PATH=$HOME/development/rtems/5/bin:$PATH
    4747  $ cd
    4848  $ cd development/rtems
     
    5858  $ mkdir erc32
    5959  $ cd erc32
    60   $ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/4.12 \
    61                      --target=sparc-rtems4.12 --enable-rtemsbsp=erc32 --enable-posix \
     60  $ $HOME/development/rtems/kernel/rtems/configure --prefix=$HOME/development/rtems/5 \
     61                     --target=sparc-rtems5 --enable-rtemsbsp=erc32 --enable-posix \
    6262                     --disable-networking
    6363    ...
  • user/tools/bsp-builder.rst

    r120c8a0 r60a6d6e  
    348348.. code-block:: shell
    349349
    350   $ /opt/rtems/4.12/bin/rtems-bsp-builder --build-path=/build/rtems \
    351             --rtems-tools=/opt/work/rtems/4.12 \
    352             --rtems=/opt/work/chris/rtems/kernel/rtems.git \
    353             --profiles=tier-1 \
     350  $ /opt/rtems/5/bin/rtems-bsp-builder --build-path=/build/rtems \
     351            --rtems-tools=/opt/work/rtems/5 \
     352            --rtems=/opt/work/chris/rtems/kernel/rtems.git \
     353            --profiles=tier-1 \
    354354            --jobs=5/10
    355   RTEMS Tools Project - RTEMS Kernel BSP Builder, 4.12 (61ddcfc8f057)
     355  RTEMS Tools Project - RTEMS Kernel BSP Builder, 5.not_released
    356356  Profile(s): tier-1
    357357  Cleaning: bsp-builds
     
    397397.. code-block:: shell
    398398
    399   $ /opt/rtems/4.12/bin/rtems-bsp-builder --build-path=/build/rtems \
    400             --rtems-tools=/opt/work/rtems/4.12 \
    401             --rtems=/opt/work/chris/rtems/kernel/rtems.git \
    402             ----log=lpc-log \
     399  $ /opt/rtems/5/bin/rtems-bsp-builder --build-path=/build/rtems \
     400            --rtems-tools=/opt/work/rtems/5 \
     401            --rtems=/opt/work/chris/rtems/kernel/rtems.git \
     402            ----log=lpc-log \
    403403            --bsp=arm/lpc2362,arm/lpc23xx_tli800 \
    404404            --build=tests \
    405405            --jobs=5/12
    406   RTEMS Tools Project - RTEMS Kernel BSP Builder, 4.12 (61ddcfc8f057 modified)
     406  RTEMS Tools Project - RTEMS Kernel BSP Builder, 5.not_released
    407407  BSPS(s): arm/lpc2362, arm/lpc23xx_tli800
    408408  Cleaning: bsp-builds
     
    429429     1 tests arm/lpc2362 build:
    430430        configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
    431         =arm-rtems4.12 --enable-rtemsbsp=lpc2362 --prefix=/opt/rtems/4.12\
     431        =arm-rtems5 --enable-rtemsbsp=lpc2362 --prefix=/opt/rtems/5\
    432432        --enable-tests
    433433       error: ld/collect2:0 error: math.exe section '.rodata' will not fit
     
    436436     2 tests arm/lpc23xx_tli800 build:
    437437        configure: /opt/work/chris/rtems/kernel/rtems.git/configure --target\
    438         =arm-rtems4.12 --enable-rtemsbsp=lpc23xx_tli800\
    439         --prefix=/opt/rtems/4.12 --enable-tests
     438        =arm-rtems5 --enable-rtemsbsp=lpc23xx_tli800\
     439        --prefix=/opt/rtems/5 --enable-tests
    440440       error: ld/collect2:0 error: math.exe section '.text' will not fit in
    441441              region 'ROM_INT'; region 'ROM_INT' overflowed by 13972 bytes
  • user/tools/exeinfo.rst

    r120c8a0 r60a6d6e  
    9696.. code-block:: shell
    9797
    98   $ rtems-exeinfo -a i386-rtems4.12/c/pc686/testsuites/samples/hello/hello.exe
    99   RTEMS Executable Info 4.12.a72a462adc18
    100    rtems-exeinfo -a i386-rtems4.12/c/pc686/testsuites/samples/hello/hello.exe
    101   exe: i386-rtems4.12/c/pc686/testsuites/samples/hello/hello.exe
    102   Sections: 23
    103                     -------------- address: 0x00000000 0x00000000 size:       0 align:   0 relocs:    0
    104     .bss            WA------------ address: 0x0013f340 0x00144d9c size:   23132 align:  32 relocs:    0
    105     .comment        ---MS--------- address: 0x00000000 0x0000008f size:     143 align:   1 relocs:    0
    106     .ctors          WA------------ address: 0x0013cc9c 0x0013cca4 size:       8 align:   4 relocs:    0
    107     .data           WA------------ address: 0x0013ccc0 0x0013f32c size:    9836 align:  32 relocs:    0
    108     .debug_abbrev   -------------- address: 0x00000000 0x0003ef4c size:  257868 align:   1 relocs:    0
    109     .debug_aranges  -------------- address: 0x00000000 0x00003da8 size:   15784 align:   8 relocs:    0
    110     .debug_info     -------------- address: 0x00000000 0x0036dd9e size: 3595678 align:   1 relocs:    0
    111     .debug_line     -------------- address: 0x00000000 0x00072dca size:  470474 align:   1 relocs:    0
    112     .debug_loc      -------------- address: 0x00000000 0x0003fd2c size:  261420 align:   1 relocs:    0
    113     .debug_ranges   -------------- address: 0x00000000 0x00009738 size:   38712 align:   1 relocs:    0
    114     .debug_str      ---MS--------- address: 0x00000000 0x0001bf78 size:  114552 align:   1 relocs:    0
    115     .dtors          WA------------ address: 0x0013cca4 0x0013ccac size:       8 align:   4 relocs:    0
    116     .eh_frame       -A------------ address: 0x00134340 0x0013bc9c size:   31068 align:   4 relocs:    0
    117     .fini           -AE----------- address: 0x0012d8a9 0x0012d8b1 size:       8 align:   1 relocs:    0
    118     .init           -AE----------- address: 0x0012d89c 0x0012d8a9 size:      13 align:   1 relocs:    0
    119     .jcr            WA------------ address: 0x0013ccac 0x0013ccb0 size:       4 align:   4 relocs:    0
    120     .rodata         -A------------ address: 0x0012d8c0 0x0013433d size:   27261 align:  32 relocs:    0
    121     .rtemsroset     WA------------ address: 0x0012d860 0x0012d89c size:      60 align:   4 relocs:    0
    122     .shstrtab       -------------- address: 0x00000000 0x000000cb size:     203 align:   1 relocs:    0
    123     .strtab         -------------- address: 0x00000000 0x0000772a size:   30506 align:   1 relocs:    0
    124     .symtab         -------------- address: 0x00000000 0x00007120 size:   28960 align:   4 relocs:    0
    125     .text           WAE----------- address: 0x00100000 0x0012d860 size:  186464 align:  16 relocs:    0
    126 
    127   Init sections: 2
     98  $ rtems-exeinfo -a i386-rtems5/c/pc686/testsuites/samples/hello/hello.exe
     99  RTEMS Executable Info 5.6f5cfada964c
     100   rtems-exeinfo -a i386-rtems5/c/pc686/testsuites/samples/hello/hello.exe
     101  exe: i386-rtems5/c/pc686/testsuites/samples/hello/hello.exe
     102  Sections: 22
     103                   -------------- addr: 0x00000000 0x00000000 size:          0 align:   0 relocs:      0
     104    .bss           WA------------ addr: 0x00135760 0x0013b300 size:      23456 align:  32 relocs:      0
     105    .comment       ---MS--------- addr: 0x00000000 0x00000083 size:        131 align:   1 relocs:      0
     106    .ctors         WA------------ addr: 0x0013322c 0x00133234 size:          8 align:   4 relocs:      0
     107    .data          WA------------ addr: 0x00133240 0x0013574c size:       9484 align:  32 relocs:      0
     108    .debug_abbrev  -------------- addr: 0x00000000 0x0003c5ce size:     247246 align:   1 relocs:      0
     109    .debug_aranges -------------- addr: 0x00000000 0x00003a18 size:      14872 align:   8 relocs:      0
     110    .debug_info    -------------- addr: 0x00000000 0x0032496d size:    3295597 align:   1 relocs:      0
     111    .debug_line    -------------- addr: 0x00000000 0x0006606b size:     417899 align:   1 relocs:      0
     112    .debug_loc     -------------- addr: 0x00000000 0x0003b704 size:     243460 align:   1 relocs:      0
     113    .debug_ranges  -------------- addr: 0x00000000 0x00008128 size:      33064 align:   1 relocs:      0
     114    .debug_str     ---MS--------- addr: 0x00000000 0x0001a9d7 size:     109015 align:   1 relocs:      0
     115    .dtors         WA------------ addr: 0x00133234 0x0013323c size:          8 align:   4 relocs:      0
     116    .eh_frame      -A------------ addr: 0x0012b884 0x0013222c size:      27048 align:   4 relocs:      0
     117    .fini          -AE----------- addr: 0x00127fdd 0x00127fe5 size:          8 align:   1 relocs:      0
     118    .init          -AE----------- addr: 0x00127fd0 0x00127fdd size:         13 align:   1 relocs:      0
     119    .rodata        -A------------ addr: 0x00128000 0x0012b884 size:      14468 align:  32 relocs:      0
     120    .rtemsroset    WA------------ addr: 0x00127f94 0x00127fd0 size:         60 align:   4 relocs:      0
     121    .shstrtab      -------------- addr: 0x00000000 0x000000c6 size:        198 align:   1 relocs:      0
     122    .strtab        -------------- addr: 0x00000000 0x000068ca size:      26826 align:   1 relocs:      0
     123    .symtab        -------------- addr: 0x00000000 0x00006290 size:      25232 align:   4 relocs:      0
     124    .text          WAE----------- addr: 0x00100000 0x00127f91 size:     163729 align:  16 relocs:      0
     125
     126  Init sections: 3
    128127   .ctors
    129128    0xffffffff RamSize
    130     0x00000000 _TLS_Data_size
     129    0x00000000 REG_EFLAGS
     130   .init
     131    0xfd81ebe8 no symbol
     132    0xff86e8ff no symbol
     133    0x00c2ffff no symbol
    131134   .rtemsroset
    132     0x00100280 bsp_work_area_initialize
    133     0x001003b0 bsp_start_default
    134     0x0011ace0 _User_extensions_Handler_initialization
    135     0x00113040 rtems_initialize_data_structures
    136     0x00112ec0 _RTEMS_tasks_Manager_initialization
    137     0x0011df30 _Message_queue_Manager_initialization
    138     0x0011cfa0 _Semaphore_Manager_initialization
    139     0x0011ce70 _POSIX_Keys_Manager_initialization
    140     0x00117360 _Thread_Create_idle
    141     0x0010c8d0 rtems_libio_init
    142     0x0010c7c0 rtems_filesystem_initialize
    143     0x00100390 bsp_predriver_hook
    144     0x001130f0 _IO_Initialize_all_drivers
    145     0x00112d90 _RTEMS_tasks_Initialize_user_tasks_body
    146     0x0010d520 rtems_libio_post_driver
    147 
    148   Fini sections: 1
     135    0x00100310 bsp_work_area_initialize
     136    0x00100440 bsp_start_default
     137    0x001160e0 _User_extensions_Handler_initialization
     138    0x0010fe60 rtems_initialize_data_structures
     139    0x0010fcf0 _RTEMS_tasks_Manager_initialization
     140    0x0010f310 _Semaphore_Manager_initialization
     141    0x0010ed90 _POSIX_Keys_Manager_initialization
     142    0x00113af0 _Thread_Create_idle
     143    0x0010c100 rtems_libio_init
     144    0x0010bec0 rtems_filesystem_initialize
     145    0x00100420 bsp_predriver_hook
     146    0x0010bfb0 _Console_simple_Initialize
     147    0x0010ff30 _IO_Initialize_all_drivers
     148    0x0010fc10 _RTEMS_tasks_Initialize_user_tasks_body
     149    0x0010ccb0 rtems_libio_post_driver
     150
     151  Fini sections: 2
    149152   .dtors
    150153    0xffffffff RamSize
    151     0x00000000 _TLS_Data_size
     154    0x00000000 REG_EFLAGS
     155   .fini
     156    0xfd815ee8 no symbol
     157    0x0000c2ff no symbol
    152158
    153159The Init section ``.rtemsroset`` shows the initialisation call order for the
     
    164170.. code-block:: shell
    165171
    166   $ rtems-exeinfo -I i386-rtems4.12/c/pc686/testsuites/samples/cdtest/cdtest.exe
    167   RTEMS Executable Info 4.12.a72a462adc18
    168    rtems-exeinfo -I i386-rtems4.12/c/pc686/testsuites/samples/cdtest/cdtest.exe
    169   exe: i386-rtems4.12/c/pc686/testsuites/samples/cdtest/cdtest.exe
    170   Init sections: 2
     172  $ rtems-exeinfo -I i386-rtems5/c/pc686/testsuites/samples/cdtest/cdtest.exe
     173  RTEMS Executable Info 5.6f5cfada964c
     174   rtems-exeinfo -I i386-rtems5/c/pc686/testsuites/samples/cdtest/cdtest.exe
     175  exe: i386-rtems5/c/pc686/testsuites/samples/cdtest/cdtest.exe
     176  Init sections: 3
    171177   .ctors
    172178    0xffffffff RamSize
    173     0x00100e90 rtems_test_name
    174     0x001014b0 __gnu_cxx::__freeres()
    175     0x001017c0 __cxa_get_globals_fast
    176     0x001024e0 __cxxabiv1::__terminate(void (*)())
    177     0x001030a0 std::_V2::error_category::~error_category()
    178     0x0010cfa0 std::ctype_byname<char>::ctype_byname(std::string const&, unsigned long)
    179     0x0010d070 std::ctype_byname<wchar_t>::ctype_byname(std::string const&, unsigned long)
    180     0x0010d210 std::nothrow
    181     0x0010d230 std::ctype_byname<char>::ctype_byname(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)
    182     0x0010d2c0 std::ctype_byname<wchar_t>::ctype_byname(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)
    183     0x00000000 _TLS_Data_size
     179    0x00100ea0 _GLOBAL__sub_I_rtems_test_name
     180    0x001015d0 __gnu_cxx::__freeres()
     181    0x00101df0 __cxxabiv1::__terminate(void (*)())
     182    0x00102ac0 _GLOBAL__sub_I___cxa_get_globals_fast
     183    0x00103260 std::nothrow
     184    0x00000000 REG_EFLAGS
     185   .init
     186    0xfcb3dbe8 no symbol
     187    0xff86e8ff no symbol
     188    0x00c2ffff no symbol
    184189   .rtemsroset
    185     0x00111210 bsp_work_area_initialize
    186     0x00111340 bsp_start_default
    187     0x0012c560 _User_extensions_Handler_initialization
    188     0x001244d0 rtems_initialize_data_structures
    189     0x00124350 _RTEMS_tasks_Manager_initialization
    190     0x0012f790 _Message_queue_Manager_initialization
    191     0x0012e7c0 _Semaphore_Manager_initialization
    192     0x0013ccc0 _POSIX_signals_Manager_Initialization
    193     0x0012e650 _POSIX_Keys_Manager_initialization
    194     0x00128be0 _Thread_Create_idle
    195     0x0011d9d0 rtems_libio_init
    196     0x0011d8c0 rtems_filesystem_initialize
    197     0x00111320 bsp_predriver_hook
    198     0x00124580 _IO_Initialize_all_drivers
    199     0x00124220 _RTEMS_tasks_Initialize_user_tasks_body
    200     0x0011e620 rtems_libio_post_driver
     190    0x001112c0 bsp_work_area_initialize
     191    0x001113f0 bsp_start_default
     192    0x001276c0 _User_extensions_Handler_initialization
     193    0x00121260 rtems_initialize_data_structures
     194    0x001210f0 _RTEMS_tasks_Manager_initialization
     195    0x00120710 _Semaphore_Manager_initialization
     196    0x0011ff70 _POSIX_Keys_Manager_initialization
     197    0x001250d0 _Thread_Create_idle
     198    0x0011d220 rtems_libio_init
     199    0x0011cfe0 rtems_filesystem_initialize
     200    0x001113d0 bsp_predriver_hook
     201    0x0011d0d0 _Console_simple_Initialize
     202    0x00121310 _IO_Initialize_all_drivers
     203    0x00121010 _RTEMS_tasks_Initialize_user_tasks_body
     204    0x0011ddd0 rtems_libio_post_driver
    201205
    202206The C++ constructor section ``.ctors`` shows you the C++ static objects the
  • user/tools/symbols.rst

    r120c8a0 r60a6d6e  
    116116.. option:: -E, --exec-prefix
    117117
    118    Specify the RTEMS tool prefix. For example for RTEMS 4.12 and the SPARC
    119    architecture the prefix is ``sparc-rtems4.12``.
     118   Specify the RTEMS tool prefix. For example for RTEMS 5 and the SPARC
     119   architecture the prefix is ``sparc-rtems5``.
    120120
    121121.. option:: -c, --cflags
     
    137137.. code-block:: shell
    138138
    139   $ rtems-syms -o ms.o i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
     139  $ rtems-syms -o ms.o i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
    140140  $ file ms.o
    141141  ms.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
     
    145145.. code-block:: shell
    146146
    147   $ rtems-syms -o ms.o -m ms.map i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
     147  $ rtems-syms -o ms.o -m ms.map i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
    148148  $ head -10 ms.map
    149149  RTEMS Kernel Symbols Map
    150    kernel: i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
     150   kernel: i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
    151151
    152152  Globals:
     
    163163.. code-block:: shell
    164164
    165   $ rtems-syms -vvv -o ms.o i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
    166   RTEMS Kernel Symbols 4.12.a72a462adc18
    167   kernel: i386-rtems4.12/c/pc686/testsuites/samples/minimum/minimum.exe
     165  $ rtems-syms -vvv -o ms.o i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
     166  RTEMS Kernel Symbols 5.a72a462adc18
     167  kernel: i386-rtems5/c/pc686/testsuites/samples/minimum/minimum.exe
    168168  cache:load-sym: object files: 1
    169169  cache:load-sym: symbols: 1043
    170170  symbol C file: /tmp/rld--X7paaa.c
    171171  symbol O file: ms.o
    172   execute: i386-rtems4.12-gcc -O2 -c -o ms.o /tmp/rld--X7paaa.c
     172  execute: i386-rtems5-gcc -O2 -c -o ms.o /tmp/rld--X7paaa.c
    173173  execute: status: 0
  • user/tools/tester.rst

    r120c8a0 r60a6d6e  
    7777.. code-block:: shell
    7878
    79     $ ../../rtems.git/configure --target=sparc-rtems4.12 \
     79    $ ../../rtems.git/configure --target=sparc-rtems5 \
    8080                        --enable-tests --enable-rtemsbsp=erc32
    8181    $ make
     
    9393.. code-block:: shell
    9494
    95     $ sparc-rtems4.12-run sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe
     95    $ sparc-rtems5-run sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe
    9696
    9797    *** BEGIN OF TEST HELLO WORLD ***
     
    105105.. code-block:: shell
    106106
    107     $ sparc-rtems4.12-gdb sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe
     107    $ sparc-rtems5-gdb sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe
    108108    GNU gdb (GDB) 7.12
    109109    Copyright (C) 2016 Free Software Foundation, Inc.
     
    112112    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    113113    and "show warranty" for details.
    114     This GDB was configured as "--host=x86_64-linux-gnu --target=sparc-rtems4.12".
     114    This GDB was configured as "--host=x86_64-linux-gnu --target=sparc-rtems5".
    115115    Type "show configuration" for configuration details.
    116116    For bug reporting instructions, please see:
     
    121121    Type "apropos word" to search for commands related to "word"...
    122122    Reading symbols from
    123     sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe...done.
     123    sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe...done.
    124124    (gdb) target sim
    125125    Connected to the simulator.
    126126    (gdb) load
    127127    (gdb) r
    128     Starting program: sparc-rtems4.12/c/erc32/testsuites/samples/hello/hello.exe
     128    Starting program: sparc-rtems5/c/erc32/testsuites/samples/hello/hello.exe
    129129
    130130
     
    159159             --log=log_erc32_run \
    160160             --rtems-bsp=erc32-run \
    161              --rtems-tools=$HOME/development/rtems/4.12 \
    162                  sparc-rtems4.12/c/erc32/testsuites/samples
    163     RTEMS Testing - Tester, 4.12.not_released
     161             --rtems-tools=$HOME/development/rtems/5 \
     162                 sparc-rtems5/c/erc32/testsuites/samples
     163    RTEMS Testing - Tester, 5.not_released
    164164    [ 1/13] p:0  f:0  u:0  e:0  I:0  B:0  t:0  i:0  | sparc/erc32: base_sp.exe
    165165    [ 2/13] p:0  f:0  u:0  e:0  I:0  B:0  t:0  i:0  | sparc/erc32: capture.exe
     
    207207  all the tests.
    208208* If the path to the testsuites was put to
    209   ``sparc-rtems4.12/c/erc32/testsuites`` instead of
    210   ``sparc-rtems4.12/c/erc32/testsuites/samples`` then all the executables
     209  ``sparc-rtems5/c/erc32/testsuites`` instead of
     210  ``sparc-rtems5/c/erc32/testsuites/samples`` then all the executables
    211211  would have been tested and not just those in samples.
    212212
  • wscript

    r120c8a0 r60a6d6e  
    1010import waf as docs_waf
    1111
    12 version = '4.11.99 (master)'
     12version = '5.0.0 (master)'
    1313
    1414build_all = ['user',
Note: See TracChangeset for help on using the changeset viewer.