rpmsg example on working on AI

I have an rpmsg example[1] that runs on the BB Black. It creates /dev/rpmsg_pru30 which allows the ARM to talk to PRU0.

I have a parallel example[2] that’s supposed to run on PRU 1_1 on the AI and do the same thing. I thought it was working last year.
Now, it doesn’t even create /dev/rpmsg_pru30.

Any ideas what might have broken since last year?

I’m running the current image (BeagleBoard.org Debian Buster IoT Image 2020-04-06) on the Black and the AI.


[1] https://github.com/beagleboard/cloud9-examples/blob/v2020.01/BeagleBone/Black/pru/neopixelRpmsg.pru0.c

[2] https://github.com/beagleboard/cloud9-examples/blob/v2020.01/BeagleBone/AI/pru/neopixelRpmsg.pru1_1.c

I figured it out. I have the wrong include file. I switched code from PRU0 to PRU1_1 and should have used:

#include “resource_table___1__.h”

I was using the 0 version.