Commit Graph

26774 Commits

Author SHA1 Message Date
Chris Johns
fc9f8f5085 doc: Sort the shell file commands into alphabetical order. 2014-09-16 15:19:58 +10:00
Chris Johns
b299960aed shell: Add an md5 hash command for files.
This command lets you get an MD5 hash for a file in an RTEMS file system.
2014-09-16 15:19:58 +10:00
Chris Johns
ebf9a057b5 libmisc: Add a stdio redirector helper.
This module makes it easy to redirect and capture stdout, stderr or any
other fd in your application.

The captured data can be sent off board, for example using syslog,
or buffered and displayed in a web page.
2014-09-16 15:19:58 +10:00
Chris Johns
a8fa078f1e shell: Add a ping command.
The ping code is taken from a recent FreeBSD release. Some options have been
tested, other not tested or do not work. This could be due to the age of
our TCP/IP stack.

This version of ping will not work if more than 64 file descriptors are
open at once because the select FD size is 64 as set in newlib.
2014-09-16 15:19:58 +10:00
Sebastian Huber
1434dbd6eb doc: Clarify ABI in SPARC CPU supplement 2014-09-12 16:13:55 +02:00
Sebastian Huber
f9eca790ac sptests/spintrcritical_support: Optimize busy loop 2014-09-12 16:06:29 +02:00
Sebastian Huber
73b5d8bf20 sptests/spintrcritical10: Avoid undefined memory 2014-09-12 16:06:26 +02:00
Sebastian Huber
74493f053e bsps/arm: Delete obsolete compiler flags
These flags are obsolete with the EABI based ARM tool chain.
2014-09-11 15:05:32 +02:00
Sebastian Huber
4c9f02d3b3 dosfs: Check error status 2014-09-11 13:04:42 +02:00
Sebastian Huber
c48cf0bd0c score: Rename _BSP_Exception_frame_print()
Rename _BSP_Exception_frame_print() to _CPU_Exception_frame_print() to
be in line with other CPU port functions.
2014-09-11 09:10:16 +02:00
Sebastian Huber
6e0000ca61 powerpc: Delete PPC_BSP_HAS_FIXED_PR288 2014-09-11 09:07:36 +02:00
Sebastian Huber
f3508c44b5 tmtests/tmcontext01: Improve cache dirty function
Increment by cache line size to allow more cycles per second.
2014-09-11 07:33:16 +02:00
Sebastian Huber
ecf64a5eb9 bsps/arm: Add a9mpcore_clock_initialize_early()
This is necessary to use the CPU counter converter even in case no clock
driver is present, e.g. in tmcontext01.
2014-09-10 16:17:02 +02:00
Hesham ALMatary
0facefc30f or1k: Let CPU/BSP Fatal handler have access to source
This patchs follows the latest commit by Daniel Hellstrom that
requires _CPU_Fatal_halt to have _source passed to it along with
_error number.
2014-09-10 15:10:41 +02:00
Sebastian Huber
e09f8b0808 sptests/spfatal07: Fix end of test message 2014-09-10 14:46:03 +02:00
Daniel Hellstrom
f82752a474 Let CPU/BSP Fatal handler have access to source
Without the source the error code does not say that much.
Let it be up to the CPU/BSP to determine the error code
reported on fatal shutdown.

This patch does not change the current behaviour, just
adds the option to handle the source of the fatal halt.
2014-09-10 14:06:08 +02:00
Sebastian Huber
12ab8d67e4 bsps/arm: Fix get cache size 2014-09-10 11:29:54 +02:00
Sebastian Huber
4768ae0feb bsps/arm: Fix invalidate instruction cache
Do not invalidate the entire L2 cache since it is a uniform cache in
_CPU_cache_invalidate_entire_instruction().  For consitency do not touch
the L2 cache even for the range function
_CPU_cache_invalidate_instruction_range().
2014-09-10 11:29:54 +02:00
Sebastian Huber
0cd13bce67 bsp/altera-cyclone-v: Add BSP_USE_UART_INTERRUPTS 2014-09-10 10:43:48 +02:00
Sebastian Huber
90f44cd2dd bsps/arm: Fix GIC tm27 support 2014-09-10 10:43:41 +02:00
Federico Casares
f59e64f268 arm/lpc176x: Adding "eth" linker script section. 2014-09-10 07:12:55 +02:00
Sebastian Huber
4984ee4aa2 sptests/sp39: Convert to sptests/spintrcritical21
Use interrupt critical section test support.  Do not print end of test
message in case of failure.
2014-09-10 07:12:55 +02:00
Sebastian Huber
b5f9ad2952 psxtests/psxonce01: Use test extension 2014-09-10 07:12:55 +02:00
Sebastian Huber
5674767fd8 bsp/qoriq: Fix tm27 support 2014-09-10 07:12:55 +02:00
Sebastian Huber
8028089000 tests: Rework interrupt critical tests
This avoids test durations of more than one hour on fast targets, since
fast targets can count a lot during one clock tick period, so the minor
loop iteration count was quite high.  Estimate now the test body
duration to iterate only through the interesting time window.

