Skip to contentSkip to conversation

Kernel Debug on Virtex4-FX

DISCUSSION Robert Woodworth 2 participants 2 messages Sep 6, 2007

lore
Share & tools
lore
#0 lore raw

Is it possible to debug the kernel via Xilinx JTAG Platform USB cable?

If so, how?
I can debug through the embedded-config.c and boot loader, but once the kernel boots, (VM on) I cannot debug anymore.

Or do I have to use kgdb through serial?

Rob.

#1 lore raw

It believe it should work fine:
You just need to set breakpoints in the kernel proper=20 using virtual memory addresses.
I've never actually tried tracing through the enabling of the MMU, however...

Steve

Quoted 5 lines

-----Original Message-----
From:=20 [email protected] =20 [mailto:linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@oz

labs.org] On Behalf Of Robert Woodworth

Quoted 27 lines

Sent: Thursday, September 06, 2007 11:33 AM
To: [email protected]
Subject: Kernel Debug on Virtex4-FX
=20
Is it possible to debug the kernel via Xilinx JTAG Platform USB cable? =20
If so, how?
I can debug through the embedded-config.c and boot loader,=20 but once the
kernel boots, (VM on) I cannot debug anymore. =20
=20
=20
Or do I have to use kgdb through serial?=20
=20
=20
=20
=20
Rob.
=20
=20
=20
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20