We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Page Bookmarked

AR# 51128

Zynq-7000 Debug - How do I debug the Linux kernel using Lauterbach T32?


How do I debug the Linux kernel 3.3 using Lauterbach T32?


The following is needed to debug the Linux kernel 3.3 using Lauterbach T32.

From Lauterbach, the Linux Awareness package should be presentin the TRACE32 installation directory under demo/arm/kernel/linux.

From git.xilinx.com, the Linux repository compiled with the the following "debug" selection: "Kernel hacking -> Compile the kernel with debug info" has to be enabled.

From Lauterbach, the startup practice script that you can find at http://www.lauterbach.com/scripts.html.

This is what the script does:

- Connect to Zynq
- Download vmlinux
- Download devicetree.dtb
- Download ramdisk image
- Load Linux kernel symbols
- Initialize the MMU
- Initialize Linux Awareness
- Start Linux

Note: Before running the Linux kernel, FSBL and U-boot need to run on the board (for example to initialize DDR). You could copy a BOOT.bin containing FSBL+U-boot on a SD card, boot from it and stop at u-boot prompt.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
50863 Zynq-7000 AP SoC - Debug N/A N/A
52599 Zynq-7000 AP SoC - Operating Systems Development N/A N/A
AR# 51128
Date 11/20/2012
Status Active
Type General Article
  • Zynq-7000
  • EDK - 14.1
Boards & Kits
  • Zynq-7000 All Programmable SoC ZC702 Evaluation Kit