From mboxrd@z Thu Jan 1 00:00:00 1970 From: oliver.graute@gmail.com (Oliver Graute) Date: Sat, 29 Apr 2017 13:51:54 +0200 Subject: kgdb debug with ttyUSB0 instead of ttyS0 In-Reply-To: <20170426124919.GA12061@kroah.com> References: <20170425211138.GA3230@ripley> <20170426043701.GB5734@kroah.com> <20170426112355.GA16804@graute-opti> <20170426124919.GA12061@kroah.com> Message-ID: <59047e5e.ab89500a.a0aa4.59b7@mx.google.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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