From 8c745698c0ba4354e4260db7c822c529ebe75c38 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Tue, 26 Nov 2024 12:33:14 -0300 Subject: [PATCH 1/5] [chores] Added some ath79-tiny ubiquiti devices --- openwisp_firmware_upgrader/hardware.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/openwisp_firmware_upgrader/hardware.py b/openwisp_firmware_upgrader/hardware.py index dae1cf5..5a17483 100644 --- a/openwisp_firmware_upgrader/hardware.py +++ b/openwisp_firmware_upgrader/hardware.py @@ -290,6 +290,13 @@ 'boards': ('Ubiquiti Nanostation Loco M',), }, ), + ( + 'ath79-tiny-ubnt_nanostation-loco-m-squashfs-sysupgrade.bin', + { + 'label': 'Ubiquiti Nanostation Loco M (OpenWrt, ath79-tiny)', + 'boards': ('Ubiquiti Nanostation Loco M (XM)',), + }, + ), # Nanostation Loco M XW ATH79 ( 'ath79-generic-ubnt_nanostation-loco-m-xw-squashfs-sysupgrade.bin', @@ -339,6 +346,13 @@ 'boards': ('Ubiquiti Nanostation M',), }, ), + ( + 'ath79-tiny-ubnt_nanostation-m-squashfs-sysupgrade.bin', + { + 'label': 'Ubiquiti Nanostation M (OpenWrt ath79-tiny)', + 'boards': ('Ubiquiti Nanostation M (XM)',), + }, + ), # Bullet XW AR71XX ( 'ar71xx-generic-ubnt-bullet-m-xw-squashfs-sysupgrade.bin', @@ -367,6 +381,13 @@ 'boards': ('Ubiquiti Picostation M',), }, ), + ( + 'ath79-tiny-ubnt_picostation-m-squashfs-sysupgrade.bin', + { + 'label': 'Ubiquiti Picostation M (OpenWrt, ath79-tiny)', + 'boards': ('Picostation M (XM)',), + }, + ), # Ubiquiti Unifi ( 'ath79-generic-ubnt_unifi-squashfs-sysupgrade.bin', From 7c84b22b98ba82b4f4e43586bd94e703f42744a1 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Wed, 4 Dec 2024 15:08:09 -0300 Subject: [PATCH 2/5] [chores] Added MikroTik RouterBOARD M33G --- openwisp_firmware_upgrader/hardware.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openwisp_firmware_upgrader/hardware.py b/openwisp_firmware_upgrader/hardware.py index 5a17483..cb87e8a 100644 --- a/openwisp_firmware_upgrader/hardware.py +++ b/openwisp_firmware_upgrader/hardware.py @@ -74,6 +74,10 @@ 'ipq40xx-mikrotik-mikrotik_wap-ac-squashfs-sysupgrade.bin', {'label': 'MikroTik wAP ac', 'boards': ('MikroTik wAP ac',)}, ), + ( + 'ramips-mt7621-mikrotik_routerboard-m33g-squashfs-sysupgrade.bin', + {'label': 'MikroTik RouterBOARD M33G', 'boards': ('RouterBOARD M33G',)}, + ), ( 'brcm2708-bcm2709-rpi-2-ext4-sysupgrade.img.gz', { From 9f971887794192a2f394de76d2eef3935ac64504 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Wed, 4 Dec 2024 15:08:28 -0300 Subject: [PATCH 3/5] [chores] Updated hardware definitions for EdgeRouter, x86, Unifi --- openwisp_firmware_upgrader/hardware.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openwisp_firmware_upgrader/hardware.py b/openwisp_firmware_upgrader/hardware.py index cb87e8a..5e983c7 100644 --- a/openwisp_firmware_upgrader/hardware.py +++ b/openwisp_firmware_upgrader/hardware.py @@ -272,7 +272,7 @@ }, ), ( - 'octeon-erlite-squashfs-sysupgrade.tar', + 'octeon-generic-ubnt_edgerouter-lite-squashfs-sysupgrade.tar', { 'label': 'Ubiquiti EdgeRouter Lite', 'boards': ('Ubiquiti EdgeRouter Lite',), @@ -394,7 +394,7 @@ ), # Ubiquiti Unifi ( - 'ath79-generic-ubnt_unifi-squashfs-sysupgrade.bin', + 'ath79-generic-ubnt_unifi-ap-squashfs-sysupgrade.bin', { 'label': 'Ubiquiti UniFi (OpenWRT 19.07 and later)', 'boards': ('Ubiquiti UniFi', 'Ubiquiti UniFi AP'), @@ -563,14 +563,14 @@ }, ), ( - 'x86-generic-combined-squashfs.img.gz', + 'x86-generic-generic-squashfs-combined.img.gz', { 'label': 'Generic x86/32 bit', 'boards': ('x86',), }, ), ( - 'x86-geode-combined-squashfs.img.gz', + 'x86-geode-generic-squashfs-combined.img.gz', { 'label': 'x86 Geode(TM) Integrated Processor by AMD', 'boards': ('Geode(TM) Integrated Processor by AMD PCS', 'Alix 2D2'), From c82c09422640291dfc68f42656ff06559e6a1f15 Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Wed, 11 Dec 2024 21:11:28 -0300 Subject: [PATCH 4/5] [chores] Fixed routerboard definition --- openwisp_firmware_upgrader/hardware.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openwisp_firmware_upgrader/hardware.py b/openwisp_firmware_upgrader/hardware.py index 5e983c7..5fb35ca 100644 --- a/openwisp_firmware_upgrader/hardware.py +++ b/openwisp_firmware_upgrader/hardware.py @@ -76,7 +76,10 @@ ), ( 'ramips-mt7621-mikrotik_routerboard-m33g-squashfs-sysupgrade.bin', - {'label': 'MikroTik RouterBOARD M33G', 'boards': ('RouterBOARD M33G',)}, + { + 'label': 'MikroTik RouterBOARD M33G', + 'boards': ('MikroTik RouterBOARD M33G',), + }, ), ( 'brcm2708-bcm2709-rpi-2-ext4-sysupgrade.img.gz', From c4ed2047208d0f760092a7706439aeb5b6b53f5c Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Fri, 27 Dec 2024 14:00:41 +0100 Subject: [PATCH 5/5] [chores] Updated TP-Link CPE210 --- openwisp_firmware_upgrader/hardware.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openwisp_firmware_upgrader/hardware.py b/openwisp_firmware_upgrader/hardware.py index 5fb35ca..78c48fa 100644 --- a/openwisp_firmware_upgrader/hardware.py +++ b/openwisp_firmware_upgrader/hardware.py @@ -165,29 +165,29 @@ ( 'ar71xx-generic-cpe210-220-v1-squashfs-sysupgrade.bin', { - 'label': 'TP-LINK CPE210 v3 (OpenWrt 19.07 and earlier)', - 'boards': ('TP-LINK CPE210 v1', 'TP-LINK CPE220 v1'), + 'label': 'TP-Link CPE210 v1 (OpenWrt 19.07 and earlier)', + 'boards': ('TP-Link CPE210 v1', 'TP-LINK CPE220 v1'), }, ), ( 'ath79-generic-tplink_cpe210-v2-squashfs-sysupgrade.bin', { - 'label': 'TP-LINK CPE210 v2 (OpenWrt 19.07 and later)', - 'boards': ('TP-LINK CPE210 v2',), + 'label': 'TP-Link CPE210 v2', + 'boards': ('TP-Link CPE210 v2',), }, ), ( 'ath79-generic-tplink_cpe210-v3-squashfs-sysupgrade.bin', { - 'label': 'TP-LINK CPE210 v3 (OpenWrt 19.07 and later)', - 'boards': ('TP-LINK CPE210 v3',), + 'label': 'TP-Link CPE210 v3', + 'boards': ('TP-Link CPE210 v3',), }, ), ( 'ath79-generic-tplink_cpe510-v3-squashfs-sysupgrade.bin', { - 'label': 'TP-LINK CPE510 v3 (OpenWrt 19.07 and later)', - 'boards': ('TP-LINK CPE510 v3',), + 'label': 'TP-Link CPE510 v3', + 'boards': ('TP-Link CPE510 v3',), }, ), (