This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
howto:build [2015/08/20 13:06] iggy created |
howto:build [2015/08/20 20:23] mkie |
||
---|---|---|---|
Line 14: | Line 14: | ||
* clone the rad1o firmware repository from git | * clone the rad1o firmware repository from git | ||
+ | |||
git clone https://github.com/rad1o/f1rmware.git | git clone https://github.com/rad1o/f1rmware.git | ||
* If you did that already some time ago, get the latest changes: | * If you did that already some time ago, get the latest changes: | ||
+ | |||
cd f1rmware | cd f1rmware | ||
Line 31: | Line 33: | ||
* setup the ''hackrf'' and ''libopencm3'' submodules: | * setup the ''hackrf'' and ''libopencm3'' submodules: | ||
+ | |||
git submodule init | git submodule init | ||
Line 36: | Line 39: | ||
* build everything | * build everything | ||
+ | |||
make | make | ||
+ | cd smartflash | ||
+ | make build | ||
* if that is successfull, all firmware files end up in ''smartflash/IMG''. Boot the rad1o in MSC-mode (joystick UP while you turn it on) and | * if that is successfull, all firmware files end up in ''smartflash/IMG''. Boot the rad1o in MSC-mode (joystick UP while you turn it on) and | ||
- | * either copy them manually (your path will be different) | + | * either copy them manually (your path will be different): |
cp smartflash/IMG/* /media/ABCD-1234 | cp smartflash/IMG/* /media/ABCD-1234 | ||
- | * or have the FLASHgui app running to automatically write the files to any rad1o connected in MSC-mode | + | * or have the FLASHgui app running to automatically write the files to any rad1o connected in MSC-mode: |
cd smartflash | cd smartflash | ||
Line 50: | Line 58: | ||
* you can also use FLASHgui to do a complete reinstall of a rad1o, including the bootloader, CPLD and all firmware files. For this, hold the joystick DOWN during powerup. The rad1o will blink red when done. | * you can also use FLASHgui to do a complete reinstall of a rad1o, including the bootloader, CPLD and all firmware files. For this, hold the joystick DOWN during powerup. The rad1o will blink red when done. | ||
+ | |||
===== Result ===== | ===== Result ===== | ||
* a rad1o running the latest firmware from git | * a rad1o running the latest firmware from git |