Alexander Krutwig
891fa3eb5b
bsp/atsam: Add support for TCM
2016-06-29 10:38:19 +02:00
Sebastian Huber
9bb3ce3918
score: Fix SMP message handling
...
According to the C11 standard only atomic read-modify-write operations
guarantee that the last value written in modification order is read, see
"7.17.3 Order and consistency". Thus we must use a read-modify-write in
_SMP_Inter_processor_interrupt_handler() to make sure we read an
up-to-date message.
2016-06-29 09:50:47 +02:00
Pavel Pisa
b83c23e62a
arm/raspberrypi: resolve BSP warnings.
2016-06-28 17:07:02 +02:00
Pavel Pisa
68565b090e
arm/raspberrypi: run VideoCore and mailbox code through rtems.uncrustify.
...
Some changes have been reverted to keep readability.
For example squash of BCM2835_MBOX_TAG_* defines
which are visually aligned in column.
2016-06-28 16:15:38 +02:00
Mudit Jain
48704cdebd
arm/raspberrypi: Adding functionalities to Mailbox RPi
...
Added functions for retrieving firmware revision,
board model and board revision.
2016-06-28 15:44:58 +02:00
Sebastian Huber
aa30e2c115
bsp/mvme162: Include missing <rtems/bspIo.h>
2016-06-28 13:10:16 +02:00
Christian Mauderer
4c02385d8f
libnetworking: Import current <arpa/inet.h>
...
Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes
in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>.
Clean up problems with htonl(). These functions are defined in
<arpa/inet.h>. This lead to some problems because they are defined in
<rtems/endian.h> too. Add NTOHL, ... to
<rtems/rtems_bsdnet_internal.h>.
2016-06-28 13:10:01 +02:00
Sebastian Huber
1c77a36f11
bsps: Include missing <rtems/bspIo.h>
2016-06-24 14:31:29 +02:00
Pavel Pisa
14de20f15b
arm/raspberrypi: Force VC mail box buffer to be synchronized through cache.
...
This solution is quick fix until CPU_DATA_CACHE_ALIGNMENT is defined
and cache manager is checked on all Raspberry Pi variants.
2016-06-24 11:24:09 +02:00
Alexander Krutwig
0c1413c284
bsp/atsam: Add I2C driver
2016-06-23 07:54:20 +02:00
Alexander Krutwig
0fddefe65b
bsp/atsam: Fix QSPI driver API
...
We support read/write of arbitrary buffers.
2016-06-22 16:09:01 +02:00
Sebastian Huber
655ce0fb00
sparc: Optimize CPU counter support
2016-06-22 14:00:27 +02:00
Sebastian Huber
506bfc8580
Move printer initialization to separate header
...
The RTEMS print user need to know nothing about a particular printer
implementation. In particular get rid of the <stdio.h> include which
would be visible via <rtems.h>.
2016-06-22 07:29:26 +02:00
Sebastian Huber
ede1a4182d
Make rtems/print.h independent of rtems/bspIo.h
2016-06-22 07:29:26 +02:00
Pavel Pisa
91043bfa91
bsp/tms570: regenerate preinstall makefile by bootstrap -p.
2016-06-21 22:20:17 +02:00
Pavel Pisa
8df196f704
bsp/tms570: include complete peripheral initialization to SCI driver.
...
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz >
2016-06-21 22:20:17 +02:00
Pavel Pisa
6626efe6f0
bsp/tms570: update pinmux to provide support for initialization lists and clear of alt outputs.
2016-06-21 22:20:17 +02:00
Pavel Pisa
bc884f6538
bsp/tms570: include package balls and PINMMR registers mapping for TMS570LS3135ZWT chip.
2016-06-21 22:20:16 +02:00
Sebastian Huber
a4ff2a2a4b
bsp/leon3: Add up counter timecounter
2016-06-21 15:54:18 +02:00
Sebastian Huber
291945f137
bsp/leon3: Fix interrupt timestamping
...
Close #2684 .
2016-06-21 15:54:18 +02:00
Sebastian Huber
9460333e99
sparc: Rework CPU counter support
...
Rework CPU counter support to enable use of the GR740 up-counter via
%asr22 and %asr23.
2016-06-21 15:54:18 +02:00
Sebastian Huber
4c927c7900
bsp/leon3: Fix LEON3_Cpu_Index initialization
2016-06-21 15:54:18 +02:00
Pavel Pisa
fa239ff26c
arm/raspberrypi: Ensure that buffers used for VC mail box communication are synchronized through cache.
2016-06-20 17:01:19 +02:00
Sebastian Huber
40b80d86ef
bsp/leon3: Use sysinit for bsp_debug_uart_init()
2016-06-20 08:18:39 +02:00
Sebastian Huber
a4fa007be9
bsp/leon3: Use sysinit for amba_initialize()
2016-06-20 08:11:16 +02:00
Sebastian Huber
16706b723f
bsps: Fix printk() format warning
2016-06-17 08:07:14 +02:00
Sebastian Huber
305231bd3c
bsps: Fix MPCI_Fatal() prototype
...
Close #2742 .
2016-06-17 08:04:25 +02:00
Joel Sherrill
381b120acc
libchip/shmdr/send.c: Fix warning and clean up
2016-06-16 09:03:22 -05:00
Joel Sherrill
82cb100aba
libchip/shmdr/poll.c: Fix warning and clean up
2016-06-16 09:03:22 -05:00
Joel Sherrill
4788a074a5
mvme147s/shmsupp/mpisr.c: Fix warnings and clean up
2016-06-16 09:03:22 -05:00
Joel Sherrill
d5ff139894
mvme147s/shmsupp/getcfg.c: Fix warning
2016-06-16 09:03:22 -05:00
Sebastian Huber
b61d5cac7c
bsps: Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR
...
Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR clock driver option. If
defined, then do the clock tick processing on the boot processor on
behalf of all other processors. Currently, this is intended as a
workaround for a Qemu shortcoming on ARM.
Update #2737 .
2016-06-14 11:57:48 +02:00
Sebastian Huber
a0cd238d2b
bsp/qoriq: Increase reserved size for FDT
...
Some boards require this size.
2016-06-13 13:42:02 +02:00
Sebastian Huber
10670a5503
bsp/irq-server: Fix install/remove
...
Do not wait for the interrupt server while owning the allocator lock.
This could lead to deadlock in case one of interrupt service routines or
user extensions want to obtain the allocator mutex as well. Instead let
the interrupt server do the install/remove job entirely on behalf of the
requesting task.
2016-06-13 10:30:42 +02:00
Sebastian Huber
89f627b56b
bsps/powerpc: Update to RTEMS printer changes
2016-06-09 09:39:18 +02:00
Alexander Krutwig
033443c869
bsp/atsam: Support QSPI flash
2016-06-06 12:57:08 +02:00
Alexander Krutwig
15f0f9b448
atsam: Fix network interface PHY handling
...
Close #2685 .
2016-06-06 12:57:07 +02:00
YANG Qiao
6b5df955a6
arm/raspberrypi: add fbcons support for rpi bsp
2016-05-31 10:33:44 +02:00
YANG Qiao
c12069e855
arm/raspberrypi: add video outchar support for rpi bsp
2016-05-31 10:33:43 +02:00
Pavel Pisa
c64d5f0d0c
arm/raspberrypi: move MMU in front of application image to respect variable memory size.
...
The page table is placed at address 0x00004000 which provides
required 16 kB space till the start of application image.
The RAM size specified in a linker script is upper limit
address of RAM utilized for the work area initialization.
If VideoCore reports to use lower address than expected
then work area size is adjusted (shrinked) appropriately.
2016-05-31 10:33:43 +02:00
YANG Qiao
c1a9f6a128
arm/raspberrypi: add VideoCore framebuffer without initialization
2016-05-31 10:33:43 +02:00
Pavel Pisa
b96defda47
arm/raspberrypi: Raspberry Pi v2 ALLOCATE_BUFFER VC4 operation returns direct address.
2016-05-31 10:33:43 +02:00
Pavel Pisa
de378ad40d
arm/raspberrypi: ensure that correct RPI_PERIPHERAL_BASE is provided by raspberrypi.h
...
If the raspberrypi.h has been included without preceding inclussion
of bsp.h then BSP_IS_RPI2 has not been set for Raspberry Pi 2
BSP variant and bad things happen later.
The patch includes bspopts.h by raspberrypi.h and even includes
bsp.h in critical peripherals support.
2016-05-31 10:33:42 +02:00
Pavel Pisa
4c59eebfbf
arm/raspberrypi: cmdline enhancement and early access workaround.
...
cmdline argument is returned without option name.
The calls to command line parsing can be called earlier before
BSS is cleaned out.
2016-05-31 10:33:42 +02:00
Sebastian Huber
dd2c57d40b
libchip: Remove dwmac network interface driver
...
The network interface driver for this module is located in the new
network stack (libbsd), see file "if_dwc.c".
2016-05-31 10:25:25 +02:00
Sebastian Huber
a9cff51b05
bsp/qoriq: Fix nocache region placement
...
Avoid memory waste due to alignment padding. Provide enough space for
the DPAA driver infrastructure.
2016-05-31 10:10:36 +02:00
Sebastian Huber
0546e65ec2
bsps: Add defines for some linker subsections
...
The GNU ld sort by name or alignment needs distinct input sections.
2016-05-31 10:10:36 +02:00
Sebastian Huber
ccda945996
bsps: Sort some sections first by alignment
...
This helps to avoid alignment padding and thus may reduce some memory
waste.
2016-05-31 10:10:36 +02:00
Chris Johns
8f9d07bbbc
bsp/shared: Fix printk warnings.
2016-05-25 15:47:34 +10:00
Chris Johns
1503c1c382
i386/pc386: Fix printk formatting warnings.
2016-05-25 15:47:34 +10:00