X hits on this document

Powerpoint document

Using a JTAG in Linux Driver Debugging - page 35 / 48

113 views

0 shares

0 downloads

0 comments

35 / 48

04/16/2008 - Copyright © 2008 The PTR Group Inc.

CELF-2008-SVC-35

Loading Symbols into the JTAG UI

Depending on the JTAG UI, you may simply have to load the kernel’s vmlinux image to be able to access the symbols by name

The techniques for doing this vary by JTAG vendor

Attach the JTAG to the hardware

Reset the board via JTAG and hold in reset

Set H/W breakpoint using the JTAG

Load the vmlinux via the JTAG (this loads the symbols)

Command the JTAG to tell the hardware to “go”

Once you encounter the hardware breakpoint, you can step in assembly until the MMU is enabled

The MMU will translate physical addresses to virtual addresses

Once virtual addressing is on, set breakpoints as normal

Document info
Document views113
Page views113
Page last viewedMon Dec 05 23:26:12 UTC 2016
Pages48
Paragraphs607
Words3505

Comments