Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: javier.reyes.g on July 02, 2018, 04:15:16 PM

Title: How to program from SDK for Zynq 726 with Linux OS
Post by: javier.reyes.g on July 02, 2018, 04:15:16 PM
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
Title: Re: How to program from SDK for Zynq 726 with Linux OS
Post by: JH on July 03, 2018, 10:13:13 AM
Hi,
debugging of linux with SDK

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):br
John