Commit Graph

27647 Commits

Author SHA1 Message Date
Chris Johns
d52c9e4d71 libtests: Update dl01 documentation. 2014-11-04 16:30:08 +11:00
Chris Johns
de5596b183 Regenerated preinstall.am file. 2014-11-04 13:02:03 +11:00
Chris Johns
a2e1e30d98 libdl: Add a local symbol table to the object module.
Adding a local symbol lets the relocator find local symbols referenced
in relocation records. The local symbol table is erased once the object
module has been loaded.
2014-11-04 12:12:25 +11:00
Ben Gras
53dd6d6130 BSP for several Beagle products
Specifically the beagleboard, beagleboard xM, beaglebone, beaglebone black.

More info on these targets: http://www.beagleboard.org/

This commit forms a basic BSP by combining Claas's work with
    . new clock and irq code and definitions for
      beagle targets (beagleboard and beaglebones), mostly
      reused from the Minix codebase, thus making
      irqs, ticks and non-polled console mode work too
    . new timer code for ns timing with high timer resolution,
      24MHz on the AM335X and 13MHz on the DM37XX
    . select the console uart based on target at configure time
    . removing all the lpc32xx-specific macros and code and
      other unused code and definitions that the beagle bsp
      was based on
    . re-using some standard functions instead of lpc32xx versions
    . fixed some whitespace problem in preinstall.am
    . fixed some compile warnings
    . configure MMU: set 1MB sections directly in the TTBR,
  just to show the difference between cacheable RAM and
  non-cacheable device memory and invalid ranges; this lets us
  turn on caches and not rely on boot loader MMU configuration.
  Verified to work when MMU is initially either on or off when
  RTEMS gets control.

Thanks for testing, commentary, improvements and fixes to Chris Johns,
Brandon Matthews, Matt Carberry, Romain Bornet, AZ technology and others.

Signed-Off-By: Ben Gras <beng@shrike-systems.com>
2014-11-03 14:19:47 -06:00
Claas Ziemke
7a669866ee Added BeagleBoard BSP
Coding done in course of GSoC2012.

Commit edited to be brought up-to-date with mainline by
Ben Gras <beng@shrike-systems.com>.
2014-11-03 14:19:47 -06:00
Ben Gras
b51842bb38 Add some generic ARM am335x and omap definitions 2014-11-03 14:19:47 -06:00
Jennifer Averett
4123e244c8 cpuuse: Resolve compile errors. 2014-11-03 14:00:33 -06:00
Joel Sherrill
c58f90bfe8 dl01/dl-load.c: Add missing const 2014-11-02 18:54:55 -06:00
Joel Sherrill
def13373fa libcpu/bfin/clock/tod.h: Delete - missed on previous commits 2014-10-31 15:14:28 -05:00
Sebastian Huber
e08b0b917c bsp/mpc55xxevb: Fix flash settings for MPC5510 2014-10-31 07:49:45 +01:00
Chris Johns
7ae1c30cc8 libnetworking: Fix the sethostname decl to match newlib. 2014-10-31 16:20:02 +11:00
Chris Johns
ae5fe7e6bc cpukit: Add libdl with the Runtime Loader (RTL) code.
This is a merge of the RTL project.
2014-10-31 11:04:15 +11:00
Chris Nott
513668f6f1 Added missing stm32f4xxxx_adc.h 2014-10-30 09:34:35 -05:00
Jennifer Averett
410bcdfe5f top: Add new test. 2014-10-28 08:09:37 -05:00
Jennifer Averett
8b11ff67a8 capture: Remove ctload command.
rtems_cpu_usage_top should be used for this information.
2014-10-28 07:58:28 -05:00
Jennifer Averett
a7817010c5 libmisc: Add top to shell. 2014-10-27 14:12:05 -05:00
Jennifer Averett
6031da438d libmisc: Add top to cpuusage. 2014-10-27 14:11:04 -05:00
Jennifer Averett
254b7db0bc capture01: Remove capture task tracking.
This involved adding a new variable record to the capture buffer
and modifing the trace method to read those records.
2014-10-27 14:02:36 -05:00
Jennifer Averett
05e4e59984 capture: Removal of capture task tracking.
This patch removes functionality for stack checking from
the capture engine and requiresi the use of existing rtems
functions for this information.  It modifies ctload to use
functionality similar to rtems cpuusage.  It removes the
capture task and stores a new capture task record the first
time the task is seen.  The per task data that was still
needed is scaled down and stored in the tcb.
2014-10-27 14:01:13 -05:00
Jennifer Averett
7c797a1d7e cpuuse: Move is_executing_on_a_core to threadimpl.h 2014-10-27 13:24:44 -05:00
Jennifer Averett
f9b19d9f83 score: Move is_executing_on_a_core from cpuusagereport.c to threadimpl.h 2014-10-27 13:24:35 -05:00
Jennifer Averett
134a1811c1 score: Add capture data to tcb. 2014-10-27 13:24:27 -05:00
Chris Johns
42c77e9982 shell: Add an editor to the shell.
This is a small (21K on sparc) editor that provides some powerful
features useful when a file needs editing on an embedded
board. No need to copy files off, edit, copy back.
2014-10-24 16:06:54 -07:00
Chris Johns
ea9232d016 ilibcsupport: Add realpath call. 2014-10-24 16:05:59 -07:00
Sebastian Huber
d412e2f025 smptests/smpfatal03: Wait for end of test msg 2014-10-24 09:18:38 +02:00
Sebastian Huber
092b8c57e6 tests/smptests: Normal use of test extension 2014-10-24 07:21:51 +02:00
Sebastian Huber
801ad184ea sapi: Use an interrupt lock for test extension
Ensure to report only once on SMP machines and ensure that the report is
output completely.
2014-10-24 07:09:31 +02:00
Sebastian Huber
17889b257c tests/smptests: Use barriers in smpfatal0{12}
Call the test extension explicitly and wait for report output using a
barrier.  This avoids problems with an early shutdown of the system.
2014-10-23 17:15:47 +02:00
Sebastian Huber
a420327390 sapi: Report only if not an SMP shutdown response 2014-10-23 15:39:28 +02:00
Sebastian Huber
866a6fc013 bsps/sparc: Include right header file 2014-10-23 14:31:15 +02:00
Sebastian Huber
b4420323ae bsp/leon3: Fix LEON3_mp_irq definition
Provide it also if RTEMS_MULTIPROCESSING is defined.
2014-10-23 10:21:41 +02:00
Sebastian Huber
46dde0fcef bsps: Move extern "C" to not cover includes
Some includes may use C++ and this conflicts if surrounded extern "C".
2014-10-23 10:21:41 +02:00
Sebastian Huber
3e739ae95f testsuites: Move include for C++ compatibility 2014-10-23 10:21:41 +02:00
Daniel Cederman
77a2226a16 bsp/sparc: Ensure that data cache snooping is enabled
Check that data cache snooping exists and is enabled on all cores.
2014-10-23 10:21:41 +02:00
Sebastian Huber
cf4f962cc0 dosfs: Write meta-data only if it changed 2014-10-23 10:21:39 +02:00
Sebastian Huber
66c1ef9256 Revert "fstests/mdosfs_fstime: Remove test"
This reverts commit bdcf4102f7.
2014-10-23 10:21:28 +02:00
Sebastian Huber
a7eaaae85b dosfs: Support ctime and mtime
Implement ctime and mtime updates according to POSIX.  The ctime is
mapped to the FAT create time and date.  The mtime is mapped to the FAT
last modified time and date.  For the atime use the mtime for
simplicity.
2014-10-23 10:21:25 +02:00
Chris Nott
040ed0b4cd bsp/stm32f4: Add header files
Added register definition headers for STM32F4 ADC, EXTI, PWR, SYSCFG,
TIM, OTGFS and updated FLASH and RCC. Fixed PLL_Q for USB 48MHz
operation. Added flash prefetch enable.
2014-10-23 08:31:10 +02:00
Joel Sherrill
ea05c438e9 or1k/or1ksim: Fix warnings 2014-10-20 15:25:37 -05:00
Joel Sherrill
ddc81650a9 arm/raspberrypi: Fix warnings 2014-10-20 15:25:22 -05:00
Joel Sherrill
3532ff91ec shared/clockdrv_shell.h: Always include <rtems/clockdrv.h> to avoid warnings 2014-10-20 14:36:49 -05:00
Joel Sherrill
71bc995c0f powerpc/qoriq/include/bsp.h: Add prototypes to fix warnings 2014-10-20 14:36:19 -05:00
Joel Sherrill
ed18345333 powerpc/qemuppc/startup/cmain.c: Fix warnings 2014-10-20 14:21:37 -05:00
Joel Sherrill
7294054b30 powerpc/shared/startup/bspstart.c: Fix warning for mvme2100 2014-10-20 14:13:47 -05:00
Joel Sherrill
ce5c3b34bd nios2/nios2_iss: Fix warnings 2014-10-20 13:58:12 -05:00
Joel Sherrill
a4fea82d10 ss555/startup/bspstart.c: BSP does not use SPRG0 2014-10-20 13:57:54 -05:00
Joel Sherrill
ad45687706 ep1a/startup/bspstart.c: BSP does not use SPRG0 2014-10-20 13:57:41 -05:00
Joel Sherrill
82f5ec45e9 libcpu/sh/sh7045/sci/sci.c: Eliminate use of obsolete method 2014-10-20 11:31:41 -05:00
Joel Sherrill
6fc2d38987 libbsp/sh/shared/console.c: Eliminate use of obsolete method 2014-10-20 11:31:25 -05:00
Joel Sherrill
e48bbaa5dc cpukit/libfs/src/imfs/ioman.c: Fix typo 2014-10-20 11:31:07 -05:00