source: rtems-docs/user/start/sources.rst @ bb47f89

5
Last change on this file since bb47f89 was f6be8a1, checked in by Sebastian Huber <sebastian.huber@…>, on 02/19/19 at 07:29:15

user: Fix tense in quick start

  • Property mode set to 100644
File size: 2.1 KB
Line 
1.. SPDX-License-Identifier: CC-BY-SA-4.0
2
3.. Copyright (C) 2019 embedded brains GmbH
4.. Copyright (C) 2019 Sebastian Huber
5
6.. _QuickStartSources:
7
8Obtain the Sources
9==================
10
11You have considered and chosen a suitable installation prefix in the previous
12section.  We have chosen :file:`$HOME/quick-start/rtems/5` as the installation
13prefix.
14
15You need at least two source archives or Git repositories to work with RTEMS.
16You can download the source archives for a released RTEMS version or you can
17clone Git repositories to get all versions of RTEMS including the development
18head.
19
20We will clone the Git repositories into :file:`$HOME/quick-start/src`.
21
22.. code-block:: none
23
24    mkdir -p $HOME/quick-start/src
25    cd $HOME/quick-start/src
26    git clone git://git.rtems.org/rtems-source-builder.git rsb
27    git clone git://git.rtems.org/rtems.git
28
29The :file:`rsb` repository clone contains the
30:ref:`RTEMS Source Builder (RSB) <RSB>`.  We clone it into
31:file:`rsb` to get shorter paths during the tool suite build.  The
32:file:`rtems` repository clone contains the RTEMS sources.  These two
33repositories are enough to get started.  There are
34`more repositories <https://git.rtems.org>`_ available.
35
36Alternatively, you can download the source archives of a released RTEMS
37version.
38
39.. code-block:: none
40
41    mkdir -p $HOME/quick-start/src
42    cd $HOME/quick-start/src
43    curl https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.3/rtems-4.11.3.tar.xz | tar xJf -
44    curl https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.3/rtems-source-builder-4.11.3.tar.xz | tar xJf -
45
46This quick start chapter focuses on working with the Git repository clones
47since this gives you some flexibility.  You can switch between branches to try
48out different RTEMS versions.  You have access to the RTEMS source history.
49The RTEMS Project welcomes contributions.  The Git repositories enable you to
50easily create patches and track local changes.  If you prefer to work with
51archives of a released RTEMS version, then simply replace the version number 5
52used throughout this chapter with the version number you selected, e.g. 4.11.
Note: See TracBrowser for help on using the repository browser.