Commit Graph

11730 Commits

Author SHA1 Message Date
Sebastian Huber
c9562c593b bsp/lpc32xx: Add UART_CLKMODE settings 2012-12-18 11:22:18 +01:00
Sebastian Huber
380628ea05 bsp/lpc32xx: Configure U4_TX pin for UART 4 2012-12-18 11:22:17 +01:00
Sebastian Huber
d1cf32676d bsp/lpc32xx: Fix function prototype 2012-12-18 11:22:17 +01:00
Sebastian Huber
f25d31f52b bsp/lpc32xx: Add idle thread body 2012-12-18 11:22:17 +01:00
Sebastian Huber
73719950c0 bsp/lpc32xx: Fix console baud configuration 2012-12-13 11:36:37 +01:00
Sebastian Huber
80232ee7a4 bsps/powerpc: Use explicit compiler options 2012-12-07 10:36:16 +01:00
Sebastian Huber
48bff53b3d score: rtems_initialize_start_multitasking()
Do not return from rtems_initialize_start_multitasking() and call
rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and
a fatal code with the exit status.

Remove all bsp_cleanup() functions.  The boot_card() is now a no return
function.
2012-12-07 09:38:41 +01:00
Sebastian Huber
1bb8782c91 bsp/gdbarmsim: Do not call bsp_cleanup() 2012-12-07 09:38:41 +01:00
Sebastian Huber
facf83625b bsps: Add BSP_GENERIC_FATAL_SPURIOUS_INTERRUPT
Use rtems_fatal() instead of bsp_cleanup().
2012-12-07 09:38:41 +01:00
Sebastian Huber
dabdbd913a bsp/mrm332: Use shared bspclean.c 2012-12-07 09:38:41 +01:00
Sebastian Huber
40fe4b8627 bsps: Use <bsp/bootcard.h> 2012-12-07 09:38:40 +01:00
Sebastian Huber
191929cd22 bsps/powerpc: Install missing <bsp/vectors.h> 2012-12-07 09:38:40 +01:00
Sebastian Huber
2858aeb9b3 bsp/mpc55xx: New BSP variants for RSM6 2012-12-03 13:17:13 +01:00
Sebastian Huber
e1e248f6af bsp/mpc55xx: Add optional EBI configuration 2012-12-03 13:17:13 +01:00
Sebastian Huber
f4309b0398 bsp/mpc55xx: Use RTEMS_ARRAY_SIZE() 2012-12-03 13:17:12 +01:00
Sebastian Huber
29919ec05b bsp/mpc55xx: Add .sysram section 2012-12-03 13:17:12 +01:00
Sebastian Huber
65ab304bd8 bsp/mpc55xx: Add .dsram section 2012-12-03 13:17:12 +01:00
Sebastian Huber
bb3090c545 bsp/mpc55xx: Delete <bsp/mpc55xxevb.h> 2012-12-03 13:17:12 +01:00
Sebastian Huber
113768f2cd bsps/powerpc: Add .nvram section 2012-12-03 13:17:12 +01:00
Sebastian Huber
95aebbe380 bsp/mpc55xx: Add and use STARTROM 2012-12-03 13:17:11 +01:00
Sebastian Huber
840dd00eef bsp/mpc55xx: Add and use linkcmds.mpc5674f_ecu508 2012-12-03 13:17:11 +01:00
Sebastian Huber
c6d35ad46b bsp/mpc55xx: Errata e4396 for e200z7 2012-12-03 13:17:11 +01:00
Sebastian Huber
2e80662196 bsp/mpc55xx: Set PPC_EXC_CONFIG_BOOKE_ONLY 2012-12-03 13:17:11 +01:00
Sebastian Huber
3ce66aabb5 bsp/mpc55xx: Set PPC_EXC_CONFIG_USE_FIXED_HANDLER 2012-12-03 13:17:11 +01:00
Sebastian Huber
1c479be447 bsp/mpc55xx: Documentation 2012-12-03 13:17:10 +01:00
Sebastian Huber
fee41c9689 bsp/mpc55xx: Add and use mpc55xx_fatal_code 2012-12-03 13:17:10 +01:00
Christian Mauderer
6eb0ce2161 bsp/mpc55xx: Fix SMSC9218I MAC address setting 2012-12-03 13:17:10 +01:00
Sebastian Huber
da2fa4ebcc bsp/mpc55xx: Remove BSP_panic() 2012-12-03 13:17:10 +01:00
Sebastian Huber
67338ed870 bsp/mpc55xx: Add mpc55xx_wait_for_interrupt()
Use mpc55xx_wait_for_interrupt().
2012-12-03 13:17:10 +01:00
Sebastian Huber
2d561b9cdf bsp/mpc55xx: Use BSP_START_DATA_SECTION 2012-12-03 13:17:09 +01:00
Sebastian Huber
bd75e589e1 bsp/mpc55xx: Fix INTC initialization 2012-12-03 13:17:09 +01:00
Sebastian Huber
6c4541048a bsp/mpc55xx: Fix no-cache section load 2012-12-03 13:17:09 +01:00
Sebastian Huber
353f0fa125 bsp/mpc55xx: Add union tags 2012-12-03 13:17:09 +01:00
Sebastian Huber
fe1a4e4bef bsp/qoriq: Set PPC_EXC_CONFIG_BOOKE_ONLY 2012-12-03 13:17:09 +01:00
Sebastian Huber
f6999e6816 bsp/qoriq: Set PPC_EXC_CONFIG_USE_FIXED_HANDLER 2012-12-03 13:17:09 +01:00
Sebastian Huber
c383372f3f bsps/powerpc: Add and use bsp_text input section 2012-12-03 13:17:08 +01:00
Sebastian Huber
d33f743795 bsps/powerpc: Move .fast_text after .text section 2012-12-03 13:17:08 +01:00
Sebastian Huber
f665f13ddd bsps/powerpc: Add PPC_EXC_CONFIG_BOOKE_ONLY
In combination with the PPC_EXC_CONFIG_USE_FIXED_HANDLER option this
removes all dependencies on valid read-write data.  The exception
handling must be statically configured and all components reside in
read-only sections.
2012-12-03 13:17:08 +01:00
Sebastian Huber
4bd4c9e1f9 bsps/powerpc: Add PPC_EXC_CONFIG_USE_FIXED_HANDLER
In case a BSP enables this option, then fixed high level exception
handler will be used.  For normal asynchronous exceptions this is
bsp_interrupt_dispatch() and for other exceptions this is the handler
from the read-only ppc_exc_handler_table.  The global handler is
C_exception_handler().  This avoids some dependencies on valid
read-write data.
2012-12-03 13:17:08 +01:00
Sebastian Huber
4263155e96 bsps/powerpc: Declare ppc_exc_handler_table 2012-12-03 13:17:08 +01:00
Sebastian Huber
3bf002a329 bsp/gen83xx: Workaround for USB stack 2012-12-03 13:17:07 +01:00
Sebastian Huber
7ac89a6f5f bsp/gen83xx: Add sections for USB stack 2012-12-03 13:17:07 +01:00
Sebastian Huber
fd5c1eb14e bsp/csb637: Fix memory map 2012-12-03 10:02:29 +01:00
Sebastian Huber
e168410069 bsp/csb337: Fix memory map 2012-12-03 09:57:59 +01:00
Ric Claus
809b726ae1 Print MCSR and ESR.
The Machine Check and Exception Syndrome Registers on Book-E and Book-E-like
processors contain useful information for decoding the cause of an exception.

