11-15-2013 02:26 PM
In my application we designed a small board based on Zynq, only PS has LpDDR2 memory device to run Linux OS. PL is used to collect data from camera and some sensors.
We want PL to move collected data directly into PS's LpDDR2 through HP port without bothering Linux OS. And Linux OS can access those data and save them into SD card as need .
How can we achieve this? I studied a little about the MMU in Linux, but still can not figure this out. Do I have to decrease the available memory size for PS, and use the left space as a block device which corresponds to the address PL write data to? Or is there a easier way to do this?
11-15-2013 09:35 PM
11-18-2013 10:33 AM
Does that mean I should do something like this:
1. Seperate the space of lpddr2 into two parts, one for Linux OS, the other for PL writing data through HP port.
2. Design a block device driver with DMA engine for reading data from physical address in lpddr2 written by PL.
If yes, does that mean both Linux OS and DMA engine will talk to DDR controller? will it cause any conflicts?