Re: [PATCH] [RPI BSP] mailbox

2015-04-22 Thread Joel Sherrill
On 4/19/2015 2:17 PM, QIAO YANG wrote: > Here is a modified patch for mailbox. If there's still anything > against the convention, please point it out and I'll correct it > immediately. The mailbox implementation might also be needed by other > rpi bsp developpers. > My understanding is that the

Re: [PATCH] [RPI BSP] mailbox

2015-04-22 Thread Alan Cudmore
Hi Qiao, Functionally, this code looks good to me. It builds without warnings for the Pi and Pi2, and I was able to make the calls to init the frame buffer on the Pi B+. When you did the frame buffer test, what was your MMU table entry for the mailbox/framebuffer? Thanks, Alan > On Apr 19,

Re: [PATCH] score: Fix priority message queue insert

2015-04-22 Thread Chris Johns
On 23/04/2015 5:51 am, Sebastian Huber wrote: > > - Gedare Bloom schrieb: >> Joel, >> >> On Tue, Apr 21, 2015 at 12:13 PM, Joel Sherrill >> wrote: >>> >>> >>> On 4/21/2015 2:24 AM, Sebastian Huber wrote: Move the linear search into a critical section to avoid corruption due to high

Re: Make 4.11 Branch Next Monday?

2015-04-22 Thread Chris Johns
On 23/04/2015 12:23 am, Joel Sherrill wrote: > Hi > > I want to branch early next week. That should give Chris time to get back > up to speed from his holiday and everyone else a chance to make final > testing and pushes. Please don't break anything. > I am back and up to speed. I am happy to br

Re: [PATCH] score: Fix priority message queue insert

2015-04-22 Thread Sebastian Huber
- Gedare Bloom schrieb: > Joel, > > On Tue, Apr 21, 2015 at 12:13 PM, Joel Sherrill > wrote: > > > > > > On 4/21/2015 2:24 AM, Sebastian Huber wrote: > >> Move the linear search into a critical section to avoid corruption due > >> to higher priority interrupts. The interrupt disable time d

[PATCH] score: Delete Thread_queue_Control::state

2015-04-22 Thread Sebastian Huber
Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage. --- cpukit/libfs/src/pipe/fifo.c | 25 - cpukit/posix/src/condinit.c| 1 - cpukit/posix/src/condwaitsupp.c| 9 - cpukit/posix/src/psi

Re: RTEMS Fault Tolerance Project for SOCIS 2015

2015-04-22 Thread Gedare Bloom
On Wed, Apr 22, 2015 at 2:15 PM, Saeed Ehteshamifar wrote: > Hi, > > I'm interested to take part in development of RTEMS via fault tolerance > project. I've read the wiki page for the project, the page for open > projects, and the page for GSoC and GSoC getting started. I've also skimmed > RTEMS 4

RTEMS Fault Tolerance Project for SOCIS 2015

2015-04-22 Thread Saeed Ehteshamifar
Hi, I'm interested to take part in development of RTEMS via fault tolerance project. I've read the wiki page for the project, the page for open projects , and the page for GS

Re: Connecting a proprietary device to a filesystem

2015-04-22 Thread Spam Bucket
This is very helpful. Thank you! On 20-Apr-15 11:23 PM, Sebastian Huber wrote: Hello Spam Bucket, please have a look at: https://docs.rtems.org/doxygen/cpukit/html/group__JFFS2.html https://git.rtems.org/rtems/tree/testsuites/fstests/jffs2_support/fs_support.c __

[PATCH 10/10] sp13/system.h: Account for all message buffers

2015-04-22 Thread Joel Sherrill
There may be a way to reduce the memory requirements but it will require time to ensure the math is right and it passes on all targets. At the current time, it fails on 22 BSPs which run on simulators. --- testsuites/sptests/sp13/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Make 4.11 Branch Next Monday?

2015-04-22 Thread Joel Sherrill
Hi I want to branch early next week. That should give Chris time to get back up to speed from his holiday and everyone else a chance to make final testing and pushes. Please don't break anything. I just posted a handful of patches that my build of all BSPs with networking and TCP/IP enabled point

[PATCH 09/10] simsh*.tcfg: Add iostream

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/sh/shsim/make/custom/simsh1-testsuite.tcfg | 1 + c/src/lib/libbsp/sh/shsim/make/custom/simsh2-testsuite.tcfg | 1 + c/src/lib/libbsp/sh/shsim/make/custom/simsh2e-testsuite.tcfg | 1 + c/src/lib/libbsp/sh/shsim/make/custom/simsh4-testsuite.tcfg | 1 + 4 files changed, 4 ins

