Commit Graph

13255 Commits

Author SHA1 Message Date
Joel Sherrill
8164ebdde4 mvme162/tod/tod.c: Do not use rtems_clock_get() 2015-03-17 10:05:04 -05:00
Sebastian Huber
ac8339ae50 bsp/mpc55xx: Fix flash settings 2015-03-17 11:28:44 +01:00
Sebastian Huber
8e10f62378 bsp/qoriq: Add register blocks for T variants 2015-03-17 08:54:39 +01:00
Sebastian Huber
093bfdecc7 bsp/qoriq: Fix warning 2015-03-17 08:48:47 +01:00
Sebastian Huber
a2ba004a04 bsp/mbx8xx: Fix warnings 2015-03-16 19:31:04 +01:00
Alan Cudmore
71260b4a09 preliminary Raspberry Pi Model 2 support
This patch adds a BSP variant for the Raspberry Pi 2. You can
build both variants by configuring with the option
 --enable-rtemsbsp="raspberrypi2 raspberrypi"

For the current BSP, the only change was the peripheral register base
address and the compiler options.

The raspberrypi/make/custom rules were re-factored:
  raspberrypi.inc  -- Common rules
  raspberrypi.cfg  -- Raspberry Pi 1 specific rule/optons
  raspberrypi2.cfg -- Raspberry Pi 2 specific rule/options

I tested hello, ticker, unlimited, and paranoia on both the Pi (Model A+)
and Pi 2.
2015-03-16 09:43:21 -05:00
Sebastian Huber
91c250fc21 bsps/sparc: Fix linker section 2015-03-15 10:12:29 +01:00
Ben Gras
275a9bf26b Revert "autoconf changes"
This reverts commit dbe85952f9.

Accidentally merged.
2015-03-14 22:29:20 +01:00
Ben Gras
86204bdeb5 beagle bsp: delete TIMER_FREQ, TIMER_COUNT
unused and poorly named (no prefix) and colliding with sp68.

Closes #2302.
2015-03-14 16:49:52 +01:00
Ben Gras
dbe85952f9 autoconf changes 2015-03-14 16:06:14 +01:00
Joel Sherrill
f1b468045e m32cbsp: Add bsp_reset() so the BSP exits 2015-03-12 15:01:02 -05:00
Joel Sherrill
78d54481e7 mvme147s: Install z8530.h
This was missed when the file was moved.
2015-03-11 16:18:29 -05:00
Gedare Bloom
3ac681191e cpukit: deprecate notepads
Deprecate Classic API Notepads. Mark task_set/get_note() with
the deprecated attribute, and also mark the notepads field.

Replace disable with enable option for notepads in confdefs.h,
and make notepads disabled by default. The previous option
CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and
will emit a compile-time warning. A new option
CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn
on notepads, but it also will emit a compile-time warning
to indicate that notepads are deprecated.

