LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "John Linn" <John.Linn@xilinx.com>
To: "Ramkumar J" <ramkumarj2000@gmail.com>, <linuxppc-embedded@ozlabs.org>
Subject: RE: XMD to debug Linux kernel 2.6
Date: Wed, 12 Mar 2008 10:01:07 -0600	[thread overview]
Message-ID: <20080312160109.D39B8CB0058@mail174-sin.bigfish.com> (raw)
In-Reply-To: <4f8c3030803120815o7dcf5e8xb74650c8b993d26d@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

Hi Ramkumar,

 

XMD can definitely be used to help debug a kernel.  I use it to dump
registers and to dump memory.  I'm not sure on the TLB entries yet but
will check into it.  I'm sure that XMD does not handle any virtual
address to physical conversions.

 

I use it to dump the log buff sometimes when the kernel doesn't come up.
You may need to do a RST and then you need to use the physical address
rather than the virtual address (Address - 0xC0000000).

 

You can do a help in XMD.

 

Thanks,

John

 

________________________________

From: linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+john.linn=xilinx.com@ozlabs.org] On
Behalf Of Ramkumar J
Sent: Wednesday, March 12, 2008 9:15 AM
To: linuxppc-embedded@ozlabs.org
Subject: XMD to debug Linux kernel 2.6

 

Hi All,

I need to dump the TLB entries, i-cache and d-cache entries on a ML-403
board ( I use a PowerPc based design) using the Xilinx Parallel-4 Cable.
When I download the zImage.elf using dow command on XMD, I m not able to
access the TLB and cache address special memory mappings as displayed by
the XMD. I suspect that XMD only allows the dump for sections inside the
elf file. If its true, then how to access the sections of kernel.

Could XMD be used to debug a linux kernel by dumping the registers,
TLBs, cache entries,etc. Am I missing anything. Any pointers would be
very helpful.

Thanks and Regards,
Ramkumar


[-- Attachment #2: Type: text/html, Size: 11267 bytes --]

      reply	other threads:[~2008-03-12 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 15:15 XMD to debug Linux kernel 2.6 Ramkumar J
2008-03-12 16:01 ` John Linn [this message]

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=20080312160109.D39B8CB0058@mail174-sin.bigfish.com \
    --to=john.linn@xilinx.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=ramkumarj2000@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox