Changes for page OTA Auto Update For Gateway Firmware
Last modified by Xiaoye on 2024/09/21 19:57
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoye - Content
-
... ... @@ -8,46 +8,314 @@ 8 8 9 9 = 1. What is OTA and how it works = 10 10 11 -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**. 12 12 12 +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 (% style="color:blue" %)**bug fix** (%%)and (% style="color:blue" %)**new features**. 13 + 13 13 In below case, gateway will connect to Dragino server to check for updates: 14 14 15 15 * Every reboot 16 16 * Every midnight (~~UTC time: 12:00) 17 17 19 +(% style="display:none" %) 20 + 21 + 22 + 18 18 = 2. Support hardrware & Software = 19 19 20 20 21 -(% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:770px" %) 22 -(% class="sortHeader" %)|=(% style="width: 227px;" %)Models|=(% style="width: 289px;" %)Devices Type|=(% style="width: 289px;" %)OS, CPU Info|=(% style="width: 135px;" %)Firmware requirement|=(% style="width: 116px;" %)OTA Update Detail 23 -|(% style="width:227px" %)((( 24 -LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N** ** 25 -)))|(% style="width:289px" %)LoRaWAN Gateway|(% style="width:289px" %)Linux OS: OpenWrt, 26 -CPU: 400MHz, 27 -Flash: 16MB, RAM: 64MB|(% style="width:135px" %)>|(% style="width:116px" %)Change Log 28 -|(% style="width:227px" %)LPS8v2|(% style="width:289px" %)LoRaWAN Gateway|(% style="width:289px" %)Linux OS: Armbian, 29 -CPU: Quad-core Cortex-A7 1.2Ghz 30 -RAM: 512MB 31 -eMMC: 4GB|(% style="width:135px" %) |(% style="width:116px" %)Change Log 32 -|(% style="width:227px" %)LG01v2|(% style="width:289px" %)Single Channel LoRa Gateway|(% style="width:289px" %)((( 33 -Linux OS: Armbian, 34 -CPU: Quad-core Cortex-A7 1.2Ghz 35 -RAM: 512MB 36 -eMMC: 4GB 37 -)))|(% style="width:135px" %) |(% style="width:116px" %)Change Log 26 +{{velocity}} 27 +$xwiki.ssfx.use("js/xwiki/table/table.css") 28 +$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) 29 +{{/velocity}} 38 38 31 +(% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:1191.22px" %) 32 +(% class="sortHeader" %)|=(% style="width: 247px;background-color:#D9E2F3" %)Models|=(% style="width: 222px;background-color:#D9E2F3" %)Devices Type|=(% style="width: 317px;background-color:#D9E2F3" %)OS, CPU Info|=(% style="width: 223px;background-color:#D9E2F3" %)Firmware requirement|=(% style="width: 178px;background-color:#D9E2F3" %)OTA Update Detail 33 +|(% style="width:247px" %)((( 34 +[[LIG16>>https://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]],[[LPS8>>https://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], [[LG308>>https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[LG308N>>https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]], [[DLOS8>>https://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]], [[DLOS8N** **>>https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]] 35 +)))|(% style="width:222px" %)LoRaWAN Gateway|(% style="width:317px" %)((( 36 +* Linux OS: OpenWrt, 37 +* CPU: 400MHz, 38 +* Flash: 16MB, RAM: 64MB 39 +)))|(% style="width:223px" %)((( 40 +((( 41 + 42 +))) 43 +)))|(% style="width:178px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] 44 +|(% style="width:247px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:222px" %)LoRaWAN Gateway|(% style="width:317px" %)((( 45 +* Linux OS: Armbian, 46 +* CPU: Quad-core Cortex-A7 1.2Ghz 47 +* RAM: 512MB 48 +* eMMC: 4GB 49 +)))|(% style="width:223px" %)((( 50 + 51 +)))|(% style="width:178px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] 52 +|(% style="width:247px" %)[[LG01v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/244-lg01v2.html]]|(% style="width:222px" %)Single Channel LoRa Gateway|(% style="width:317px" %)((( 53 +* Linux OS: Armbian, 54 +* CPU: Quad-core Cortex-A7 1.2Ghz 55 +* RAM: 512MB 56 +* eMMC: 4GB 57 +)))|(% style="width:223px" %)((( 58 + 59 +)))|(% style="width:178px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] 60 + 61 +(% style="display:none" %) 62 + 63 + 64 + 39 39 = 3. OTA Update Change Log = 40 40 41 41 == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == 42 42 43 43 44 -== 3.2 For LPS8Nv2 == 70 +(% border="1" cellspacing="5" style="width:602.222px" %) 71 +|(% style="background-color:#d9e2f3; color:#0070c0; width:106px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:182px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:287px" %)**Change Log** 72 +|(% style="background-color:#f2f2f2; width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.0|(% style="background-color:#f2f2f2; width:287px" %)((( 73 +* Basic versions 74 +))) 75 +|(% style="background-color:#f2f2f2; width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="background-color:#f2f2f2; width:182px" %)haserl_ui-1.2.1|(% style="background-color:#f2f2f2; width:287px" %)((( 76 +* Basic versions 77 +))) 78 +|(% style="background-color:#f2f2f2; width:106px" %)22-09-16|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.1|(% style="background-color:#f2f2f2; width:287px" %)((( 79 +* Add lora global_config file for zn 80 +))) 81 +|(% style="background-color:#f2f2f2; width:106px" %)22-11-16|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.3|(% style="background-color:#f2f2f2; width:287px" %)((( 82 +* Optimize recycling threads 83 +* Optimize log output 84 +))) 85 +|(% style="background-color:#f2f2f2; width:106px" %)23-04-25|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.4|(% style="background-color:#f2f2f2; width:287px" %)((( 86 +* Fixed Semtech UDP mode lost connection issue 87 +))) 88 +|(% style="background-color:#f2f2f2; width:106px" %)23-08-01|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.7.0|(% style="background-color:#f2f2f2; width:287px" %)((( 89 +* Fixed Cellular mode lost connection issue 90 +))) 91 +|(% style="background-color:#f2f2f2; width:106px" %)23-12-10|(% style="background-color:#f2f2f2; width:182px" %)haserl_ui-1.4.0-5|(% style="background-color:#f2f2f2; width:287px" %)((( 92 +* Add no network detection 93 +* Fixed Basic station clock drift to 100mp 94 +))) 95 +|(% style="background-color:#f2f2f2; width:106px" %)23-12-27|(% style="background-color:#f2f2f2; width:182px" %)haserl_ui-1.4.6-0|(% style="background-color:#f2f2f2; width:287px" %)((( 96 +* Optimized Cellular connection 97 +* Optimized BasicStation connection 98 +* Optimized IoT connections in cellular 99 +* Added auto-channel for MQTT 100 +))) 101 +|(% style="background-color:#f2f2f2; width:106px" %) |(% style="background-color:#f2f2f2; width:182px" %) |(% style="background-color:#f2f2f2; width:287px" %) 102 +|(% style="background-color:#f2f2f2; width:106px" %) |(% style="background-color:#f2f2f2; width:182px" %) |(% style="background-color:#f2f2f2; width:287px" %) 45 45 104 +(% style="display:none" %) 46 46 47 -== 3.3. For LG01v2 == 48 48 49 49 108 +== 3.2 For LPS8v2 == 50 50 110 + 111 +(% border="1" cellspacing="5" style="width:770.222px" %) 112 +|(% style="background-color:#d9e2f3; color:#0070c0; width:118px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:255px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:383px" %)**Change Log** 113 +|(% style="background-color:#f2f2f2; width:118px" %)2022-10-23|(% style="background-color:#f2f2f2; width:255px" %)draginofwd-22-10-23|(% style="background-color:#f2f2f2; width:383px" %)((( 114 +* Fix i2c interface error ( for FWD) 115 +))) 116 +|(% style="background-color:#f2f2f2; width:118px" %)2023-01-06|(% style="background-color:#f2f2f2; width:255px" %)((( 117 +dragino-httpd 118 + 119 +dragino-ui 120 + 121 +draginoups 122 +)))|(% style="background-color:#f2f2f2; width:383px" %)((( 123 +* Add Login-Authentication 124 +* Add system/general page 125 +* Add the fallback interface 126 +))) 127 +|(% style="background-color:#f2f2f2; width:118px" %)2023-01-10|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 128 +* Add timezone setting 129 +* Add Static IP setting with WLAN 130 +* Add the http/ssh port setting 131 +* Optimized built-in server updates 132 +* Fix the basic station display with the EUI 133 +))) 134 +|(% style="background-color:#f2f2f2; width:118px" %)2023-02-08|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 135 +* add the edit the address of fallback 136 +* Add Static IP setting with ETH 137 +))) 138 +|(% style="background-color:#f2f2f2; width:118px" %)2023-02-16|(% style="background-color:#f2f2f2; width:255px" %)armbian-bsp-cli-draginohp0z|(% style="background-color:#f2f2f2; width:383px" %)((( 139 +* Optimization Auto Update 140 +* Add the docker cache clean 141 +))) 142 +|(% style="background-color:#f2f2f2; width:118px" %)2023-03-18|(% style="background-color:#f2f2f2; width:255px" %)((( 143 +dragino-ui 144 + 145 +draginofwd 146 +)))|(% style="background-color:#f2f2f2; width:383px" %)((( 147 +* Fix LoRaWAN lost connection with the server, not being displayed correctly 148 +* Optimized the IoT keepalive detection.((( 149 +When the gateway's network is unreachable, the sys led will switch to red and wait for the network to recover 150 +Once the network is back in access, the gateway will reload the running server(draginofwd) 151 +))) 152 +))) 153 +|(% style="background-color:#f2f2f2; width:118px" %)2023-04-10|(% style="background-color:#f2f2f2; width:255px" %)((( 154 +dragino-ui 155 + 156 +dragino-fwd 157 + 158 +draginohtppd 159 +)))|(% style="background-color:#f2f2f2; width:383px" %)((( 160 +* Fixed the wifi survey doesn't show the complete SSID 161 +* Fixed the LoRa global config of IN865 which is missing a frequency point 162 +* Fixed the LoRa frequency band type of AS923 163 +* Fixed lighttpd takes up a lot of CPU. 164 +))) 165 +|(% style="background-color:#f2f2f2; width:118px" %)2023-04-18|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 166 +* Optimized the General page 167 +))) 168 +|(% style="background-color:#f2f2f2; width:118px" %)2023-5-04|(% style="background-color:#f2f2f2; width:255px" %)dragnoups|(% style="background-color:#f2f2f2; width:383px" %)((( 169 +* Fixed block broken problem 170 +))) 171 +|(% style="background-color:#f2f2f2; width:118px" %)2023-05-06|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 172 +* Update Package Filrer ruler 173 +* Update Stat package interval setting 174 +))) 175 +|(% style="background-color:#f2f2f2; width:118px" %)2023-05-23|(% style="background-color:#f2f2f2; width:255px" %)((( 176 +dragino-ui 177 + 178 +draginoups 179 +)))|(% style="background-color:#f2f2f2; width:383px" %)((( 180 +* Add the AP function 181 +* Fix the incomplete display of 4g icon information 182 +* 183 +))) 184 +|(% style="background-color:#f2f2f2; width:118px" %)2023-06-14|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 185 +* Update the Web page for the built-in server 186 +))) 187 +|(% style="background-color:#f2f2f2; width:118px" %)2023-06-30|(% style="background-color:#f2f2f2; width:255px" %)((( 188 +dragino-ui 189 + 190 +draginoups 191 +)))|(% style="background-color:#f2f2f2; width:383px" %)((( 192 +* Optimized resource consumption 193 +* Fix the gateway downtime bug 194 +))) 195 +|(% style="background-color:#f2f2f2; width:118px" %)2023-07-08|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 196 +* Fix the Home page cellular icon display error 197 +))) 198 +|(% style="background-color:#f2f2f2; width:118px" %)2023-07-14|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 199 +* Reduce the memory usage of web UI 200 +))) 201 +|(% style="background-color:#f2f2f2; width:118px" %)2023-07-16|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 202 +* Fixed the issue of cellular consuming a lot of data 203 +))) 204 +|(% style="background-color:#f2f2f2; width:118px" %)2023-08-01|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 205 +* Fixed the issue of cellular Pinconde settings 206 +))) 207 +|(% style="background-color:#f2f2f2; width:118px" %)2023-08-05|(% style="background-color:#f2f2f2; width:255px" %)draginofwd|(% style="background-color:#f2f2f2; width:383px" %)((( 208 +* Fixed the server connection status detection 209 +))) 210 +|(% style="background-color:#f2f2f2; width:118px" %)2023-10-24|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 211 +* Fixed Uable install Chirpstack 212 +))) 213 +|(% style="background-color:#f2f2f2; width:118px" %)2023-11-06|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 214 +* Add reset data for Chirpstack 215 +))) 216 +|(% style="background-color:#f2f2f2; width:118px" %)2023-11-26|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 217 +* Fixed the issue unable to disable SSH 218 +))) 219 +|(% style="background-color:#f2f2f2; width:118px" %)2023-12-01|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 220 +* Add batch register for Chirpstack 221 +))) 222 +|(% style="background-color:#f2f2f2; width:118px" %)2023-12-05|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 223 +* Fixed basic-station abandonment issue 224 +))) 225 +|(% style="background-color:#f2f2f2; width:118px" %)2023-12-06|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( 226 +* Add cached writes are immediately written to the disk 227 +* Fix the issue that the backup page cannot be downloaded 228 +))) 229 +|(% style="background-color:#f2f2f2; width:118px" %)2023-12-07|(% style="background-color:#f2f2f2; width:255px" %)draginoups|(% style="background-color:#f2f2f2; width:383px" %)((( 230 +* Enable Hardware watchdog from CPU 231 +* Improve TCP link retransmission speed. Improve the Basic Station connection stability. 232 +))) 233 +|(% style="background-color:#f2f2f2; width:118px" %) |(% style="background-color:#f2f2f2; width:255px" %) |(% style="background-color:#f2f2f2; width:383px" %) 234 +|(% style="background-color:#f2f2f2; width:118px" %) |(% style="background-color:#f2f2f2; width:255px" %) |(% style="background-color:#f2f2f2; width:383px" %) 235 + 236 +(% style="display:none" %) 237 + 238 + 239 + 240 +== 3.3 For MS48 == 241 + 242 +(% border="1" cellspacing="5" style="width:774.222px" %) 243 +|(% style="background-color:#d9e2f3; color:#0070c0; width:126px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:252px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:392px" %)**Change Log** 244 +|(% style="background-color:#f2f2f2; width:126px" %)2023-12-28|(% style="background-color:#f2f2f2; width:252px" %)((( 245 +dragino-ui 246 + 247 +draginoups 248 +)))|(% style="background-color:#f2f2f2; width:392px" %)((( 249 +* Fix the LoRa page saved without frequency modification 250 +* Fix Modbus registers with no data 251 + 252 +))) 253 +|(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) 254 +|(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) 255 +|(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) 256 + 257 +== 3.4 For LG01v2 == 258 + 259 + 260 +(% border="1" cellspacing="5" style="width:774.222px" %) 261 +|(% style="background-color:#d9e2f3; color:#0070c0; width:126px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:252px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:392px" %)**Change Log** 262 +|(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) 263 +|(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) 264 + 265 +(% style="display:none" %) 266 + 267 + 268 + 269 +== 3.5 TODO list == 270 + 271 + 272 +* --Solve "DC no in band" issue for Senet Downink in EU868 band.-- 273 +* --Fixed fwd IN865 global configuration.-- 274 +* --Fixed Basic-station no connection after gateway reboot/power cycle.-- 275 +* --Fix GPS time issue-- 276 +* --Online/offline detect and reload improvement for LPS8v2 for UDP Connection.-- 277 +* --Online/offline detect and reload improvement for LPS8v2 for Chirpstack Gateway-Bridge Connection-- 278 +* Fix Redis Memory Leak for build-in TTS 279 +* --Fix AS923 Frequency Band Typo in Web (LPS8v2)-- 280 + 281 +(% style="display:none" %) 282 + 283 + 284 + 285 +== 3.6 Finish list == 286 + 287 + 288 +* Add Fall Back IP to LPS8v2 289 +* Add Login-Authentication 290 + 291 +(% style="display:none" %) 292 + 293 + 294 + 51 51 = 4. Disable OTA Update = 52 52 53 -It is possible for clients to disable OTA update feature. Below is the instruction: 297 + 298 +It is possible for clients to disable the OTA update feature. Below is the instruction: 299 + 300 + 301 +=== LPS8V2: === 302 + 303 +[[image:image-20230830104754-1.png||height="472" width="878"]] 304 + 305 + 306 +=== LPS8/LPS8N/DLOS8/DLOS8N/LG308/LG308N: === 307 + 308 + 309 +* Using Command Line 310 + 311 +(% class="box infomessage" %) 312 +((( 313 +sed -i 's/0 2 \* \* \* \/etc\/init.d\/opkg-update start/\#0 2 \* \* \* \/etc\/init.d\/opkg-update start/g' /etc/crontabs/root 314 + 315 + 316 +/etc/init.d/opkg-update disable 317 +))) 318 + 319 + 320 + 321 +
- image-20230830104754-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoye - Size
-
... ... @@ -1,0 +1,1 @@ 1 +150.9 KB - Content