XMD to debug Linux kernel 2.6

2 messages, 2 authors, 2008-03-12 · open the first message on its own page

XMD to debug Linux kernel 2.6

From: Ramkumar J <hidden>
Date: 2008-03-12 15:15:21

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

RE: XMD to debug Linux kernel 2.6

From: John Linn <hidden>
Date: 2008-03-12 16:02:47

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

 

Hi All,

14 more lines

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help