| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
| |
The subdir-objects do not work currently due to BSP sources in bsps and
c and the existing build tree layout.
Update #3387.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
| |
This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.
This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.
Close #3387.
|
|
|
|
|
| |
A "make distclean" is not supported. So, it makes no sense to have pure
"make distclean" related stuff in the Makefile.am.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
| |
Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
| |
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.
Use the following directories and files:
* bsps/shared/cache
* bsps/@RTEMS_CPU@/shared/cache
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c
Update #3285.
|
|
|
|
|
| |
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to easily use
EXTRA_DIST += foobar
in fragments.
Update #3254.
|
|
|
|
| |
Update #3254.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Updates #3520.
|
|
|
|
|
|
| |
Patch was not intended to be pushed yet.
Updates #3520.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done:
arm
bfin
epiphany
i386
lm32
m32c
mips
moxie
nios2
or1k
powerpc
riscv
sh
sparc
sparc64
v850
To do:
m68k
Differences noted:
+ endfile was sometimes before startfile
+ endfile sometimes was hard-coded and did not have -qrtems version
+ Should -e XXX (e.g. entry point) be in linkcmds?
+ Should -u XXX (e.g. undefined symbols) be in linkcmds?
+ Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %)
+ nios2: Referenced crtnn.o not crtn.o (error)
Need to revisit:
+ m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere
+ sh has -EL/-EB mapping. Why needed?
+ sparc64 didn't include crti.o/crtn.o but it is part of toolset
+ v850 uses something like this for link and end_file:
"%{qrtems: %(old_link)}"
This means that these are unnecessary. Try this on all.
+ mips uses old_link all the time also.
+ arm/tms750 adds -EB.
+ powerpc: Why do we have rtems_crt* and not use something from GCC?
Updates #3520.
|
|
|
|
| |
Updates #3250.
|
|
|
|
|
|
|
|
|
| |
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.
Update #3254.
|
|
|
|
|
|
|
| |
This header file contained timing overhead values which are hard to
maintain.
Update #3254.
|
|
|
|
|
|
|
|
|
| |
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation. Change defaults to:
BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1
|
|
|
|
| |
Update #3239.
|
| |
|
| |
|
|
|
|
| |
Updates #2965.
|
|
|
|
| |
closes #2812.
|
| |
|
| |
|
|
|
|
| |
warnings
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates #2577.
For the TLL6527M BSP variant without this option sample executables
sizes were as follows:
text data bss dec hex filename
74696 1660 71544 147900 241bc ticker.exe
48756 1420 68348 118524 1cefc minimum.exe
474520 5740 84792 565052 89f3c fileio.exe
368744 12256 100788 481788 759fc pppd.exe
161848 2316 74488 238652 3a43c capture.exe
89704 1748 71680 163132 27d3c nsecs.exe
152376 2032 72148 226556 374fc paranoia.exe
73704 1660 71512 146876 23dbc base_sp.exe
76120 1688 75404 153212 2567c unlimited.exe
87576 1632 71556 160764 273fc hello.exe
222172 6148 78876 307196 4affc loopback.exe
For the TLL6527M BSP variant with this option sample executables
sizes were as follows:
text data bss dec hex filename
68760 1622 71552 141934 22a6e ticker.exe
28332 1265 68048 97645 17d6d minimum.exe
458400 5702 84514 548616 85f08 fileio.exe
331196 8924 99932 440052 6b6f4 pppd.exe
151356 2246 74447 228049 37ad1 capture.exe
83528 1710 71640 156878 264ce nsecs.exe
143724 1990 72132 217846 352f6 paranoia.exe
65572 1618 71544 138734 21dee base_sp.exe
67368 1638 75372 144378 233fa unlimited.exe
78444 1570 71524 151538 24ff2 hello.exe
195680 2866 78712 277258 43b0a loopback.exe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates #2577.
For the bf537Stamp BSP variant without this option sample
executables sizes were as follows:
text data bss dec hex filename
75672 1884 9224 86780 152fc ticker.exe
49668 1644 5964 57276 dfbc minimum.exe
474936 5964 22456 503356 7ae3c fileio.exe
369944 12480 38436 420860 66bfc pppd.exe
162856 2540 12136 177532 2b57c capture.exe
90696 1972 9280 101948 18e3c nsecs.exe
153352 2256 9828 165436 2863c paranoia.exe
74680 1884 9192 85756 14efc base_sp.exe
77048 1912 13068 92028 1677c unlimited.exe
88504 1856 9220 99580 184fc hello.exe
223228 6372 16540 246140 3c17c loopback.exe
For the bf537Stamp BSP variant with this option sample executables
sizes were as follows:
text data bss dec hex filename
68524 1846 9224 79594 136ea ticker.exe
28348 1521 5700 35569 8af1 minimum.exe
458232 5926 22182 486340 76bc4 fileio.exe
331164 9148 37592 377904 5c430 pppd.exe
151144 2470 12095 165709 2874d capture.exe
83296 1934 9308 94538 1714a nsecs.exe
143484 2214 9808 155506 25f72 paranoia.exe
65332 1842 9156 76330 12a2a base_sp.exe
67080 1862 13032 81974 14036 unlimited.exe
78144 1794 9196 89134 15c2e hello.exe
195520 3090 16372 214982 347c6 loopback.exe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates #2577.
For the eZKit533 BSP variant without this option sample executables
sizes were as follows:
text data bss dec hex filename
75160 1628 9224 86012 14ffc ticker.exe
49156 1388 5964 56508 dcbc minimum.exe
475080 5708 22440 503228 7adbc fileio.exe
369432 12224 38436 420092 668fc pppd.exe
162344 2284 12136 176764 2b27c capture.exe
90168 1716 9296 101180 18b3c nsecs.exe
152840 2000 9828 164668 2833c paranoia.exe
74168 1628 9192 84988 14bfc base_sp.exe
76520 1656 13020 91196 1643c unlimited.exe
87976 1600 9172 98748 181bc hello.exe
222716 6116 16540 245372 3be7c loopback.exe
For the eZKit533 BSP variant with this option sample executables
sizes were as follows:
text data bss dec hex filename
68400 1590 9220 79210 1356a ticker.exe
28220 1265 5700 35185 8971 minimum.exe
458108 5670 22178 485956 76a44 fileio.exe
331040 8892 37588 377520 5c2b0 pppd.exe
151020 2214 12091 165325 285cd capture.exe
83172 1678 9304 94154 16fca nsecs.exe
143360 1958 9804 155122 25df2 paranoia.exe
65208 1586 9216 76010 128ea base_sp.exe
66952 1606 13032 81590 13eb6 unlimited.exe
78016 1538 9196 88750 15aae hello.exe
195396 2834 16368 214598 34646 loopback.exe
|
|
|
|
| |
Update #2408.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.
In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:
- 16 32-bit integers were allocated.
- A total of 64 bytes per task per thread.
This is especially critical in low memory and safety-critical applications.
They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.
Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.
updates #2493.
|
|
|
|
|
|
| |
Use the bsp_predriver_hook() instead.
Update #2408.
|