Status of phycore_mpc5554 with latest RTEMS and RSB built tools

Peter Dufault dufault at hda.com
Sat Feb 15 14:56:11 UTC 2014


This is a little different in that sp01 is working with and without optimization.  I'm not sure if I boggled my testing yesterday with the other tool set, though.

1. sp01 works with and without optimization.  With optimization it exits (and thus bsp_resets) before it prints out that the test succeeded.  Without optimization it prints out that the test succeeded.

2. sp02 still fails, but with optimization on it resets itself before printing out the failure message.  With optimization off you manage to get the failure (at 115200 baud).  It looks like this with optimization:
*** TEST 2 ***
INIT - rtems_task_wake_after - yielding processorPREEMPT - rtems_task_delete - deleting self

rtems_task_create of 

-- Question: Can the tests install an exit handler to permit I/O to drain?

-- sp02, try increasing the number of tasks to 8 (optimization on):  Gets an exception, not clear where, the stack trace is below.  Setting a hardware breakpoint where _Thread_Start_multitasking() returns doesn't break there, as it seemed to yesterday.  I'll try to look some more later, I'll probably rebuild without optimization (for debugging ease) and start stepping through sp02 to see why it is failing with the number of tasks set to 4.

(gdb) where
#0  bsp_reset () at ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspreset.c:35
#1  0x00020958 in _User_extensions_Iterate (arg=arg at entry=0x21015658, 
    visitor=0x208cc <_User_extensions_Fatal_visitor>)
    at ../../../../../../rtems/c/src/../../cpukit/score/src/userextiterate.c:141
#2  0x0001e2a8 in _User_extensions_Fatal (error=0x21015690, is_internal=0x0, 
    source=RTEMS_FATAL_SOURCE_EXCEPTION)
    at ../../cpukit/../../../phycore_mpc5554/lib/include/rtems/score/userextimpl.h:239
#3  _Internal_error_Occurred (the_source=the_source at entry=RTEMS_FATAL_SOURCE_EXCEPTION, 
    is_internal=is_internal at entry=0x0, the_error=0x21015690)
    at ../../../../../../rtems/c/src/../../cpukit/score/src/interr.c:35
#4  0x0001c734 in rtems_fatal (source=source at entry=RTEMS_FATAL_SOURCE_EXCEPTION, error=<optimized out>)
    at ../../../../../../rtems/c/src/../../cpukit/sapi/src/fatal2.c:34
#5  0x0001494c in C_exception_handler (excPtr=<optimized out>)
    at ../../../../../../../rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_global_handler.c:24
#6  0x00013b5c in wrap_call_global_handler_std ()
    at ../../../../../../../rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h:864
Backtrace stopped: frame did not save the PC
(gdb) 



Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering





More information about the devel mailing list