cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wjn0719
Contributor
Contributor
368 Views
Registered: ‎11-15-2018

CMA memory address for VCU

Dear,

In our design, we use the Vivado 19.1 to make VCU development on XCZU5EV.

For our custom board, there is a 4GB memory. In order to capture multiple-channel video via VCU, large consecutive memory should be reserved for the CMA, such as 1GB.

As known, the physical memory address in MPSoC is not continuous, and let's call them the low address(0x0000_0000-0x8000_0000) and the high address(0x08_0000_0000-0x8_8000_0000). The high address is assigned to the CMA used for VCU and the boot args state cma=1024M.

The system can be booted normally, but when the VCU driver is inserted, it pops out the following log. We are not clear about the reason.

Is there any constraint to the memory addresses assigned to VCU?

Thanks

Chunjie

Tags (2)
vcu.png
0 Kudos
1 Reply
wjn0719
Contributor
Contributor
343 Views
Registered: ‎11-15-2018

Extra question:from the log, it seems that MCU cannot be allocated memory. Is this related to the CMA memory location on the high memory address? Because the MCU is a 32-bit processor and cannot access the memory space beyond of 4GB memory address.

0 Kudos