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
Next revision Both sides next revision
en:sw:04-unipi-firmware [2019/09/13 13:39]
tomhora
en:sw:04-unipi-firmware [2020/02/19 12:46]
mkudlacek
Line 1: Line 1:
-======%hide ​UniPi ====== +======%hide ​Unipi ====== 
-====== ​UniPi Software ======+====== ​Unipi Software ======
 This section includes topics related to UniPi software (repository,​ firmware, etc.) This section includes topics related to UniPi software (repository,​ firmware, etc.)
  
Line 44: Line 44:
 <​code>​systemctl status unipitcp</​code>​ <​code>​systemctl status unipitcp</​code>​
  
-The internal firmware ​will be automatically flashed to the current ​latest version. You can check the firmware version by +The internal firmware ​is NOT automatically flashed to the latest version ​installed using apt. This have to be done manually. You can check the firmware version by 
-<​code>/​opt/​unipi-bin/fwspi -i 0</​code>​+<​code>/​opt/​unipi/tools/fwspi -i 0</​code>​ 
 + 
 +To update the firmware run: 
 +<​code>/​opt/​unipi/​tools/​fwspi --auto</​code>​
  
 ==== Firmware ==== ==== Firmware ====
Line 61: Line 64:
  
 <WRAP center round info 60%> <WRAP center round info 60%>
-To check the FW of other IO groups run <​code>​./​fwspi -i 2</​code>​ alternatively <​code>​./​fwspi -i 2</​code>​.+To check the FW of other IO groups run <​code>​./​fwspi -i 1</​code>​ alternatively <​code>​./​fwspi -i 2</​code>​.
 </​WRAP>​ </​WRAP>​
  
Line 75: Line 78:
 apt install unipi-firmware apt install unipi-firmware
 </​code>​ </​code>​
-  * 2. Check the current FW version installed in the HW <​code>/​opt/​unipi-bin/fwspi -i 0</​code>​ +  * 2. Check the current FW version installed in the HW <​code>/​opt/​unipi/tools/fwspi -i 0</​code>​ 
-  * 3. Update to the latest obtained FW version <​code>/​opt/​unipi-bin/fwspi -i 0 -P</​code>​ +  * 3. Update to the latest obtained FW version <​code>/​opt/​unipi/tools/fwspi -i 0 -P</​code>​ 
-  * 4. Re-check the current FW version installed in the HW <​code>/​opt/​unipi-bin/fwspi -i 0</​code>​+  * 4. Re-check the current FW version installed in the HW <​code>/​opt/​unipi/tools/fwspi -i 0</​code>​
  
  
Line 83: Line 86:
 Online installation is always preffered because the firwmare package can have other packages are dependencies (such as firmware-tools). Please always use the online installation. Online installation is always preffered because the firwmare package can have other packages are dependencies (such as firmware-tools). Please always use the online installation.
   * 1. Download the latest version of the **unipi-firmware** package from https://​repo.unipi.technology/​debian/​pool/​ Then it is needed to get it to the unit. There are two ways to do that:   * 1. Download the latest version of the **unipi-firmware** package from https://​repo.unipi.technology/​debian/​pool/​ Then it is needed to get it to the unit. There are two ways to do that:
-  * 2.a - Using SSCP +  * 2.a - Using SCP 
-      * Copy if from your PC to the unit using SSCP (a WinSCP, Filezilla or other software can be used) to the /tmp/ folder+      * Copy if from your PC to the unit using SCP (a WinSCP, Filezilla or other software can be used) to the /tmp/ folder
       * Install the package using dpkg, for example <​code>​dpkg -i /​tmp/​unipi-firmware_5.32_all.deb</​code>​       * Install the package using dpkg, for example <​code>​dpkg -i /​tmp/​unipi-firmware_5.32_all.deb</​code>​
   * 2.b - Via USB flash   * 2.b - Via USB flash