howto:build
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:build [2015/08/20 18:23] – mkie | howto:build [2015/09/09 19:15] (current) – 9r | ||
---|---|---|---|
Line 13: | Line 13: | ||
===== Tasks ===== | ===== Tasks ===== | ||
- | * clone the rad1o firmware repository from git | + | ==== Preparation and Build ==== |
- | + | * clone the rad1o firmware repository from git < | |
- | | + | * If you did that already some time ago, get the latest changes:< |
- | + | git checkout master | |
- | * If you did that already some time ago, get the latest changes: | + | git pull</ |
- | + | * install the following build requirments, | |
- | + | ||
- | | + | |
- | git checkout master | + | |
- | git pull | + | |
- | + | ||
- | * install the following build requirments, | + | |
* arm-gcc | * arm-gcc | ||
* python-yaml | * python-yaml | ||
* xxd | * xxd | ||
- | * dfu-util | ||
* cmake | * cmake | ||
+ | * setup the '' | ||
+ | git submodule update</ | ||
+ | * build everything < | ||
+ | cd smartflash | ||
+ | make build | ||
+ | make gather</ | ||
+ | * if that is successfull, | ||
- | * setup the '' | + | ==== Flash ==== |
+ | 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. | ||
- | git submodule init | + | You can also use the FLASHgui to do a complete reinstall of the rad1o, this is useful if the filesystem is broken. |
- | git submodule update | + | |
- | * build everything | + | === Easy Method: Manual copy === |
+ | * Boot the rad1o in MSC-mode (joystick UP while you turn it on) | ||
+ | * mount the device if your system does not do it automatically (your path will probably be different)< | ||
+ | * copy the firmware files to the mounted device manually (your path will probably be different):< | ||
- | make | + | === Advanced Method: With FLASHgui === |
- | cd smartflash | + | |
- | make build | + | |
- | * if that is successfull, | + | * install |
- | * either copy them manually | + | * mtools |
+ | * perl-curses | ||
+ | * [[https:// | ||
+ | * dosfstools | ||
+ | * install the udev-rules < | ||
+ | * start the smartflash FLASHgui app: < | ||
+ | make run</ | ||
+ | * connect a rad1o via USB to the computer and start it in MSC mode (hold UP and switch on). | ||
+ | FLASHgui shows a line for every connected rad1o. During the transfer, it says '' | ||
- | cp smartflash/ | + | === Recovery Method: factory reset with FLASHgui === |
- | * or have the FLASHgui | + | you can also use FLASHgui to do a complete reinstall of a rad1o, including |
+ | <note warning> | ||
- | cd smartflash | + | * prepare and run FLASHgui like above |
- | make run | + | * connect a rad1o via USB to the computer and start it in DFU mode (hold DOWN and switch on). |
- | * you can also use FLASHgui to do a complete reinstall of a rad1o, including | + | This will first reflash |
===== Result ===== | ===== Result ===== | ||
* a rad1o running the latest firmware from git | * a rad1o running the latest firmware from git | ||
+ |
howto/build.1440095023.txt.gz · Last modified: by mkie