Subject: Re: Using different start address for kernel?
To: None <port-sparc@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sparc
Date: 04/12/2001 11:58:22
On Thu, Apr 12, 2001 at 02:43:51 +0400, Valeriy E. Ushakov wrote:
> ok 20 steps
> [...]
> f1008034 wrpsr %g3, 0
>
> Watchdog Reset
Obviously. We are fiddling with %psr, so this code is not debuggable.
Carefully skipping dangerous places I can sucessfully trace kernel to
the step 4 in locore (install our trapbase) at which point we can kiss
OBP debugger goodbye, as I understand.
Then I 100% consistently get this watchdog reset:
%PSR 0400.0fc5
%TBR f100.4050 -- i.e. window overflow trap
%PC 0002.abb8
%nPC 0002.b04c
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen