Commit Graph

30254 Commits

Author SHA1 Message Date
Joel Sherrill
237e60b658 stm32f4/../*-testsuite.tcfg: Add linpack 2017-04-04 12:02:50 -05:00
Joel Sherrill
9bb8a92714 tms570/../*-testsuite.tcfg: Add linpack 2017-04-04 12:02:50 -05:00
Joel Sherrill
fd93c6bfaf mpc55xxevb/.../*-testsuite.tcfg: Add linpack 2017-04-04 12:02:50 -05:00
Joel Sherrill
8d829ff8fb mrm332-testsuite.tcfg: Add linpack 2017-04-04 12:02:50 -05:00
Joel Sherrill
47a1de0758 mcf5225x-testsuite.tcfg: Add linpack 2017-04-04 12:02:49 -05:00
Joel Sherrill
4940dc2a2a mcf52235-testsuite.tcfg: Add linpack 2017-04-04 12:02:49 -05:00
Joel Sherrill
f570590c3e gensh1-testsuite.tcfg: Add linpack 2017-04-04 12:02:49 -05:00
Joel Sherrill
a66a893476 simsh*-testsuite.tcfg: Add linpack 2017-04-04 12:02:49 -05:00
Joel Sherrill
a5b885dfeb gensh2-testsuite.tcfg: Add linpack 2017-04-04 12:02:49 -05:00
Sebastian Huber
b3bfc242ed sys/event.h: Update to FreeBSD head 2017-02-13 2017-04-04 10:40:42 +02:00
Chris Johns
258bda306b testsuite: Add a common test configuration. Fix configure.ac and Makefile.am errors.
- Add a top level test configuration file for test states that are common
  to all BSPs. This saves adding a test configuration (tcfg) file for
  every BSP.

- Add the test states 'user-input' and 'benchmark'. This
  lets 'rtems-test' stop the test rather than waiting for a timeout or
  letting a benchmark run without the user asking for it to run.

- Implement rtems-test-check in Python to make it faster. The shell script
  had grown to a point it was noticably slowing the build down.

- Fix the configure.ac and Makefile.am files for a number of the
  test directories. The files are difficiult to keep in sync with the
  number of tests and mistakes can happen such as tests being left
  out of the build. The test fsrofs01 is an example. Also a there was
  a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be
  used.

- Fix the test fsrofs01 so it compiles.

Closes #2963.
2017-04-04 08:24:22 +10:00
Sebastian Huber
d2a45a58aa bsp/qoriq: Fix L1 cache flush 2017-04-03 14:07:58 +02:00
Sebastian Huber
f6e793a2ca bsp/qoriq: Adjust MMU config only once 2017-04-03 14:07:58 +02:00
Sebastian Huber
2ba996fa89 bsp/qoriq: Add post-link hook 2017-04-03 14:07:58 +02:00
Sebastian Huber
1301468b5a bsps: Fix baud settings
Update #2897.
2017-04-03 14:07:58 +02:00
Sebastian Huber
36f0ac20b6 configure: Remove defunct configure stuff 2017-04-03 08:57:14 +02:00
Chris Johns
bba48d90bc libdl: Support link ordered loading of ELF sections.
The ARM C++ exception ABI uses an address ordered index table to
locate the correct frame data and this requires the EXIDX sections are
loaded in the order the order the matching text is loaded.

The EXIDX sections set the SHF_LINK_ORDER flag and link field. This patch
adds support to load those flagged sections in the linked-to section
order.

Updates #2955.
Closes #2959
2017-03-31 09:00:14 +11:00
Sebastian Huber
a1c60b5690 benchmarks/whetstone: Port to RTEMS
Update #2958.
2017-03-29 07:42:50 +02:00
Sebastian Huber
3785f93779 benchmarks/whetstone: Import
Import whetstone sources from:

http://www.netlib.org/benchmark/whetstone.c

Update #2958.
2017-03-29 07:42:49 +02:00
Sebastian Huber
0a16d5f4a0 benchmarks/linpack: Port to RTEMS
Close #2958.
2017-03-29 07:42:46 +02:00
Sebastian Huber
8783660741 benchmarks/linpack: Import
Import linpack sources from:

http://www.netlib.org/benchmark/linpack-pc.c

Update #2958.
2017-03-29 07:42:46 +02:00
Sebastian Huber
954ca41055 benchmarks/dhrystone: Port to RTEMS
Update #2958.
2017-03-29 07:42:43 +02:00
Sebastian Huber
317c1f41ea benchmarks/dhrystone: Import
Import dhrystone sources from:

http://www.netlib.org/benchmark/dhry-c

Update #2958.
2017-03-29 07:29:01 +02:00
Sebastian Huber
0027682546 benchmarks: Add benchmark templates
Update #2958.
2017-03-29 07:29:01 +02:00
Sebastian Huber
cd3d74793a arm: Optimize context switch
Set CPU_ENABLE_ROBUST_THREAD_DISPATCH to TRUE.  In this case the
interrupts are always enabled during a context switch even after
interrupt processing (see #2751).  Remove the CPSR from the context
control since it contains only volatile bits.

Close #2954.
2017-03-28 10:32:37 +02:00
Sebastian Huber
82c0836f20 posix: Fix pthread_detach() internal lock acquire 2017-03-28 10:32:37 +02:00
Sebastian Huber
70ddaa0e79 rtems: Fix error return path 2017-03-28 10:32:36 +02:00
Sebastian Huber
5f38271390 cpukit: Fix Makefile.am and update preinstall.am
Update #2897.
2017-03-27 15:38:25 +02:00
Sebastian Huber
af5bbd3bf9 bsp/qoriq: Regenerate preinstall.am 2017-03-27 15:37:55 +02:00
Sebastian Huber
bd7f099c43 bsp/tms570: Use shared benchmark timer 2017-03-27 13:53:50 +02:00
Sebastian Huber
b8e97e58a2 bsps: Add simple CPU counter benchmark timer 2017-03-27 13:53:42 +02:00
Sebastian Huber
e2191d6c28 bsp/tms570: Simplify CPU counter support
Only touch the cycle counter settings.  Do not enable user mode access.
2017-03-27 13:38:54 +02:00
Sebastian Huber
0a6a2a7bf0 bsps/arm: Add Performance Monitors Extension 2017-03-27 13:37:58 +02:00
Sebastian Huber
de9f326d2e bsp/tms570: Simplify <bsp.h> 2017-03-27 12:09:21 +02:00
Sebastian Huber
b7262b2438 bsp/tms570: Remove OPERATION_COUNT define
This is the wrong place to define it.
2017-03-27 12:08:57 +02:00
Sebastian Huber
94a4865c0c termios: Avoid invalid memory access
Update #2897.
2017-03-27 10:31:04 +02:00
Kevin Kirspel
1c6926c11f termios: Synchronize with latest FreeBSD headers
Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD.  Modify termios to support dedicated input and output baud for
termios structure.  Updated BSPs to use dedicated input and output baud
in termios structure.  Updated tools to use dedicated input and output
baud in termios structure.  Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.
2017-03-22 11:55:04 +01:00
Sebastian Huber
c4b058ca48 bsp/atsam: Fix DMA support of some drivers 2017-03-22 10:38:27 +01:00
Sebastian Huber
d50ab07938 dosfs: Fix file name search
Do not use our long file name entry count to optimize the file name
search. The Unicode comparison must be taken into account.

Update #2939.
2017-03-16 15:33:59 +01:00
Sebastian Huber
dfd879fa42 dosfs: Fix race condition msdos_dir_read()
Obtain file system instance lock before member access.

Update #2937.
2017-03-16 15:33:58 +01:00
Sebastian Huber
6c988987f6 dosfs: Rename fat_entries to lfn_entries
The name "fat_entries" for long file name directory entries is quite
misleading.
2017-03-16 15:33:58 +01:00
Sebastian Huber
5f8ed0d8da dosfs: Fix long file name padding
Update #2934.
2017-03-16 15:33:58 +01:00
Sebastian Huber
e625a57ff8 dosfs: msdos_filename_utf8_to_short_name_for_save
Simplify.
2017-03-16 15:33:58 +01:00
Sebastian Huber
b1daf0f095 dosfs: Fix msdos_add_file()
Make sure that long file names work accross cluster boundaries.

Update #2929.
2017-03-16 15:33:58 +01:00
Sebastian Huber
1a9483e2db dosfs: Simplify msdos_add_file()
Update #2929.
2017-03-16 15:33:57 +01:00
Sebastian Huber
3efe74953f dosfs: Add and use msdos_lfn_checksum()
Update #2929.
2017-03-16 15:33:57 +01:00
Sebastian Huber
063eb574b9 dosfs: Simplify fat_file_open()
Update #2929.
2017-03-16 15:33:57 +01:00
Sebastian Huber
ccd4a7f397 dosfs: Simplify msdos_creat_node()
Update #2929.
2017-03-16 15:33:57 +01:00
Sebastian Huber
e69ee3629d dosfs: Fix fat_file_write()
Remove forced overwrite which leads to file data corruption.  The logic
to determine a forced overwrite was fundamentally broken.  For simplity,
disable this feature.

Update #2622.
2017-03-16 15:33:57 +01:00
Sebastian Huber
1becaa953e dosfs: Fix msdos_utf8_normalize_and_fold()
It is all right in case the result uses the full destination buffer.
Without this fix the handling of a maximum 8.3 short file name is
broken.

Update #2928.
2017-03-16 15:33:57 +01:00