• 0
dakefeng

how to debug linux app with SDK in a petalinux jtag booted zybo board?

Question

now my zybo boots up flawlessly, it is time to develop linux application.. But questions ...

1. I can use sdk to make elf executable program and copy to the board to run it. but it is really awkward.

2. I am trying to document ug1165 but still have no idea how it should work. I thought it should work like un the app and printf to console and so on... but nothing happened

Now my situation is zybo at 192.168.3.10, running good. it was booted from virtual machine ubuntu via jtag. I can telnet to zybo or use usbtty to access shell in virtual machine.

next I start a new application, linux hello world. got confused waht to set the debug mode, what my target setup should be? attach to a running agent? standalone? linux application debug? And all other TCF agent / local and so on, what should I being using?

 

Thank you 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

great, and I found out my mistake, i guess that is because I didn't set petalinux rootfs when new an application project.

Thank you very much

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now