Commit Graph

14554 Commits

Author SHA1 Message Date
Joel Sherrill
dd335cf78e pc386/bsp_specs: Reorder and improve consistency
Updates #3520.
2017-11-29 13:18:05 -06:00
Joel Sherrill
a94e868634 generic_or1k/bsp_specs: Fix spacing and typo
Updates #3520.
2017-11-29 13:18:05 -06:00
Joel Sherrill
353dec3f44 nios2_iss/bsp_specs: Fix typo
Updates #3520.
2017-11-29 13:18:05 -06:00
Joel Sherrill
ad01397ae7 epiphany_sim/bsp_specs: Fix spacing and typo
Updates #3520.
2017-11-29 13:18:05 -06:00
Joel Sherrill
bc45d3e343 eZKit533/bsp_specs: Fix spacing and typo
Updates #3520.
2017-11-29 13:18:04 -06:00
Joel Sherrill
6b59ec0fec bf537Stamp/bsp_specs: Fix spacing and typo
Updates #3520.
2017-11-29 13:18:04 -06:00
Joel Sherrill
7e1011aece TLL6527M/bsp_specs: Fix spacing and typo
Updates #3520.
2017-11-29 13:18:04 -06:00
Joel Sherrill
2f98db6d5a m32csim-testsuite.tcfg: Add sptls04
Updates #3520.
2017-11-29 13:05:53 -06:00
Joel Sherrill
fb3f2d5487 csb336/console/uart.c: Use PRIx constant to fix printf() format warning 2017-11-29 13:03:41 -06:00
Joel Sherrill
2292865643 REVERT */*/bsp_specs: Increase similarity to ease future
Patch was not intended to be pushed yet.

Updates #3520.
2017-11-27 09:53:52 -06:00
Joel Sherrill
d9769c96cf */*/bsp_specs: Increase similarity to ease future analysis
Done:
  arm
  bfin
  epiphany
  i386
  lm32
  m32c
  mips
  moxie
  nios2
  or1k
  powerpc
  riscv
  sh
  sparc
  sparc64
  v850

To do:
  m68k

Differences noted:
  + endfile was sometimes before startfile
  + endfile sometimes was hard-coded and did not have -qrtems version
  + Should -e XXX (e.g. entry point) be in linkcmds?
  + Should -u XXX (e.g. undefined symbols) be in linkcmds?
  + Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %)
  + nios2: Referenced crtnn.o not crtn.o (error)

Need to revisit:
  + m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere
  + sh has -EL/-EB mapping. Why needed?
  + sparc64 didn't include crti.o/crtn.o but it is part of toolset
  + v850 uses something like this for link and end_file:
      "%{qrtems: %(old_link)}"
    This means that these are unnecessary. Try this on all.
  + mips uses old_link all the time also.
  + arm/tms750 adds -EB.
  + powerpc: Why do we have rtems_crt* and not use something from GCC?

Updates #3520.
2017-11-27 09:51:47 -06:00
Joel Sherrill
9955b24a89 gumstix/bsp_specs: Correct permissions 2017-11-27 09:50:05 -06:00
Joel Sherrill
ea8dba4174 powerpc/ss555/startup/linkcmds: Remove obsolete reference to bsp_specs
Updates #3520.
2017-11-27 09:50:05 -06:00
Joel Sherrill
a0663b2ce0 libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIR
Updates #3250.
2017-11-27 09:50:04 -06:00
Sebastian Huber
642ef003ec bsps: Provide <tm27.h> in each BSP
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP.  Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.
2017-11-27 09:36:56 +01:00
Sebastian Huber
0d5c795afa Move Ada includes
Update #3254.
2017-11-27 07:32:53 +01:00
Sebastian Huber
affb282b11 bsps: Remove empty tm27.h variants
Update #3254.
2017-11-27 07:32:53 +01:00
Sebastian Huber
e58e29fdb9 Remove coverhd.h
This header file contained timing overhead values which are hard to
maintain.

Update #3254.
2017-11-24 15:27:01 +01:00
Sebastian Huber
f64f7a2f29 bsp/qoriq: Implement bsp_reset() 2017-11-22 09:40:24 +01:00
Sebastian Huber
86a80ee1af bsps: Add BSP_VERBOSE_FATAL_EXTENSION
Add BSP_VERBOSE_FATAL_EXTENSION to RTEMS_BSP_CLEANUP_OPTIONS to
optionally print the RTEMS version, the fatal source and the fatal code
in the shared bsp_fatal_extension().

Close #3248.
2017-11-22 09:40:24 +01:00
Sebastian Huber
3dd381f043 bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONS
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation.  Change defaults to:

BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1
2017-11-22 09:40:24 +01:00
Sebastian Huber
07d96453a9 powerpc: Remove _BSP_Fatal_error()
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-22 09:40:23 +01:00
Sebastian Huber
1c193a26d2 powerpc: Replace BSP_panic() with rtems_panic()
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.
2017-11-22 09:40:23 +01:00
Sebastian Huber
a8bf9a3f7a bsps: Add default getentropy() implementation
Update #3239.
Close #3249.
2017-11-22 09:40:22 +01:00
Daniel Hellstrom
4d7e4bb213 leon, gr1553rt: adding SMP protection
Add device spin-lock around internal data structures. Since the driver
provides a low-level C API accessing the descriptors the application
still needs to implement part of the SMP synchonization needed between
Interrupt handler and tasks.

