RE: smp test failures on using grsim

2014-02-05 Thread Jennifer Averett
Below are the results from running 2 and 4 cores using grsim against the head. I smpunsupported01 2 Core: Runs 4 Core: Runs smp08 2 Core: Program doesn't return to grsim at end - Core 0: _Per_CPU_Wait_for_state from rtems_shutdown_executive

Re: [PATCH] rtems: Add rtems_status_code_description()

2014-02-05 Thread Sebastian Huber
On 2014-02-05 17:34, Joel Sherrill wrote: This is redundant with rtems_status_text() which has been in the tree for years. Chris wrote this years ago cpukit/libcsupport/src/error.c Its a matter of taste if you consider this as redundant. I think its an alternative. The rtems_status_text()

Re: [PATCH] rtems: Add rtems_status_code_description()

2014-02-05 Thread Joel Sherrill
This is redundant with rtems_status_text() which has been in the tree for years. Chris wrote this years ago cpukit/libcsupport/src/error.c It does not appear to be in the user's guide but I have included it in the class for as long as I can remember. It is referenced in 36 files in the source tr

[PATCH] rtems: Add rtems_status_code_description()

2014-02-05 Thread Sebastian Huber
--- cpukit/rtems/Makefile.am |1 + cpukit/rtems/include/rtems/rtems/status.h | 10 +++ cpukit/rtems/src/statusdesc.c | 69 doc/user/Makefile.am | 11 ++- doc/user/dirstat.t

Re: smp test failures on using grsim

2014-02-05 Thread Sebastian Huber
Hello Jennifer, I fixed some LEON3 SMP initialization bugs today. Would you mind testing with the latest RTEMS master? On a real NGMP board all tests pass. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49

[PATCH] Fixed typo in mpc5200_psc_isOn()

2014-02-05 Thread Aleksandr Platonov
Hi. In current code mpc5200_psc_isOn() function always return false. Patch should be the following: diff --git a/c/src/lib/libbsp/powerpc/gen5200/console/console.c b/c/src/lib/libbsp/powerpc/gen5200/console/console.c index a70e06d..5740b5b 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/console/

[PATCH] sparc: Save/restore only non-volatile context

2014-02-05 Thread Sebastian Huber
The _CPU_Context_switch() is a normal function call. The following registers are volatile (the caller must assume that the register contents are destroyed by the callee) according to "SYSTEM V APPLICATION BINARY INTERFACE - SPARC Processor Supplement", Third Edition: g1, o0, o1, o2, o3, o4, o5. D

Re: RTEMS 4.11: Tool Chain

2014-02-05 Thread Sebastian Huber
On 2014-02-05 10:17, Ralf Corsepius wrote: On 02/05/2014 09:01 AM, Sebastian Huber wrote: On 2014-02-04 18:50, Ralf Corsepius wrote: On 02/04/2014 04:13 PM, Sebastian Huber wrote: Hello, we have to define the tool chain versions intended for RTEMS 4.11. For Binutils I would like to use relea

Re: RTEMS 4.11: Tool Chain

2014-02-05 Thread Ralf Corsepius
On 02/05/2014 09:01 AM, Sebastian Huber wrote: On 2014-02-04 18:50, Ralf Corsepius wrote: On 02/04/2014 04:13 PM, Sebastian Huber wrote: Hello, we have to define the tool chain versions intended for RTEMS 4.11. For Binutils I would like to use release 2.24 with the attached patch. For GCC we

Re: RTEMS 4.11: Tool Chain

2014-02-05 Thread Sebastian Huber
On 2014-02-04 18:50, Ralf Corsepius wrote: On 02/04/2014 04:13 PM, Sebastian Huber wrote: Hello, we have to define the tool chain versions intended for RTEMS 4.11. For Binutils I would like to use release 2.24 with the attached patch. For GCC we should use a recent 4.8 branch snapshot (e.g. f