Changeset c3096ae in rtems-testing


Ignore:
Timestamp:
Sep 24, 2015, 2:20:52 PM (4 years ago)
Author:
Aurelio Remonda <aurelio.remonda@…>
Branches:
8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
008f779
Parents:
372e606
git-author:
Aurelio Remonda <aurelio.remonda@…> (09/24/15 14:20:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/25/15 05:37:37)
Message:

Update environment README

This patch update the README file on /rtems-testing:
*Added comments about bootstrap and RTEMS building steps.
*Added comments about RTEMS test samples.
*Updated binutils, newlib and gcc repositories using git now.
*Updated gdb, autoconf and automake repositories using ftp sites now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README

    r372e606 rc3096ae  
    88Source Code and Patches
    99=======================
    10 You are responsible for setting up the source. And it should look
    11 something like this:
     10You are responsible for downloading all the tools and setting up the
     11source. And it should look something like this:
    1212
    1313TESTROOT
     
    3636do_one in this directory has a LOT of options to control what to do.
    3737
     38You will need a toolchain to bootstrap and build RTEMS. This toolchain can be
     39in turn build using rtems-source-builder.
     40Once you've built the toolchain, add its 'bin' directory to $PATH, as follows:
     41export PATH=/path/to/toolchain/bin:${PATH}
     42Make sure you run the bootstrap script on the RTEMS source directory before
     43running do_one -r.
     44
     45do_one -r will build RTEMS and its sample programs.
     46You can use the samples to make sure the test runner works for your board.
     47I.e you can run:
     48~/rtems-testing/sim-scripts/realview_pbx_a9_qemu -i ticker.exe
     49and see if the results make sense. You may notice the ticker sample will run
     50faster than "real time" because it's a simulation, and fast idle is enabled
     51by default.
     52
     53
    3854How to Setup a Source Tree For Testing
    3955======================================
     
    4662mkdir ~/test-gcc
    4763cd ~/test-gcc
    48 cvs -z 9 -d :pserver:anoncvs:anoncvs@sourceware.org:/cvs/src login
    4964
    5065# test script infrastructure
     
    5671
    5772# binutils
    58 mkdir binutils-cvs
    59 cd binutils-cvs
    60 READ ONLY: cvs -z 9 -d :pserver:anoncvs:anoncvs@sourceware.org:/cvs/src co binutils
    61 WRITE: CVS_RSH=ssh cvs -d :ext:joel@sourceware.org:/cvs/src co -P binutils
    62 cd ..
     73git clone git://sourceware.org/git/binutils.git
    6374
    6475# newlib
    65 mkdir newlib-cvs
    66 cd newlib-cvs
    67 READ ONLY: cvs -z 9 -d :pserver:anoncvs:anoncvs@sourceware.org:/cvs/src co newlib
    68 WRITE: CVS_RSH=ssh cvs -d :ext:joel@sourceware.org:/cvs/src co -P newlib
    69 cd ..
     76git clone git://sourceware.org/git/newlib-cygwin.git
    7077
    7178# gdb
    72 mkdir gdb-cvs
    73 cd gdb-cvs
    74 READ ONLY: cvs -z 9 -d :pserver:anoncvs:anoncvs@sourceware.org:/cvs/src co gdb
    75 WRITE: CVS_RSH=ssh cvs -d :ext:joel@sourceware.org:/cvs/src co -P gdb
    76 cd ..
     79wget ftp://ftp.gnu.org/gnu/gdb/gdb-7.10.tar.xz
     80tar -xvf gdb-7.10.tar.xz
     81rm gdb-7.10.tar.xz
    7782
    7883# gcc
    79 READ ONLY: svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-svn
    80 WRITE      svn co svn+ssh://joel@gcc.gnu.org/svn/gcc/trunk gcc-svn
     84git clone git://gcc.gnu.org/git/gcc.git gcc-git
    8185
    8286# symlink newlib into gcc-svn
    8387cd gcc-svn
    84 ln -s ~/test-gcc/newlib-cvs/src/newlib .
    85 ln -s ~/test-gcc/newlib-cvs/src/libgloss .
     88ln -s ~/test-gcc/newlib-cygwin/src/newlib .
     89ln -s ~/test-gcc/newlib-cygwin/src/libgloss .
    8690cd ..
    8791
    8892# obtain automake and autoconf from ftp.gnu.org as tarballs
    8993# NOTE: Check versions required for RTEMS CVS.
    90 wget ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.69.tar.bz2
    91 tar xjf autoconf-2.69.tar.bz2
    92 wget ftp://ftp.gnu.org/pub/gnu/automake/automake-1.12.6.tar.bz2
    93 tar xjf automake-1.12.6.tar.bz2
     94wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
     95tar -xvf autoconf-2.69.tar.xz
     96wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz
     97tar -xvf automake-1.15.tar.xz
    9498
    9599# make install points
Note: See TracChangeset for help on using the changeset viewer.