Subject: Re: Resetting a 405GPr
To: None <tech-ports@NetBSD.org>
From: Peter Seebach <seebs@plethora.net>
List: tech-ports
Date: 03/07/2006 01:37:01
In message <200603070614.k276Egib009302@guild.plethora.net>, Peter Seebach writ
es:
>The one thing I've noticed is that, if I drop into the debugger first, it
>works.  I am not entirely sure why.  It looks like DDB is oring in 0x48000000
>before it runs, but I don't THINK that should matter, and I'm pretty sure
>that Linux isn't doing it.
>
>But... Nope, no effect from nops, or from anything else I can find.

A bit of followup... I tried putting more code in.

Oring 0x30000000 into the status register wedges the machine.  It hangs;
it doesn't reset, but it also doesn't continue.  And yet, if you're in DDB
when you do it, it works.

I'm currently poking around printing out all the registers I can think of
in cpu_reboot() to see what could possibly be different.

-s