public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 5/6] arm: debug: add Kconfig entries for lowlevel debug
Date: Sat, 6 Sep 2014 08:03:17 -0400	[thread overview]
Message-ID: <20140906120317.GP25506@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ1tLMaQmkLG0fYD-_fdDZzPRfv0zMsMCk3c8RFhTEJ4KA@mail.gmail.com>

On Wed, Sep 03, 2014 at 06:01:44PM -0600, Simon Glass wrote:
> Hi Masahiro,
> 
> On 31 August 2014 20:06, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> > We have not had a good method to debug the early boot stage such as
> > lowlevel_init function.  I guess developers generally use dedicated
> > debuggers for that, but it is difficult in some cases.
> > (For example, my debugger cannot connect to the ARM processor when
> > it is in the secure state.  It sometimes happens when I need to
> > debug the early boot stage on ARM SoCs with secure extension.)
> >
> > The low level debug feature in Linux would be also helpful for U-boot
> > when we are stucking in nasty problems where the console is not
> > available yet.
> >
> > You have to enable CONFIG_DEBUG_LL to use this feature.
> > For now, only 8250-compatible UART devices are supported.
> > You can add a header file under arch/arm/include/debug/ directory
> > to support your UART device if necessary.
> >
> > Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> 
> Is it possible to use the existing drivers for this? It seems
> unfortunate to duplicate the ns16550 driver (if that is what has
> happened).

No, the point of this driver (and the similar ones that exist here and
elsewhere) is to have something small and seperate that we know is not
the cause of the problem.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140906/7b9189b9/attachment.pgp>

  parent reply	other threads:[~2014-09-06 12:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01  2:06 [U-Boot] [PATCH v3 0/6] Introduce low-level debug for ARM architecture Masahiro Yamada
2014-09-01  2:06 ` [U-Boot] [PATCH v3 1/6] vexpress64: kconfig: consolidate CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI Masahiro Yamada
2014-09-03 20:59   ` Masahiro YAMADA
2014-09-01  2:06 ` [U-Boot] [PATCH v3 2/6] kconfig: armv8: move CONFIG_ARM64 to Kconfig Masahiro Yamada
2014-09-01  2:06 ` [U-Boot] [PATCH v3 3/6] arm: debug: import debug files from Linux 3.16 Masahiro Yamada
2014-09-01  2:06 ` [U-Boot] [PATCH v3 4/6] arm: debug: replace license blocks with SPDX Masahiro Yamada
2014-09-01  2:06 ` [U-Boot] [PATCH v3 5/6] arm: debug: add Kconfig entries for lowlevel debug Masahiro Yamada
2014-09-04  0:01   ` Simon Glass
2014-09-05  2:55     ` Masahiro Yamada
2014-09-05 21:16       ` Simon Glass
2014-09-06 12:03     ` Tom Rini [this message]
2014-09-08 17:31       ` Simon Glass
2014-09-01  2:06 ` [U-Boot] [PATCH v3 6/6] arm: debug: adjust for U-Boot Masahiro Yamada
2014-10-27  0:06 ` [U-Boot] [PATCH v3 0/6] Introduce low-level debug for ARM architecture Albert ARIBAUD

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=20140906120317.GP25506@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /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