I'm learning about pru programming. And I'm going through Lab4 in the PRU Training: Hands-on Labs . I've followed the instruction to install SDK( AM335X 8.0 ) and apply the patches to the SDK successfully. I've configured the remoteproc as a module. Then I builded the kernel and builded the kernel modules.
Now, according to the instruction, I should copy the below modules to the rootfs partition of my SD card.
1. drivers/virtio/virtio.ko
2. drivers/virtio/virtio_ring.ko
3. drivers/rpmsg/virtio_rpmsg_bus.ko
4. drivers/remoteproc/remoteproc.ko
5. drivers/remoteproc/pruss_remoteproc.ko
But I can only find the 3 and 5, I cannot find the file 1, 2 and 3.
I want to know what's the problem. Do I need to do some other configuration before build kernel and modules?
BTW, If I want to use the TI C/C++ compiler to build my PRU C code and load it as a firmware in my Beaglebone Black, is there any other way to achieve my goal? Can I get a binary file via the C compiler in CCS, and then use a linux program run on the arm to load the binary file on the PRU, just like the assembler's does? If this is possible, how to do it.
Thanks a lot.