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: 
Highlighted
Newbie jbrandmeyer
Newbie
6,737 Views
Registered: ‎04-21-2015

XAPP1078 OCM Pool Conflict?

I've got XAPP1078 running just fine, and I've been reviewing its implementation details to better understand how it works. Something that concerns me is it seems that Linux instantiates a pool allocator which takes ownership of all of the OCM memory. This is indicated by the startup message: zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x70880000 If I understand the ocmc driver source correctly, then all of the 256 kB of the OCM has been mapped as a single contiguous pool. The power management code then allocates from that pool for some purpose later. However, we are hand-placing the CPU1 start address in the middle of that pool. How can we mark some fraction of the pool as reserved to ensure that the the pool allocator doesn't inadvertently pass out memory that we would rather use for communication between CPU0 and CPU1? For example, can we limit it to 192 kB somehow? I don't see any relevant options in either the driver source or in the plain-text device tree.
Tags (1)
0 Kudos