UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer kenkrz
Observer
941 Views
Registered: ‎03-18-2015

tcf-agent kills bare metal app

Petalinux/Vivado 2017.4

 

Configuration AMP - Linux on ARM0 and Baremetal app running on ARM1 (not using open amp)

 

When I start my Linux application(elf) using the system debugger/tcf-agent, my bare metal application running on ARM1 dies.

 

Thanks in advance for any suggestions.

0 Kudos
2 Replies
Moderator
Moderator
854 Views
Registered: ‎05-10-2017

Re: tcf-agent kills bare metal app

How is your R5 application being loaded (is it by FSBL?) Are any of the peripherals in your baremetal application are also used by the Linux application?

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer kenkrz
Observer
840 Views
Registered: ‎03-18-2015

Re: tcf-agent kills bare metal app

figured out the "Real" problem.

 

I used the 2017 Petalinux configuration page to set the memory size for the Linux to be 0x20000000 but I noticed that the boot messages showed it using 0x40000000.  (double checked everything)

 

I then set the memory size using the Linux boot command mem=512M and everything works.

 

Just for your records this memory bug cost me 2 weeks.

0 Kudos