summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/tqm8xx/startup (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-20bsps: Move startup files to bspsSebastian Huber6-478/+0
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-03-26bsp/tqm8xx: Use shared linker command fileSebastian Huber5-371/+50
Update #3339.
2018-03-22bsp/powerpc: Move libcpu timer to bspsSebastian Huber1-6/+0
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.
2018-03-22bsps/powerpc: Remove bsp_timer_internal_clockSebastian Huber1-1/+0
The only consumer of this variable was the ppc403 clock driver used by the * haleakala, * virtex, and * virtex4 BSPs which set bsp_timer_internal_clock unconditionally to true. Update #3285.
2018-01-25Remove make preinstallChris Johns1-0/+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.
2018-01-03bsps/powerpc: Rename BSP specific linkcmds.baseSebastian Huber2-1/+1
Avoid name conflicts with shared linkcmds.base. Update #3254.
2017-12-20gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill2-0/+4
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.
2017-11-22powerpc: Remove _BSP_Fatal_error()Sebastian Huber1-14/+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.
2017-11-22powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber1-15/+1
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.
2015-12-10bsp/tqm8xx: Fix linker set descriptionSebastian Huber1-1/+2
Fix broken RTEMS linker set description introduced by b618d8cfc54f84d4ed03dc7b7fa510c872e6128a.
2015-12-08Add RTEMS linker setsSebastian Huber1-1/+2
Update #2408.
2014-12-12bsp/mpc8xx: Fix warningsSebastian Huber1-7/+3
close #2211
2014-10-19powerpc/tqm8xx/startup/bspstart.c: Fix set but not used warningJoel Sherrill1-0/+1
2014-10-16tqm8xx/startup/bspstart.c: Remove myCpu variables and clean upJoel Sherrill1-6/+5
2014-04-22bsps: Fix TLS support in linker command filesSebastian Huber1-1/+3
The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns4-5/+5
2014-02-19powerpc: Change interrupt disable implemetationSebastian Huber1-5/+1
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.
2014-02-14score: Add CPU counter supportSebastian Huber1-0/+2
Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
2014-02-04bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber1-0/+17
2013-12-06tqm8xx: Move start.S to tqm8xx/start/start.SDaniel Ramirez1-284/+0
2013-03-18bsps: Support DWARF extensionSebastian Huber1-0/+2
2012-11-15bsps/powerpc: Exception initialization error is fatalSebastian Huber1-5/+1
2012-11-15bsps: Interrupt initialization error is fatalSebastian Huber1-4/+1
2012-10-25score: Work area initialization API changeSebastian Huber1-16/+11
The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
2012-10-11Use proper 3 line form of license textJoel Sherrill2-4/+6
2012-06-12bsps: Replace NIRVANA regionSebastian Huber2-6/+12
Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS" region. Move the region definition into the "linkcmds.base" files.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill3-5/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-04-02bsps: More accurate PowerPC clock driverSebastian Huber1-2/+7
The clock driver used previously the bsp_clicks_per_usec value. For a 33333333Hz time base frequency this leads to a relative error of one per cent for example due to integer truncation.
2011-06-072011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-2/+2
* configure.ac, startup/bspstart.c: Use standard cache BSP options.
2009-11-30Whitespace removal.Ralf Corsepius4-41/+41
2009-11-03various PowerPC code maintenanceThomas Doerfler1-3/+1
2009-10-30move timebase access functions from cpukit to libcpuThomas Doerfler1-1/+1
2009-10-23Update for exception support changes.Thomas Doerfler1-10/+18
2009-10-21interrupt handler type changeThomas Doerfler2-14/+7
2009-09-102009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-51/+0
PR 1435/bsps * Makefile.am: Use shared implementation of bsp_idle_thread(). * startup/bspidle.c: Removed.
2009-08-262009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-25/+51
* Makefile.am, startup/bspstart.c: Rename BSP specific idle thread to bsp_idle_thread and split into its own file. * startup/bspidle.c: New file.
2009-05-082009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* startup/bspgetworkarea.c: Switch from ssize_t to uintptr_t for bsp_get_work_area() since the work area is larger than a single allocatable object.
2009-04-282009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns1-2/+5
* startup/start.S: Update for boot_card command line change.
2009-02-122009-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* startup/bspstart.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
2008-10-022008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-4/+4
* startup/bspgetworkarea.c: Change size_t to ssize_t on bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits which would limit the work area to 64K.
2008-09-162008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-20/+42
* Makefile.am, startup/bspstart.c: Split out bsp_get_work_area() into its own file and use BSP Framework to perform more initialization. * startup/bspgetworkarea.c: New file.
2008-09-09added printk supportThomas Doerfler1-3/+2
added port init, added phy support init mmu
2008-09-08added missing files, fixed some minorsThomas Doerfler1-1/+6
2008-09-08added new BSP for TQM8xx boardsThomas Doerfler6-0/+1089