Commit Graph

652 Commits

Author SHA1 Message Date
David Bauer
7821668445
Merge pull request #2879 from freifunk-gluon/backport-2848-to-v2022.1.x
[Backport v2022.1.x] ath79-generic: switch Wave2 firmware to -ct
2023-05-07 15:20:12 +02:00
Felix Baumann
52dfe84d4a ramips: add support for Cudy X6 v2
(cherry picked from commit 5328f17b09)
2023-05-05 20:10:36 +00:00
Felix Baumann
4d629013bf ramips: add support for Cudy X6 v1
(cherry picked from commit 76ad25f826)
2023-05-05 12:54:14 +00:00
aiyion.prime
47aacffbef ath79-nand: (re)add hiveap-121
Direct migration from 19.07 is currently not possible.

Gone due to
commit 45c84a117b ("ar71xx: drop target")

(cherry picked from commit a18510c09a)
2023-05-02 23:01:32 +00:00
Tom Herbers
e427f0912c ath79-generic: switch Wave2 firmware to -ct
This partially reverts commit 22c47df242.

Devices in ath79-generic like the TP-Link EAP225-Outdoor v1 are really
unstable with the non -ct Wave2 firmware and regulary crash with 100% memory
consumption when only a handful devices are connected via 5 GHz.

closes freifunk-gluon/gluon#2827

(cherry picked from commit 4badb2702e)
2023-04-24 16:53:06 +02:00
Linus Lüssing
f1fa494883 ath79-generic: add LibreRouter v1
add comments about lacking radios
Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
Co-authored-by: Matthias Schiffer <mschiffer@universe-factory.net>

(cherry picked from commit 0cdaeaa0c9)
2023-04-21 20:40:07 +00:00
Florian Maurer
fd15b63789 lantiq-xrx200: add Arcadyan VGV7510KW22 (o2 Box 6431)
update lan, wan separation for o2 6431

(cherry picked from commit f5a41dd3bc)
2023-04-21 17:51:57 +00:00
Jan-Niklas Burfeind
4d955690f5
Merge pull request #2874 from freifunk-gluon/backport-2706-to-v2022.1.x
[Backport v2022.1.x] ath79-generic: add support for Teltonika RUT230 v1
2023-04-21 17:40:05 +02:00
Felix
bfae2e24c3 ramips-mt7621: add Xiaomi Mi Router 3G
Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
fixed commit title

(cherry picked from commit 84a76af866)
2023-04-21 14:04:24 +02:00
David Bauer
6bb60165a2 ath79-generic: add support for Teltonika RUT230 v1
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 7d9d8cb61c)
2023-04-21 11:52:29 +00:00
Jan-Niklas Burfeind
0b516a7e61 realtek-rtl838x: add support for D-Link DGS-1210-10P
as well as the target itself

(cherry picked from commit a8dc234550)
2023-04-20 17:54:19 +00:00
Jan-Niklas Burfeind
0b12f9cb80 generic: try to not attempt to build kmod-usbip
targets without usb-support fail to build without this change

Co-authored-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit e53308b61e)
2023-04-20 17:54:19 +00:00
Maciej Krüger
3335e10363 ipq40xx-mikrotik: add mikrotik-hap-ac2
Co-authored-by: Jan-Niklas Burfeind <github@aiyionpri.me>
(cherry picked from commit 68bec1f0ec)
2023-04-20 15:02:35 +00:00
Richard Fröhning
e3068698f3 targets/ramips-mt76x8: add device TP-Link RE200 V3
Signed-off-by: Richard Fröhning <misanthropos@gmx.de>
(cherry picked from commit 5a6517425b)
2023-04-20 00:44:02 +02:00
aiyion.prime
be2fd8e16e ath79-nand: (re)add WNDR4300v1
Gone due to
commit 45c84a1 ("ar71xx: drop target")

