Changes between Version 8 and Version 9 of Developer/Tracing/Trace_Buffering


Ignore:
Timestamp:
Mar 30, 2015, 9:34:42 AM (5 years ago)
Author:
Chris Johns
Comment:

Change to ERC32. The SIS will be removed in the future.

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Tracing/Trace_Buffering

    v8 v9  
    5252prefix = /opt/rtems/4.11
    5353rtems-path = /opt/rtems/kernel/4.11
    54 rtems-bsp = sparc/sis
     54rtems-bsp = sparc/erc32
    5555;
    5656; Generator options.
     
    6060}}}
    6161
    62 The first option is `dump-on-error`. The option dumps a range of internal data from the trace linker on error. The see all the processing add `-vvv` to the trace linkers command line. The next option is the tools prefix and is set `/opt/rtems/4.11`. The tools prefix is not the install prefix and the RTEMS Trace linker automatically detects the installed prefix. The RTEMS BSP is installed to a different directory so an `rtems-path` is provided as `/opt/rtems/kernel/4.11`. The BSP is searched for under this path.  The next option `rtems-bsp` specifies the BSP as an `arch/bsp` pair and in this example if the the `sparc/sis` BSP. The trace linker searches for the installed configuration and extracts the compiler, linker and flags we need to build code for thsi BSP. The last 2 options control the enables and triggers. These result in the trace linker adding the enables and triggers to the wrapper C file.
     62The first option is `dump-on-error`. The option dumps a range of internal data from the trace linker on error. The see all the processing add `-vvv` to the trace linkers command line. The next option is the tools prefix and is set `/opt/rtems/4.11`. The tools prefix is not the install prefix and the RTEMS Trace linker automatically detects the installed prefix. The RTEMS BSP is installed to a different directory so an `rtems-path` is provided as `/opt/rtems/kernel/4.11`. The BSP is searched for under this path.  The next option `rtems-bsp` specifies the BSP as an `arch/bsp` pair and in this example if the the `sparc/erc32` BSP. The trace linker searches for the installed configuration and extracts the compiler, linker and flags we need to build code for thsi BSP. The last 2 options control the enables and triggers. These result in the trace linker adding the enables and triggers to the wrapper C file.
    6363
    6464The next section of the configuration file is specific to our `fileio` trace:
     
    9696
    9797
    98 Save the configuration file to the top of your RTEMS SIS BSP build tree.
     98Save the configuration file to the top of your RTEMS ERC32 BSP build tree.
    9999
    100100=== BSP Configuration ===
     
    104104{{{
    105105$ ../rtems.master/configure --target=sparc-rtems4.11 --prefix=/opt/rtems/kernel/4.11 \
    106                 --enable-networking --enable-tests --enable-rtemsbsp=sis --enable-cxx
     106                --enable-networking --enable-tests --enable-rtemsbsp=erc32 --enable-cxx
    107107}}}
    108108
     
    112112
    113113{{{
    114 $ sparc-rtems4.11-gcc -Bsparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems \
     114$ sparc-rtems4.11-gcc -Bsparc-rtems4.11/erc32/lib/ -specs bsp_specs -qrtems \
    115115          -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \
    116116          -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes \
     
    123123{{{
    124124$ rtems-tld -C fileio-trace.ini -W fileio-wrapper -- \
    125           -Bsparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems \
     125          -Bsparc-rtems4.11/erc32/lib/ -specs bsp_specs -qrtems \
    126126          -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \
    127127          -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes \
    128128          -Wnested-externs -Wl,--gc-sections -mcpu=cypress \
    129           -o sparc-rtems4.11/c/sis/testsuites/samples/fileio/fileio.exe \
    130           sparc-rtems4.11/c/sis/testsuites/samples/fileio/init.o
     129          -o sparc-rtems4.11/c/erc32/testsuites/samples/fileio/fileio.exe \
     130          sparc-rtems4.11/c/erc32/testsuites/samples/fileio/init.o
    131131}}}
    132132
     
    138138
    139139{{{
    140 $ sparc-rtems4.11-run sparc-rtems4.11/c/sis/testsuites/samples/fileio/fileio.exe
     140$ sparc-rtems4.11-run sparc-rtems4.11/c/erc32/testsuites/samples/fileio/fileio.exe
    141141}}}
    142142
     
    164164 =========================
    165165
    166 Welcome to rtems-4.10.99.0(SPARC/w/FPU/sis)
     166Welcome to rtems-4.10.99.0(SPARC/w/FPU/erc32)
    167167COPYRIGHT (c) 1989-2008.
    168168On-Line Applications Research Corporation (OAR).