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!

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 present in 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.



Answer Number 问答标题 问题版本 已解决问题的版本
50863 Zynq-7000 SoC - 调试 N/A N/A
52599 Zynq-7000 SoC - Operating Systems Development N/A N/A
AR# 51128
日期 05/18/2018
状态 Active
Type 综合文章
  • Zynq-7000
  • EDK - 14.1
Boards & Kits
  • Zynq-7000 SoC ZC702 Evaluation Kit