Hi,

If you really want to work with Linux JTAG debugging you need to have a JTAG debugger and debugging software that is really Linux aware. There aren't many available that really support both kernel and app debugging at the same time for Linux using JTAG connectivity.

You may want to check out Peter Griffin's GDB and Linux Kernel Awareness slides from Embedded Linux Conference Europe 2015:
http://events.linuxfoundation.org/sites/events/files/slides/ELC-E%20Linux%20Awareness.pdf

If you want to save your time and do your work today I recommend paying a bit more than that and go for even for entry level Lauterbach's Power Debug debugger. Their software (Trace32) is not pretty for today's standards but has bunch of features that makes your life easier. There is slight learning curve for the tool but once that is done it gets your work done. Price is thou 4 number figure (in euros/dollars -- lower half).

If you are looking for ARM DS-5 -- it has also some features and a bit shinier user interface (in some places) but currently lacks in some features that are found in Trace32 -- perhaps biggest is co-debugging over JTAG for Kernel and Applications at the same time, next missing feature is general flexibility I suppose. This same story matches quite a lot of debugging software currently available. DS-5's system profiler is something that might be interest for some.

If you want to play around with open source alternatives -- especially then check the presentation above.

Also note that BBB has TI's Compact JTAG connector -- so get matching adapter and solder the socket.

TI has done some work with their Code Composer Studio and then there are some low cost JTAG debuggers that are compatible with the tool -- you are locked to TI's ecosystem but that might also be something to consider. It also exposes some "homemade" features of TI processors. Haven't used the tool for Linux kernel debugging but there might be someone here with experience with the tool for that purpose.

And if someone has other kind of experiences in here I would love to hear :) both OSS and commercial solutions are in interest.

Thanks,
Vesa Jääskeläinen

On 05/05/16 07:52, Raul Piper wrote:
Is TIN FlysWatter2 <http://www.tincantools.com/JTAG/Flyswatter2.html> a better tool for debugging the kernel driver in BBB.Can some one please post thier experience?
-Rp
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ea576ae1-cb10-4ebc-8ae6-a17f6c694970%40googlegroups.com <https://groups.google.com/d/msgid/beagleboard/ea576ae1-cb10-4ebc-8ae6-a17f6c694970%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/572AE2E9.6020001%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to