Commit Graph

11738 Commits

Author SHA1 Message Date
Sebastian Huber
4592658b70 bsps/arm: Move promiscuous mode setting 2012-12-18 11:22:19 +01:00
Sebastian Huber
3f58ac7add bsps/arm: Add PHY up/down
All PHYs will be set to power up/down state with the BMCR[BMCR_PDOWN]
setting.

The KSZ80X1RNL will use the energy detect power down (EDPD) mode with
PLL automatically turned in the up state.  It will use the slow
oscillator mode in the down state.

To prevent system bus lock-ups the PHY is set to the up state before
Ethernet module initialization.  In case of a communication failure with
the PHY or weird PHY identifiers the initialization will be aborted.
2012-12-18 11:22:19 +01:00
Sebastian Huber
50233d370c bsps/arm: Add PHY timeout detection 2012-12-18 11:22:19 +01:00
Sebastian Huber
2cd48da071 bsps/arm: Add interface down support 2012-12-18 11:22:19 +01:00
Sebastian Huber
e99893f986 bsps/arm: Prepare for interface down support 2012-12-18 11:22:18 +01:00
Sebastian Huber
573822b1e9 bsps/arm: Use assert() instead of status macros 2012-12-18 11:22:18 +01:00
Sebastian Huber
5970dcc9e2 bsps/arm: Remove superfluous attributes 2012-12-18 11:22:18 +01:00
Sebastian Huber
e5a7f8469a bsps/arm: Avoid mbuf migration in LPC ethernet
The receive task will only hand over a mbuf if it gets a new one
immediately.  This avoids mbuf migration out of the receive task in case
of overload.
2012-12-18 11:22:18 +01:00
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