PRU DDR ram allocation using 4.4.54 kernel (uio or rproc?)

Hi all

I am currently trying to get the EBB-PRU-ADC example from Derek Molloys website working on my new version of Debian.

I am using kernel version;
uname -r
4.4.54-ti-r93

In this later kernel, uio_pruss is no longer used and remote proc has now taken over.

I have already gone through the pain of getting the EBB_PRU_ADC overlay to load by disabling the universaln cape and then recompiling Dereks overlay with the newer dtc compiler.

The overlay has loaded successfully;

cat /sys/devices/platform/bone_capemgr/slots
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
4: P-O-L- 0 Override Board Name,00A0,Override Manuf,EBB-PRU-ADC

However, I need to increase the sram pool size and extram pool size as follows;

sram_pool_sz – SRAM pool size to allocate (default 16K).
extram_pool_sz – The external RAM pool size to allocate (default 256K).

My kernel now uses remote proc instead of uio_pruss and I am struggling to work out how to achieve this.

How do I go about this with the modules that are loaded such as;

lsmod |grep pru
pru_rproc 15431 0
pruss_intc 8603 1 pru_rproc
pruss 12026 1 pru_rproc

Should I be trying to use uio_pruss or can I do it through the rproc module?

Any help would be highly appreciated!

Thanks

B