Commit Graph

30640 Commits

Author SHA1 Message Date
Sebastian Huber
c6994af7a7 bsp/qoriq: Use LA to load an address
Add 64-bit support for LA.

Update #3082.
2017-08-22 16:27:02 +02:00
Sebastian Huber
0e26c19a07 bsps/powerpc: Add 64-bit CRT init/fini support
Update #3082.
2017-08-22 16:27:01 +02:00
Sebastian Huber
d50124d51b bsps/powerpc: Rename ppc_exc_wrap_async_normal_end
Rename ppc_exc_wrap_async_normal_end to ppc_exc_interrupt_end to avoid a
bit of obfuscation.

Update #3082.
2017-08-22 16:27:01 +02:00
Sebastian Huber
50382788b3 bsps/powerpc: Add 64-bit SET_SELF_CPU_CONTROL
Update #3082.
2017-08-22 16:27:01 +02:00
Sebastian Huber
60d077f0ba bsps/powerpc: Add 64-bit linker sections
Update #3082.
2017-08-22 16:27:01 +02:00
Sebastian Huber
241d2f2ff1 bsps: Fix integer types in bsp_fdt_copy()
Update #3082.
2017-08-22 16:27:01 +02:00
Sebastian Huber
d8012bbd65 bsps: Add BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA 2017-08-22 16:27:01 +02:00
Sebastian Huber
ec25c6ef74 bsps: Fix integer to/from pointer
Update #3082.
2017-08-22 16:27:00 +02:00
Sebastian Huber
a6f84b2753 powerpc: Add 64-bit context/interrupt support
Update #3082.
2017-08-22 16:26:19 +02:00
Sebastian Huber
7837728b13 powerpc: 64-bit _CPU_Context_Initialize() support
Update #3082.
2017-08-22 14:19:00 +02:00
Sebastian Huber
5a9372ff7e powerpc: 64-bit support for CPU_SIZEOF_POINTER
Update #3082.
2017-08-22 14:19:00 +02:00
Sebastian Huber
ea9084defd powerpc: ppc_interrupt_get_disable_mask()
Fix warning on 64-bit PowerPC.

Update #3082.
2017-08-22 14:18:59 +02:00
Sebastian Huber
caa12270d0 powerpc: Add register defines
Update #3082.
2017-08-22 14:18:59 +02:00
Sebastian Huber
5e1a831e2b libchip/serial: Fix integer types
Update #3082.
2017-08-22 14:18:59 +02:00
Sebastian Huber
b98e407f63 libchip/ata: Fix integer to/from pointer
Update #3082.
2017-08-22 14:18:58 +02:00
Sebastian Huber
a8f4fd2872 smptests: Fix format specifier
Update #3082.
2017-08-22 14:18:58 +02:00
Sebastian Huber
93934f886f heap: Fix integer types
Update #3082.
2017-08-22 14:18:58 +02:00
Sebastian Huber
e062741da6 dev/i2c: Fix integer type
Update #3082.
2017-08-22 14:18:57 +02:00
Sebastian Huber
279c54063e score: Fix format specifier
Update #3082.
2017-08-22 08:06:11 +02:00
Sebastian Huber
e0660391fa confdefs: Fix POSIX keys configuration
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size
configuration.

Update #3105.
2017-08-22 08:02:15 +02:00
Chris Johns
6b7efdb2ed libmisc/rtems-fdt: Add RTEMS FDT wrapper and shell command to libmisc.
- Provide application support for handling FDT blobs in RTEMS. This
  is useful when interfacing FPGA fabrics.
- Provide a shell command to list a blob as well as provide read
  and write access to addresses in the FTB.

Closes #3099.
2017-08-20 11:11:46 +10:00
Chris Johns
849500d0f2 dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ADS1114 and ADS1115
Closes #3101.
2017-08-20 10:59:53 +10:00
Chris Johns
12dea0afa5 dev/i2c: Add Xilinx AXI I2C driver.
This is a generic driver for use with Xilinx AXI I2C controller IP.

Closes #3100.
2017-08-16 14:49:58 +10:00
Chris Johns
8ad4d937df libdebugger/i386 Fix i386 backend after changes.
Closes #3097.
2017-08-16 13:34:16 +10:00
Chris Johns
b2353ed924 libdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings.
- Add `printk` support to aid multi-core debugging.
- Add lock trace to aid lock debugging.
- Fixes to gcc-7.1 warnings.
- Fixes from ticket #2879.
- Add verbose command controls.
- Change using the RTEMS sys/lock.h API to manage exception threads.
- ARM hardware breakpoint fixes. Support for SMP stepping
  is not implemented, this requires use of the context id
  register.

