Skip to contentSkip to conversation

use bdi on board with ppcbug

DISCUSSION 于婧 4 participants 5 messages Dec 20, 2002

lore
Share & tools
lore

于婧

author
#0 lore raw

hi!
I want to debug the kernel on the motorola lopec p011 board with bdi tools.
And the first thing I must solve is to let the ppcbug "go" under the bdi control.But I don't know where the entry of ppcbug is,so I can't "go" the ppcbug.Has anybody know that?Or,the ppcbug can not be run under this circumstances?

Wait for your reply?
Thanks in advance!

yujing
[email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I want to debug the kernel on the motorola lopec p011 board with bdi tools.
And the first thing I must solve is to let the ppcbug "go" under the bdi control.But I don't know where the entry of ppcbug is,so I can't "go" the ppcbug.Has anybody know that?Or,the ppcbug can not be run under this circumstances?

Just type "reset", followed by "go".

Like any other boot loader, ppcbug will strat right from the reset vector.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Eschew obfuscation.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to 于婧

Wouldn't it be the PowerPC reset address - 0xFFF00100?

Quoted 10 lines · ÓÚæº

hi!
I want to debug the kernel on the motorola lopec p011 board with bdi tools.
And the first thing I must solve is to let the ppcbug "go" under the bdi control.But I don't know where the entry of ppcbug is,so I can't "go" the ppcbug.Has anybody know that?Or,the ppcbug can not be run under this circumstances?

Wait for your reply?
Thanks in advance!

yujing
[email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

Wouldn't it be the PowerPC reset address - 0xFFF00100?

0xFFF00100 is just one out of several possibilities, depending on CPU type and system configuration.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find ... - Terry Pratchett, _Sourcery_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw

to see where your boot code starts:

at the BDI prompt the command:
reset halt <enter>
followed by the command
info <enter>

BDI responds with:

Target state : debug mode
Debug entry cause : debug port nonm
maskable breakpoint
Current PC : 0xfff00100

current pc is where your boot code starts
hope this helps
pat

----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
Sent: Friday, December 20, 2002 1:09 PM
Subject: Re: use bdi on board with ppcbug

Quoted 6 lines
Quoted 2 lines · In message <[email protected]> you wrote:

Wouldn't it be the PowerPC reset address - 0xFFF00100?

0xFFF00100 is just one out of several possibilities, depending on CPU type and system configuration.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/