summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/v850 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move bspclean.c to bspsSebastian Huber2018-04-201-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-121-1/+1
| | | | | | | The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387.
* bsps: Remove empty gnatinstallhandler.cSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Simplify source file path in Makefile.amSebastian Huber2018-04-121-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-112-2/+2
| | | | | | | | | | | 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.
* build: Remove DISTCLEANFILESSebastian Huber2018-04-091-1/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-091-18/+18
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-041-3/+0
| | | | | | | | Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Add shared-sources.amSebastian Huber2018-04-041-0/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-042-3/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* bsps: Remove unused RTEMS_CPU_MODELSebastian Huber2018-03-131-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-3/+1
| | | | | | | | | | | | | | | | | | 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.
* Remove make preinstallChris Johns2018-01-2510-174/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsps: Add AM_CPPFLAGS to special case CPPFLAGSChris Johns2018-01-041-1/+1
| | | | | | | This is necessary to pick up mandatory flags provided by the build system. Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-021-1/+2
| | | | | | | | | | This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
* gdbv850sim: Simplify bsp_specsJoel Sherrill2017-12-192-9/+2
| | | | Updates #3520.
* gdbv850sim/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-5/+3
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-3/+5
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-2/+3
| | | | | | | | | 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.
* Remove coverhd.hSebastian Huber2017-11-242-5/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | 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
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+1
|
* v850/gdbv850sim/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* v850/gdbv850sim: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-1/+0
| | | | warnings
* v850/gdbv850sim/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* v850/gdbv850sim: Add per-section compilation and linking supportJoel Sherrill2016-03-112-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. Had to add .rtemsroset to the linkcmds following the arm to get it to link after turning on the per-secton options. For the v850e1sim BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 76940 6456 4944 88340 15914 ticker.exe 21896 1860 760 24516 5fc4 minimum.exe 802270 45832 12837 860939 d230b cxx_iostream.exe 473916 65152 18156 557224 880a8 fileio.exe 384288 45724 34148 464160 71520 pppd.exe 161648 18416 7840 187904 2de00 capture.exe 90856 6740 5021 102617 190d9 nsecs.exe 158424 17512 5508 181444 2c4c4 paranoia.exe 152938 12948 5821 171707 29ebb cdtest.exe 73808 6296 4912 85016 14c18 base_sp.exe 77420 6528 8756 92704 16a20 unlimited.exe 89692 4792 4916 99400 18448 hello.exe 236138 18396 12240 266774 41216 loopback.exe For the v850e1sim BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 76739 1552 4920 83211 1450b ticker.exe 13682 228 748 14658 3942 minimum.exe 491284 6508 12026 509818 7c77a cxx_iostream.exe 517952 5632 17859 541443 84303 fileio.exe 379732 8864 33308 421904 67010 pppd.exe 169182 2176 7815 179173 2bbe5 capture.exe 91307 1640 4997 97944 17e98 nsecs.exe 167431 1920 5484 174835 2aaf3 paranoia.exe 156322 1936 5797 164055 280d7 cdtest.exe 72591 1548 4888 79027 134b3 base_sp.exe 76215 1576 8732 86523 151fb unlimited.exe 86346 1520 4892 92758 16a56 hello.exe 221810 2800 12076 236686 39c8e loopback.exe For the v850e2sim BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 69788 6452 4948 81188 13d24 ticker.exe 20972 1856 788 23616 5c40 minimum.exe 795748 45828 12841 854417 d0991 cxx_iostream.exe 440586 64864 18160 523610 7fd5a fileio.exe 352650 45644 34152 432446 6993e pppd.exe 151172 18400 7844 177416 2b508 capture.exe 84028 6736 5025 95789 1762d nsecs.exe 148268 17500 5512 171280 29d10 paranoia.exe 145916 12936 5825 164677 28345 cdtest.exe 67124 6292 4916 78332 131fc base_sp.exe 70452 6508 8760 85720 14ed8 unlimited.exe 83800 4788 4920 93508 16d44 hello.exe 221216 18372 12244 251832 3d7b8 loopback.exe For the v850e2sim BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 70155 1552 4924 76631 12b57 ticker.exe 14156 932 776 15864 3df8 minimum.exe 485650 6508 12030 504188 7b17c cxx_iostream.exe 485398 5632 17863 508893 7c3dd fileio.exe 351418 8864 33312 393594 6017a pppd.exe 159510 2176 7819 169505 29621 capture.exe 84989 1640 5001 91630 165ee nsecs.exe 157973 1920 5488 165381 28605 paranoia.exe 149880 1936 5801 157617 267b1 cdtest.exe 66529 1548 4892 72969 11d09 base_sp.exe 69847 1576 8736 80159 1391f unlimited.exe 81134 1520 4896 87550 155fe hello.exe 208878 2800 12080 223758 36a0e loopback.exe For the v850e2v3sim BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 69784 6452 4948 81184 13d20 ticker.exe 20972 1856 788 23616 5c40 minimum.exe 791378 45808 12841 850027 cf86b cxx_iostream.exe 436576 64848 18160 519584 7eda0 fileio.exe 348982 45624 34152 428758 68ad6 pppd.exe 147420 18380 7844 173644 2a64c capture.exe 84020 6736 5025 95781 17625 nsecs.exe 148736 17480 5512 171728 29ed0 paranoia.exe 142216 12916 5825 160957 274bd cdtest.exe 67120 6292 4916 78328 131f8 base_sp.exe 70448 6508 8760 85716 14ed4 unlimited.exe 80048 4768 4920 89736 15e88 hello.exe 217432 18352 12244 248028 3c8dc loopback.exe For the v850e2v3sim BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 70151 1552 4924 76627 12b53 ticker.exe 14156 932 776 15864 3df8 minimum.exe 481408 6508 12030 499946 7a0ea cxx_iostream.exe 481378 5632 17863 504873 7b429 fileio.exe 347740 8864 33312 389916 5f31c pppd.exe 155736 2176 7819 165731 28763 capture.exe 84981 1640 5001 91622 165e6 nsecs.exe 158331 1920 5488 165739 2876b paranoia.exe 146164 1936 5801 153901 2592d cdtest.exe 66525 1548 4892 72965 11d05 base_sp.exe 69843 1576 8736 80155 1391b unlimited.exe 77363 1520 4896 83779 14743 hello.exe 205082 2800 12080 219962 35b3a loopback.exe For the v850esim BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 69626 6452 4948 81026 13c82 ticker.exe 20920 1856 788 23564 5c0c minimum.exe 794782 45828 12841 853451 d05cb cxx_iostream.exe 440110 64860 18160 523130 7fb7a fileio.exe 351798 45644 34152 431594 695ea pppd.exe 150816 18400 7844 177060 2b3a4 capture.exe 83850 6736 5025 95611 1757b nsecs.exe 147962 17500 5512 170974 29bde paranoia.exe 145458 12936 5825 164219 2817b cdtest.exe 66958 6292 4916 78166 13156 base_sp.exe 70286 6508 8760 85554 14e32 unlimited.exe 83606 4788 4920 93314 16c82 hello.exe 220770 18372 12244 251386 3d5fa loopback.exe For the v850esim BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 69971 1552 4924 76447 12a9f ticker.exe 14108 932 776 15816 3dc8 minimum.exe 484692 6508 12030 503230 7adbe cxx_iostream.exe 484894 5632 17863 508389 7c1e5 fileio.exe 350548 8864 33312 392724 5fe14 pppd.exe 159138 2176 7819 169133 294ad capture.exe 84791 1640 5001 91432 16528 nsecs.exe 157655 1920 5488 165063 284c7 paranoia.exe 149416 1936 5801 157153 265e1 cdtest.exe 66349 1548 4892 72789 11c55 base_sp.exe 69669 1576 8736 79981 1386d unlimited.exe 80928 1520 4896 87344 15530 hello.exe 208424 2800 12080 223304 36848 loopback.exe For the v850essim BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 76940 6456 4944 88340 15914 ticker.exe 21896 1860 760 24516 5fc4 minimum.exe 802270 45832 12837 860939 d230b cxx_iostream.exe 473916 65152 18156 557224 880a8 fileio.exe 384288 45724 34148 464160 71520 pppd.exe 161648 18416 7840 187904 2de00 capture.exe 90856 6740 5021 102617 190d9 nsecs.exe 158424 17512 5508 181444 2c4c4 paranoia.exe 152938 12948 5821 171707 29ebb cdtest.exe 73808 6296 4912 85016 14c18 base_sp.exe 77420 6528 8756 92704 16a20 unlimited.exe 89692 4792 4916 99400 18448 hello.exe 236138 18396 12240 266774 41216 loopback.exe For the v850essim BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 76739 1552 4920 83211 1450b ticker.exe 13682 228 748 14658 3942 minimum.exe 491284 6508 12026 509818 7c77a cxx_iostream.exe 517952 5632 17859 541443 84303 fileio.exe 379732 8864 33308 421904 67010 pppd.exe 169182 2176 7815 179173 2bbe5 capture.exe 91307 1640 4997 97944 17e98 nsecs.exe 167431 1920 5484 174835 2aaf3 paranoia.exe 156322 1936 5797 164055 280d7 cdtest.exe 72591 1548 4888 79027 134b3 base_sp.exe 76215 1576 8732 86523 151fb unlimited.exe 86346 1520 4892 92758 16a56 hello.exe 221810 2800 12076 236686 39c8e loopback.exe For the v850sim BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 79246 6456 4944 90646 16216 ticker.exe 22440 1860 760 25060 61e4 minimum.exe 874792 46172 12837 933801 e3fa9 cxx_iostream.exe 484218 65164 18156 567538 8a8f2 fileio.exe 396364 45736 34148 476248 74458 pppd.exe 167214 18416 7840 193470 2f3be capture.exe 95154 6744 5021 106919 1a1a7 nsecs.exe 162778 17512 5508 185798 2d5c6 paranoia.exe 161270 12984 5821 180075 2bf6b cdtest.exe 76114 6296 4912 87322 1551a base_sp.exe 79726 6528 8756 95010 17322 unlimited.exe 93578 4792 4916 103286 19376 hello.exe 242848 18396 12240 273484 42c4c loopback.exe For the v850sim BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 79045 1552 4920 85517 14e0d ticker.exe 13674 228 748 14650 393a minimum.exe 526914 6508 12026 545448 852a8 cxx_iostream.exe 528264 5632 17859 551755 86b4b fileio.exe 391652 8864 33308 433824 69ea0 pppd.exe 174748 2176 7815 184739 2d1a3 capture.exe 95605 1640 4997 102242 18f62 nsecs.exe 171785 1920 5484 179189 2bbf5 paranoia.exe 164414 1936 5797 172147 2a073 cdtest.exe 74897 1548 4888 81333 13db5 base_sp.exe 78521 1576 8732 88829 15afd unlimited.exe 90232 1520 4892 96644 17984 hello.exe 228424 2800 12076 243300 3b664 loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* score: Introduce Thread_Entry_informationSebastian Huber2016-01-111-1/+1
| | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsps: Fix some linker set descriptionsSebastian Huber2015-12-091-1/+1
| | | | | Fix broken RTEMS linker set descriptions introduced by b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
* Add RTEMS linker setsSebastian Huber2015-12-081-1/+2
| | | | Update #2408.
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-2/+2
| | | | | | | | | | | | | | | | | This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
* Update bug report URLSebastian Huber2014-12-052-2/+2
|
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-4/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* Add console-polled.h and update all BSPs that should use it.Joel Sherrill2014-10-103-1/+7
| | | | | | | | | | | The file console-polled.h provides the prototypes for the three required methods when implementing a single port polled console driver. This paradigm is common on simulators and simple hardware. + Updated the BSPs Makefile.am to make console-polled.h available. + Regenerated the BSPs preinstall.sm. + Updated console support files to include <bsp/console-polled.h>. + Updated console support files to make printk() support method static.
* libbsp/v850/shared/crt1.c: Remove warningsJoel Sherrill2014-10-091-6/+10
|
* Regenerate all preinstall.am files.Chris Johns2014-08-291-6/+6
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* bsps: Do not build tests that require a tick interrupt.Chris Johns2014-05-286-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following BSPs do not have tick support so the tests fail: arm1136jfs arm1136js arm7tdmi arm920 armcortexa9 (does not run any more) avrtest h8sim h8sxsim m32csim m32rsim moxiesim simsh1 simsh2 simsh4 v850e1sim v850e2sim v850e2v3sim v850esim v850essim v850sim This list was provided by Joel in the following post: http://www.rtems.org/pipermail/rtems-devel/2014-April/006526.html
* bsps: Fix TLS support in linker command filesSebastian Huber2014-04-221-1/+3
| | | | | The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-213-3/+3
|
* bsps: Add empty cache managerSebastian Huber2014-02-241-0/+5
| | | | | This is necessary to add tests that use the cache manager. For example to get better estimates of worst-case timings.
* bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber2014-02-041-0/+14
|
* bsp/v850: Use proper ABI in linkcmdsSebastian Huber2014-02-041-3/+3
|
* score: Add RTEMS_FATAL_SOURCE_EXITSebastian Huber2012-11-151-0/+1
| | | | | | | Include <bsp/default-initial-extension.h> in all BSPs. Call rtems_fatal() with RTEMS_FATAL_SOURCE_EXIT as source and the exit() status code as fatal code in every bsp_cleanup(). Move previous bsp_cleanup() code into bsp_fatal_extension().
* Delete leftover bspopts.h.in from revertGedare Bloom2012-08-061-31/+0
|
* Require automake-1.12.2.Ralf Corsépius2012-07-192-2/+2
|