Commit Graph

30654 Commits

Author SHA1 Message Date
Sebastian Huber
a97d77c187 Include missing <rtems/bspIo.h> 2017-08-25 11:00:32 +02:00
Sebastian Huber
1f22b26945 Include missing <limits.h>
Update #2132.
2017-08-25 10:59:52 +02:00
Sebastian Huber
b2ed712d26 Include missing <string.h>
Update #2133.
2017-08-25 10:58:58 +02:00
Sebastian Huber
80a13ec48d samples/fileio: Give command availability hint
Close #3088.
2017-08-24 08:44:22 +02:00
Chris Johns
602b184fd0 libmisc/rtems-fdt: Add libmisc/rtems-fdt to the cpukit wrapup.
Updates #3099.
2017-08-24 09:39:43 +10:00
Sebastian Huber
695c9c500a bsp/qoriq: Add qoriq_e6500_64 variant
Update #3082.
2017-08-22 16:27:03 +02:00
Sebastian Huber
95a4b1f975 bsp/qoriq: Enable > 2GiB memory
Update #3082.
2017-08-22 16:27:03 +02:00
Sebastian Huber
c693a3a506 powerpc: PPC64_NOP_FOR_LINKER_TOC_POINTER_RESTORE
In 64-bit mode, the linker must have the ability to restore the TOC
pointer after an external function call.

Update #3082.
2017-08-22 16:27:03 +02:00
Sebastian Huber
c8aeb76c44 bsp/qoriq: 64-bit MMU support
Update #3082.
2017-08-22 16:27:03 +02:00
Sebastian Huber
77c8101686 bsp/qoriq: 64-bit support for interrupt controller
Update #3082.
2017-08-22 16:27:03 +02:00
Sebastian Huber
5f42a0e478 bsp/qoriq: Enable 64-bit mode for exceptions
Update #3082.
2017-08-22 16:27:02 +02:00
Sebastian Huber
f14da4517f bsp/qoriq: 64-bit support for spin table
Update #3082.
2017-08-22 16:27:02 +02:00
Sebastian Huber
0ae1916bcf bsp/qoriq: Copy FDT later
We need a ready to use TOC section before we can call bsp_fdt_copy().

Update #3082.
2017-08-22 16:27:02 +02:00
Sebastian Huber
43cc2b4daf bsp/qoriq: Add basic 64-bit support
Update #3082.
2017-08-22 16:27:02 +02:00
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