Please make sure you’ve looked at, and built, the relevant labs on the TI wiki:
http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs
There are also several sample kernel drivers in the kernel source, artfully buried under Kernel Hacking: