
Corvus RadioBerry
Writing the corvus-radioberry driver for the RadioBerry 2.x on the Raspberry Pi 4 or 5
corvus-radioberry
A while back I got interested in 2G, 3G and 4G (LTE) cell radio systems. This is an expensive obsession to develop - eventually I bit the bullet and purchased a BladeRF, after which I was happily able to run a small cellphone network with COTS handsets. There's really something about having your own SIM cards.
Playing with the BladeRF ignited an interest in SDRs in general, and eventually led me to pass my UK Foundation HAM License exam once I was back in Northern Ireland (M7XCO). But well before then I had been coding for HackRFs and eventually discovered the RadioBerry 2.x HAT for the Raspberry Pi 4/5. Wonderful little devices - and, with the addition of another inexpensive radio PA HAT, it would develop enough power to drive a grown up PA (I used a Micro50). This obviously led to the world of digimodes, and FT8/4.
The road to intercontinental contacts was not smooth, however. The RadioBerry driver software had issues with the Linux kernel over 6.6 - leading its author to publish a customised RPiOS image, patching the rp1-pio driver. This had the unfortunate side effect of smashing the driver stack on an apt upgrade if the kernel was changed - and in this age of constant AI-discovered exploits, you really can't afford to be able to switch off updates.
To cut a short story long, and in the flurry of creativity that comes from both discovering Claude and being holed up in a cabin for a month, I ended up writing my own driver stack and gateware built around the Hermes-Lite 2 radio core, for RPi4 and RPi5:
https://github.com/tomdionysus/corvus-radioberry
The new driver installs with apt from my repository (two commands in the README) on stock Trixie RPiOS, and requires no custom image or rp1-pio modification. It also uses DKMS to recompile the driver, so it will deal with kernel upgrades automatically. Fully OSS, GPL, so free as in speech and beer.
This is still pretty new - I'm using it with piHPSDR and WSJT-X for FT8/4 (it serves openHPSDR Protocol 1 and 2, so should work with SparkSDR and Quisk also) and I'd really appreciate any testing, critique, bugs, ideas and issues.
Note: CL025 FPGA only for now - a CL016 version is possible if someone with one can test it.