summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200 (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* bsp/powerpc: Move libcpu timer to bspsSebastian Huber2018-03-221-2/+2
| | | | | | | | | Use only one timer driver variant based on the standard PowerPC time base. This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move exceptions support to bspsSebastian Huber2018-03-191-2/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move basic support to bspsSebastian Huber2018-03-191-4/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-1/+2
| | | | | | | | | | | | | | | | | | 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-2530-6508/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsp/gen5200: Use public include pathSebastian Huber2018-01-221-1/+1
| | | | Update #3254.
* bsp/gen5200: Fix i2c.h and i2cdrv.h installationSebastian Huber2018-01-198-17/+8
| | | | | | Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>. Update #3254.
* bsp/gen5200: Fix linker command fileSebastian Huber2018-01-051-0/+1
| | | | Updates #3520.
* bsp/gen5200: Use public include pathChris Johns2018-01-0431-68/+54
| | | | Update #3254.
* bsps/powerpc: Rename BSP specific linkcmds.baseSebastian Huber2018-01-039-10/+10
| | | | | | Avoid name conflicts with shared linkcmds.base. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-4/+7
| | | | 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.
* bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | Update #3254.
* gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill2017-12-201-5/+1
| | | | | | | | | | Simplify bsp_specs These BSPs all use shared/startup/linkcmds.base and thus needed to be modified at the same time. Variations in the arguments were reflected into the BSP specific portions of the linkcmds. Updates #3520.
* bsp/gen5200: Avoid duplicate header installationSebastian Huber2017-12-052-11/+1
| | | | Update #3254.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* 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
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-6/+0
| | | | | | | BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-6/+0
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* bsp/gen5200: Fix warningSebastian Huber2017-09-281-2/+0
| | | | Update #3122.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* bsp/gen5200: Fix warningsSebastian Huber2017-07-281-6/+4
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-16/+16
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-221-1/+1
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* bsps/powerpc: Fix warningsSebastian Huber2017-03-012-5/+7
|
* libchip: Simplify RTC driverSebastian Huber2016-07-041-2/+0
|
* powerpc/gen5200/include/bsp.h: Remove unnecessary include of <rtems/rtc.h>Joel Sherrill2016-03-301-1/+0
|
* powerpc/gen5200: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-292-2/+2
| | | | warnings
* powerpc/gen5200/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* powerpc/gen5200: Add per-section compilation and linking support.Ralph Holmes2016-01-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the brs5l BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 140000 2272 7904 150176 24aa0 base_sp.exe 148800 2112 7872 158784 26c40 hello.exe 99072 1824 4576 105472 19c00 minimum.exe 665664 11840 21088 698592 aa8e0 fileio.exe 164768 2368 8000 175136 2ac20 nsecs.exe 201984 2656 8512 213152 340a0 paranoia.exe 143296 2272 7936 153504 257a0 ticker.exe 142752 2304 11680 156736 26440 unlimited.exe 939040 154112 15584 1108736 10eb00 cxx_iostream.exe 252736 10368 8576 271680 42540 cdtest.exe 251200 2784 9728 263712 40620 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 116832 2240 7872 126944 1efe0 base_sp.exe 123424 2080 7840 133344 208e0 hello.exe 45472 1568 4000 51040 c760 minimum.exe 628064 11808 20320 660192 a12e0 fileio.exe 142304 2336 8000 152640 25440 nsecs.exe 178240 2624 8512 189376 2e3c0 paranoia.exe 120384 2272 7904 130560 1fe00 ticker.exe 118080 2272 11648 132000 203a0 unlimited.exe 583968 141024 14720 739712 b4980 cxx_iostream.exe 230048 9888 8576 248512 3cac0 cdtest.exe 225216 2720 9696 237632 3a040 capture.exe For the brs6l BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 140096 2272 7904 150272 24b00 base_sp.exe 148896 2112 7872 158880 26ca0 hello.exe 99136 1824 4576 105536 19c40 minimum.exe 665696 11840 21088 698624 aa900 fileio.exe 164832 2368 8000 175200 2ac60 nsecs.exe 202080 2656 8512 213248 34100 paranoia.exe 143392 2272 7936 153600 25800 ticker.exe 142848 2304 11680 156832 264a0 unlimited.exe 939136 154112 15584 1108832 10eb60 cxx_iostream.exe 252800 10368 8576 271744 42580 cdtest.exe 251296 2784 9728 263808 40680 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 116896 2240 7872 127008 1f020 base_sp.exe 123520 2080 7840 133440 20940 hello.exe 45568 1568 4000 51136 c7c0 minimum.exe 628096 11808 20320 660224 a1300 fileio.exe 142368 2336 8000 152704 25480 nsecs.exe 178304 2624 8512 189440 2e400 paranoia.exe 120448 2272 7904 130624 1fe40 ticker.exe 118144 2272 11648 132064 203e0 unlimited.exe 584032 141024 14720 739776 b49c0 cxx_iostream.exe 230144 9888 8576 248608 3cb20 cdtest.exe 225280 2720 9696 237696 3a080 capture.exe For the dp2 BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 139488 2272 7968 149728 248e0 base_sp.exe 148288 2112 7936 158336 26a80 hello.exe 98528 1824 4640 104992 19a20 minimum.exe 665376 11840 21152 698368 aa800 fileio.exe 164224 2368 8064 174656 2aa40 nsecs.exe 201504 2656 8576 212736 33f00 paranoia.exe 142784 2272 8000 153056 255e0 ticker.exe 142272 2304 11744 156320 262a0 unlimited.exe 938528 154112 15648 1108288 10e940 cxx_iostream.exe 252224 10368 8640 271232 42380 cdtest.exe 250688 2784 9824 263296 40480 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 116320 2240 7936 126496 1ee20 base_sp.exe 122912 2080 7904 132896 20720 hello.exe 44864 1568 4064 50496 c540 minimum.exe 627744 11808 20384 659936 a11e0 fileio.exe 141792 2336 8064 152192 25280 nsecs.exe 177728 2624 8576 188928 2e200 paranoia.exe 119872 2272 7968 130112 1fc40 ticker.exe 117568 2272 11712 131552 201e0 unlimited.exe 583456 141024 14784 739264 b47c0 cxx_iostream.exe 229536 9888 8640 248064 3c900 cdtest.exe 224736 2720 9792 237248 39ec0 capture.exe For the icecube BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 139008 2272 7808 149088 24660 base_sp.exe 147808 2112 7776 157696 26800 hello.exe 98080 1824 4480 104384 197c0 minimum.exe 664800 11840 20992 697632 aa520 fileio.exe 163776 2368 7904 174048 2a7e0 nsecs.exe 201024 2656 8448 212128 33ca0 paranoia.exe 142304 2272 7840 152416 25360 ticker.exe 141792 2304 11584 155680 26020 unlimited.exe 938048 154112 15488 1107648 10e6c0 cxx_iostream.exe 251744 10368 8480 270592 42100 cdtest.exe 250208 2784 9664 262656 40200 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 115904 2272 7776 125952 1ec00 base_sp.exe 122496 2080 7744 132320 204e0 hello.exe 44480 1568 3904 49952 c320 minimum.exe 627264 11808 20224 659296 a0f60 fileio.exe 141376 2368 7904 151648 25060 nsecs.exe 177312 2656 8416 188384 2dfe0 paranoia.exe 119456 2272 7808 129536 1fa00 ticker.exe 117152 2272 11552 130976 1ffa0 unlimited.exe 583040 141024 14624 738688 b4580 cxx_iostream.exe 229152 9888 8480 247520 3c6e0 cdtest.exe 224320 2720 9632 236672 39c80 capture.exe For the pm520_cr825 BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 139328 2272 7968 149568 24840 base_sp.exe 148128 2112 7936 158176 269e0 hello.exe 98368 1824 4640 104832 19980 minimum.exe 665088 11840 21152 698080 aa6e0 fileio.exe 164064 2368 8064 174496 2a9a0 nsecs.exe 201312 2656 8576 212544 33e40 paranoia.exe 142624 2272 8000 152896 25540 ticker.exe 142112 2304 11744 156160 26200 unlimited.exe 938368 154112 15648 1108128 10e8a0 cxx_iostream.exe 252032 10368 8640 271040 422c0 cdtest.exe 250528 2784 9824 263136 403e0 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 116160 2240 7936 126336 1ed80 base_sp.exe 122752 2080 7904 132736 20680 hello.exe 44768 1568 4064 50400 c4e0 minimum.exe 627488 11808 20384 659680 a10e0 fileio.exe 141632 2336 8064 152032 251e0 nsecs.exe 177568 2624 8576 188768 2e160 paranoia.exe 119712 2272 7968 129952 1fba0 ticker.exe 117408 2272 11712 131392 20140 unlimited.exe 583296 141024 14784 739104 b4720 cxx_iostream.exe 229376 9888 8640 247904 3c860 cdtest.exe 224544 2720 9792 237056 39e00 capture.exe For the pm520_ze30 BSP variant: The size of the sample executables without this option were: text data bss dec hex filename 139456 2272 7968 149696 248c0 base_sp.exe 148256 2112 7936 158304 26a60 hello.exe 98496 1824 4640 104960 19a00 minimum.exe 665216 11840 21152 698208 aa760 fileio.exe 164192 2368 8064 174624 2aa20 nsecs.exe 201408 2656 8576 212640 33ea0 paranoia.exe 142720 2272 8000 152992 255a0 ticker.exe 142240 2304 11744 156288 26280 unlimited.exe 938496 154112 15648 1108256 10e920 cxx_iostream.exe 252160 10368 8640 271168 42340 cdtest.exe 250624 2784 9824 263232 40440 capture.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 116288 2240 7936 126464 1ee00 base_sp.exe 122880 2080 7904 132864 20700 hello.exe 44896 1568 4064 50528 c560 minimum.exe 627616 11808 20384 659808 a1160 fileio.exe 141760 2336 8064 152160 25260 nsecs.exe 177664 2624 8576 188864 2e1c0 paranoia.exe 119808 2272 7968 130048 1fc00 ticker.exe 117536 2272 11712 131520 201c0 unlimited.exe 583392 141024 14784 739200 b4780 cxx_iostream.exe 229504 9888 8640 248032 3c8e0 cdtest.exe 224672 2720 9792 237184 39e80 capture.exe
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* Add RTEMS linker setsSebastian Huber2015-12-081-0/+2
| | | | Update #2408.
* remaining bsp.h: Fix by hand to LIBBSP_@CPU@_@BSP_FAMILY@_BSP_HJoel Sherrill2015-07-161-2/+2
| | | | These files were left after running the script in the previous patch.
* bsp/gen5200: Simplify interrupt write supportSebastian Huber2015-06-241-7/+8
|
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-211-3/+1
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-5/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* bsp/gen5200: Fix warningsSebastian Huber2014-10-1011-58/+56
|
* gen5200/startup/cpuinit.c: Warning for function which should have been voidJoel Sherrill2014-10-091-1/+1
|
* bsps: Fix build errorSebastian Huber2014-09-182-6/+0
| | | | Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
* Regenerate all preinstall.am files.Chris Johns2014-08-291-7/+7
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* Regenerate all preinstall.am files.Joel Sherrill2014-08-281-3/+3
| | | | | Apparently, at some point automake output changed and these were not updated.
* 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-2144-58/+58
|
* bsps/powerpc: Use System V small-data areaSebastian Huber2014-02-241-1/+1
| | | | | | The 32-bit ABIs for thread-local storage (TLS) and EABI read-only small-data area have a conflicting register (r2) usage. Use the System V small-data instead (here r2 is system reserved).
* score: Add RTEMS_FATAL_SOURCE_BSPSebastian Huber2014-02-199-36/+20
| | | | | | Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
* powerpc: Change interrupt disable implemetationSebastian Huber2014-02-191-1/+0
| | | | | | | | | | | | Instead of SPRG0 (= special purpose register 272) use the new global symbol _PPC_INTERRUPT_DISABLE_MASK to store the interrupt disable mask. The benefit is that it is now possible to disable interrupts without further run-time initialization in boot_card(). At least on Freescale e500 cores this leads also to a faster execution since the mfmsr and mfspr instruction require four cycles to complete. The instructions to load the mask value can execute while the mfmsr is in progress.