public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Subject: Low level debugging using CONFIG_EARLY_PRINTK=y, omap-debug branch removed
Date: Tue, 15 Dec 2009 16:53:38 -0800	[thread overview]
Message-ID: <20091216005337.GR4575@atomide.com> (raw)

Hi all,

Recent commit 93fd03a8c6728b58879f8af20ffd55d9c32a778b added
support for CONFIG_EARLY_PRINTK on ARM. Recent earlier kernels
should work too by applying the patch in the commit above.

This means we can now get rid of the old printk.c hack in the
omap-debug branch, so I've deleted that branch.

To use the earlyprintk, just do the following:

1. Make sure you have the necessary .config options set

CONFIG_DEBUG_LL=y
CONFIG_EARLY_PRINTK=y
CONFIG_OMAP_LL_DEBUG_UART1=y
# CONFIG_OMAP_LL_DEBUG_UART2 is not set
# CONFIG_OMAP_LL_DEBUG_UART3 is not set

The LL_DEBUG_UART above is typically 1, but it's 3 on Nokia
boards.

2. Edit the kernel CMDLINE in your .config to have "debug earlyprintk"

Optionally if you have a JTAG console, you can use CONFIG_DEBUG_ICEDCC
instead LL_DEBUG_UART.

I've also added these instructions to:

http://www.elinux.org/Debugging_OMAP_kernel

Regards,

Tony

             reply	other threads:[~2009-12-16  0:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16  0:53 Tony Lindgren [this message]
2009-12-16  9:07 ` Low level debugging using CONFIG_EARLY_PRINTK=y, omap-debug branch removed Shilimkar, Santosh
2009-12-17 23:04   ` Paul Walmsley
2009-12-17 23:38     ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091216005337.GR4575@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox