X hits on this document

Powerpoint document

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

109 views

0 shares

0 downloads

0 comments

36 / 48

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

CELF-2008-SVC-36

Using JTAG to Dump printk Buffer

If you kernel hangs right after displaying “Uncompressing Kernel Image … OK” message…

You probably have printk() output, but the serial console isn’t initialized yet

We can dump the printk buffer using the JTAG!

Look in the kernel’s System.map file for something like “__log_buf”

$ grep __log_buf /boot/System.map

  c0445980 b __log_buf

Document info
Document views109
Page views109
Page last viewedMon Dec 05 12:02:52 UTC 2016
Pages48
Paragraphs607
Words3505

Comments