Add and use interrupt_critical_section_test().
2014-09-10 07:12:55 +02:00
Pavel Pisa
80ad7090ab score: More strict RTEMS_DEQUALIFY implementation.
This implementation is able to catch cast to type
which differs not only in qualifiers. The error
diagnostic message when used in function is self
descriptive. Macro is compatible with used in initializers
but there message about not constant initial value
signals types incompatibility.

The actual implementation does not distinguish between
volatile and const removal.
2014-09-08 14:17:04 +02:00
Sebastian Huber
6821a629c3 Add -std=gnu++11 to CXXFLAGS if SMP is enabled
This is necessary to use the <atomic> header file used for the atomic
operations.
2014-09-08 11:13:53 +02:00
Sebastian Huber
d11e6efec5 clockdrv_shell.h: Fix warning 2014-09-08 09:50:35 +02:00
Sebastian Huber
8d30713d42 tmtests/tmcontext01: Improve cache dirty function 2014-09-08 07:53:03 +02:00
Sebastian Huber
33676c8c2b doc/arm: Update floating point unit support 2014-09-08 07:53:03 +02:00
Sebastian Huber
b8662cf632 bsps/arm: Do not build unused file 2014-09-08 07:53:03 +02:00
Sebastian Huber
b802353c33 bsp/leon3: Include missing header file 2014-09-08 07:53:03 +02:00
Sebastian Huber
07b4594cb4 sptests/spcontext01: Fix warning 2014-09-08 07:53:02 +02:00
Sebastian Huber
05ac47d75e posix: Use RTEMS_DECONST() 2014-09-08 07:53:02 +02:00
Sebastian Huber
4d5250c165 posix: Fix warning 2014-09-08 07:53:02 +02:00
Sebastian Huber
8dab980932 libcsupport: Use RTEMS_DECONST() 2014-09-08 07:53:02 +02:00
Sebastian Huber
ddf8d1297f libchip/dwmac: Use RTEMS_DEVOLATILE() 2014-09-08 07:53:02 +02:00
Sebastian Huber
a72f16e47b score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY() 2014-09-08 07:53:02 +02:00
Jennifer Averett
2a86615b98 capture: Add support for variable length records. 2014-09-05 06:50:29 -05:00
Jennifer Averett
133962bf2f capture: Split user extension methods out. 2014-09-05 06:50:29 -05:00
Sebastian Huber
b2356837db tmtests/tmcontext01: Plot a legend 2014-09-05 08:24:52 +02:00
Chris Johns
960c9f0298 tools: Remove invalid cpp characters from the header guards.
The waf converter in examples-v2 uses an absolute path and this
creates defines with invalid characters.
2014-09-05 13:29:45 +10:00
Hesham ALMatary
bc35eeca85 Regenerate preinstall.am for score/cpu/or1k
This patch regenerates preinstall.am file after Chris fixup regarding
preinstall.am files gerenration from bootstrap -p command.
2014-09-04 13:12:33 -05:00
Joel Sherrill
4d69276a63 nios2_iss/Makefile.am: Add cache 2014-09-04 09:08:05 -05:00
Joel Sherrill
a864016f3a spcpuset01: Use %zd for size_t to eliminate warning 2014-09-04 09:08:05 -05:00
Joel Sherrill
de549c3df9 Misc psxtmtests: Use uint32_t not long for end_time to match printf() format expectations 2014-09-04 09:08:05 -05:00
Joel Sherrill
9aa6ddf0ce spfreechain01/init.c: Use %zd for size_t to eliminate warning 2014-09-04 09:08:05 -05:00
Joel Sherrill
06ac8b7122 shell.c: Add cast to match printf() expectations for width specifier 2014-09-04 09:08:05 -05:00
Joel Sherrill
2dd1e75ed9 rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warnings 2014-09-04 09:08:05 -05:00
Joel Sherrill
e1462e162a sp19: Eliminate warnings 2014-09-04 09:08:05 -05:00