OTA Auto Update For Gateway Firmware

Version 43.1 by Xiaoye on 2023/11/29 10:23

Table of Contents:

1. What is OTA and how it works

Dragino gateways support firmware OTA auto-update. In OTA update, the gateway will connect to Dragino update server and get the latest firmware and update it to the gateway for bug fix and new features

In below case, gateway will connect to Dragino server to check for updates:

  • Every reboot
  • Every midnight (~UTC time: 12:00)

 

2. Support hardrware & Software

ModelsDevices TypeOS, CPU InfoFirmware requirementOTA Update Detail
LoRaWAN Gateway
  • Linux OS: OpenWrt,
  • CPU: 400MHz,
  • Flash: 16MB, RAM: 64MB

 

Change Log
LPS8v2LoRaWAN Gateway
  • Linux OS: Armbian,
  • CPU: Quad-core Cortex-A7 1.2Ghz
  • RAM: 512MB
  • eMMC: 4GB

 

Change Log
LG01v2Single Channel LoRa Gateway
  • Linux OS: Armbian,
  • CPU: Quad-core Cortex-A7 1.2Ghz
  • RAM: 512MB
  • eMMC: 4GB

 

Change Log

 

3. OTA Update Change Log

3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N

DateMain PackagesChange Log
------------dragino_gw_fwd-2.6.0
  • Basic versions
------------haserl_ui-1.2.1
  • Basic versions
22-09-16dragino_gw_fwd-2.6.1
  • Add lora global_config file for zn
22-11-16dragino_gw_fwd-2.6.3
  • Optimize recycling threads
  • Optimize log output
23-04-25dragino_gw_fwd-2.6.4
  • Fixed Semtech UDP mode lost connection issue
23-08-01dragino_gw_fwd-2.7.0
  • Fixed Cellular mode lost connection issue
   

 

3.2 For LPS8Nv2

DateMain PackagesChange Log
2022-10-23draginofwd-22-10-23
  • Fix i2c interface error ( for FWD)
2023-01-06

dragino-httpd

dragino-ui

draginoups

  • Add Login-Authentication
  • Add system/general  page
  • Add the fallback interface
2023-01-10dragino-ui
  • Add timezone setting
  • Add Static IP setting with WLAN
  • Add the http/ssh port setting
  • Optimized built-in server updates
  • Fix the basic station display with the EUI
2023-02-08dragino-ui
  • add the edit the address of fallback
  • Add Static IP setting with ETH
2023-02-16armbian-bsp-cli-draginohp0z
  • Optimization Auto Update
  • Add the docker cache clean
2023-03-18

dragino-ui

draginofwd

  • Fix LoRaWAN lost connection with the server, not being displayed correctly
  • Optimized the IoT keepalive detection.

    When the gateway's network is unreachable, the sys led will switch to red and wait for the network to recover
    Once the network is back in access, the gateway will reload the running server(draginofwd)

2023-04-10

dragino-ui

dragino-fwd

draginohtppd

  • Fixed the wifi survey doesn't show the complete SSID
  • Fixed the LoRa global config of IN865 which is missing a frequency point
  • Fixed the LoRa frequency band type of AS923
  • Fixed lighttpd takes up a lot of CPU.
2023-04-18dragino-ui
  • Optimized the General page
2023-5-04dragnoups
  • Fixed block broken problem
2023-05-06dragino-ui
  • Update Package Filrer ruler
  • Update Stat package interval setting
2023-05-23

dragino-ui

draginoups

  • Add the AP function
  • Fix the incomplete display of 4g icon information
  •  
2023-06-14dragino-ui
  • Update the Web page for the built-in server
2023-06-30

dragino-ui

draginoups

  • Optimized resource consumption
  • Fix the gateway downtime bug
2023-07-08dragino-ui
  • Fix the Home page cellular icon display error 
2023-07-14dragino-ui
  • Reduce the memory usage of web UI
2023-07-16dragino-ui
  • Fixed the issue of cellular consuming a lot of data
2023-08-01dragino-ui
  • Fixed the issue of cellular Pinconde settings
2023-08-05draginofwd
  • Fixed the server connection status detection
2023-10-24dragino-ui
  • Fixed Uable install Chirpstack
2023-11-06dragino-ui
  • Add reset data for Chirpstack
2023-11-26dragino-ui
  • Fixed the issue unable to disable ssh
   
   
   

 

3.3 For LG01v2

DateMain PackagesChange Log
   
   

 

3.4 TODO list

  • Solve "DC no in band" issue for Senet Downink in EU868 band.
  • Fixed fwd IN865 global configuration.
  • Fixed Basic-station no connection after gateway reboot/power cycle.
  • Fix GPS time issue
  • Online/offline detect and reload improvement for LPS8v2 for UDP Connection.
  • Online/offline detect and reload improvement for LPS8v2 for Chirpstack Gateway-Bridge Connection
  • Fix Redis Memory Leak for build-in TTS
  • Fix AS923 Frequency Band Typo in Web (LPS8v2)

 

3.5 Finish list

  • Add Fall Back IP to LPS8v2
  • Add Login-Authentication

 

4. Disable OTA Update

It is possible for clients to disable the OTA update feature. Below is the instruction:

LPS8V2:

image-20230830104754-1.png

 

Tags:
Created by Xiaoling on 2022/12/23 10:57
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0