summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* bsps/powerpc: Move MMU support to bspsSebastian Huber2018-03-261-1/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/powerpc: Move libcpu timer to bspsSebastian Huber2018-03-221-1/+1
| | | | | | | | | 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-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move basic support to bspsSebastian Huber2018-03-191-3/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Move legacy IRQ supportSebastian Huber2018-03-191-1/+1
| | | | | | 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.
* bsps: Move network define to source filesSebastian Huber2018-01-311-12/+1
| | | | | Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
* Remove make preinstallChris Johns2018-01-259-923/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Move wd80x3.h to libchip/wd80x3.hSebastian Huber2018-01-222-6/+0
| | | | | | This header is used also by the motorola_powerpc BSP. Update #3254.
* bsps/powerpc: Move BSP specific file to BSPSebastian Huber2018-01-163-3/+235
| | | | Update #3254.
* bsps/powerpc: Use public include pathChris Johns2018-01-042-6/+1
| | | | Update #3254.
* bsps/powerpc: Move shared irq.hSebastian Huber2018-01-033-3/+207
| | | | | | | This header file is only used by motorola_powerpc, so not shared. Update #3254. Update #3268.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-5/+10
| | | | 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.
* beatnik, motorola_powerpc, mvme3100, mvme5500: Simplify bsp_specsJoel Sherrill2017-12-204-8/+14
| | | | | | | | | This collection of BSPs shared the linker script shared/startup/linkcmds. I renamed that ot shared/startup/linkcmds.share and made a BSP family specific startup/linkcmds. This was needed because each BSP family had a different combination of start file name, undefined symbols, etc. Updates #3520.
* motorola_powerpc/bsp_specs: Reorder and improve consistencyJoel Sherrill2017-11-291-3/+3
| | | | Updates #3520.
* REVERT */*/bsp_specs: Increase similarity to ease futureJoel Sherrill2017-11-271-3/+3
| | | | | | Patch was not intended to be pushed yet. Updates #3520.
* */*/bsp_specs: Increase similarity to ease future analysisJoel Sherrill2017-11-271-3/+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.
* 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: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-1/+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/motorola_powerpc: Fix for Binutils 2.28+Sebastian Huber2017-06-016-0/+6
| | | | | | | | | | There are mismatched sections in the bootloader input: ld: Warning: ticker.exe uses hard float, ticker.ralf uses soft float ld: ticker.exe: compiled normally and linked with modules compiled with -mrelocatable ld: failed to merge target specific data of file ticker.exe Suppress this error explicitly.
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-3/+4
|
* powerpc/motorola_powerpc: Remove include of <rtems/console.h> from <bsp.h> ↵Joel Sherrill2016-03-291-1/+0
| | | | and fix warnings
* bsp/motorola_powerpc: README.qemuSebastian Huber2016-03-291-1/+6
|
* powerpc/motorola_powerpc/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* powerpc/motorola_powerpc: Add per-section compilation and linking supportJoel Sherrill2016-03-116-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. closes #2579. In addition to the make/custom files, the ppcboot.lds file had to be updated to add a KEEP() on the .entry_point_section. For the mcp750 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 188997 29656 48361 267014 41306 ticker.exe 150693 26116 44681 221490 36132 minimum.exe 939941 217971 55585 1213497 128439 cxx_iostream.exe 585125 98042 61033 744200 b5b08 fileio.exe 506445 72164 76829 655438 a004e pppd.exe 253397 40224 50409 344030 53fde capture.exe 208597 31236 48437 288270 4660e nsecs.exe 218981 42028 48961 309970 4bad2 paranoia.exe 275605 47856 48585 372046 5ad4e cdtest.exe 186309 29488 48329 264126 407be base_sp.exe 188517 30424 52105 271046 422c6 unlimited.exe 174725 28324 48257 251306 3d5aa hello.exe 342601 41628 55433 439662 6b56e loopback.exe For the mcp750 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 159345 19612 48329 227286 377d6 ticker.exe 120417 15516 44649 180582 2c166 minimum.exe 596905 50686 54737 702328 ab778 cxx_iostream.exe 551185 88466 60745 700396 aafec fileio.exe 453101 61848 76093 591042 904c2 pppd.exe 228033 32444 50381 310858 4be4a capture.exe 179585 21168 48405 249158 3cd46 nsecs.exe 188785 31176 48933 268894 41a5e paranoia.exe 249561 28688 48553 326802 4fc92 cdtest.exe 156401 19444 48297 224142 36b8e base_sp.exe 156977 19592 52073 228642 37d22 unlimited.exe 142929 17544 48225 208698 32f3a hello.exe 302045 33328 55321 390694 5f626 loopback.exe For the mtx603e BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 189317 29640 48361 267318 41436 ticker.exe 150997 26104 44681 221782 36256 minimum.exe 940581 214151 55585 1210317 1277cd cxx_iostream.exe 585317 98026 61033 744376 b5bb8 fileio.exe 506893 72148 76829 655870 a01fe pppd.exe 253813 40208 50409 344430 5416e capture.exe 208917 31220 48437 288574 4673e nsecs.exe 219301 42012 48961 310274 4bc02 paranoia.exe 276021 47700 48585 372306 5ae52 cdtest.exe 186629 29472 48329 264430 408ee base_sp.exe 188837 30408 52105 271350 423f6 unlimited.exe 175045 28312 48257 251614 3d6de hello.exe 342953 41612 55433 439998 6b6be loopback.exe For the mtx603e BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 159345 19612 48329 227286 377d6 ticker.exe 120385 15516 44649 180550 2c146 minimum.exe 597097 50686 54737 702520 ab838 cxx_iostream.exe 551121 88466 60745 700332 aafac fileio.exe 453197 61848 76093 591138 90522 pppd.exe 228097 32444 50381 310922 4be8a capture.exe 179569 21168 48405 249142 3cd36 nsecs.exe 188785 31176 48933 268894 41a5e paranoia.exe 249625 28688 48553 326866 4fcd2 cdtest.exe 156369 19444 48297 224110 36b6e base_sp.exe 156945 19592 52073 228610 37d02 unlimited.exe 142929 17544 48225 208698 32f3a hello.exe 302109 33328 55321 390758 5f666 loopback.exe For the mvme2100 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 185285 24424 48361 258070 3f016 ticker.exe 146997 20880 44681 212558 33e4e minimum.exe 936549 208935 55585 1201069 1253ad cxx_iostream.exe 581285 92810 61033 735128 b3798 fileio.exe 502861 66932 76829 646622 9ddde pppd.exe 249781 34984 50409 335174 51d46 capture.exe 204917 26004 48437 279358 4433e nsecs.exe 215269 36788 48961 301018 497da paranoia.exe 271989 42484 48585 363058 58a32 cdtest.exe 182597 24256 48329 255182 3e4ce base_sp.exe 184805 25192 52105 262102 3ffd6 unlimited.exe 171045 23088 48257 242390 3b2d6 hello.exe 338953 36388 55433 430774 692b6 loopback.exe For the mvme2100 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 154449 18328 48329 221106 35fb2 ticker.exe 115521 14232 44649 174402 2a942 minimum.exe 592201 49402 54737 696340 aa014 cxx_iostream.exe 546225 87182 60745 694152 a9788 fileio.exe 448301 60564 76093 584958 8ecfe pppd.exe 223201 31160 50349 304710 4a646 capture.exe 174673 19884 48405 242962 3b512 nsecs.exe 183889 29892 48933 262714 4023a paranoia.exe 244729 27404 48553 320686 4e4ae cdtest.exe 151473 18160 48297 217930 3534a base_sp.exe 152049 18308 52073 222430 364de unlimited.exe 138033 16260 48225 202518 31716 hello.exe 297213 32044 55321 384578 5de42 loopback.exe For the mvme2307 BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 189781 29656 48361 267798 41616 ticker.exe 151221 26124 44681 222026 3634a minimum.exe 941701 214035 55585 1211321 127bb9 cxx_iostream.exe 586821 98050 61033 745904 b61b0 fileio.exe 509309 72164 76829 658302 a0b7e pppd.exe 254341 40232 50409 344982 54396 capture.exe 209493 31236 48437 289166 4698e nsecs.exe 219765 42036 48961 310762 4bdea paranoia.exe 276869 47700 48585 373154 5b1a2 cdtest.exe 187061 29488 48329 264878 40aae base_sp.exe 189269 30432 52105 271806 425be unlimited.exe 175477 28324 48257 252058 3d89a hello.exe 343593 41628 55433 440654 6b94e loopback.exe For the mvme2307 BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 159921 19612 48329 227862 37a16 ticker.exe 120801 15516 44649 180966 2c2e6 minimum.exe 598393 50694 54737 703824 abd50 cxx_iostream.exe 552721 88466 60745 701932 ab5ec fileio.exe 455709 61848 76093 593650 90ef2 pppd.exe 228817 32444 50381 311642 4c15a capture.exe 180257 21176 48405 249838 3cfee nsecs.exe 189361 31184 48933 269478 41ca6 paranoia.exe 250665 28688 48553 327906 500e2 cdtest.exe 156945 19444 48297 224686 36dae base_sp.exe 157521 19592 52073 229186 37f42 unlimited.exe 143473 17552 48225 209250 33162 hello.exe 302877 33328 55321 391526 5f966 loopback.exe For the qemuprep-altivec BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 188533 25288 47629 261450 3fd4a ticker.exe 150149 21740 43981 215870 34b3e minimum.exe 940373 213899 54853 1209125 127325 cxx_iostream.exe 585013 93674 60333 739020 b46cc fileio.exe 506173 67796 76129 650098 9eb72 pppd.exe 252965 35848 49677 338490 52a3a capture.exe 208133 26868 47705 282706 45052 nsecs.exe 218517 37652 48261 304430 4a52e paranoia.exe 276165 43792 47853 367810 59cc2 cdtest.exe 185845 25120 47597 258562 3f202 base_sp.exe 188053 26056 51373 265482 40d0a unlimited.exe 174261 23948 47525 245734 3bfe6 hello.exe 342233 37252 54701 434186 6a00a loopback.exe For the qemuprep-altivec BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 161089 21244 47597 229930 3822a ticker.exe 122225 17908 43917 184050 2cef2 minimum.exe 595689 50718 54005 700412 aaffc cxx_iostream.exe 548433 87634 60009 696076 a9f0c fileio.exe 450029 61016 75357 586402 8f2a2 pppd.exe 224961 31612 49645 306218 4ac2a capture.exe 181329 22808 47673 251810 3d7a2 nsecs.exe 190561 33576 48201 272338 427d2 paranoia.exe 249593 31072 47821 328486 50326 cdtest.exe 158145 21076 47565 226786 375e2 base_sp.exe 158753 21984 51341 232078 38a8e unlimited.exe 144705 19944 47493 212142 33cae hello.exe 298941 32496 54585 386022 5e3e6 loopback.exe For the qemuprep BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 186453 24912 47621 258986 3f3aa ticker.exe 147829 21372 43973 213174 340b6 minimum.exe 937413 213207 54845 1205465 1264d9 cxx_iostream.exe 583237 93306 60325 736868 b3e64 fileio.exe 505885 67420 76121 649426 9e8d2 pppd.exe 250949 35480 49669 336098 520e2 capture.exe 206037 26492 47697 280226 446a2 nsecs.exe 216469 37284 48253 302006 49bb6 paranoia.exe 273061 43104 47845 364010 58dea cdtest.exe 183733 24744 47589 256066 3e842 base_sp.exe 185941 25688 51365 262994 40352 unlimited.exe 172149 23572 47517 243238 3b626 hello.exe 340201 36876 54693 431770 6969a loopback.exe For the qemuprep BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 153841 18412 47585 219838 35abe ticker.exe 114625 14308 43905 172838 2a326 minimum.exe 591417 49486 53993 694896 a9a70 cxx_iostream.exe 546353 87266 60001 693620 a9574 fileio.exe 449469 60648 75349 585466 8eefa pppd.exe 222641 31244 49637 303522 4a1a2 capture.exe 174049 19968 47661 241678 3b00e nsecs.exe 183313 29976 48189 261478 3fd66 paranoia.exe 244073 27488 47809 319370 4df8a cdtest.exe 150865 18244 47553 216662 34e56 base_sp.exe 151409 18384 51329 221122 35fc2 unlimited.exe 137361 16344 47481 201186 311e2 hello.exe 296733 32128 54577 383438 5d9ce loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-031-1/+1
| | | | Update #2408.
* api: Remove deprecated NotepadsAun-Ali Zaidi2015-12-242-4/+0
| | | | | | | | | | | | | | | | | | | | | | | 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.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsps/powerpc: Use default bsp_pretasking_hook()Sebastian Huber2015-12-101-2/+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-051-1/+1
|
* powerpc/motorola_powerpc/include/bsp.h: Fix warningsJoel Sherrill2014-10-191-0/+5
|
* libbsp/powerpc/shared and motorola_powerpc: Fix warningsJoel Sherrill2014-10-192-37/+41
|
* powerpc/motorola_powerpc/startup/bspreset.c: Include <bsp/bootcard.h>Joel Sherrill2014-10-131-1/+2
|
* bsps: Fix build errorSebastian Huber2014-09-182-5/+0
| | | | Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
* Regenerate all preinstall.am files.Joel Sherrill2014-08-281-6/+6
| | | | | Apparently, at some point automake output changed and these were not updated.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* libbsp tm27.h: Add Doxygen file header to all tm27.hCynthia Rempel2014-01-091-2/+6
|
* powerpc: motorola: Move bspreset.c to startup/Chirayu Desai2013-12-022-2/+29
| | | | * Move shared/console/bspreset.c to motorola_powerpc/startup/bspreset.c
* Use $(EXEEXT) [defaults to "exe"] to generate binariesNick Withers2013-08-096-14/+14
|
* RTEMS: Delete ChangeLog files.Gedare Bloom2013-03-081-970/+0
| | | | | | | | | This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
* 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().
* Revert "Add bspopts.h.in."Gedare Bloom2012-08-061-54/+0
| | | | | | | | | | | | This reverts commit daffa606cc4a45d93c1f0f4fe365fde0fda6acbb. Conflicts: c/src/lib/libbsp/arm/lpc24xx/include/bspopts.h.in c/src/lib/libbsp/powerpc/mpc55xxevb/include/bspopts.h.in c/src/lib/libbsp/powerpc/qoriq/include/bspopts.h.in Manually deleted conflicting files.
* Remove CVS-Ids.Ralf Corsépius2012-07-191-1/+1
|
* Require automake-1.12.2.Ralf Corsépius2012-07-191-1/+1
|