I’m continuing to maintain & expand this. For example, U-Boot has been building for the 5A as well for a while now. I pre-ordered, so once I get my voucher + board, I’ll actually test this
Two bigger additions are builds & images for the Rockchip NPU (for ML) libraries and Rockchip MPP (for accelerated video encoding/decoding).
rknpu
The NPU builds are a bit more experimental. I believe everything is working, but I haven’t been able to get the benchmark with YOLOv8s running yet.
If you’re interested, however, take a look here:
rkmpp
The MPP builds I’ve been able to use a bit more extensively: I’ve successfully captured HDMI-IN @ 4k60, encoded it as H264, and streamed it with RTMP from within a container.
Note that the audio track will be silent in this example.
You’ll need to adjust things if your input is not 4k60.
Alternatively, replace v4l2src device=/dev/video0 io-mode=dmabuf with videotestsrc is-live=true to send the Gstreamer test stream, which has some colored lines and live static.
Open http://127.0.0.1:8888/mystream on the Rock 5 to view the stream or replace 127.0.0.1 with your Rock 5’s LAN IP. (Refer to mediamtx docs for more possibilities.)
This thread is also a good resource about Gstreamer & RTSP/RTMP with some Rock 5 specific bits: