This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:update [2015/08/14 09:31] 151.217.66.45 [Requirements] |
howto:update [2015/10/14 15:24] markusbec |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to update the firmware ====== | ====== How to update the firmware ====== | ||
- | This howto explains how to update the firmware running on your rad1o. | + | This howto explains how to update the firmware running on your rad1o from a binary release. |
The rad1o firmware consists of these main parts: | The rad1o firmware consists of these main parts: | ||
Line 8: | Line 8: | ||
* Applications (camp, hackrf, testapp, …) | * Applications (camp, hackrf, testapp, …) | ||
* l0dables (snake, schedule, …) | * l0dables (snake, schedule, …) | ||
- | * Other files (configuration files, fonts, graphics) | + | * Other files (configuration, fonts, graphics) |
See [[firmware:releases|firmware:releases]] for the most recent version and a release history. | See [[firmware:releases|firmware:releases]] for the most recent version and a release history. | ||
- | <note tip>During camp, there is an update station located at the muCCC village. Bring your rad1o and update it there.</note> | + | Alternatively, you can [[howto:build|build the firmware yourself]] and flash the latest version from git |
===== Requirements ===== | ===== Requirements ===== | ||
Line 24: | Line 24: | ||
* turn off the rad1o | * turn off the rad1o | ||
- | * connect the rad1o with the USB cable to the computer | + | * connect the rad1o (rad1o port A) with a micro-USB cable to the computer |
- | * push and hold ''UP'' while you turn on the rad1o. it will now boot in ''MSC'' mode, appearing as a mass storage device (like a USB stick) to the computer | + | * push and hold the joystick ''UP'' while you turn on the rad1o. it will now boot in ''MSC'' mode, appearing as a mass storage device (like a USB stick) to the computer |
* [[firmware:releases|Download the latest firmware file]] | * [[firmware:releases|Download the latest firmware file]] | ||
* unpack it and copy all the contained files to the mounted device, overwriting the existing files | * unpack it and copy all the contained files to the mounted device, overwriting the existing files | ||
Line 33: | Line 33: | ||
sync | sync | ||
- | (The paths will probably be different on your system) | + | (The paths will probably be different on your system; For example, the mount point in Debian/Ubuntu/Mint may be in /media/[username]/[device name; e.g. 0FC0-CABC]) |
(The tar has the firmware files in a subdir, hence the ''--strip 1'' [at least rad1o-rev02.tgz does]; the new firmware files must go to the root of rad1o's file system, or the upgrade won't work.) | (The tar has the firmware files in a subdir, hence the ''--strip 1'' [at least rad1o-rev02.tgz does]; the new firmware files must go to the root of rad1o's file system, or the upgrade won't work.) | ||
Line 45: | Line 45: | ||
Your rad1o should now run the most recently released firmware. You can check the release version of your firmware in the "INFO" menu. | Your rad1o should now run the most recently released firmware. You can check the release version of your firmware in the "INFO" menu. | ||
+ | |||
+ | ===== Flash Firmware for recovery ===== | ||
+ | |||
+ | Checkout Git F1rmware Repo | ||
+ | |||
+ | cd /f1rmware/smartflash/ | ||
+ | |||
+ | Get all components: | ||
+ | make gather | ||
+ | |||
+ | Make MSC Update | ||
+ | make UDISK=sdb msc | ||
+ | |||
+ | or Make Full Update | ||
+ | make UPATH=sdb flash | ||
+ | |||
+ |