Hi all,
I have a Zynqberry 726 loaded with Linux OS (built from Petalinux). Now I need to create a C/C++ application, and the documentation is not so clear about details for linux.
I have created a C project in SDK (selecting linux and with the appropriate hardware platform definition). The code builds by default, but I am not sure how to proceed from there to run (or debug). In standalone, I could configure the run and debug options, but in case of Linux, I am not sure how should it work... Will SDK cope or run the executable into the system? Should I manually copy it to the /bin or any other folder?
Any guide or comment will be highly appreciated.
Regards
Javier
Hi,
debugging of linux with SDK
- http://www.wiki.xilinx.com/How+to+debug+Linux+Application+in+SDK+2017.4 (http://www.wiki.xilinx.com/How+to+debug+Linux+Application+in+SDK+2017.4)
or copy elf file of the linux application on sd and executeor compile application on the running linux systemor compile and include your linux application with petalinux (page 53 ff, Creating and Adding Custom Applications):
- https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_4/ug1144-petalinux-tools-reference-guide.pdf
br
John