[PATCH 08/10] gensh2-testsuite.tcfg: Add iostream

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/sh/gensh2/make/custom/gensh2-testsuite.tcfg | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/sh/gensh2/make/custom/gensh2-testsuite.tcfg b/c/src/lib/libbsp/sh/gensh2/make/custom/gensh2-testsuite.tcfg index 7e0652a..c54b420 100644 --- a/c/src/lib/libbsp/sh/

[PATCH 07/10] gensh1-testsuite.tcfg: Add iostream

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/sh/gensh1/make/custom/gensh1-testsuite.tcfg | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/sh/gensh1/make/custom/gensh1-testsuite.tcfg b/c/src/lib/libbsp/sh/gensh1/make/custom/gensh1-testsuite.tcfg index 1752119..765c8e1 100644 --- a/c/src/lib/libbsp/sh/

[PATCH 06/10] mbx8xx/include/bsp.h: Add include of

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h b/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h index c87350d..e726624 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/include/bsp.h +++ b/c/src/lib/lib

[PATCH 05/10] ods68302-testsuite.tcfg: Add iosteam

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302-testsuite.tcfg | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302-testsuite.tcfg b/c/src/lib/libbsp/m68k/ods68302/make/custom/ods68302-testsuite.tcfg index eb1c5e0..5bed603 100644 --- a/c/

[PATCH 04/10] mrm332-testsuite.tcfg: Add iostream and sptls02

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg b/c/src/lib/libbsp/m68k/mrm332/make/custom/mrm332-testsuite.tcfg index b4e40de..65804b7 100644 --- a/c/src/lib/li

[PATCH 03/10] mcf5225x-testsuite.tcfg: Add iostream

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg b/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x-testsuite.tcfg index 313f073..9b822c8 100644 --- a/c/

[PATCH 02/10] lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add sptls02

2015-04-22 Thread Joel Sherrill
--- .../arm/lpc176x/make/custom/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg b/c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg in

[PATCH 01/10] lm3s3749-testsuite.tcfg: Add cdtest

2015-04-22 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lm3s69xx/make/custom/lm3s3749-testsuite.tcfg| 1 + .../libbsp/arm/lpc176x/make/custom/lpc1768_mbed_ahb_ram-testsuite.tcfg | 1 + 2 files changed, 2 insertions(+) diff --git a/c/src/lib/libbsp/arm/lm3s69xx/make/custom/lm3s3749-testsuite.tcfg b/c/src/lib/libbsp/a

Re: [PATCH] score: Fix priority message queue insert

2015-04-22 Thread Gedare Bloom
Joel, On Tue, Apr 21, 2015 at 12:13 PM, Joel Sherrill wrote: > > > On 4/21/2015 2:24 AM, Sebastian Huber wrote: >> Move the linear search into a critical section to avoid corruption due >> to higher priority interrupts. The interrupt disable time depends now >> on the count of pending messages.

Re: [rtems commit] score: Delete _CORE_RWLock_Timeout()

2015-04-22 Thread Sebastian Huber
I am about to replace the complete thread queue implementation, so there is no way back using a previous commit. I currently try to remove all the dead or duplicated code to make things simpler so that the final replacement patch is as small as possible. There will be a means to do specific thi

Re: [rtems commit] score: Delete _CORE_RWLock_Timeout()

2015-04-22 Thread Joel Sherrill
Please add a comment to the group in Doxygen to see this commit for getting this back. If POSIX or another standard ever requires reevaluation of the lock and released threads on a timeout. POSIX is very loose on the discipline of waiting threads and behavior on timeout. It leaves a lot of room

Re: [PATCH] [RSB] Add support for building Epiphany tools

2015-04-22 Thread Hesham ALMatary
On Tue, Apr 21, 2015 at 11:30 PM, Chris Johns wrote: > On 22/04/2015 2:33 am, Hesham ALMatary wrote: >> This patch adds support for building Epiphany tools. > > Great to see this support being adding. > >> Currently some tools >> are fetched from my repositories (until my pull requests get merged)

Re: [PATCH] smptests/smpcache01: Enable interrupts before waiting for other CPUs

2015-04-22 Thread Sebastian Huber
Thanks, committed. -- 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 geschäftli

[PATCH] smptests/smpcache01: Enable interrupts before waiting for other CPUs

2015-04-22 Thread Daniel Cederman
Otherwise there is a risk that a CPU misses a cache manager message from another CPU and the test hangs. --- testsuites/smptests/smpcache01/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuites/smptests/smpcache01/init.c b/testsuites/smptests/smpcache01/init.c

[PATCH v2] score: Fix priority message queue insert

2015-04-22 Thread Sebastian Huber
Move the linear search into a critical section to avoid corruption due to higher priority interrupts. The interrupt disable time depends now on the count of pending messages. Close #2328. --- cpukit/score/include/rtems/score/coremsgimpl.h | 32 +--- cpukit/score/src/coremsginsert.c