NB: This patch depends on the PR 2048 patch sent earlier having been applied.
2012-12-01 09:04:33 +01:00
Ric Claus
655bd39676 Virtex5 BSP: Various updates and improvements.
This BSP now uses the MPC6xx clock driver instead of a modified PPC403 clock
driver.  Support for the MMU has been added, but is not enabled by default.
2012-12-01 09:04:20 +01:00
Ric Claus
5b822ab26a Virtex4 BSP: Various updates and improvements.
Switched to using the PPC403 clock driver.  Added support for the MMU but
didn't enable it by default.  Made some functions static to avoid compiler
warnings.  Added a README.
2012-12-01 09:04:14 +01:00
Ric Claus
84b19b5405 Restored to pre PPC440 changes.
This file was originally modified by me to support the PPC440 of the virtex5
BSP.  I have since discovered that the clock driver built with the MVME3100
BSP works out of the box for the virtex5 and so have switched to using that.
This file is reverted to the way it was before I touched it, modulo whitespace,
making some functions static (to avoid compiler warnings) and changes by others.
2012-12-01 09:03:17 +01:00
Ralf Kirchner
d1c89524b2 bsps/powerpc: Do not use GCC extern inline 2012-11-29 15:08:42 +01:00
Sebastian Huber
815994fd17 score: Add CPU_Exception_frame
Add CPU port type CPU_Exception_frame and function
_CPU_Exception_frame_print().

The CPU ports of avr, bfin, h8300, lm32, m32c, m32r, m68k, nios2, sh,
sparc64, and v850 use an empty default implementation of
_CPU_Exception_frame_print().

Add rtems_exception_frame and rtems_exception_frame_print().

Add RTEMS_FATAL_SOURCE_EXCEPTION for CPU exceptions.  Use rtems_fatal()
with source RTEMS_FATAL_SOURCE_EXCEPTION in CPU ports of i386, powerpc,
and sparc for unexpected exceptions.

Add third parameter to RTEMS_BSP_CLEANUP_OPTIONS() which controls the
BSP_PRINT_EXCEPTION_CONTEXT define used in the default
bsp_fatal_extension().

Add test sptests/spfatal26.
2012-11-27 17:03:40 +01:00