Close #2355.
2017-11-21 10:28:02 +01:00
Sebastian Huber
5018894ee1 bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLER
For the SPE support we must store the upper half of r3 as well.

Update #3085.
2017-11-20 07:53:09 +01:00
Sebastian Huber
3d374d90f8 bsps: Use a state in default getentropy()
Use the boot time to initialize the state.  Use the state, the current
CPU counter and a very simple pseudo random number generator for
getentropy(). At least, this enables to pass the test "GETENTROPY 1" on
ERC32.

Update #3239.
2017-11-20 07:53:08 +01:00
Christian Mauderer
2e2a41ecd9 bsp/atsam: Add timing for RAM mt48lc16m16a2p-6a. 2017-11-17 14:14:18 +01:00
Christian Mauderer
a5d49ebd37 bsp/atsam: Improve SDRAM initialization.
According to the manual, MR has to be read back and a memory barrier has
to be added after MR is written during SDRAM initialization.
2017-11-17 14:14:18 +01:00
Christian Mauderer
d00a7d1c22 bsp/atsam: Move clock and SDRAM init to SRAM.
If necessary, the BSP can now have it's clock and SDRAM initialization
in the SRAM instead of the SDRAM. This allows to change the clock
frequency during the startup of an SDRAM application.
2017-11-17 14:13:40 +01:00
Christian Mauderer
3fbaaa8b74 bsp/atsam: Make clock application configurable. 2017-11-17 14:07:46 +01:00
Christian Mauderer
a9de9a7b95 bsp/atsam: Add getentropy().
Update #3239.
2017-11-17 07:26:57 +01:00
Christian Mauderer
ca4895cb9c getentropy: Add cpu counter based implementation.
Update #3239.
2017-11-17 07:26:52 +01:00
Javier Jalle
2727bc7f80 leon, grspw_router: Clear only error bits defined by clear mask 2017-11-14 10:27:20 +01:00
Javier Jalle
56cf340f10 leon, grspw_router: Allow thread safe per-bit managing of pctrl regs 2017-11-14 10:27:20 +01:00
Javier Jalle
cc40f0bfca leon, grspw_router: Move register bit defs to header 2017-11-14 10:27:20 +01:00
Javier Jalle
59af2cc58e leon, grspw_router: Changed driver C API
SMP safe by spin-lock protection and semaphore. On spin-lock per SpW/AMBA
port to allow multiple parallel register operations per port. A common
semaphore for general SpW router configuration such as routing table.

Move to a C API instead of using the I/O Manager. The SpW router driver
does not perform any I/O only management of the router.

Update #2355.
2017-11-14 10:27:20 +01:00
Sebastian Huber
cb406870aa Change RTEMS_API from 5.0 to 5
This fixes the legacy Makefile based build system which expects
RTEMS_API to be identical to the tool chain version.

Update #3220.
2017-11-13 08:39:54 +01:00
Joel Sherrill
a6bf052a3b mvme162: Fix errors tripped by transition to using polled IO for tests 2017-11-10 14:40:46 -06:00
Joel Sherrill
cba8970e80 mcf5206elite/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts 2017-11-10 14:40:46 -06:00
Joel Sherrill
52841b5800 csb360/include/bsp.h: Rename delay() to rtems_bsp_delay() to avoid conflicts 2017-11-10 14:40:46 -06:00
Sebastian Huber
4a14751879 Upgrade to 5.0.0
Tool name will be "rtems5", e.g. arm-rtems5-gcc.

Next release will 5.1.0.  Branch version after release will be 5.1.1.
Next master will be 6.0.0.
2017-11-09 08:12:11 +01:00
Sebastian Huber
7078a00b13 bsp/t32mppc: Use fixed exception handlers 2017-11-08 13:14:30 +01:00
Sebastian Huber
fdf0e55cf9 bsp/imx: Add UART baud change
Update #3090.
2017-11-08 08:43:27 +01:00
Sebastian Huber
336fe3b9fd bsp/imx: Better utilize UART transmit FIFO
Update #3090.
2017-11-08 08:43:27 +01:00
Sebastian Huber
4438c4d826 bsp/imx: More robust and faster bsp_reset()
Update #3090.
2017-11-02 13:44:01 +01:00
Sebastian Huber
4b055e23e9 bsp/imx: Drain console before reset
Update #3090.
2017-11-02 11:24:00 +01:00
Sebastian Huber
c52a9682c1 bsp/imx: Implement bsp_reset()
Update #3090.
2017-11-02 11:23:59 +01:00
Hesham Almatary
8fa827cc83 bsp: Make riscv_generic work for both riscv32 and riscv64 - v2
Update #3109
2017-11-01 10:11:20 +11:00
Hesham Almatary
11ff3a9e72 cpukit: RISC-V - make riscv32 code work for riscv64 - v2
* Use #ifdefs for 32/64 bit code
* Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size)
* Move the code to a new shared riscv folder to be shared between riscv32 and riscv64
* Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv

Update #3109
2017-11-01 10:10:27 +11:00