Commit Graph

14852 Commits

Author SHA1 Message Date
Sebastian Huber
0cab067f1c bsps/powerpc: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:42 +02:00
Sebastian Huber
e2bd1f653a bsp/bfin: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 09:15:00 +02:00
Sebastian Huber
96400050ed bsp/pc386: Remove unused RTEMS_CPU_MODEL
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 09:15:00 +02:00
Sebastian Huber
b1b7390a4a bsp/pc386: Fix build
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 09:15:00 +02:00
Sebastian Huber
f17df94b92 build: configure.ac is a file 2018-03-26 09:15:00 +02:00
Gedare Bloom
d7fd3bc0fc sparc64: remove header file with duplicated macros
The boot/stack.h header contains duplicated macros that are
redundant to arch/stack.h. Delete the boot/stack.h and replace
its one use by the arch/stack.h.

Closes #3341.
2018-03-23 12:33:45 -04:00
Chris Johns
b1d3b0f06f libcpu: Only build if there is a valid configure.ac 2018-03-23 13:46:49 +11:00
Thomas Doerfler
df8a31d6ba bsp/tqm8xx: Fix network interface driver 2018-03-22 14:51:22 +01:00
Sebastian Huber
28a6bb89fb mpci: Avoid use of RTEMS_RELLDFLAGS 2018-03-22 08:39:08 +01:00
Sebastian Huber
dc1ea019f3 bsps/mpc55xx: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-22 07:26:32 +01:00
Sebastian Huber
3f3f246a24 bsps/mpc55xx: Remove unused files
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-22 07:26:32 +01:00
Sebastian Huber
bb22a3f3af bsp/powerpc: Move libcpu timer to bsps
Use only one timer driver variant based on the standard PowerPC time
base.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-22 07:01:36 +01:00
Sebastian Huber
f3a51d62e9 bsps/powerpc: Remove bsp_timer_internal_clock
The only consumer of this variable was the ppc403 clock driver used by
the

* haleakala,
* virtex, and
* virtex4

BSPs which set bsp_timer_internal_clock unconditionally to true.

Update #3285.
2018-03-22 07:01:35 +01:00
Sebastian Huber
a7fa9e9172 bsp/pc386: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-22 07:01:35 +01:00
Éric Tremblay
5cf0656514 bsps/powerpc: Support more than 256MiB of RAM
Close #3322.
2018-03-20 14:18:45 +01:00
Sebastian Huber
5d44981c2d bsp/qoriq: Fix bsp_restart()
Update #3085.
2018-03-20 07:38:39 +01:00
Sebastian Huber
09dd82a597 bsp/ss555: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
bd1508019c bsps/powerpc: Move exceptions support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
ff3b9aabca bsps/powerpc: Remove unused files
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
7dbc43da43 bsps/powerpc: Move basic support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
ac04bb85eb bsps/powerpc: Move legacy IRQ support
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Amaan Cheval
efa0039ee9 i386/smp: Export _CPU_SMP_Prepare_start_multitasking as a function
When it's a macro, a function declaration causes a compiler error due to the
macro being expanded.

Partial log showing error:
https://gist.github.com/AmaanC/ab3521141479aa6f61ea25f5d74ebb4d

Closes #3331
2018-03-16 11:01:55 -05:00
Amaan Cheval
51614c0130 i386/smp: Have ld use incremental build for appstart.o
With HAS_SMP set, we have:

  libbsp_a_LIBADD += appstart.$(OBJEXT)

When trying to build appstart.o, however, we link start.o with appcpustart.o
through the linkcmds script, which leaves several symbols unresolved, and
without the "-r" (or -i) flag, this throws undefined reference errors.

This change requires us to re-run the ./bootstrap script to regenerate
Makefile.in, and therefore the Makefile for the particular BSP as well.

Complete log of errors available here:
https://gist.github.com/AmaanC/d40bd7393dca1f82965938275845b7f9

Updates #3331
2018-03-16 11:01:55 -05:00
Sebastian Huber
2e5cf7fb53 bsps/powerpc: Use shared linker command file
Close #3339.
2018-03-16 15:11:19 +01:00
Sebastian Huber
9860cc7bba bsps/powerpc: Fix linker command files
Update #3339.
2018-03-16 15:11:19 +01:00
Joel Sherrill
0a7a30d19d Add PowerPC paravirtualization support
Cannot read or write MSR when executing in user mode. This
is used when RTEMS_PARAVIRT is defined.