Closes #2879.
2017-08-15 11:39:22 +10:00
Chris Johns
2465c0130b libmisc/shell: Make some internal shell functions public.
- Add 'rtems_shell_init_environment()' so a user can create the
  shell environment without needing to run a shell.
- Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd',
  and 'rtems_shell_execute_cmd' from the internal interface to
  the public interface.

Closes #3096.
2017-08-14 14:50:55 +10:00
Sebastian Huber
0daa8ab825 arm: Use ARM code on Thumb 1 targets
Update #3093.
2017-08-10 09:04:13 +02:00
Sebastian Huber
a95d909878 arm: Validate IT[7:0] bit field of PSR
Update #3093.
2017-08-10 08:18:40 +02:00
Sebastian Huber
ca9490ca36 bsp/imx: Fix UART interrupt
Update #3090.
2017-08-04 14:46:44 +02:00
Sebastian Huber
694c31f990 bsp/imx: New BSP
Update #3090.
2017-08-04 14:24:56 +02:00
Sebastian Huber
ffe7c0e749 bsps/arm: Add ARMv7-AR Generic Timer clock driver
Update #3090.
2017-08-04 14:22:33 +02:00
Sebastian Huber
ef04443b19 bsps/arm: Add ARMv7-AR Generic Timer support
Update #3090.
2017-08-04 14:22:32 +02:00
Sebastian Huber
30be024aa4 Optional Clock_driver_support_shutdown_hardware()
Make Clock_driver_support_shutdown_hardware() optional.  This avoids
the atexit() support on memory constrained targets.
2017-08-04 14:22:32 +02:00
Sebastian Huber
a8694035ae bsps/powerpc: Add PPC_EXC_INTERRUPT_FRAME_SIZE
Use a specific define for the interrupt exception frame size.

Update #3082.
2017-08-01 11:43:57 +02:00
Sebastian Huber
23cb9afeb6 bsps/powerpc: Rename ppc_exc_wrap_async_normal
Rename ppc_exc_wrap_async_normal to ppc_exc_interrupt to avoid a bit of
obfuscation.

Update #3082.
2017-08-01 11:38:32 +02:00
Sebastian Huber
b7be94390b bsps/powerpc: Do not set ouput format and arch
There is no need to explicitly set the output format and architecture in
the linker script.  This enables the usage of this linker script with
the ELFv2 ABI (64-bit).

Update #3082.
2017-07-31 14:39:51 +02:00
Sebastian Huber
65ee42ce8e bsp/qoriq: Simplify fatal exceptions
Avoid use of small-data area, since it is not supported in the ELFv2 ABI
by GCC.

Update #3082.
2017-07-31 14:39:47 +02:00
Sebastian Huber
a597984b99 powerpc: Add register defines
Update #3082.
Update #3085.
2017-07-31 13:43:38 +02:00
Sebastian Huber
2d0a8058a8 bsps/powerpc: Fix format specifiers 2017-07-31 13:43:29 +02:00
Sebastian Huber
af97ba8f29 score: Add RTEMS_HAVE_MEMBER_SAME_TYPE()
This fixes some "variably modified" warnings and a clang compile error.
2017-07-31 09:48:11 +02:00
Joel Sherrill
3ebbabbb93 psximfs02/init.c: Increase size of buffer to avoid overwrite 2017-07-28 15:53:21 -05:00
Joel Sherrill
dd6992fd7c Remove Edison BSP.
Intel has obsoleted this hardware and the BSP was never completed.

closes #3086.
2017-07-28 14:17:32 -05:00
Joel Sherrill
9cb874d667 beagle/i2c/bbb-i2c.c: Eliminiate set but not used warning 2017-07-28 14:17:32 -05:00
Joel Sherrill
bed7ec11b8 psxmmap01/init.c: Correct printf() format specifier 2017-07-28 11:24:34 -05:00
Joel Sherrill
0238e316ad cpukit/include/rtems/inttypes.h: Correct PRIdioctl_command_t 2017-07-28 11:24:34 -05:00
Sebastian Huber
8966e8a3a0 bsp/qoriq: Fix pre-processor expansion
Update #3082.
Update #3085.
2017-07-28 15:40:36 +02:00
Sebastian Huber
5d0fa04792 bsp/t32mppc: Set PPC_PER_CPU_CONTROL_REGISTER 2017-07-28 15:03:47 +02:00
Sebastian Huber
585706a4ec bsp/t32mppc: Add SMP support 2017-07-28 14:43:22 +02:00
Sebastian Huber
77cbb2a444 psxtests/psxmmap01: Fix warning
Update #2859.
2017-07-28 13:53:43 +02:00
Sebastian Huber
cd7991b8df bsps/powerpc: Fix warning 2017-07-28 13:50:12 +02:00