Rtems-test cortex-m3

Aurelio Remonda aurelio.remonda at tallertechnologies.com
Mon Mar 28 19:01:19 UTC 2016


Hello, we were trying to get Sebastian's patches to work on the latest
qemu. It seems the board is running ok on qemu 2.5.50 without the
patches except for:
-Memory hack: The memory on this board is still fixed to default
value. I already submit a patch that allows you to change the memory
size we are waiting for revision.
-Disable-priority_mask: this patch does not apply directly and rtems
is running without it.

So I run the rtems-test script:
./rtems-test --log=lm3s6965_qemu --timeout=60
--rtems-bsp=lm3s6965_qemu
--rtems-tools=/home/aurelio-remonda/rtems/install
/home/aurelio-remonda/rtems/build/arm-rtems4.11/c/lm3s6965/testsuites/

Passed:   342
Failed:     0
Timeouts: 175
Invalid:    0
-------------
Total:    517

Average test time: 0:00:15.392969
Testing time     : 2:12:38.165222

And then again with default time out:
 ./rtems-test --log=lm3s6965_qemu --rtems-bsp=lm3s6965_qemu
--rtems-tools=/home/aurelio-remonda/rtems/install
/home/aurelio-remonda/rtems/build/arm-rtems4.11/c/lm3s6965/testsuites/

Passed:   345
Failed:     0
Timeouts: 172
Invalid:    0
-------------
Total:    517

Average test time: 0:00:46.056823
Testing time     : 6:36:51.377917

So the test resulting in timeouts are known cases? Any of these test
will pass if I set a larger timeout value?
Do you think we can change the qemu version for this board?


On Mon, Jan 11, 2016 at 4:54 PM, Aurelio Remonda
<aurelio.remonda at tallertechnologies.com> wrote:
> On Mon, Jan 11, 2016 at 3:47 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
>>
>>
>> On 08/01/16 17:41, Aurelio Remonda wrote:
>>>
>>> Thanks for your answers! I am running the tests for
>>> realview_pbx_a9_qemu for the moment.
>>> I have a few questions if you don't mind
>>>
>>> With the git repository version of rtems
>>> ./rtems-test --log=realview_pbx_a9_qemu
>>> --rtems-bsp=realview_pbx_a9_qemu
>>> --rtems-tools=/home/aurelio-remonda/rtems_a9/install
>>>
>>> /home/aurelio-remonda/rtems_a9/build/arm-rtems4.11/c/realview_pbx_a9_qemu/testsuites/
>>>
>>> The result is:
>>>
>>> Passed:   523
>>> Failed:     4
>>> Timeouts:   6
>>> Invalid:    0
>>> -------------
>>> Total:    533
>>>
>>> Failures:
>>>   sp69.exe
>>>   psxcleanup02.exe
>>>   sptimecounter02.exe
>>>   psxcancel.exe
>>> Timeouts:
>>>   psxintrcritical01.exe
>>>   spintrcritical11.exe
>>>   spintrcritical07.exe
>>>   spintrcritical12.exe
>>>   spintrcritical06.exe
>>>   spintrcritical15.exe
>>> Average test time: 0:00:01.244372
>>> Testing time     : 0:11:03.250308
>>>
>>> Are those expected fails?
>>
>>
>> Yes, one issue is that timing related tests work bad on Qemu.
>>
>
> So, those test never actually pass with qemu emulation?
>
>>>
>>> On the other hand:
>>> When i try to run with the version of rtems we use:
>>> ./rtems-test --log=realview_pbx_a9_qemu
>>> --rtems-bsp=realview_pbx_a9_qemu
>>> --rtems-tools=/home/aurelio-remonda/rtems_gnc/install
>>>
>>> /home/aurelio-remonda/rtems_gnc/build/arm-rtems4.11/c/realview_pbx_a9_qemu/testsuites/
>>>
>>> I get:
>>> error: unknown application load error.
>>> Any hints of what is the problem?
>>>
>>>
>>
>> I would run Qemu in the debugger to figure out the exact error.
>>
>
> This is previous to qemu emulation, i found out i was using the last
> rtems-test when it failed. So i start looking the last commits on
> rtems-test and found out that on:
> https://git.rtems.org/rtems-tools/commit/?id=606c08c8b521dce0121cddcabcc23f3e25ad2ffd
>
> On this particular piece of code of that patch:
> diff --git a/rtemstoolkit/version.py b/rtemstoolkit/version.py
> index 542a8e0..3c135b1 100644
> --- a/rtemstoolkit/version.py
> +++ b/rtemstoolkit/version.py
> @@ -35,9 +35,8 @@
> import sys
> -import error
> -import git
> -import path
> +from . import error
> +from . import path
>
> import git was deleted. Is this a mistake? I try adding the line and
> the script runs propertly.
> Please let me know if im wrong. Thank you in advance.



-- 
Aurelio Remonda

Taller Technologies Argentina

Software Engineer

San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina
Phone: +54-351-4217888 / 4218211


More information about the devel mailing list