Provide alternate methods to disable/enable interrupts

Closes #3306.
2018-03-13 09:55:23 -05:00
Christian Mauderer
71c5552f9a bsp/atsam: Allow setting the drive strength.
This adds a simple function for setting the PIO drive strength.
2018-03-13 15:04:28 +01:00
Sebastian Huber
7633f5b394 sparc64: Move libcpu content to cpukit
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:40 +01:00
Sebastian Huber
8b5778e69e sparc: Move libcpu content to cpukit
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Sebastian Huber
c4905d8d31 bsps/arm: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Sebastian Huber
b6755affc0 bsps/mips: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Sebastian Huber
961e2ef7be bsps/mips: Remove Mongoose-V README
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Sebastian Huber
4c83f2926d bsps: Remove unused RTEMS_CPU_MODEL
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Sebastian Huber
a457082970 bsps: Remove unused memcpy() implementations
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:38 +01:00
Joel Sherrill
070658100a misc sh: Remove includes of rtems/score/types.h 2018-03-12 14:29:38 -05:00
Sebastian Huber
d39cc06873 bsps: More verbose bsp_fatal_extension()
Close #3318.
2018-03-07 13:03:36 +01:00
Sebastian Huber
befae6ab98 bsp/genmcf548x: Fix printk() support 2018-03-07 13:03:32 +01:00
Sebastian Huber
d440a9e044 bsps/m68k: Fix entry point in linkcmds.base
Updates #3520.
2018-03-07 10:33:03 +01:00
Thanassis Tsiodras
4899759f73 bsps/sparc: Fix global construction/destruction
The

  KEEP (*(SORT(.ctors.*)))
  KEEP (*(.ctors))

cannot be simplified to

  KEEP (*(SORT(.ctors*)))

since

  .ctors < .ctors.*

in lexicographical order.

See spglobalcon02 test case.

Update #3319.
2018-03-06 07:27:21 +01:00
Joel Sherrill
40c623a883 powerpc/shared/startup/linkcmds.base: Add wildcards on some sections
Closes #3307.
2018-02-19 13:12:08 -06:00
Christian Mauderer
6878519aea bsp/atsam: Fix cache / DMA handling in SPI.
This patch fixes the cache handling for the atsam SPI driver. Note that
this solution might doesn't have the best performance for small packets.
2018-02-12 14:25:02 +01:00
Christian Mauderer
538a0a836a bsp/atsam: Allow to use a decoder for SPI CS.
The SPI controller supports a decoder connected to the chip select
lines. This patch allows to use this mode.
2018-02-12 14:25:02 +01:00
Christian Mauderer
03fecae9c4 bsp/atsam: Add option to disable 32kHz XTAL. 2018-02-12 14:25:02 +01:00
Joel Sherrill
ea7f4a0ca1 sparc/*/linkcmds*: Move ENTRY() from linkcmds.base to top linkcmds
This was at the request of a user to make it easier to have a
custom entry point. This way they just provide their own top
level linkcmds and include linkcmds.base.

Updates #3520.
2018-02-05 10:35:08 -06:00
Sebastian Huber
3454179dee bsp/altera-cyclone-v: Add device tree support
Update #3290.
2018-02-05 13:55:24 +01:00
Sebastian Huber
0f4a7391bb bsps/powerpc: Remove support for mpc505
Close #3270.
2018-02-05 11:45:17 +01:00
Sebastian Huber
5f0a637677 bsp/leon3: Do not use internal cache API
Update #3285.
2018-02-02 07:08:37 +01:00
Sebastian Huber
4cf93658ef bsps: Rework cache manager implementation
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file.  Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

* bsps/shared/cache

* bsps/@RTEMS_CPU@/shared/cache

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.
2018-01-31 12:49:09 +01:00
Sebastian Huber
d8d6a08d46 bsps: Move network define to source files
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
2018-01-31 11:18:17 +01:00
Sebastian Huber
9819425fee epiphany: Fixes for GCC 7.3
GCC 7.3 defines __USER_LABEL_PREFIX__ to nothing.
2018-01-31 08:03:30 +01:00