| 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 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
The boot/stack.h header contains duplicated macros that are
redundant to arch/stack.h. Delete the boot/stack.h and replace
its one use by the arch/stack.h.
Closes #3341.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to easily use
EXTRA_DIST += foobar
in fragments.
Update #3254.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Remove old ISR parameter since is not used by the clock driver shell.
Make an implementation optional.
Update #3139.
|
|
|
|
| |
Update #2133.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Update #2825.
|
|
|
|
|
|
|
|
| |
Rename SPARC64-specific CPU_Minimum_stack_frame to
SPARC64_Minimum_stack_frame. Rename SPARC64-specific
CPU_MINIMUM_STACK_FRAME_SIZE to SPARC64_MINIMUM_STACK_FRAME_SIZE.
Update #2809.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
warnings
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates #2577.
For the usiii BSP variant without this option sample executables
sizes were as follows:
text data bss dec hex filename
180608 2752 2113472 2296832 230c00 ticker.exe
114112 1760 2105312 2221184 21e480 minimum.exe
1041392 3168 2126160 3170720 3061a0 cxx_iostream.exe
712224 8912 2129200 2850336 2b7e20 fileio.exe
595248 21568 2147872 2764688 2a2f90 pppd.exe
291488 3912 2117440 2412840 24d128 capture.exe
200496 2888 2113616 2317000 235ac8 nsecs.exe
279344 3392 2114112 2396848 2492b0 paranoia.exe
324656 2768 2115328 2442752 254600 cdtest.exe
178624 2752 2113440 2294816 230420 base_sp.exe
179152 2752 2117216 2299120 2314f0 unlimited.exe
190944 2688 2113424 2307056 2333f0 hello.exe
381296 10752 2126400 2518448 266db0 loopback.exe
For the usiii BSP variant with this option sample executables sizes
were as follows:
text data bss dec hex filename
173312 2632 2113184 2289128 22ede8 ticker.exe
102432 328 2100928 2203688 21a028 minimum.exe
626544 3032 2120400 2749976 29f618 cxx_iostream.exe
657584 8792 2128640 2795016 2aa608 fileio.exe
555616 21264 2146816 2723696 298f70 pppd.exe
280016 3760 2117152 2400928 24a2a0 capture.exe
193792 2768 2113312 2309872 233ef0 nsecs.exe
238528 3264 2113808 2355600 23f190 paranoia.exe
277568 2664 2115040 2395272 248c88 cdtest.exe
170592 2624 2113152 2286368 22e320 base_sp.exe
169120 2616 2112816 2284552 22dc08 unlimited.exe
180528 2536 2109040 2292104 22f988 hello.exe
354992 10528 2126016 2491536 260490 loopback.exe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates #2577.
For the niagara BSP variant without this option sample executables
sizes were as follows:
text data bss dec hex filename
143616 2704 2113472 2259792 227b50 ticker.exe
71872 1720 2105312 2178904 213f58 minimum.exe
983600 3128 2126160 3112888 2f7fb8 cxx_iostream.exe
648448 8864 2129200 2786512 2a84d0 fileio.exe
548976 21520 2147872 2718368 297aa0 pppd.exe
253344 3872 2117440 2374656 243c00 capture.exe
161520 2840 2113616 2277976 22c258 nsecs.exe
215568 3344 2114112 2333024 239960 paranoia.exe
261744 2728 2115328 2379800 245018 cdtest.exe
139648 2704 2113440 2255792 226bb0 base_sp.exe
142416 2712 2117216 2262344 228548 unlimited.exe
150464 2648 2113424 2266536 2295a8 hello.exe
343504 10704 2126400 2480608 25d9e0 loopback.exe
For the niagara BSP variant with this option sample executables
sizes were as follows:
text data bss dec hex filename
133408 2624 2113184 2249216 225200 ticker.exe
57152 320 2100928 2158400 20ef40 minimum.exe
590160 3024 2120400 2713584 2967f0 cxx_iostream.exe
623568 8784 2128640 2760992 2a2120 fileio.exe
503616 21256 2146816 2671688 28c448 pppd.exe
239152 3752 2117152 2360056 2402f8 capture.exe
152128 2760 2113312 2268200 229c28 nsecs.exe
203808 3256 2113808 2320872 2369e8 paranoia.exe
244128 2656 2115040 2361824 2409e0 cdtest.exe
128672 2616 2113152 2244440 223f58 base_sp.exe
129408 2608 2112816 2244832 2240e0 unlimited.exe
137040 2528 2109040 2248608 224fa0 hello.exe
314256 10520 2126016 2450792 256568 loopback.exe
|
|
|
|
| |
Update #2408.
|
|
|
|
|
|
|
| |
This avoids potential dead code in _Thread_Handler(). It gets rid of
the dangerous function pointer casts.
Update #2514.
|