kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: oliver.graute@gmail.com (Oliver Graute)
To: kernelnewbies@lists.kernelnewbies.org
Subject: kgdb debug with ttyUSB0 instead of ttyS0
Date: Sat, 29 Apr 2017 13:51:54 +0200	[thread overview]
Message-ID: <59047e5e.ab89500a.a0aa4.59b7@mx.google.com> (raw)
In-Reply-To: <20170426124919.GA12061@kroah.com>

On 26/04/17, Greg KH wrote:
> Why do you need to use a notebook where Linux works already for kgdb?
> That's traditionally only used to bring up new hardware platforms.

I just used a old notebook as target to learn how-to debug with kgdb.
inspired by the debugging Chapter 4 in the LDD3 Book.
 
> Also, there is USB serial debugging cables as there is a special mode in
> the USB 2 and 3 controllers that can be enabled to handle serial
> messages without interrupts for console/printk early messages that
> people use.  The cables are not cheap to enable this, but worth it if
> you have to debug this type of target system.

can you point us to such a cable?

Best Regards,

Oliver

      parent reply	other threads:[~2017-04-29 11:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 21:11 kgdb debug with ttyUSB0 instead of ttyS0 Oliver Graute
2017-04-25 22:02 ` Mandeep Sandhu
2017-04-26  4:37 ` Greg KH
2017-04-26 11:23   ` Oliver Graute
2017-04-26 12:49     ` Greg KH
2017-04-26 21:11       ` Joe Smith
2017-04-29 11:51       ` Oliver Graute [this message]

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=59047e5e.ab89500a.a0aa4.59b7@mx.google.com \
    --to=oliver.graute@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).