Closes #2265
2015-03-10 12:53:07 -04:00
Joel Sherrill
1aa7b8beb1 Move contents of libcsupport/include/zilog into libbsp/shared
Only a few BSPs use this and it should not have been in libcsupport.
2015-03-09 16:15:14 -05:00
Joel Sherrill
5bc6237a36 Move libcsupport/include/motorola/*.h to m68k/idp BSP
These header files were only used by one BSP and they are
hardware dependent. The hardware dependency always made
them bad candidates for where they were in the tree. But
this fixes that.
2015-03-09 16:15:14 -05:00
Joel Sherrill
9cc1892650 libcpu/powerpc/mpc8260/console-generic/console-generic.c: Include bsp.h to fix warning 2015-03-09 16:14:18 -05:00
Joel Sherrill
120af8092d rtl22xx.cfg: Remove -DNDEBUG flag 2015-03-09 16:14:18 -05:00
Joel Sherrill
058a92da41 lpc1768_mbed.cfg: Remove -DNDEBUG flag 2015-03-09 16:14:17 -05:00
Joel Sherrill
500eb0443e mvme136.cfg: Remove -DNDEBUG flag 2015-03-09 16:14:17 -05:00
Joel Sherrill
867a54a276 gensh1/include/bsp.h: Add needed prototype 2015-03-09 16:14:16 -05:00
Joel Sherrill
52c56af032 gensh4/include/bsp.h: Remove unused prototype and include 2015-03-09 16:14:16 -05:00
Joel Sherrill
a1148f3667 powerpc/shared/bootloader/pci.c: Remove warnings 2015-03-09 16:14:15 -05:00
Joel Sherrill
315926703e shared/include/grcan.h: Add prototypes to fix warnings 2015-03-09 16:14:15 -05:00
Joel Sherrill
1ae60ae5cf Add fsscandir01 variants as needed to more BSPs testsuite configuration 2015-03-06 20:04:25 -06:00
Joel Sherrill
dea43a0da6 Temporarily ignore dl* tests on some PowerPC BSPs
Some BSPs have issues linking the dl* tests. These issues have
not been investigated. This is a temporary workaround until we
have an explanation and permanent solution.

updates 2258.
2015-03-06 20:04:25 -06:00
Joel Sherrill
7af34c13d7 Always disable networking for h8300 2015-03-06 20:04:25 -06:00
Joel Sherrill
e516d4546d Temporarily disable libdl tests on some MIPS BSPSs
These BSPs are little endian while most are big endian.
The dl tool does not support the -EL option yet.

updates 2279.
2015-03-06 20:04:24 -06:00
Joel Sherrill
683ebac31c raspberrypi: Do not include default IRQ handler and BSP specific one
This was tripping a linker error in the dl0[12] tests.

closes 2247.
2015-03-06 20:04:23 -06:00
Joel Sherrill
a87e8b8d2d lpc1768_mbed_ahb_ram-testsuite.tcfg: Add ftp01 2015-03-06 20:04:23 -06:00
Joel Sherrill
8f49ddaf0a lpc1768_mbed_ahb_ram.tcfg: Remove as it is a junk file
This file does not have "-testsuite" in the name and is ignored
by the build system.
2015-03-06 20:04:23 -06:00
Joel Sherrill
cc69334f42 Fix a number of minor Doxygen formatting issues 2015-03-06 10:37:55 -06:00
Sebastian Huber
5fca9ef5a2 bsps: Use interrupt lock for interrupt server 2015-03-05 14:54:09 +01:00
Sebastian Huber
f3a57820f7 bsp/qoriq: Fix warning 2015-03-05 14:53:47 +01:00
Sebastian Huber
77510c72dc libmd: Disable SHA modules for m32c
Close #2219.
2015-03-05 11:34:01 +01:00
Sebastian Huber
5155069b23 libchip/serial: Fix warning 2015-03-05 11:23:09 +01:00
Sebastian Huber
b4fa5a5246 bsps: Fix warning 2015-03-05 11:23:09 +01:00
Joel Sherrill
e4154b8e4b mips BSPs: Remove .global for unprovided symbol
closes 2253
2015-03-03 09:18:00 -06:00
Martin Galvan
991fdb330b ARM: Add BSP_START_NEEDS_REGISTER_INITIALIZATION
This patch adds the macro BSP_START_NEEDS_REGISTER_INITIALIZATION and
three hooks for BSP-specific register init code to arm/shared/start.S.
Said hooks are bsp_start_init_registers_core (intended for initializing
the ARM core registers), bsp_start_init_registers_banked_fiq (for the
FIQ mode banked registers) and bsp_start_init_registers_vfp (for the FPU
registers). BSP_START_NEEDS_REGISTER_INITIALIZATION would be defined in
a BSP's configure.ac (so that it appears in its bspopts.h).

This patch also adds the register init code required by the TMS570.
We've tested it with the tms570ls3137_hdk.cfg config and it works fine.
2015-02-27 12:05:36 +01:00
Gedare Bloom
9d090fb70a sparc64: fix copyright notices.
The sparc64 port had some incorrect copyright notices affixed to
source code files.
2015-02-23 15:42:59 -05:00
Martin Galvan
dc9aaf7ced ARM: Support VFP-D16
This patch allows the existing FPU code to support both VFP-D16 and
VFP-D32. According to ARM, writes to D32DIS are ignored for D16 so
there's no need to enclose the bic instruction with an #ifdef. We tested
it on a TMS570LS3137 using TI initialization code and it works fine.

Signed-off by: Martin Galvan <martin.galvan@tallertechnologies.com>
2015-02-20 18:52:58 +01:00
Sebastian Huber
c34f94f72d score: Add _CPU_SMP_Prepare_start_multitasking()
Update #2268.
2015-02-17 09:41:27 +01:00
Joel Sherrill
5640dd5558 lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add ftp01 2015-02-13 16:27:22 -06:00
Joel Sherrill
79b45a1a8e lpc1768_mbed-testsuite.tcfg: Add ftp01 2015-02-13 16:27:22 -06:00
Sebastian Huber
a9df916988 IMFS: Add fine grained configuration
Remove miniIMFS.  Statically initialize the root IMFS.

Add configuration options to disable individual
features of the root IMFS, e.g.
  o CONFIGURE_IMFS_DISABLE_CHOWN,
  o CONFIGURE_IMFS_DISABLE_FCHMOD,
  o CONFIGURE_IMFS_DISABLE_LINK,
  o CONFIGURE_IMFS_DISABLE_MKNOD,
  o CONFIGURE_IMFS_DISABLE_MOUNT,
  o CONFIGURE_IMFS_DISABLE_READLINK,
  o CONFIGURE_IMFS_DISABLE_RENAME,
  o CONFIGURE_IMFS_DISABLE_RMNOD,
  o CONFIGURE_IMFS_DISABLE_SYMLINK,
  o CONFIGURE_IMFS_DISABLE_UNMOUNT, and
  o CONFIGURE_IMFS_DISABLE_UTIME.
2015-02-12 20:53:36 +01:00
Daniel Cederman
5efbb6619c grspw: Fix typos 2015-02-11 15:35:30 +01:00
Daniel Cederman
0c94a46fa3 bsp/sparc: Move BSP_ISR_handler to a separate file and rename it
This allows it to be wrapped by another function at link-time
and can be used to trace interrupts. If not placed in a separate
file, the function pointer address used in BSP_shared_interrupt_init
will be resolved at compile-time, and the function will not be wrappable.
2015-02-11 15:35:23 +01:00
Sebastian Huber
eb7753437f Filesystem: Delete unused fsmountme_h handler 2015-02-09 15:38:48 +01:00
Pavel Pisa
cf4dfc1901 arm/tms570: sci context has to be writable because it holds state variable.
The structure tms570_sci_context holds state variable
tx_chars_in_hw which holds if and how many characters
(in the optional FIFO support for some Ti SCIs) are submitted
into hardware.

When field is not writable then code breaks when RTEMS
is build for Flash area.

The problem found and analyzed by Martin Galvan from tallertechnologies.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2015-02-04 19:36:22 +01:00
Nick Withers
d11b711b3e bsps/powerpc: Fix a clock driver
PowerPC Book E: Account for an extra tick period if a tick increment's
pending.

Close #2230.
2015-01-30 06:57:00 +01:00
Joel Sherrill
296846acec mcf5206elite/include/i2c.h: Fix spelling error 2015-01-23 09:45:23 -06:00