User Tools

Site Tools


howto:update

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:update [2015/08/14 00:09]
mkie [Tasks]
howto:update [2022/10/26 22:06] (current)
schneider
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 campthere is an update station located at the muCCC village. Bring your rad1o and update it there.</​note>​+Alternativelyyou 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 
-  * unpack ​the firmware file and copy all the contained files to the mounted device ​and overwrite ​the existing files +  * [[firmware:​releases|Download ​the latest ​firmware file]] 
-  +  * unpack it and copy all the contained files to the mounted device, overwriting ​the existing files 
   cd /​mnt/​FE49-AB84   cd /​mnt/​FE49-AB84
-  tar -xzvf ~/​Downloads/​rad1o-revXX.tgz+  tar -xzv --strip 1 -f ~/​Downloads/​rad1o-revXX.tgz
   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.) 
 + 
 +(OS X users: If you unpack and copy via the Finder a lot of resource fork files will be generated, so tar is preferred.)
   * wait until the left bottom LED stops flashing   * wait until the left bottom LED stops flashing
   * unmount the device   * unmount the device
-  * turn your rad1o off and on again +  * turn your rad1o off and on again. (If your screen goes dark, try unplugging ​the USB or setting ​the chargeled config ​to 0.)
-  * check in the menu item //INFO// if the FW revision changed ​to the new revision number+
  
 ===== Result ===== ===== Result =====
  
-  * 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=sdX msc  
 + 
 +or Make Full Update 
 +  make UPATH=sdX flash 
 + 
howto/update.1439503766.txt.gz · Last modified: 2015/08/14 00:09 by mkie