summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-20bsps: Move startup files to bspsSebastian Huber1-129/+0
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
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.
2014-10-07libchip/serial: Add alternative NS16550 driverSebastian Huber1-16/+18
Use the Termios device API.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-02-19powerpc: Change interrupt disable implemetationSebastian Huber1-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.
2014-02-14score: Add CPU counter supportSebastian Huber1-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.
2013-03-14mpc83xx: Use shared linkcmds.baseSebastian Huber1-5/+3
2012-11-15bsps/powerpc: Exception initialization error is fatalSebastian Huber1-4/+1
2012-11-15bsps: Interrupt initialization error is fatalSebastian Huber1-4/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-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.
2012-04-02bsp/gen83xx: Fix console driver configurationSebastian Huber1-1/+1
2012-04-02bsps: More accurate PowerPC clock driverSebastian Huber1-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.
2012-04-02bsp/gen83xx: Support cache BSP optionsSebastian Huber1-2/+5
2011-10-182011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett1-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-072011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-2/+2
* configure.ac, startup/bspstart.c: Use standard cache BSP options.
2011-01-242011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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-302010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-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-122010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-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.
2009-10-23Update for exception support changes.Thomas Doerfler1-10/+11
2009-08-262009-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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-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-09-22correct DEC clock rate for non-U-Boot caseThomas Doerfler1-1/+1
2008-09-202008-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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-162008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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.
2008-09-05derive timebase clicks from bus frequencyThomas Doerfler1-1/+1
2008-08-212008-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-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-202008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-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-182008-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-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-142008-08-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* startup/bspstart.c: Time was running too slow with it taking 10 seconds for RTEMS to advance 5.
2008-08-082008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-2/+2
* startup/bspstart.c: Fixed calculation of bsp_click_per_usec.
2008-07-24Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler1-21/+16
added support for an optional separate heap area.
2008-07-18Changed special purpose register inline functions to macros.Thomas Doerfler1-38/+30
fixed some minors in mpc83xx support added file for mpc55xx watchdog support
2008-07-14updated gen83xx BSPThomas Doerfler1-197/+158
updated haleakala BSP added MPC55xx BSP
2008-07-14added haleakala BSP contributed by Michael HamelThomas Doerfler1-4/+0
2008-05-27speed inprovements in mpc83xx tsec driverThomas Doerfler1-0/+4
2008-05-152008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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.
2008-05-15adapted gen83xx to new boardThomas Doerfler1-2/+7
2008-05-122008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-112007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-042007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-032007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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-12-012007-11-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-1/+0
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
2007-11-282007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-4/+10
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
2007-10-26*** empty log message ***Thomas Doerfler1-2/+2
2007-07-132007-07-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-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.
2007-07-10compilable release of virtex/gen83xx/gen5200 powerpc adaptations. Merged ↵Thomas Doerfler1-0/+267
many different versions of new exception handling code to shared sources.