[beagleboard] Can pruss on beaglebone access the GPIO pin on expansion P8 and p9?

Yes. Look at the schematic for what pins connect to the expansion header and which ones have PRU signals. There will be gaps and they are spread all over the place. One grouping is on Page 4, bottom right of the schematic symbol.

Gerald