Making use of R5 on BeagleY-AI

Any update on using Zephyr on R5? Is anyone with zephyr project working on it? Any ETA?

Hello Jasson. Do you have any examples of Zephyr with shared memory?

Why adding a dedicated 800MHz microcontroller and leaving your community with ZERO examples on how to use it? Really? As mentioned above, this is a killer feature but useless… I want my money back.

3 Likes

That is an industry paradigm, I know the game of the others playing. I most certainly don’t know if this group is doing it because I don’t see them offer support services for a fee. Don’t feel bad, we just spent 3 WEEKS getting the .dtsi and kernel built on the Jetson Orin. If we did not need the gpu running cuda that thing would have been in the trash on day 2. Then to make matters worse it crapped out during testing…had to send it back and no stock in the USA.

I started doing some stuff with Beagley-ai, but it gets old quickly when stuff has problems from the start and you spend endless hours looking things and what ever that are a dead end.

Started a github page for it, I tried and then hit a brick wall with the hardware pwm and stopped.

1 Like

The link to github repo is broken.

I deleted all of that, sorry. Ran into some issues moving forward with more advanced topics on that board.

I’ve read that there were attempts to make Zephyr OS run on R5F. Does anybody know if there is any update on that?
I was able to run the basic remoteproc example that kaofishy developed for BBAI64 on Beagley-AI but am interested in something more useful.
Any update on this issue, please let us know. Thanks

I have had success getting Zephyr OS running on the BeagleY-AI’s R5F. I have used GPIO to drive an LED and read an input, bit-bang GPIO to drive NeoPixel LEDs, and share memory with Linux (for communication between Linux and the R5).

There are some rough edges with timing delays and how fast Zephyr tells you the CPU runs (it reports the time base as 19.2MHz instead of 25MHz for base time signal; CPU actually runs at 800MHz). However, it works well enough to reliably drive NeoPixel LEDs!

Here is a guide describing the setup process:

  • Install software on host for cross-compile
  • Cross-compile .elf image
  • Load on BeagleY-AI

And here is a link to the sample code:
https://opencoursehub.cs.sfu.ca/bfraser/solutions/433/guide-code/r5_mcu/

Let me know if you have any feedback!
Brian.

7 Likes