All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Radensky <felix@embedded-sol.com>
To: linuxppc-embedded@ozlabs.org
Subject: Kernel debugging on 460EX
Date: Thu, 25 Sep 2008 12:42:01 +0300	[thread overview]
Message-ID: <48DB5CE9.8080604@embedded-sol.com> (raw)

Hi,

I'm trying to debug Linux kernel (2.6.26) on custom 460EX based
board using BDI3000. The U-Boot succeeds to download kernel and
DTB into RAM and jump to kernel code.  Immediately after that
the board resets without printing anything to console. I'm trying
to set a breakpoint at _start kernel routine, but it doesn't work.

My BDI3000  configuration file looks like this:

[INIT]

[TARGET]
JTAGCLOCK       4       ;use 5 MHz JTAG clock
CPUTYPE         440     ;the used target CPU type
WAKEUP          500     ;wakeup time after reset
BREAKMODE       SOFT    ;SOFT or HARD, HARD uses PPC hardware breakpoint
STEPMODE        HWBP    ;JTAG or HWBP, HWBP uses one or two hardware 
breakpoints
RESET           HARD
MMU             XLAT

In BDI I let u-boot complete the initialization and get to the prompt.
Then I do

halt
bi 0xc0000000
go

and run bootd command in u-boot. However the board resets without breaking
into kernel code. What am I doing wrong ?

Thanks a lot in advance !

Felix.

                 reply	other threads:[~2008-09-25  9:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48DB5CE9.8080604@embedded-sol.com \
    --to=felix@embedded-sol.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.