09-29-2015 11:24 AM
I am hoping someone can help me out with a realistic technique for debugging appliaction projects in open source linux. Manually moving the files to the system, starting GDB on the Zynq Linux, and then debugging from the command line in the client system is ridiculous. There must be an easy way to debug comfortably directly from the SDK tool, including pushing the application code to the board. I can't see anything like that for OSL, just a bunch of guides for Petalinux, and guides showing a complex and uncomfortable process for OSL.
What is the normal design flow here?
09-29-2015 11:45 AM
The assumption from Xilinx (right or wrong) is that if you are doing your own thing without Petalinux you'll be able to figure it out as your a more advanced user or you're using a distribution which will help you.
The principles are the same regardless of Petalinux or not as it's based on TCF agent, an application that runs on the Linux target (like GDB server, but TCF based). Then you use the SDK debugger as you would with Petalinux. You can also use a Remote System Explorer from the SDK which can be based on telnet, SSH, etc.. I believe.
I've not looked lately but the prebuilt rootfs from the Xilinx releases on the wiki likely has the tcf agent built into them. I don't know where the TCF agent source code is but I've not looked for it.
09-29-2015 03:07 PM