Commit Graph

14651 Commits

Author SHA1 Message Date
Sebastian Huber
a937a5a534 libio: Add rtems_libio_iop_is_readable()
Update #3132.
2017-09-15 10:27:12 +02:00
Sebastian Huber
ead1281fe0 bsp/mrm332: Remove dead code
Update #3132.
2017-09-14 07:02:28 +02:00
Sebastian Huber
df62e51974 bsp/qoriq: Virtual interrupt controller support
Update #3085.
2017-09-12 10:00:36 +02:00
Sebastian Huber
134fe56901 bsp/qoriq: Add byte channel console driver
Update #3085.
2017-09-12 10:00:33 +02:00
Sebastian Huber
356b1b8516 bsp/qoriq: Port ePAPR hcall interface to RTEMS
Update #3085.
2017-09-12 10:00:32 +02:00
Sebastian Huber
0d51c05bb6 bsp/qoriq: Import ePAPR hcalls from Linux 4.12
Update #3085.
2017-09-12 10:00:30 +02:00
Sebastian Huber
b742de24c0 bsp/qoriq: Boot page translation
Do not mingle with the boot page translation as hypervisor guest.

Update #3085.
2017-09-12 10:00:27 +02:00
Sebastian Huber
0ce5bfb984 bsp/qoriq: Do not touch MMU as hypervisor guest
Update #3085.
2017-09-12 10:00:23 +02:00
Sebastian Huber
20fc4f95aa bsp/qoriq: Add QORIQ_IS_HYPERVISOR_GUEST
Update #3085.
2017-09-12 10:00:18 +02:00
Sebastian Huber
458179f19e bsp/qoriq: Remove console stuff from bsp_start()
Update #3085.
2017-09-12 10:00:13 +02:00
Sebastian Huber
1bc0ad2e12 Simplify and unify BSP_output_char
The BSP_output_char should output a char and not mingle with high level
processing, e.g. '\n' to '\r\n' translation.  Move this translation to
rtems_putc().  Remove it from all the BSP_output_char implementations.

Close #3122.
2017-09-12 09:57:53 +02:00
Christian Mauderer
f7f420e11a bsp/atsam: Fix MPU sections.
The nocache section has been hard coded which could lead to problems
when a bigger region should be used. Fix that.

The internal SRAM has not been set up correctly. A duplicate external
SDRAM has been set up instead.

Remove a lot of other hard coded sections too.
2017-09-07 09:26:05 +02:00
Daniel Hellstrom
8570ad2216 leon,ambapp_bus: make unreferenced global function static
Fixes #3072
2017-08-29 08:44:13 +02:00
Daniel Hellstrom
efcac228f4 leon,grascs: fix semaphore policies
Closes #2726
2017-08-29 08:44:13 +02:00
Daniel Hellstrom
7f13fae87e leon,ambapp: fixes bad allocation check
Updates #2496 but to close needs to be applied to 4.11 accoring to ticket.
2017-08-29 08:44:13 +02:00
Daniel Hellstrom
360fb2fe75 leon,gr1553b: improve init check
Check in init3 not needed since same data is already checked in init2
stage. Adds an extra check that the APB register space is available before
accessing it.

Updates #2331 but needs to be applied to 4.11 according to ticket.
2017-08-29 08:44:13 +02:00
Daniel Hellstrom
1ccce05337 libchip,greth: disable driver if SMP kernel
Update #2355
2017-08-29 08:44:05 +02:00
Daniel Hellstrom
3471d3da25 leon,occan: remove dead code.
Fixes #2878
2017-08-29 08:31:19 +02:00
Daniel Hellstrom
6b339b5af6 leon, grspw: for SMP use GRSPW Packet driver
The GRSPW packet driver supports SMP and therefore the legacy GRSPW
driver is disabled for SMP builds.

Update #2355
2017-08-29 08:31:09 +02:00
Joel Sherrill
c58e4f5745 fb/fb.c: include <string.h> for memcpy() 2017-08-27 14:50:47 -05:00
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
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
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
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