Edit: found a real bug in v0.2.0-beta, the multi-threaded video processing change in that release crashes about 40% of the time. Reverted it, pushed v0.2.1-beta with the fix. If you grabbed v0.2.0-beta and hit random crashes, that's why, grab the new tag instead.
When Radxa built the Cubie A7Z, they didn't bother supporting many camera modules. Just a couple of specific ones have official overlays. The IMX519, the 16MP autofocus camera that's everywhere on the Pi side, Waveshare, Arducam, all of that, just wasn't one of them. No driver, no overlay, nothing.
So I had Claude Code build one with me from scratch. Honestly it's kind of wild how far this stuff has come. We're talking reading schematics, writing actual kernel driver code, debugging kernel crashes, patching libcamera itself. Stuff that used to need a kernel dev who really knows this SoC. Curious what people think about that side of it too.
Repo's here if you want to look: https://github.com/AsedaDeveloper/a7z-imx519-driver
What it can do right now: all five sensor resolutions up to the full 16MP, manual exposure and gain, autofocus, hardware H.264 video encoding, a virtual webcam device so normal apps can just use it, raw DNG capture, and basic libcamera support.
It's beta, and only tested on my one board and one camera module so far. There's a known performance thing where the color processing is a bit slow for 1080p, I tried fixing it but the fix had a crash bug, so it's reverted for now.
What I actually need now is people with a Cubie A7Z, A7A, or A7S to try it on their own setup, maybe a different IMX519 variant or even a different module entirely. The repo has issue templates set up for exactly this, even a "tried it, broke, here's the error" report helps a lot right now.
Let me know what you think, happy to answer anything.