From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Danter Date: Tue, 05 Jul 2005 15:34:13 +0100 Subject: [U-Boot-Users] Help with crash -- SOLVED In-Reply-To: <42CA68D4.2070305@ntlworld.com> References: <42CA68D4.2070305@ntlworld.com> Message-ID: <42CA9A65.6070905@ntlworld.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Richard Danter wrote: > fff036d8 mr r11,r31 > fff036dc subi r31,r31,4 > fff036e0 stw r25,__fixup_entries(r11) <== Crash here > *((ulong *) addr_sp)-- = 0; > debug ("Stack Pointer at: %08lx\n", addr_sp); > fff036e4 lwz r3,-0x7FC0(r30) > fff036e8 stw r25,__fixup_entries(r31) > fff036ec subi r31,r31,4 > fff036f0 mr r4,r31 > fff036f4 crclr cr6 > fff036f8 bl printf > > > When I step through the instruction at fff036e0 I end up at 700, which > is the Program Exception vector (srr0 = 0x800, srr1 = 80000) which > implies an illegal instruction? The problem was a typo in my config file. Was loading DBAT0 with the values from IBAT1 instead of IBAT0. Rich