Commit Graph

28381 Commits

Author SHA1 Message Date
Sebastian Huber
0510cfd8ed Add NXP PCA9548A 8-channel switch I2C driver 2014-11-20 10:30:17 +01:00
Sebastian Huber
67ac69fc3f Add NXP PCA9535 16-bit GPIO I2C driver 2014-11-20 10:30:12 +01:00
Sebastian Huber
cce4678047 Add generic EEPROM I2C device driver 2014-11-20 10:30:11 +01:00
Sebastian Huber
41c5f1b779 Add I2C driver framework
This I2C driver framework has some major differences compared to libi2c.

* It is compatible to the Linux I2C user-space API.

* It uses generic IMFS nodes and thus reduces the levels of indirection.

* The drivers don't have to mess around with minor numbers to get their
  state information.

* No arbitrary bus controller model is assumed.  The main task of an I2C
  bus controller driver is to process I2C messages.  How this is done is
  private to the driver.

* Scatter/gather operations are supported (I2C_M_NOSTART).
2014-11-20 10:30:06 +01:00
Sebastian Huber
b6f218867b Add RTEMS port of Linux I2C user-space API 2014-11-20 08:54:11 +01:00
Sebastian Huber
f0c564c5ae bsps/arm: Adjust stacks for ARMv4
Reduce non-IRQ stacks to size zero.  All non-IRQ stacks overlap now the
IRQ stack.  This is all right since the SVC stack is used only during
startup and here interrupts are disabled.  The other exception stacks
lead to a system termination by default, so we can here also use the IRQ
stack since interrupts are disabled on exception entry.
2014-11-20 08:54:10 +01:00
Sebastian Huber
3eade71044 libtests/top: End test after some time if no input 2014-11-20 08:54:10 +01:00
Alan Cudmore
96a9f4cb6d ARM removed shared/abort from several ARM BSPs 2014-11-20 08:54:10 +01:00
Chris Johns
580466cc9c libdl: Update comment with details about the error fix.
See refs #2192.
2014-11-20 13:52:12 +11:00
Chris Johns
2ae58c695f libdl: Update the comments.
See refs #2191.
2014-11-20 10:19:46 +11:00
Chris Johns
fc523ac869 libdl: Fix possible 16-bit overflow (Coverity 1255339) refs #2192.
On a 16-bit target the section value could result in a sign-extension
overflow.
2014-11-20 10:18:16 +11:00
Chris Johns
4f1bbbfcdf libdl: Add a comment.
See ref #2191.
2014-11-20 08:43:15 +11:00
Chris Johns
80590a8ecf libdl: Add a comment to the previous fix.
The fix is ref #2191.
2014-11-20 08:38:28 +11:00
Chris Johns
90f65007e9 libdl: Fix allocator NULL check (Coverity 1255328) refs #2191
The address returned from the allocator call was not checked when zeroing
the memory.
2014-11-20 08:30:01 +11:00
Chris Johns
724eb8c410 Fix type in MAINTAINERS. 2014-11-20 07:27:34 +11:00
Chris Johns
f04dff48bb Update MAINTAINERS with blanket commits for Daniel and SPARC. 2014-11-20 07:21:28 +11:00
Chris Johns
c87ff971c3 Update maintainers with Daniel. 2014-11-20 05:32:17 +11:00
Chris Johns
ab8a9adf8a Update the maintainers list. 2014-11-20 05:25:40 +11:00
Chris Johns
7ecd1fcee6 libmisc: Add the libmisc/redirector to the wrap up. 2014-11-20 05:18:10 +11:00
Chris Johns
f98abbe0eb libdl: Disable building libdl for the NIOS2. No relocation support.
This should have been added.
2014-11-06 13:09:54 +11:00
Joel Sherrill
a373dc3768 lpc23xx_tli800-testsuite.tcfg: Add dl02 2014-11-05 17:52:23 -06:00
Joel Sherrill
091c610808 lpc2362-testsuite.tcfg: Add dl02 2014-11-05 17:52:05 -06:00
Joel Sherrill
0b91cfbf51 lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add a handful more tests 2014-11-05 17:51:43 -06:00
Joel Sherrill
f9e4139f55 lm3s3749-testsuite.tcfg: Add dl02 2014-11-05 15:31:36 -06:00
Joel Sherrill
54998f6ef1 shell/main_edit.c: Fix warnings 2014-11-05 09:29:47 -06:00
Joel Sherrill
8d74b80e26 lpc23xx_tli800-testsuite.tcfg: Add dl01 2014-11-04 15:05:08 -06:00
Joel Sherrill
6d84a9fff9 lpc2362-testsuite.tcfg: Add dl01 2014-11-04 15:04:46 -06:00
Joel Sherrill
a7812cdcea lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add rbheap01 2014-11-04 15:04:28 -06:00
Joel Sherrill
643e7cb8a6 lm3s3749-testsuite.tcfg: Add dl01 2014-11-04 15:02:03 -06:00
Joel Sherrill
1a3c611c45 sapi/src/testextension.c: Fix warnings 2014-11-04 14:56:11 -06:00
Joel Sherrill
1dc5b0e0c1 libdl/rtl-mdreloc-bfin.c: Include rtems/rtl/rtl.h not rtl.h 2014-11-04 14:56:11 -06:00
Joel Sherrill
598a1f4a68 libdl/Makefile.am: Need preinstall on all targets 2014-11-04 14:56:11 -06:00
Chris Johns
028ed6c390 libdl: RTLD_DEFAULT searches the global symbol table. 2014-11-04 16:34:37 +11:00
Chris Johns
540b7b4178 libtests: Add libdl test dl02.
Loads 2 interdependent ELF object files.
2014-11-04 16:31:50 +11:00
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