A starting point for PocketBeagle 2 (TI AM6254) projects, Linux, Zephyr, PRU, and Yocto

Working with some LLMs I have put together a demo/template app for the PocketBeagle2.

  • Linux on the Cortex-A53s runs pb2, one program that drives the demo.
  • Zephyr on the Cortex-M4F answers function calls from Linux (eRPC over RPMsg) and writes SPI.
  • PRU0 takes commands from Linux (RPMsg) and from Zephyr (a shared DDR mailbox).
  • PRU1 runs a cycle-counted loop and bit-bangs a UART frame on a header pin.

The demo both works with the Beagle Debian image, and with a Yocto build option.

Github: pocketbeagle2-linux-zephyr-pru-demo

4 Likes