[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Reboot crash problem



I see, so its the expected behavior. Thats good news! I'll check setup.c,
 
Thanks for your help John !
 
/Otto

 
On 3/19/08, John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
Hi Otto,

Otto Blomqvist wrote:
>
> I'm using the Spartan 3E 500 Rev D reference design and it seems to work
> ok. except when I do a soft-reboot the system appears to crash. See
> trace below.
>
> How should I start troubleshooting this ?

arch/microblaze/kernel/setup.c, look for the functions

machine_restart()

machine_shutdown()

machine_halt()

and machine_power_off();

The implementation of these is board-specific, thus the default
behaviour is currently to just dump the stack and loop forever.

Longer term I'd prefer a mechanism where a machine-specific data
structure contains function pointers for these handlers, so that each
board can have it's own (like the PPC ppc_md), but it's not there yet.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/