This is an old revision of the document!
This howto explains how to get the firmware from git, setup the build environment and build and flash the firmware to the rad1o.
An easier (but not as cutting-edge) alternative is to update from a release.
git clone https://github.com/rad1o/f1rmware.git
cd f1rmware git checkout master git pull
doc/build.md
for details how to install on your system:hackrf
and libopencm3
submodules:git submodule init git submodule update
make cd smartflash make build make gather
smartflash/IMG
. There are several methods to get the f1rmware on the rad1o. When the rad1o is booted in MSC mode (hold UP while turning it on), it appears to the computer as USB mass storage with a small FAT filesystem. You can either manually copy the files to the rad1o or use the smartflash FLASHgui to do it automatically.
You can also use the FLASHgui to do a complete reinstall of the rad1o, this is useful if the filesystem is broken.
mount /dev/sdb /media/ABCD-1234
cp smartflash/IMG/* /media/ABCD-1234
smartflash/README.md
for details:cp smartflash/90-rad1o-flash.rules /etc/udev/rules.d
cd smartflash make run
FLASHgui shows a line for every connected rad1o. During the transfer, it says (running))
and the green LED next to the USB port on the rad1o will blink. After the transfer is finished, the state changes to (done)
. After a few more seconds, the rad1o should restart and FLASHgui will report (gone)
.
you can also use FLASHgui to do a complete reinstall of a rad1o, including the bootloader, CPLD and all firmware files.
This will first reflash the bootloader and CPLD and then write a new filesystem image to the rad1o. The led next to the headset port on the rad1o will blink red when the process is finished.