(cherry picked from commit bc09b7ecbb)
2023-04-19 03:55:44 +00:00
Grische
bd343c7388 ipq40xx-generic: add AVM FRITZBox 7520 explicitely
AVM Fritz!Box 7520 and Fritz!Box 7530 use the same hardware platform and can
only be distinguished by using the urlader partition or the fritz-tffs tools
and read the ProductID (Fritz_Box_HW247).

(cherry picked from commit 5888a50cba)
2023-04-16 23:35:42 +00:00
Tom Herbers
63e52a2112 ramips-mt7621: add support for D-Link DAP-X1860 (A1) 2023-04-13 23:54:33 +02:00
David Bauer
46b256d0af ramips-mt7621: add support for Mercusys MR70X v1
Signed-off-by: David Bauer <mail@david-bauer.net>
2023-04-13 23:54:07 +02:00
Steffen Förster
1ef72ba26f ramips-mt7621: add GL.iNet MT1300
The GL-MT1300 is a high-performance new generation pocket-sized router
that offers a powerful hardware and first-class cybersecurity protocol
with unique and modern design.

Specifications:
- SoC: MT7621A, Dual-Core @880MHz
- RAM: 256 MB DDR3
- Flash: 32 MB
- Ethernet: 3 x 10/100/1000: 2 x LAN + 1 x WAN
- Wireless: 1 x MT7615D Dual-Band 2.4GHz(400Mbps) + 5GHz(867Mbps)
- USB: 1 x USB 3.0 port
- Slot: 1 x MicroSD card slot
- Button: 1 x Reset button
- Switch: 1 x Mode switch
- LED: 1 x Blue LED + 1 x White LED

MAC addresses based on vendor firmware:
WAN : factory 0x4000
LAN : Mac from factory 0x4000 + 1
2.4GHz : factory 0x4
5GHz : Mac form factory 0x4 + 1

Flashing instructions:
1.Connect to one of LAN ports.
2.Set the static IP on the PC to 192.168.1.2.
3.Press the Reset button and power the device (do not release the button).
  After waiting for the blue led to flash 5 times, the white led will
  come on and release the button.
4.Browse the 192.168.1.1 web page and update firmware according to web
  tips.
5.The blue led will flash when the firmware is being upgraded.
6.The blue led stops blinking to indicate that the firmware upgrade is
  complete and U-Boot automatically starts the firmware.
2023-04-13 23:53:55 +02:00
github-actions[bot]
34f41c8ce3
ipq40xx: use ath10k-smallbuffers for ZyXEL WRE6606 (#2843)
The WRE6066, has in contrast to other ip40xx devices, has only 128MB system RAM.
This results in OOM situations and instability, to circumvent this we need
to use ath10k-smallbuffers.

Signed-off-by: skorpy <skorpy@frankfurt.ccc.de>
(cherry picked from commit a7a0257f6f)

Co-authored-by: skorpy <skorpy@frankfurt.ccc.de>
2023-04-07 18:33:23 +02:00
github-actions[bot]
6a1f66c51f
ath79-generic: fix WS-AP3705i autoupdater name (#2819)
The device was introduced in #2332 and merged in 102a4b9350.

It appears that the autoupdater name wasn't correct and devices therefore don't receive updates.

root@64295-ggw3-20b399bb366f-132:~# lua -e 'print(require("platform_info").get_image_name())'
enterasys-ws-ap3705i

(cherry picked from commit 24955cce99)

Co-authored-by: Tom Herbers <mail@tomherbers.de>
2023-03-19 22:41:24 +01:00
David Bauer
1b274e64ac ath79-generic: remove workaround
Now that OpenWrt implements a proper fix for the stalled boots on 74kc
boards, the previous workaround can be removed.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit ec57f6c666)
2023-03-08 19:56:00 +01:00
Jan-Niklas Burfeind
e6137d424d Revert "ipq40xx: switch Wave2 firmware to -ct (#2541)"
This is a temporary measure that fixes #2692.

This reverts commit 15ef885836.

(cherry picked from commit 22c47df242)
2023-02-26 14:59:22 +01:00
Sven Eckelmann
73ddf5b453 ath79-generic: Work around boot hang on Unifi AC-Mesh
It looks like boot hangs on an AC-Mesh for unknown reasons. The last
message seen on the console is:

    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)

