This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

use gpio pins via OCP

I am newbie in Pocketbeagle with Am335x , i want to use GPIO with PRU via OCP and i am not getting the specific way to do it , 

  

i tried the following step but it didn't worked 

created a directory , and copied am335 file , makefile , required headerfile , and .c(source file) file , , then i used 'Make' command and copied .out file from gen file and pasted on /lib/firmware/am335x-pru0-fw file and start the pru0 from /sys/class/remoteproc/remoteproc1 directory and check gpio for toggle with multimeter but its not toggling. 

addition:

can anyone tell me what is OCP because i am confused i found OCP(open core protocol) & (on chip peripherals).