This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: PowerPC, software emulation exception
- From: "Nicolas Brouard" <nicolas dot brouard at silicomp dot ca>
- To: "Gary Thomas" <gary at mlbassoc dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 10 Aug 2004 16:37:09 -0400
- Subject: RE: [ECOS] PowerPC, software emulation exception
My board is currently initialized by my BDI2000 or/and a bootloader that is
already in FLASH.
For now, I don't have a good configuration file for the BDI2000. So, I use a
minimal configuration file, then I start the bootloader (MPC8xx PlanetCore
Boot Loader V2.10), which initializes the processor, and I stop it. After
that, I can debug my redboot.
I suppose the bootloader locks the registers.
Does anybody have a good configuration file for the Embedded Planet Credit
Card Board EP860CE?
What is the instruction to unlock the register?
Nicolas
-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Tuesday, August 10, 2004 4:24 PM
To: Nicolas Brouard
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] PowerPC, software emulation exception
On Tue, 2004-08-10 at 14:17, Nicolas Brouard wrote:
> Hi all,
>
> I'm doing a port of redboot for a board with a powerPC MPC860.
> When I execute redboot in RAM, I have a software emulation exception
> (0x01000) on the line 291 of
packages/hal/powerpc/arch/current/src/vector.S
> : mtspr TBL_W,r3 (TBL_W=284)
> With my debugger (gdb), I see this instruction: [mttbl r3] instead of
[mtspr
> TBL_W,r3] (this is correct) and I have the following message:
> Program received signal SIGSTOP, Stopped (signal)
The instructions are the same - mttbl is just shorthand.
On the 860 and other embedded boards, those registers can be locked.
You say that you are porting RedBoot - what's currently running on the
board (from reset)? It may have locked the time base registers which
could cause the error.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss