RTEMS 220.127.116.11 Available -- PowerPC/virtex feedback
joel.sherrill at oarcorp.com
Thu Aug 9 15:14:29 CDT 2007
Robert S. Grimes wrote:
> In my "working" configuration (i.e. no isysnc or spurious exceptions), I
> can't get my app to start up with 18.104.22.168.
> 1. Not germane to this discussion, but Thomas owes us a patch in the
> xiltemac.c driver - candidate patch attached again.
Thomas should review that and commit it as he feels.
> 2. I get an Exception 7 in or just after the call to
> _API_extensions_Run_postdriver() on (or about) line 269 of exinit.c.
> Stepping in, it is in the first (of ?) extension postdriver_hook(), which:
> 2.1 In tasks.c, line 301, calls
> 2.2 Now in taskinitusers.c, function
> _RTEMS_tasks_Initialize_user_tasks_body( void ), it dies in the first
> call to rtems_task_create on line 71, giving the exception 7. The task
> it was trying to create is my main init task.
Exception 7 is a NOFP exception which would indicate the
code is compiled to use the FPU and you don't have one.
Why an FPU instruction would be in use at this point in
RTEMS is beyond me.
Is the linker script and memory map right for your board?
This all seems flakey like something is overwriting something.
> Sorry, I have to quit right now on this. The user_tasks structure at
> this point looks fine. Things are getting too detailed for my
> understanding at this point.
> Sorry I couldn't be more help...
It is hard to debug these things.
More information about the rtems-users