Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-16 Thread Joel Sherrill
On 2/16/2015 7:05 AM, Sebastian Huber wrote: > On 16/02/15 13:29, Daniel Cederman wrote: >> Hi, >> >> Yes, that is, I think, due to the problem described in ticket #2180 >> "_TOD_Get_with_nanoseconds() is broken on SMP". I have a small hack >> that fixes the problem for Leon processors and then

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-16 Thread Sebastian Huber
On 16/02/15 13:29, Daniel Cederman wrote: Hi, Yes, that is, I think, due to the problem described in ticket #2180 "_TOD_Get_with_nanoseconds() is broken on SMP". I have a small hack that fixes the problem for Leon processors and then the test passes. Ok, thanks for the hint. We have now a

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-16 Thread Daniel Cederman
Hi, Yes, that is, I think, due to the problem described in ticket #2180 "_TOD_Get_with_nanoseconds() is broken on SMP". I have a small hack that fixes the problem for Leon processors and then the test passes. On 2015-02-16 13:12, Sebastian Huber wrote: This test fails on my NGMP board with:

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-16 Thread Sebastian Huber
This test fails on my NGMP board with: *** BEGIN OF TEST SMPCAPTURE 2 *** rtems-4.11/c/src/../../testsuites/smptests/smpcapture02/init.c: 337 recs->time>=prev_rec->time On 11/02/15 16:34, Daniel Hellstrom wrote: Module:rtems Branch:master Commit:8d8573acc8f620c93afa8dd30ea8418d25a

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-13 Thread Joel Sherrill
On 2/13/2015 2:54 AM, Chris Johns wrote: > On 13/02/2015 7:06 pm, Sebastian Huber wrote: >> On 13/02/15 08:56, Daniel Cederman wrote: Daniel(s), could enlighten me why this is needed ? Is this a arch constraint or something else ? Chris >>> It is an arch constraint. On SPARC, f

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-13 Thread Chris Johns
On 13/02/2015 7:06 pm, Sebastian Huber wrote: On 13/02/15 08:56, Daniel Cederman wrote: > Daniel(s), could enlighten me why this is needed ? Is this a arch > constraint or something else ? > > Chris It is an arch constraint. On SPARC, for example, all memory accesses needs to a be aligned. Fro

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-13 Thread Sebastian Huber
On 13/02/15 08:56, Daniel Cederman wrote: > Daniel(s), could enlighten me why this is needed ? Is this a arch > constraint or something else ? > > Chris It is an arch constraint. On SPARC, for example, all memory accesses needs to a be aligned. From the SPARC V8 manual: "Halfword accesses mu

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-12 Thread Daniel Cederman
> Daniel(s), could enlighten me why this is needed ? Is this a arch > constraint or something else ? > > Chris It is an arch constraint. On SPARC, for example, all memory accesses needs to a be aligned. From the SPARC V8 manual: "Halfword accesses must be aligned on 2-byte boundaries, word acc

Re: [rtems commit] smpcapture02: Add test of functionality to add custom entries to capture trace

2015-02-11 Thread Chris Johns
On 12/02/2015 2:34 am, Daniel Hellstrom wrote: Module:rtems Branch:master Commit:8d8573acc8f620c93afa8dd30ea8418d25ad2d21 Changeset: http://git.rtems.org/rtems/commit/?id=8d8573acc8f620c93afa8dd30ea8418d25ad2d21 Author:Daniel Cederman Date: Wed Feb 4 10:04:05 2015 +0100