summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Move startup files to bspsSebastian Huber2018-04-201-129/+0
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* powerpc: Remove _BSP_Fatal_error()Sebastian Huber2017-11-221-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.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-221-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.
* libchip/serial: Add alternative NS16550 driverSebastian Huber2014-10-071-16/+18
| | | | Use the Termios device API.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* 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.
* score: Add CPU counter supportSebastian Huber2014-02-141-0/+3
| | | | | | | | | 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.
* mpc83xx: Use shared linkcmds.baseSebastian Huber2013-03-141-5/+3
|
* bsps/powerpc: Exception initialization error is fatalSebastian Huber2012-11-151-4/+1
|
* bsps: Interrupt initialization error is fatalSebastian Huber2012-11-151-4/+1
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+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.
* bsp/gen83xx: Fix console driver configurationSebastian Huber2012-04-021-1/+1
|
* bsps: More accurate PowerPC clock driverSebastian Huber2012-04-021-3/+6
| | | | | | 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.
* bsp/gen83xx: Support cache BSP optionsSebastian Huber2012-04-021-2/+5
|
* 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-10-181-2/+2
| | | | | | PR 1917/bsps * Makefile.am, console/console-config.c, startup/bspstart.c: Modifications to add dynamic tables for libchip serial drivers.
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-071-2/+2
| | | | * configure.ac, startup/bspstart.c: Use standard cache BSP options.
* 2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-01-241-2/+3
| | | | | | | | * configure.ac, console/console-config.c, i2c/i2c_init.c, include/bsp.h, include/hwreg_vals.h, include/irq.h, include/tm27.h, include/tsec-config.h, irq/irq.c, network/network.c, spi/spi_init.c, startup/bspstart.c: Address some of the issues spotted by the check_bsp script.
* 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-301-13/+1
| | | | | | | | | * include/u-boot.h: Removed file. * include/u-boot-config.h, include/tsec-config.h: New files. * include/bsp.h, start/start.S, startup/bspstart.c: Use new U-Boot support. * network/network.c: Update for API changes. * Makefile.am, preinstall.am: Reflect changes above.
* 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-121-0/+13
| | | | | | | | | | | | * console/console.h, console/console.c, console/config.c, console/ns16550cfg.c: Removed files. * console/console-config.c: New file. * Makefile.am: Reflect changes above. * configure.ac: New BSP options. * include/bsp.h: Use new BSP options. * network/network.c: Avoid memory leak. * startup/bspstart.c: Initialize console port table. * spi/spi_init.c: Update for SD card API changes.
* Update for exception support changes.Thomas Doerfler2009-10-231-10/+11
|
* 2009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-261-25/+0
| | | | | | * 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-02-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-121-1/+1
| | | | | * startup/bspstart.c: Change prototype of IDLE thread to consistently return void * and take a uintptr_t argument.
* correct DEC clock rate for non-U-Boot caseThomas Doerfler2008-09-221-1/+1
|
* 2008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-201-4/+4
| | | | | | | * Makefile.am, include/bsp.h, start/start.S, startup/bspstart.c, startup/cpuinit.c: Use top level shared bsp_get_work_area() implementation. Augment it to know about U-Boot. * startup/bspgetworkarea.c: Removed.
* 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-161-25/+0
| | | | | | | | * Makefile.am, startup/bspstart.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. Remove unnecessary includes of rtems/libio.h and rtems/libcsupport.h. * startup/bspgetworkarea.c: New file.
* derive timebase clicks from bus frequencyThomas Doerfler2008-09-051-1/+1
|
* 2008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-211-113/+88
| | | | | | | | | * Makefile.am: Added bspclean.c and use shared bsppretaskinghook.c. * console/console.c: Added poll for char helper. * include/bsp.h: Add macro definitions for optional reset behavior. * startup/bspstart.c: Split out bsp_cleanup(). Clean up. * startup/bspclean.c: New file. Not can press any key on normal shutdown to reset board when on MPC8313erdb.
* 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-201-7/+20
| | | | | | * include/tm27.h: Uses now a decrementer exception handler. Replaces previous file. * startup/bspstart.c: Install a default decrementer exception handler.
* 2008-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-181-0/+25
| | | | | | * Makefile.am, startup/bspstart.c, startup/cpuinit.c: For the MPC8313ERDB -- The BAT entry for the eLBC was missing and add hard reset sequence in bsp_cleanup().
* 2008-08-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-141-1/+1
| | | | | * startup/bspstart.c: Time was running too slow with it taking 10 seconds for RTEMS to advance 5.
* 2008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-081-2/+2
| | | | * startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
* Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler2008-07-241-21/+16
| | | | added support for an optional separate heap area.
* Changed special purpose register inline functions to macros.Thomas Doerfler2008-07-181-38/+30
| | | | | fixed some minors in mpc83xx support added file for mpc55xx watchdog support
* updated gen83xx BSPThomas Doerfler2008-07-141-197/+158
| | | | | updated haleakala BSP added MPC55xx BSP
* added haleakala BSP contributed by Michael HamelThomas Doerfler2008-07-141-4/+0
|
* speed inprovements in mpc83xx tsec driverThomas Doerfler2008-05-271-0/+4
|
* 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-151-14/+0
| | | | | | | | | | | | | | * startup/bspstart.c: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
* adapted gen83xx to new boardThomas Doerfler2008-05-151-2/+7
|
* 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-05-121-9/+1
| | | | | | | | | | | | * Makefile.am, startup/bspstart.c: Refactored and renamed initialization routines to rtems_initialize_data_structures, rtems_initialize_before_drivers, rtems_initialize_device_drivers, and rtems_initialize_start_multitasking. This opened the sequence up so that bootcard() could provide a more robust and flexible framework which is easier to explain and understand. This also lays the groundwork for sharing the division of available memory between the RTEMS workspace and heap and the C library initialization across all BSPs.
* 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-111-12/+3
| | | | | | * include/bsp.h, startup/bspstart.c: Eliminate copies of the Configuration Table. Use the RTEMS provided accessor macros to obtain configuration fields.
* 2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-041-6/+1
| | | | | | * startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
* 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-031-5/+3
| | | | | | | | | | * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
* 2007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-12-011-1/+0
| | | | * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
* 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-11-281-4/+10
| | | | | | * startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
* *** empty log message ***Thomas Doerfler2007-10-261-2/+2
|
* 2007-07-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-07-131-0/+4
| | | | | | | * Makefile.am, preinstall.am: Install a linkcmds all the time. * startup/bspstart.c, startup/cpuinit.c, startup/linkcmds.mpc8349eamds, startup/mpc83xx_regs.c: Add missing $Id$. * startup/linkcmds: New file.
* compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler2007-07-101-0/+267
many different versions of new exception handling code to shared sources.