News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

How to program from SDK for Zynq 726 with Linux OS

Started by javier.reyes.g, July 02, 2018, 04:15:16 PM

Previous topic - Next topic

javier.reyes.g

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

JH

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