Hi Gedare,
Enclosed are your requests for items 1-3. I logged a ticket for item 4 but
feel free to postpone or close the ticket. Just curious, in general when will
the committed changes (after sending you the patch like above) be available for
someone to git clone the latest rtems tree?
On 11/05/17 16:26, Daniel Hellstrom wrote:
From: Jacob Hansen
---
cpukit/score/include/rtems/score/threadqimpl.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h
Looks good except 32/32.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine
On 11/05/17 17:29, Joel Sherrill wrote:
Ok to
On May 11, 2017 5:09 AM, "Sebastian Huber"
> wrote:
Hello,
if someone wants to use GCC 7.1 for RTEMS 4.12, then the RSB
should be updated accordingly as
---
c/src/lib/libbsp/sparc/shared/tmtc/grtm.c | 198 +-
1 file changed, 115 insertions(+), 83 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/tmtc/grtm.c
b/c/src/lib/libbsp/sparc/shared/tmtc/grtm.c
index a1038d4..bd7d98f 100644
---
---
c/src/lib/libbsp/sparc/shared/pci/gr_701.c | 67 ++-
c/src/lib/libbsp/sparc/shared/pci/gr_cpci_gr740.c | 76 --
c/src/lib/libbsp/sparc/shared/pci/gr_leon4_n2x.c | 66 ++-
.../lib/libbsp/sparc/shared/pci/gr_rasta_adcdac.c | 68
From: Martin Aberg
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
b/c/src/lib/libbsp/sparc/shared/can/grcan.c
index 45b7af1..1348d7a 100644
---
From: Martin Aberg
When bus-off condition is detected by the ISR, it sets the started flag to
STATE_BUSOFF. This is monitored by the user functions grcan_read() and
grcan_write() each time they want to enable DMA or update interrupt mask. If
they detect that ISR has detected
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 28 ---
c/src/lib/libbsp/sparc/shared/include/grcan.h | 11 +++
2 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
The common interrupt layer for GRLIB PCI perihperals is prepared for SMP
support by this patch. The existing locking (interrupt disabling) is
replaced by a new requirement on the user to implement locking before
calling the genirq API. This approach avoids taking more locks than
necessary.
The
From: Martin Aberg
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 71 +++
1 file changed, 44 insertions(+), 27 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
b/c/src/lib/libbsp/sparc/shared/can/grcan.c
index
From: Martin Aberg
---
c/src/lib/libbsp/sparc/leon3/startup/bspstart.c | 5 +
c/src/lib/libbsp/sparc/shared/start/start.S | 14 +-
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c
this is to avoid owning the spin-lock during semaphore operations.
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
b/c/src/lib/libbsp/sparc/shared/can/grcan.c
index 1348d7a..1050934 100644
It is also required to use semaphore release instead of flush when stopping
or on BUSOFF/AHBERR condition. Otherwise a task just about to wait
(taking the semaphore) could end up locked because the semaphore count is
still the same.
There was previously a scenario where the semaphore flush would
From: Martin Aberg
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
b/c/src/lib/libbsp/sparc/shared/can/grcan.c
index b1eacc0..da236ef 100644
---
From: Martin Aberg
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
b/c/src/lib/libbsp/sparc/shared/can/grcan.c
index ac1c718..b1eacc0 100644
---
From: Jacob Hansen
---
cpukit/score/include/rtems/score/threadqimpl.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h
b/cpukit/score/include/rtems/score/threadqimpl.h
index 574221c..975221c 100644
If this touches nothing but LEON BSP code and you have tested it, then I am
ok with it assuming it has been adequately tested and doesn't introduce
warnings.
Did you build smp and uniprocessor?
Have you run Chris' BSP tester?
Answer yes to all and give until Monday (to give weekend for
---
c/src/lib/libbsp/sparc/shared/tmtc/grtc.c | 91 ++-
1 file changed, 54 insertions(+), 37 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/tmtc/grtc.c
b/c/src/lib/libbsp/sparc/shared/tmtc/grtc.c
index 3cceb60..c01d7d8 100644
---
---
c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c | 53 ---
1 file changed, 39 insertions(+), 14 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c
b/c/src/lib/libbsp/sparc/shared/1553/gr1553bm.c
index d1b208f..d63983b 100644
---
From: Jacob Hansen
- All references of %0 changed to %g0
- 'call label,0' changed to 'call label'. According to the sparc
specification call does not take any registers
- '.seg "text"' changed to '.section ".text"'
- the synonym stub is replaced with stb
- the
This driver was initially intended for APBUART access on GRLIB PCI
peripherals (AMBA-over-PCI). There are already many APBUART drivers
for LEON. Instead of using this one the termios APBUART should work
on AMBA-over-PCI systems with recent changes on LEON3, however that
has not been tested yet.
Since DMA buffers are managed by the user, responsibility is put on
the user to cope with SMP in the application.
---
c/src/lib/libbsp/sparc/shared/1553/gr1553bc.c | 123 ++
1 file changed, 84 insertions(+), 39 deletions(-)
diff --git
From: Jacob Hansen
The SYM define concatenates the input with the compiler set
__USER_LABEL_PREFIX__ define. This define appears to be '_' in GCC but
empty in Clang. Therefore when compiling with Clang/LLVM 'SYM(start)'
and 'start' defines the same symbol, and the
The following functions now reports to the user that an overrun has
occured by returning errno EIO:
* grtc_read, on overrun and no more data in the DMA buffer
* ioctl(GRTC_IOC_RECV), on overrun and no more frames in the DMA buffer
* ioctl(GRTC_IOC_ISSTARTED), EIO is returned on overrun
---
---
c/src/lib/libbsp/sparc/shared/amba/ahbstat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
b/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
index ee697f6..11bccb9 100644
--- a/c/src/lib/libbsp/sparc/shared/amba/ahbstat.c
Ok to
On May 11, 2017 5:09 AM, "Sebastian Huber" <
sebastian.hu...@embedded-brains.de> wrote:
Hello,
if someone wants to use GCC 7.1 for RTEMS 4.12, then the RSB should be
updated accordingly as soon as possible.
Chris posted a patch to bump gcc and binutils. He just needs to push it.
I had
From: Martin Aberg
This commit does not contain any change of functionality.
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 1162 -
c/src/lib/libbsp/sparc/shared/include/grcan.h | 76 +-
2 files changed, 618 insertions(+), 620 deletions(-)
From: Martin Aberg
This commit preserves all driver services, using a function based user
interface instead of the I/O interface.
The messages count parameter is now number of CAN messages instead of
number of bytes.
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 661
---
c/src/lib/libbsp/sparc/shared/irq/irq-shared.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c
b/c/src/lib/libbsp/sparc/shared/irq/irq-shared.c
index 174324f..f219e49 100644
---
From: Martin Aberg
Prefix BSP specific symbols with BSP name:
dbg_uart -> leon3_debug_uart
debug_uart_index -> leon3_debug_uart_index
---
.../libbsp/sparc/leon3/console/printk_support.c| 34 +++---
c/src/lib/libbsp/sparc/leon3/include/leon.h| 2
The EDCL and Duplex-Detection are now disabled during soft-reset
of the GRETH core.
The speed settings are preserved on boot and greth_stop() also,
this is required to keep EDCL operational when DD is set.
---
c/src/lib/libbsp/sparc/shared/include/greth.h | 1 +
The third set of patches for LEON. In short it contains:
* GRCAN API changed from I/O system to C functions API, better error handling,
other improvements and SMP support.
* GRETH ethernet reset/autonegotiation improvements for GR740
* Possible to have LEON3 SMP kernel to boot on other than
---
c/src/lib/libbsp/sparc/shared/net/greth.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/net/greth.c
b/c/src/lib/libbsp/sparc/shared/net/greth.c
index 9f41a51..2e479ed 100644
--- a/c/src/lib/libbsp/sparc/shared/net/greth.c
+++
---
c/src/lib/libbsp/sparc/shared/include/greth.h | 10
c/src/lib/libbsp/sparc/shared/net/greth.c | 36 ---
2 files changed, 42 insertions(+), 4 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/include/greth.h
---
c/src/lib/libbsp/sparc/shared/net/greth.c | 67 ++-
1 file changed, 49 insertions(+), 18 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/net/greth.c
b/c/src/lib/libbsp/sparc/shared/net/greth.c
index 2e479ed..5e2ee49 100644
---
From: Martin Aberg
There was a potential read-modify-write race on the interrupt mask (imr)
register between the ISR and user functions.
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 14 ++
1 file changed, 14 insertions(+)
diff --git
From: Martin Aberg
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
b/c/src/lib/libbsp/sparc/shared/can/grcan.c
index 003cecf..c7aadae 100644
---
From: Martin Aberg
Locking the stats structure when copying to user buffer ensures a consistent
view to the user.
---
c/src/lib/libbsp/sparc/shared/can/grcan.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/c/src/lib/libbsp/sparc/shared/can/grcan.c
On Thu, May 11, 2017 at 10:26 AM, Daniel Hellstrom wrote:
> From: Jacob Hansen
>
> ---
> cpukit/score/include/rtems/score/threadqimpl.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git
On 11/5/17 7:56 pm, Sebastian Huber wrote:
> Enable the SMP configuration by default in case SMP is enabled. Add
> configuration option CONFIGURE_DISABLE_SMP_CONFIGURATION to disable it
> explicitly.
>
> Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
> otherwise.
>
>
Hello,
if someone wants to use GCC 7.1 for RTEMS 4.12, then the RSB should be
updated accordingly as soon as possible.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail :
Enable the SMP configuration by default in case SMP is enabled. Add
configuration option CONFIGURE_DISABLE_SMP_CONFIGURATION to disable it
explicitly.
Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.
Update #3001.
---
cpukit/sapi/include/confdefs.h |
43 matches
Mail list logo