- Timestamp:
-
03/30/15 09:34:42 (9 years ago)
- Author:
-
Chris Johns
- Comment:
-
Change to ERC32. The SIS will be removed in the future.
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v8
|
v9
|
|
52 | 52 | prefix = /opt/rtems/4.11 |
53 | 53 | rtems-path = /opt/rtems/kernel/4.11 |
54 | | rtems-bsp = sparc/sis |
| 54 | rtems-bsp = sparc/erc32 |
55 | 55 | ; |
56 | 56 | ; Generator options. |
… |
… |
|
60 | 60 | }}} |
61 | 61 | |
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. |
| 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/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. |
63 | 63 | |
64 | 64 | The next section of the configuration file is specific to our `fileio` trace: |
… |
… |
|
96 | 96 | |
97 | 97 | |
98 | | Save the configuration file to the top of your RTEMS SIS BSP build tree. |
| 98 | Save the configuration file to the top of your RTEMS ERC32 BSP build tree. |
99 | 99 | |
100 | 100 | === BSP Configuration === |
… |
… |
|
104 | 104 | {{{ |
105 | 105 | $ ../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 |
107 | 107 | }}} |
108 | 108 | |
… |
… |
|
112 | 112 | |
113 | 113 | {{{ |
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 \ |
115 | 115 | -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \ |
116 | 116 | -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes \ |
… |
… |
|
123 | 123 | {{{ |
124 | 124 | $ 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 \ |
126 | 126 | -mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall \ |
127 | 127 | -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes \ |
128 | 128 | -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 |
131 | 131 | }}} |
132 | 132 | |
… |
… |
|
138 | 138 | |
139 | 139 | {{{ |
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 |
141 | 141 | }}} |
142 | 142 | |
… |
… |
|
164 | 164 | ========================= |
165 | 165 | |
166 | | Welcome to rtems-4.10.99.0(SPARC/w/FPU/sis) |
| 166 | Welcome to rtems-4.10.99.0(SPARC/w/FPU/erc32) |
167 | 167 | COPYRIGHT (c) 1989-2008. |
168 | 168 | On-Line Applications Research Corporation (OAR). |