Wiki source code of OTA Auto Update For Gateway Firmware
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **Table of Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | = 1. What is OTA and how it works = | ||
10 | |||
11 | |||
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 | |||
14 | In below case, gateway will connect to Dragino server to check for updates: | ||
15 | |||
16 | * Every reboot | ||
17 | * Every midnight (~~UTC time: 12:00) | ||
18 | |||
19 | = 2. Support hardrware & Software = | ||
20 | |||
21 | |||
22 | {{velocity}} | ||
23 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
24 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
25 | {{/velocity}} | ||
26 | |||
27 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1146px" %) | ||
28 | (% class="sortHeader" %)|=(% style="width: 319px;" %)Models|=(% style="width: 224px;" %)Devices Type|=(% style="width: 286px;" %)OS, CPU Info|=(% style="width: 171px;" %)Firmware requirement|=(% style="width: 136px;" %)OTA Update Detail | ||
29 | |(% style="width:319px" %)((( | ||
30 | [[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]] | ||
31 | )))|(% style="width:224px" %)LoRaWAN Gateway|(% style="width:286px" %)((( | ||
32 | * Linux OS: OpenWrt, | ||
33 | * CPU: 400MHz, | ||
34 | * Flash: 16MB, RAM: 64MB | ||
35 | )))|(% style="width:171px" %)((( | ||
36 | ((( | ||
37 | |||
38 | ))) | ||
39 | )))|(% style="width:136px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] | ||
40 | |(% style="width:319px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:224px" %)LoRaWAN Gateway|(% style="width:286px" %)((( | ||
41 | * Linux OS: Armbian, | ||
42 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
43 | * RAM: 512MB | ||
44 | * eMMC: 4GB | ||
45 | )))|(% style="width:171px" %)((( | ||
46 | |||
47 | )))|(% style="width:136px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] | ||
48 | |(% style="width:319px" %)[[LG01v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/244-lg01v2.html]]|(% style="width:224px" %)Single Channel LoRa Gateway|(% style="width:286px" %)((( | ||
49 | * Linux OS: Armbian, | ||
50 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
51 | * RAM: 512MB | ||
52 | * eMMC: 4GB | ||
53 | )))|(% style="width:171px" %)((( | ||
54 | |||
55 | )))|(% style="width:136px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] | ||
56 | |||
57 | = 3. OTA Update Change Log = | ||
58 | |||
59 | == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == | ||
60 | |||
61 | |||
62 | (% border="1" cellspacing="5" style="background-color:#f7faff; width:544px" %) | ||
63 | |(% style="width:106px" %)**Date**|(% style="width:183px" %)**Main Packages**|(% style="width:251px" %)**Change Log** | ||
64 | |(% style="width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="width:183px" %)dragino_gw_fwd-2.6.0|(% style="width:251px" %)Basic versions | ||
65 | |(% style="width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="width:183px" %)haserl_ui-1.2.1|(% style="width:251px" %)Basic versions | ||
66 | |(% style="width:106px" %)22-09-16|(% style="width:183px" %)dragino_gw_fwd-2.6.1|(% style="width:251px" %)Add lora global_config file for zn | ||
67 | |(% style="width:106px" %)22-11-16|(% style="width:183px" %)dragino_gw_fwd-2.6.3|(% style="width:251px" %)Optimize recycling threads | ||
68 | Optimize log output | ||
69 | |||
70 | == 3.2 For LPS8Nv2 == | ||
71 | |||
72 | |||
73 | (% border="1" cellspacing="5" style="background-color:#f7faff; width:791.222px" %) | ||
74 | |(% style="width:110px" %)**Date**|(% style="width:236px" %)**Main Packages**|(% style="width:441px" %)**Change Log** | ||
75 | |(% style="width:110px" %)2022-10-23|(% style="width:236px" %)draginofwd-22-10-23|(% style="width:441px" %)Fix i2c interface error ( for FWD) | ||
76 | |(% style="width:110px" %)2023-01-06|(% style="width:236px" %)((( | ||
77 | dragino-httpd | ||
78 | |||
79 | dragino-ui | ||
80 | |||
81 | draginoups | ||
82 | )))|(% style="width:441px" %)((( | ||
83 | Add Login-Authentication | ||
84 | |||
85 | Add system/general page | ||
86 | |||
87 | Add the fallback interface | ||
88 | ))) | ||
89 | |(% style="width:110px" %)2023-01-10|(% style="width:236px" %)dragino-ui|(% style="width:441px" %)((( | ||
90 | Add timezone setting | ||
91 | |||
92 | Add Static IP setting with WLAN | ||
93 | |||
94 | Add the http/ssh port setting | ||
95 | |||
96 | Optimized built-in server updates | ||
97 | |||
98 | Fix the basic station display with the EUI | ||
99 | |||
100 | |||
101 | ))) | ||
102 | |(% style="width:110px" %)2023-02-08|(% style="width:236px" %)dragino-ui|(% style="width:441px" %)((( | ||
103 | add the edit the address of fallback | ||
104 | |||
105 | Add Static IP setting with ETH | ||
106 | ))) | ||
107 | |(% style="width:110px" %)2023-02-16|(% style="width:236px" %)armbian-bsp-cli-draginohp0z|(% style="width:441px" %)*Optimization Auto Update | ||
108 | *Add the docker cache clean | ||
109 | |||
110 | |(% style="width:110px" %) |(% style="width:236px" %) |(% style="width:441px" %) | ||
111 | |||
112 | == 3.3 For LG01v2 == | ||
113 | |||
114 | |||
115 | (% border="1" cellspacing="5" style="background-color:#f7faff; width:550px" %) | ||
116 | |(% style="width:116px" %)**Date**|(% style="width:186px" %)**Main Packages**|(% style="width:244px" %)**Change Log** | ||
117 | |(% style="width:116px" %) |(% style="width:186px" %) |(% style="width:244px" %) | ||
118 | |(% style="width:116px" %) |(% style="width:186px" %) |(% style="width:244px" %) | ||
119 | |||
120 | == 3.4 TODO list == | ||
121 | |||
122 | |||
123 | * Solve "DC no in band" issue for Senet Downink in EU868 band. | ||
124 | * Fixed fwd IN865 global configuration. | ||
125 | * Fixed Basic-station no connection after gateway reboot/power cycle. | ||
126 | |||
127 | == 3.5 Finish list == | ||
128 | |||
129 | |||
130 | * Add Fall Back IP to LPS8v2 | ||
131 | * Add Login-Authentication | ||
132 | |||
133 | = 4. Disable OTA Update = | ||
134 | |||
135 | |||
136 | It is possible for clients to disable OTA update feature. Below is the instruction: | ||
137 | |||
138 | |||
139 | |||
140 | |||
141 | |||
142 | |||
143 |