But interestingly, it seems like enabling AIO somehow works around this
problem. Changing any off the following options seem to have the same
effect at the moment for Linux 5.10.160+5.10.161

    # CONFIG_KERNEL_AIO is not set
    # CONFIG_KERNEL_CGROUPS is not set
    # CONFIG_KERNEL_FANOTIFY is not set
    # CONFIG_KERNEL_FHANDLE is not set
    # CONFIG_KERNEL_IO_URING is not set
    # CONFIG_KERNEL_IPV6_MROUTE is not set
    # CONFIG_KERNEL_IPV6_SEG6_LWTUNNEL is not set
    # CONFIG_KERNEL_IP_MROUTE is not set
    CONFIG_KERNEL_PROC_STRIPPED=y

Just enable CONFIG_AIO until the actual problem was fixed.

Link: https://github.com/freifunk-gluon/gluon/issues/2784

(cherry picked from commit 536c771f3f)
2023-02-22 23:06:49 +01:00
David Bauer
1b547f9181 ramips-mt7621: add support for ZyXEL NWA50AX
(cherry picked from commit 33fa77a760)
2022-10-17 16:06:33 +00:00
David Bauer
81a643476b mpc85xx-p1010: re-enable TP-Link WDR4900
Upstream added a standalone SPI kernel-loader which fixes the unbootable
image for the WDR4900. Thus, we can re-introduce this device to Gluon.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 301443da02)
2022-10-17 12:26:12 +00:00
github-actions[bot]
9667075b54
ath79-generic: Fix autoupdater for Loco M XW from v2021.1.x to v2022.1.x (#2667)
Ubiquiti Nanostation Loco M XW was renamed in v2022.1.x, but the alias to the old name was missing, so devices running the old release did not update.

(cherry picked from commit dc8055682e)

Co-authored-by: goligo <ich@malte.de>
2022-10-12 01:50:40 +02:00
David Bauer
411f6c3859 ipq40xx-generic: add suppot for GL.iNet GL-AP1300 (#2635)
(cherry picked from commit 3ab8007a1e)
2022-09-19 02:27:38 +02:00
David Bauer
8a2fdc502a rockchip-armv8: add support for NanoPi R4S (#2633)
(cherry picked from commit dd30a6e658)
2022-09-19 02:27:30 +02:00
David Bauer
81cf8164d5 ath79-nand: add support for ZTE MF281
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 94249bfa6a)
2022-09-19 02:27:21 +02:00
github-actions[bot]
a6022475ff
ath79-nand: fix upgrade from 19.07 for GL-AR300M (#2641)
Support for the device was (re)added in #2455
(merged as 94e04393b1)

(cherry picked from commit cd37fe5d60)

Co-authored-by: Tom Herbers <mail@tomherbers.de>
2022-09-15 21:33:26 +02:00
Florian Maurer
5da06538b7
ath79-generic: (re)add support for WNDR3800 (#2586) 2022-08-31 01:29:28 +02:00
Christoph Krapp
7a049cfd70
ramips-mt7621: add support for TP-Link RE500 (#2625) 2022-08-31 01:25:26 +02:00
Steffen Förster
680d0c08cb ramips-mt76x8: add support for TP-Link RE305 v1
Specification:

SoC: MediaTek MT7628AN
RAM: 64MiB
Flash: 8MiB
Wifi:
  - 2.4GHz: MT7628AN
  - 5GHz: MT7612EN
LAN: 1x 10/100 Mbps

Flash instructions:
Flash factory image through stock firmware WEB UI.
Back to stock is possible by using TFTP and stripping down the Firmware
provided by TP-Link to a initramfs.

The flash space between 0x650000 and 0x7f0000
is blank in the stock firmware so I left it out as well.
2022-08-30 20:36:59 +02:00
Christoph Krapp
ba69456653
ramips-mt76x8: add support for Netgear R6020 (#2620)
Co-authored-by: Christoph Krapp <christoph.krapp@power.cloud>
2022-08-27 12:56:36 +02:00
J. Burfeind
4873c9341e
ath79-generic: (re)add support for Ocedo Koala (#2606)
Gone due to
commit 45c84a117b ("ar71xx: drop target")
2022-08-16 22:37:42 +02:00
Tom Herbers
357aa96c91
ramips-mt7621: add support for Netgear WAX202 (#2589) 2022-08-13 14:36:44 +02:00
Tom Herbers
b85135467b
ramips-mt76x8: add support for Xiaomi Mi Router 4A (100M International Edition) (#2593) 2022-08-11 02:06:42 +02:00
Lukas Meyer
0acbbaa3cd
ramips-mt7620: add support for Xiaomi Mi Router 3G v2 (#2587) 2022-07-21 19:40:38 +02:00
Andreas Ziegler
534d92efa6
Merge pull request #2582 from AiyionPrime/ath79-migrate-WNR2200
ath79-generic: migrate wnr2200 and add similar variant
2022-07-18 22:14:10 +02:00
Andreas Ziegler
2d763e4008
Merge pull request #2581 from AiyionPrime/ath79-migrate-re450
ath79-generic: (re)add RE450 v1
ath79-generic: (re)add RE355 v1
2022-07-18 22:13:16 +02:00
J. Burfeind
08cbee99f9
ath79-generic: (re)add wzr-hp-g300nh-s (#2551)
Note: Buffalo has introduced hardware changes without bumping the
revision number. 19.07 did not support the rb-variant so there's no need
to implement a migration for the rb-variant.
Every g300nh supported by Gluon should either be the s-variant or
been flashed wrongly.

Gone due to
commit 45c84a117b ("ar71xx: drop target")
2022-07-18 22:11:49 +02:00
aiyion.prime
5deb3aaeff ath79-nand: (re)add WNDR3700v4
Gone due to
commit 45c84a117b ("ar71xx: drop target")
2022-07-17 14:41:13 +02:00
aiyion.prime
76d382772a ath79-nand: add GL.iNet section title 2022-07-17 14:38:54 +02:00
aiyion.prime
ab999b1666 ath79-generic: (re)add RE355 v1
Gone due to
commit 45c84a117b ("ar71xx: drop target")
2022-07-16 12:30:35 +02:00
aiyion.prime
af4129198d ath79-generic: (re)add RE450 v1
Gone due to
commit 45c84a117b ("ar71xx: drop target")
2022-07-16 12:30:30 +02:00
Linus Lüssing
4cbd748e52 ath79-generic: (re)add support for ALFA Network AP121F
Gone due to
commit 45c84a1 ("ar71xx: drop target")

Note that it was wrongly marked as device class tiny in
commit 7fd7116e2a ("targets: add device-class flags") in the past,
the device has 64MB RAM and not 32MB.

Also, the device has no "led-running" assigned in DTS. The device has
three LEDs: "green:vpn", "green:lan" and "green:wlan". The first LED,
"green:vpn", has a "V" icon and was used to show the VPN connection
status in the vendor firmware. This LED will be used via the newly
added "led-boot" fallback in gluon-setup-mode. But will be unused
during normal operation due to the unassigned "led-running" in DTS.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2022-07-10 23:23:39 +02:00
J. Burfeind
11905af169
ath79-generic: (re)add support for UniFi AC Mesh Pro (#2462)
Gone due to
commit 45c84a117b ("ar71xx: drop target")
2022-07-10 23:10:07 +02:00
aiyion.prime
844f1a8665 ath79-generic: add WNR2200-16M
The CN/RU variant of the device has the same hardware
as the EU already supported, but contains a 16M flash chip.
2022-07-10 21:47:54 +02:00
aiyion.prime
b12ea4169a ath79-generic: (re)add WNR2200-8M
Gone due to
commit 45c84a117b ("ar71xx: drop target")

ar71xx only supported the 8M variant
2022-07-10 21:47:48 +02:00