Compare commits

...

113 Commits

Author SHA1 Message Date
Felix Baumann
4d629013bf ramips: add support for Cudy X6 v1
(cherry picked from commit 76ad25f826)
2023-05-05 12:54:14 +00:00
David Bauer
3174a9290a
Merge pull request #2884 from freifunk-gluon/backport-2552-to-v2022.1.x
[Backport v2022.1.x] ath79-nand: (re)add hiveap-121
2023-05-04 19:54:22 +02: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
David Bauer
e01e66e716
Merge pull request #2881 from herbetom/v2022.1.x-updates
[v2022.1.x]: modules: update to latest HEAD
2023-04-30 14:09:30 +02:00
Tom Herbers
258df6c848
modules: update packages
7d7663dc1 newt: Update to 0.52.23
f64aaa69a dnsproxy: Update to 0.49.1
5d3fc9c5b dnsproxy: Update to 0.49.0
bd2cebf65 xray-core: Update to 1.8.1
f0128ce98 v2ray-core: Update to 5.4.1
4e7f27b21 obfs4proxy: Update to 0.0.14
698132112 php8: update to 8.1.18
ec321e666 curl: update to 8.0.1
2023-04-28 01:00:53 +02:00
Tom Herbers
d13bdc2c76
modules: update openwrt
3960c220da OpenWrt v22.03.5: revert to branch defaults
863f769b75 OpenWrt v22.03.5: adjust config defaults
5f15225c1e ramips: reduce Archer AX23 / MR70X SPI-frequency
c1ccae54ce ccache: update to 4.6.3
80653f0c07 tools/ccache: update to 4.6.2
eeff8b3be1 tools/ccache: update to 4.6.1
31b1366bc6 ramips: fix lzma-loader for buffalo_WSR_600DHP
bf81a92171 ath79: create Aruba AP-105 APBoot compatible image
b6cbab1ad7 openssl: fix CVE-2023-464 and CVE-2023-465
2023-04-28 01:00:53 +02:00
Jan-Niklas Burfeind
fcfed5b0b6
Merge pull request #2877 from freifunk-gluon/backport-2654-to-v2022.1.x
[Backport v2022.1.x] ath79-generic: add LibreRouter v1
2023-04-22 00:03:15 +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
Jan-Niklas Burfeind
52cfe1c0df
Merge pull request #2876 from freifunk-gluon/backport-2595-to-v2022.1.x
[Backport v2022.1.x] targets/lantiq-xrx200: add device Arcadyan VGV7510KW22 aka o2 Box 6431
2023-04-21 20:09:11 +02: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
Jan-Niklas Burfeind
e9a9d0150d
Merge pull request #2875 from freifunk-gluon/backport-2738-to-v2022.1.x
[Backport v2022.1.x] ramips-mt7621: add Xiaomi Mi Router 3G
2023-04-21 17:39:30 +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
e9dcefee59
Merge pull request #2873 from freifunk-gluon/backport-2707-to-v2022.1.x
[Backport v2022.1.x] realtek-rtl838x: add support for D-Link DGS-1210-10P
2023-04-21 00:07:49 +02: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
Jan-Niklas Burfeind
daa00748ea
Merge pull request #2872 from freifunk-gluon/backport-2712-to-v2022.1.x
[Backport v2022.1.x] ipq40xx-mikrotik: add mikrotik-hap-ac2
2023-04-20 18:08:11 +02: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
Jan-Niklas Burfeind
7f3824ffac
Merge pull request #2871 from AiyionPrime/backport-2700-to-v2022.1.x
[Backport v2022.1.x] targets/ramips-mt76x8: add device TP-Link RE200 V3
2023-04-20 13:30:49 +02: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
Jan-Niklas Burfeind
1005cdd1fd
Merge pull request #2869 from freifunk-gluon/backport-2554-to-v2022.1.x
[Backport v2022.1.x] ath79-nand: (re)add WNDR4300v1
2023-04-19 22:21:05 +02:00
Matthias Schiffer
d6f46a4ea5
Merge pull request #2861 from maurerle/backport-migrate-fritz7360-v2
backport-v2022.1.x - xrx200: migrate fritz7360-v2 using incorrect image
2023-04-19 21:51:56 +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
Andreas Ziegler
039c5c38f4
Merge pull request #2863 from freifunk-gluon/backport-2681-to-v2022.1.x
[Backport v2022.1.x] ipq40xx-generic: add AVM FRITZBox 7520 explicitely
2023-04-19 01:38:27 +02: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
David Bauer
4cb1d45e19
Merge pull request #2851 from freifunk-gluon/v2022.1.x-backports
v2022.1.x ramips-mt7621 hardware backports
2023-04-17 00:10:52 +02:00
Andreas Ziegler
223d25ba4a
Merge pull request #2859 from blocktrron/v2022.1.x-updates
[v2022.1.x] modules: bump to latest HEAD
2023-04-16 23:21:16 +02:00
Grische
48e2b236de
xrx200: migrate fritz7360-v2 using incorrect image
Migrate AVM FRITZ!Box 7360 v2 boards flashed with the incorrect v1 image to use
the newly added v2 target image during the next upgrade.
Using the v2 target image allows the boards to read the TFFS partition, which
is misaligned when using the v1 image.

Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
(cherry picked from commit e4ec16d9cd)
2023-04-16 22:00:52 +02:00
David Bauer
5361bcbabd modules: update gluon
a5259c0 autoupdater: improve handling of interrupted HTTP requests
e4bd7a4 autoupdater: uclient: fix segfault after interrupted HTTP request
5521926 autoupdater: uclient: remove early returns from get_url()
2023-04-16 16:22:11 +02:00
David Bauer
8705a4cff9 modules: update packages
891299822 ruby: update to 3.0.6
93bd5fad3 htop: update to 3.2.2
42b5ae640 golang: Update to 1.19.8
be3a2dce9 lighttpd: update to lighttpd 1.4.69 release hash
ad2f6fd4c lighttpd: remove patch included upstream
6e07b2816 lighttpd: add lighttpd-mod-webdav_min package
e5a1e8bef lighttpd: collect mods now built into lighttpd exe
9116a5880 lighttpd: fix meson build
aa6df20e5 lighttpd: remove patch included upstream
64cdc76c0 lighttpd: update to lighttpd 1.4.68 release hash
0d66dc36c lighttpd: modify build cmd for type: feature opts
8bcfb64a5 lighttpd: add lighttpd-mod-rrdtool dep on rrdtool1
0c0fd4bbd lighttpd: lighttpd-1.4.67-4
10c8bee8c lighttpd: document crypto lib options in Makefile
fb17428a1 cloudflared: Update to 2023.4.0
235acacf0 borgbackup: bump to 1.2.4
31f36e5b2 borgbackup: add missing dependencies
3d12ac7e7  banip: update 0.8.3-2
81a57cdc1  banip: release 0.8.3-1
9b81bca1b v2raya: Update to 2.0.5
bab4d7ebf apinger: add rrd graph support
e5c7e5021 apinger: improve uci and procd support
87c46fde9 rrdtool: update PKG_SOURCE_URL
38cb01297 dnsproxy: Update to 0.48.3
1fd9cbcf9 yq: Update to 4.33.2
93b973f51 nano: make nanorc world readable
12bef946f zoneinfo: updated to the latest release
630603042 node: bump to v16.20.0
2023-04-16 16:22:11 +02:00
David Bauer
ecbd7a3b6d modules: update openwrt
074db57936 kernel: backport fix for recently introduced UBI bug
9af29da281 uclient: update to Git version 2023-04-13
1d4db4e4db OpenWrt v22.03.4: revert to branch defaults
94adc23fa6 OpenWrt v22.03.4: adjust config defaults
38ccc47687 imagebuilder: allow to specific ROOTFS_PARTSIZE
deafcf9162 ramips: define remapping-range for DAP-X1860
711e45e158 ramips: add support for D-Link DAP-X1860 A1
2a4a6372d3 ramips: lower re305-v3 spi-max-frequency
50d707e344 lantiq: fix lzma-loader for Netgear DGN 3500(B)
fea7478f2d iproute2: add missing libbpf dependency
b2db4fa956 ath79: tiny: Do not build TPLink WPA8630Pv2 by default
c6b6cab858 ramips: mt7621: mikrotik 760igs (hEX S) fix SFP
2faa7ff09e openssl: fix variable reference in conffiles
0636d6b925 ath79: use lzma-loader for Senao initramfs images
70d2e8b4db ath79: Fix glinet ar300m usb not working
9aaeaa8d2a toolchain: musl: Fix symbol loading in gdb
99fddbe4fd wireless-regdb: update to 2023.02.13
f677302cc4 build: fix for sourcing targets image config installed via feeds
50d37b0b37 ramips: rt5350: enable lzma-loader for ALLNET ALL5003
13d3fb3c20 bpf-headers: fix package category
7531ef7f1c sdk: expose PATENTED an NLS build options
4ed98849a5 ksmbd: update to 3.4.7
51cf5aa731 hostapd: add missing return code for the bss_mgmt_enable ubus method
d2f3422e9d kernel: filter out pahole version
5030620db6 dnsmasq: add dhcphostsfile to ujail sandbox
066ac40c29 netifd: strip mask from IP address in DHCP client params
354ad1084a lantiq: nand: don't yield while holding spinlock
6035401f46 mac80211: fix invalid calls to drv_sta_pre_rcu_remove
fc1750b305 ramips: mt7621: ASUS RT-AX53U add NMBM, nest firmware
85b6a7a195 ramips: Alternative name Asus RT-AX1800U for Asus RT-AX53U
a3fbeb2cbb ramips: add missing LEDs to Asus RT-AX53U
21a121af80 uboot-envtools: add support for ramips Asus RX-AX53U
3014c694da ramips: add support for read/write uboot env to Asus RX-AX53U
ff22a20922 comgt: ncm: support Mikrotik R11e-LTE6 modem
5909b6c886 comgt: add quirk for Mikrotik modems based on Mikrotik R11e-LTE6
05ec70f6ae kernel: add support for XMC XM25QH64C
541be7ddb2 ath79: Refresh patches
2023-04-16 16:22:11 +02: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
Andreas Ziegler
8673e67370
Merge pull request #2834 from freifunk-gluon/backport-2832-to-v2022.1.x
[Backport v2022.1.x] docs: readd TP-Link TD-W8970 v1
2023-04-13 23:46:20 +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
Andreas Ziegler
8ca311cf0a
Merge pull request #2836 from blocktrron/v2022.1.x-updates
[v2022.1.x] modules: update to latest HEAD
2023-04-01 02:01:56 +02:00
David Bauer
21b3b46a41 modules: update routing
b8e0831 bird1: fix "Form token mismatch" errors in luci-app-bird1-ipv{4,6}
3d7df59 bird1: rename get_bool() to get_a_bool() in bird{4,6}-lib.sh
4e0e702 bird1-openwrt: fix Makefile issues
58a4a00 bird1-openwrt: use a single Makefile for IPv4 and IPv6 packages
2023-03-31 14:00:11 +02:00
David Bauer
508dec4d89 modules: update packages
391e18067 banip: update to 0.8.2-6
9748c394d banip: update to 0.8.2-5
5ae16a7a6 yq: Update to 4.33.1
e9b65e5d7 dnsproxy: Update to 0.48.2
7894fd057 dnsproxy: Update to 0.48.1
8a8c51a92 dnsproxy: Update to 0.48.0
b2c3f2d13 natmap: update to 20230322
7852691b8 banip: update to 0.8.2-4
9fb40dbb8 banip: update to 0.8.2-3
33431b63b sqlite3: Update to 3.41.1
0d566071c adblock: update to 4.1.5-7
05262f346 yq: Update to 4.32.2
245d3479c cloudflared: Update to 2023.3.1
bf9bafd2c v2raya: Update to 2.0.4
66816f0f6 banip: push 0.8.2-2 to stable branch
07e032ee1 v2ray-geodata: Update to latest version
869e5573c xray-core: Update to 1.8.0
b13728e6a strongswan: add fix for CVE-2022-40617
eb4966e54 golang: Update to 1.19.7
b1f684f01 miniupnpd: bump to 2.3.3
1f1bfff84 php8: update to 8.1.16
fe75545e6 gphoto2: fix compilation with BUILD_NLS
19347485a mv88e6xxx_dump: update to 2023.03.08
ae7dd67aa simple-adblock: update init file and config
4ee651287 crowdsec: update to 1.4.6 Update crowdsec to latest upstream release version 1.4.6
6c78413ed frp: update to 0.48.0
4ab4523f7 frp: update to 0.47.0
90749ee59 v2raya: switch to use nftables
70bfe06bb perl-ack: Update to 3.7.0
b53d4f03f v2ray-core: Update to 5.4.0
acddc2050 crowdsec-firewall-bouncer: update to 0.0.25
3c59f514b yt-dlp: update to 2023.3.4
3e3650bc9 curl: add lang/perl-www-curl/patches/230-curl_7.88_compat.patch
009b2d005 curl: update to 7.88.1
2023-03-31 14:00:11 +02:00
David Bauer
94731839c8 modules: update openwrt
c2331038b2 kernel: remove obsolete netfilter tcp window size check bypass patch
4ae854d055 mac80211, mt76: add fixes for recently discovered security issues
b573a785e0 ncm: add error check and retry mechanism for gcom call
f61c5cf76b kernel: bump 5.10 to 5.10.176
a4212b77c0 kernel: bump 5.10 to 5.10.175
6b19d24254 kernel: bump 5.10 to 5.10.174
24d84a13a4 kernel: bump 5.10 to 5.10.173
36bf158b47 kernel: tcindex classifier has been retired
999cb9574f x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE
a88c65507d kernel: bump 5.10 to 5.10.172
cb91aa4b29 kernel: bump 5.10 to 5.10.170
26cc831e44 kernel: bump 5.10 to 5.10.169
28e5045f3a bcm4908: include usbport trigger
836e3d1e5e bcm4908: backport v6.4 pending DTS changes
b7c031d933 ipq40xx: Linksys MR8300: fix the USB port power
0170bc1af1 ramips: mt7621: enable lzma-loader for AFOUNDRY EW1200
96e3fee7ad ramips: fix 5g mac for TOTOLINK X5000R
f5db04e8ea ramips: add support for Mercusys MR70X
c58959dc45 firmware-utils: tplink-safeloader: add Mercusys MR70X
c1bfb704b1 ramips: fix Archer AX23  WiFi MAC address conflict
3c6692ba03 ramips: add support for TP-Link Archer AX23 v1
a507243bfe firmware-utils: tplink-safeloader: add TP-Link Archer AX23 v1
788a0cf15c mpc85xx: add support for Watchguard Firebox T10
2023-03-31 14:00:11 +02:00
Felix Baumann
8b2cc206d3 docs: readd TP-Link TD-W8970 v1
This device is already supported.
It's a lantiq device that was entered as ar71xx
in to the list of supported device and therefore
removed before the release of Gluon 22.

(cherry picked from commit 95e5d382ec)
2023-03-31 11:30:52 +00: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
Andreas Ziegler
fd4afb613a
Merge pull request #2812 from blocktrron/v2022.1.x-updates
[v2022.1.x] modules: update to latest HEAD
2023-03-10 03:52:40 +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
David Bauer
033a3b971a modules: update routing
cc1dd76 bird2: bump to version 2.0.12
83bc4fc babeld: remove AUTORELEASE
59bc28b babeld: update to 1.12.2
2023-03-08 19:54:11 +01:00
David Bauer
53c0710a5e modules: update packages
3ea3a0657 haproxy: update to v2.4.22
f06652bc1 v2raya: drop wrong patches
b6fab0750 yq: Update to 4.31.2
614680d93 yq: Update to 4.31.1
781be9731 cloudflared: Update to 2023.3.0
889028f86 cloudflared: Update to 2023.2.2
4b630ba72 sed: remove old libpcre dependency
3e2c1336a msgpack-c: Update to 5.0.0
43ae97707 golang: Update to 1.19.6
692052b8c node: bump to v16.19.1
2fcba9a46 zerotier: update to 1.10.3
651c73467 git: update to 2.34.7
656835201 https-dns-proxy: 2022-10-15-11 update
0790a0626 cloudreve: Update to 3.7.1
11780f597 gg: Update to 0.2.18
a4393e648 dnsproxy: Update to 0.47.0
2ccdd6d27 kcptun: update to version 20230207
48d58b61c simple-adblock: bugfix: ensure directory for jsonFile is created
b0050dc7f simple-adblock: implement procd_boot_wan_timeout support
fc70290d5 adblock: update 4.1.5-6
1e59e5d12 snowflake: update to v2.5.1
c13c734e3 django: bump to version 4.0.10
d3c9e5200 irqbalance: Add upstream fix for AARCH64 irq name parsing
f38c9e1d2 simple-adblock: update to 1.9.4-1
1c0d2ce41 adblock: update 4.1.5-5
669357351 v2ray-geodata: Update to latest version
04af31728 v2ray-core: Update to 5.3.0
6c13c9363 xray-core: Update to 1.7.5
bfe92ef86 cloudflared: Update to 2023.2.1
ce1d359a7 cloudflared: Update to 2023.1.0
5b8e61edb php8: update to 8.1.15
65b1563d0 xfrpc: update to version 2.1.606
30b0a36c7 xfrpc: Update to 1.11.587
3f023d5af xfrpc: allow server_addr ip and domain
028345fa9 xfrpc: Update to 1.07.582
9167756cb xfrpc: update to 1.06.579
ff4c824e2 xfrpc: set xfrpc's disabled default value to 0
74ed1a15a xfrpc: fix bug of xfrpc.init
8b80ad3b9 xfrpc: update to 1.05.561
b266107c3 xfrpc: Update to 1.05.548
ef5cacd4e xfrpc: fast reverve proxy client in c language
97c38b456 simple-adblock: update to 1.9.3-7
a13b1a64d ci: update github actions to v3
7abfee2e8 ci: Use openwrt/gh-action-sdk@v5
02e95fdef autossh: return from instance function, not exit the script
76ba43711 autossh: Add dropbear proxy (-J) support
09ae01170 mv88e6xxx_dump: add new packages to debug switch issues
1497ef515 bind: update to 9.18.11
2023-03-08 19:54:08 +01:00
David Bauer
32a00f808d modules: update openwrt
0a32f66fea generic: remove patch for unused kernel version
ea6fb9c16d generic: MIPS: Add barriers between dcache & icache flushes
7b05a8d05d kernel: fix mtk dsa tag padding
cfce8ab388 kernel: can: fix MCP251x CAN controller module autoload
55a48b0957 kernel: bump 5.10 to 5.10.168
a66e53d8ed kernel: bump 5.10 to 5.10.167
3167f7c9fa openssl: bump to 1.1.1t
f7541aecdc bpf: ignore missing LLVM bins on package for non compile steps
98b8507e83 bpf: check llvm version only when used
7370479224 at91: sam9x,sama5: fix racy SD card image generation
52564e65d5 at91: sama7: fix racy SD card image generation
863288b49d mac80211: Update to version 5.15.92-1
71cbc95111 kernel: bump 5.10 to 5.10.166
3fd3d99e3a ramips: mt7621-dts: fix phy-mode of external phy on GB-PC2
212c3ffdfc octeontx: add sqaushfs and ramdisk to features
2601873cc5 ath79: add LTE packages for GL-XE300
2702ef9427 ath79: add label-mac-device for GL-XE300
0657576ce1 ath79: add LTE led for GL.iNet GL-XE300
428d720c7f kernel: backport some mv88e6xxx devlink patches
83a13b74f5 kernel: bump 5.10 to 5.10.165
10c79414db kernel: bump 5.10 to 5.10.164
15b9c02d6c kernel: bump 5.10 to 5.10.163
a8025bc2c2 kernel: bump 5.10 to 5.10.162
2023-03-08 19:54:02 +01:00
Andreas Ziegler
43954dd165
Merge pull request #2807 from freifunk-gluon/release-notes/v2022.1.3
docs: Add v2022.1.3 release notes
2023-03-04 22:35:09 +01:00
Jan-Niklas Burfeind
f0a617786c
docs, README: Gluon v2022.1.3 2023-03-03 16:30:03 +01:00
Jan-Niklas Burfeind
190d7f8701
docs: Add v2022.1.3 release notes 2023-03-03 16:13:18 +01:00
Andreas Ziegler
4f8f6e7585
Merge pull request #2800 from AiyionPrime/backport-2799-to-v2022.1.x
[Backport v2022.1.x] Revert "ipq40xx: switch Wave2 firmware to -ct (#2541)"
2023-02-27 00:23:45 +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
Andreas Ziegler
b5d90719cb
Merge pull request #2798 from freifunk-gluon/backport-2792-to-v2022.1.x
[Backport v2022.1.x] gluon-core:  sleep to wait for device initialisations
2023-02-26 00:22:12 +01:00
Andreas Ziegler
1cafcde91c gluon-core: sleep a few seconds during upgrade
wait for device initialisations
workaround for a timing issue during first boot on ath79-generic
after sysupgrade from ar71xx-generic image

GitHub Issue: #2779

(cherry picked from commit d97673f715)
2023-02-25 23:10:58 +00:00
Matthias Schiffer
06df8b7aa1
Merge pull request #2795 from FreifunkVogtland/war-ath79-hang
[Backport v2022.1.x] ath79-generic: Work around boot hang on Unifi AC-Mesh
2023-02-23 21:42:20 +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
2751daa655
Merge pull request #2773 from blocktrron/v2022.1.2-release-notes
Gluon v2022.1.2 Release Notes
2023-01-29 23:32:00 +01:00
David Bauer
1b4bffbde7 docs, readme: Gluon 2022.1.2 2023-01-29 21:18:28 +01:00
David Bauer
f000a605cd docs: add Gluon 2022.1.2 release notes 2023-01-29 21:18:28 +01:00
David Bauer
e491ba3ca4
Merge pull request #2770 from blocktrron/v2022.1.x-updates
[v2022.1.x] update modules
2023-01-28 23:00:46 +01:00
David Bauer
ad145f356a modules: update routing
74948d5 opennds: Release v9.10.0
2023-01-28 15:14:50 +01:00
David Bauer
358aef234a modules: update packages
4cb3303d5 nextdns: Update to version 1.39.4
7a756db00 python3: bump to version 3.10.9
bcd299d0c bash: update to version 5.2.15
080466064 pbr: bugfix: fix is_domain()
994dbb785 php8: update to 8.1.14
47fb67e5e v2ray-core: Update to 5.2.1
dc39bbef1 atlas-sw-probe: add more binaries
73cbdbc82 python-docutils: bump to version 0.19
328e64835 frp: update to 0.46.1
02b33536b frp: update to 0.46.0
5ba2c1314 nano: update to 7.2
05844d909 git: update to 2.34.6
2023-01-28 15:14:48 +01:00
David Bauer
4a578512e6 modules: update openwrt
ddeeb35007 mac80211: use 802.11ax iw modes
1f32774ded kernel: mtk-bmt: fix usage of _oob_read
28e1770a3b tools/mkimage: build uboot with NO_SDL=1
1bead4c521 lantiq: xrx200: Fix wifi LED on o2 box 6431
2023-01-28 15:14:39 +01:00
David Bauer
33ad749fae
Merge pull request #2764 from blocktrron/v2022.1.x-updates
[2022.1.x] modules: update to latest HEAD
2023-01-19 09:21:49 +01:00
David Bauer
a3e3cc7d71 modules: update packages
b4198d7ac xray-core: Update to 1.7.2
057cadb08 yq: Update to 4.30.8
1ae5d856c yq: Update to 4.30.7
37d658ce6 boinc-wrapper: add new package
b31bcb053 python-requests: update URL
28d0c75dd netperf: use git tarball
716c76b1d bc: use @DEBIAN
8e02db2d7 python-exceptiongroup: bump to 1.1.0
d8632f16d borgbackup: bump to 1.2.3
215b235c7 snowflake: update to 2.4.2
4e9dcb98f miredo: add miredo.conf conffile
2023-01-18 23:45:08 +01:00
David Bauer
e2d5df3d36 modules: update openwrt
9a12afc5e7 mbedtls: move source modification to patch
c1a26341ab Revert "toolchaini/gcc: fix libstdc++ dual abi model"
2023-01-18 23:44:58 +01:00
Martin Weinelt
13053bf6bc
Merge pull request #2761 from blocktrron/v2022.1.x-updates
[2022.1.x] modules: update to latest HEAD
2023-01-17 20:45:31 +00:00
David Bauer
d8724b0a6d modules: update routing
1a87333 bird2: bump to version 2.0.11
0fb5e3c opennds: Release v9.9.1
d9cd6ef batman-adv: Merge bugfixes from 2022.3
2023-01-17 15:57:23 +01:00
David Bauer
ff8737bb16 modules: update packages
9e9eb8240 pbr: update to 1.0.1-14
2417b74fc atlas-sw-probe: update to version 5080
18fa44a14 golang: Update to 1.19.5
e81ff3fcc atlas-probe: update to 2.6.3
3232bd049 simple-adblock: update sed for allowing domains
360bce6f3 xz: update to version 5.4.1
68d3d099b docker-compose: Update to version 2.15.1
2feedb1e2 speedtestpp: drop libxml2 dependency
df3799fe0 yt-dlp: update to 2023.1.6
69a8305f7 ocserv: disable libmaxminddb detection
5234dc93b knot: disable libmaxminddb detection
709172c95 python-pytz: bump to version 2022.7
0d346fe7f bind: disable geoip
e4a7f86bf docker-compose: Update to version 2.15.0
f709ba1ee stubby: Restart on interface trigger
4ff16a7bf stubby: Update to 0.4.3
8038868ba getdns: Update to 1.7.3
4b30c97b5 libtorrent-rasterbar: Update to 2.0.8
db78655bb syncthing: update to 1.23.0
f8cd48207 libmaxminddb: install pkgconfig file
55222315f libmaxminddb: update to 1.7.1
27db10b96 AdGuardHome: update to v0.107.21
2048c5bbf libnetwork: Update to dcdf8f1 for Docker v20.10.22
b7500ff2d containerd: Update to v1.6.13 for Docker v20.10.22
27e985f32 docker: Update to v20.10.22
7426365de dockerd: Update to v20.10.22
511de74ce owntone: Update to 28.5
90c25ab10 owntone: update to 28.4
94a947f1c mxml: update to 3.3.1
b5fd276fd docker-compose: Update to version 2.14.2
5c9215b20 docker-compose: Update to version 2.14.1
7bd647a50 docker-compose: Update to version 2.14.0
dad5db7a2 docker-compose: Update to version 2.12.2
d3d580daa docker-compose: Update to version 2.12.0
ec76dce13 docker-compose: Update to version 2.11.2
3d9f6f2fa docker-compose: Update to version 2.11.1
8353f504a docker-compose: Update to version 2.11.0
41ab6565b docker-compose: Update to version 2.10.2
e65d20aee docker-compose: Update to version 2.9.0
0aff8059f docker-compose: Update to version 2.7.0
3846dc1f4 docker-compose: Update to version 2.6.1
a749254bd docker-compose: Update to version 2.6.0
66f07e340 docker-compose: Update to version 2.5.1
01d6208e5 docker-compose: Update to version 2.5.0
1900774ad docker-compose: Update to version 2.4.1
07647d822 docker-compose: Update to version 2.4.0
7dc695f35 docker-compose: Update to version 2.3.4
5b32db43f telnet-bsd: add package
60af04fa4 domoticz: update to 2022.1
801c00193 bind: update to version 9.18.10
82a4e7a46 golang: backport an upstream fix for non-retpoline-compatible error
01406a6ca v2ray-geodata: Update to latest version
17d72277e v2ray-core: Update to 5.2.0
c5a51a440 xray-core: Update to 1.7.0
5f5d9ddf6 rclone: Update to 1.61.1
c2f2b6977 cloudreve: Update to 3.6.2
02a6ad64d xray-core: Update to 1.6.6-2
2d059c5d9 yq: Update to 4.30.6
334c598b1 dnsproxy: Update to 0.46.5
bb646b65f dnslookup: Update to 1.8.1
5c9ffc34d cloudflared: Update to 2022.12.1
58b61913d natmap: update to 20221225
f6db13442 natmap: fix service not stopped when disabled in luci
4b9641eea natmap: add Package/conffiles
e4fc50644 libarchive: add missing CONFLICT
a139b554c libarchive: fix CVE-2022-36227
ab468882d libarchive: update to 3.5.3
2023-01-17 15:57:23 +01:00
David Bauer
5961575c33 modules: update openwrt
807483d336 dosfstools: switch to AC_CHECK_LIB
3bc6d2af76 tools/dosfstools: fix PKG_SOURCE
c0b4303d2e toolchaini/gcc: fix libstdc++ dual abi model
aa5023b9cd scripts/dl_github_archieve.py: fix generating unreproducible tar
e88e0ace7a ksmbd: Fix ZDI-CAN-18259
aca915e847 ksmbd: update to 3.4.6
4b7f9e42e2 lantiq-xrx200: fix wan LED on o2 box 6431
7c10b7b6f0 CI: build: fix external toolchain use with release tag tests
b08e1e978c OpenWrt v22.03.3: revert to branch defaults
221fbfa2d8 OpenWrt v22.03.3: adjust config defaults
43d71ad93e mac80211: Do not build brcmsmac on bcm47xx_legacy
181390f57d uml: fix 5.10 build
1fd2f9f7be kernel: Add missing kernel configuration options
8446d22aaa gdb: Do not link against xxhash
558aa1f482 odhcpd: fix null pointer dereference for INFORM messages
af4f635eed ipq40xx: sysupgrade: allow flashing Linksys factory firmware
4bda308657 base-files: stage2: add 'tail' to sysupgrade environment
2f1b73b70d treewide: Trigger reinstall of all wolfssl dependencies
77e2a24e62 wolfssl: update to 5.5.4-stable
158a33591d mbedtls: update to version 2.28.2
b23cab2fcf toolchain: gcc: import patch fixing asm machine directive for powerpc
6be9e3e636 kernel: remove hack patch, move kirkwood specific kmods to target modules.mk
b1722a048a kernel: bump 5.10 to 5.10.161
cdce4a0bfa uhttpd: update to latest Git HEAD
2023-01-17 15:57:23 +01:00
David Bauer
9b840d1d87
Merge pull request #2740 from freifunk-gluon/v2022.1.x-modules-bump
[v2022.1.x] modules: update to latest in master
2023-01-01 23:14:00 +01:00
Andreas Ziegler
c82fc9616b
modules: update packages
91312dbde node: bump to v16.19.0
8445e9361 Merge pull request #20160 from stangri/openwrt-22.03-pbr
1478867e5 pbr: bugfix: Makefile, rt_tables fix
6c1d003fe Merge pull request #20154 from ysc3839/natmap-fix-2203
a426a62da natmap: add forward_port option
3730093bc Merge pull request #20114 from stangri/openwrt-22.03-pbr
8e9b85daf pbr: update to 1.0.1-1
40714e889 mwan3: make mwan3.user executable
d0a0fcad8 mwan3: update to 2.11.3
0dedc2059 mwan3: only send disconnected event if interface was connected before
8d1f90b7b mwan3: change log message on already added route
c70e2ad39 mwan3: support offload routing modifier
d8a77e90f mwan3: Switch default track_ip targets from Google DNS to Cloudflare DNS
33e0c6b20 mwan3: fix balanced default config
09604ee3e golang: Update to 1.19.4
694026540 privoxy: fix preinst/postinst script indentation
c54148631 tailscale: preserve tailscaled state file
f553dab19 knot: update to version 3.2.4
bf124d380 yt-dlp: update to 2022.11.11
91ca31025 perl: enable threading support for aarch64 by default
1f3b5ba00 lxc-auto: made init script compatible with image builder
ac64d8809 igmpproxy: update to version 0.4.0
e9bc14cf3 apr-util: disable parallel build
9481f437a python3-pytz: bump to version 2022.6
ea8cfdf02 nano: update to 7.1
4cd549b1e Merge pull request #20017 from commodo/stress-ng-update-22.03
cde7af980 wget: apply upstream fix to avoid nettle linking in nossl
e3a60c072 wget: update to 1.21.3
80443fc66 stress-ng: disable xxhash & libegl stressors
54a387fb9 Merge pull request #20063 from stangri/openwrt-22.03-pbr
9b29ac76a syncthing: update to 1.22.2
c4e6977a0 Merge pull request #20077 from stangri/openwrt-22.03-simple-adblock
6b6776ab5 Merge pull request #20073 from luizluca/22.03/ruby-3.0.5
cabc98c44 simple-adblock: bugfix: add dnsmasq.nftset to uci_load_validate
43c05fbed ruby: update to 3.0.5
c6ac63b5c pbr: detect missing iptables
e4813f4fe Merge pull request #20053 from stangri/openwrt-22.03-https-dns-proxy
8dc325222 https-dns-proxy: fix restart
2075769c4 Merge pull request #20043 from stangri/openwrt-22.03-https-dns-proxy
598197373 Merge pull request #20051 from stangri/openwrt-22.03-simple-adblock
1c6c8cee4 simple-adblock: support new OISD dnsmasq config
04eadf860 dnsproxy: Update to 0.46.4
f5547cfde cloudflared: Update to 2022.11.1
4962ad8e8 https-dns-proxy: add mdns service records
4abdc2f33 github-ci: error on any shell errors
8506ba587 Merge pull request #20033 from peter-stadler/openwrt-22.03
798fe3f59 django: bump version 4.0.8
ce3e9d4b4 natmap: merge "ipv4" and "ipv6" options into single "family" option
0393a5c19 snowflake: update to version 2.4.1
ec2fbd57e natmap: add new package
f6a688776 xz: update to 5.2.9
b1b1281da xz: update to 5.2.7
ed99f2f00 xz: update to 5.2.6
bdc161a07 tailscale: Update to version 1.32.3
26dabd374 tailscale: update to v1.32.0
023fe9700 Merge pull request #20010 from stangri/openwrt-22.03-pbr
fda81981b adguardhome: bump to 0.107.18
aa61ca8bf AdGuardHome: update to v0.107.16
acb201a0a AdGuardHome: update to v0.107.12
820bcedfd AdGuardHome: update to v0.107.11
3352cf56d Merge pull request #20003 from mhei/22.03-php8-update-8.1.13
12bc0789a btrfs-progs: Update to version 6.0.1
7e75519ac libgpg-error: copy gpg-error.pc to staging directory
c38abeb95 gnupg: compile with -fcommon
6d14306a6 privoxy: fix postinst missing $
7c1b94bb1 privoxy: correctly format /etc/services additions
a505d6f26 golang: update to v1.19.3
e0238d309 golang: update to v1.19.2
b90c80aae pbr: initial commit
e5083a9db Merge pull request #19994 from stangri/openwrt-22.03-simple-adblock
6b21bd34f borgbackup: add package for 1.2.2
5a7ecd11e python-pyfuse3: add package for 3.2.2
bdf7a73cb python-trio: add package for 0.22.0
e2b1c2cd4 python-sniffio: add package for 1.3.0
e029bdb32 python-outcome: add package for 1.2.0
dd9ff1b6c python-async-generator: add package for 1.10
f0a093701 python-exceptiongroup: add package for 1.0.4
0310a6edf python-sortedcontainers: add package for 2.4.0
c5877bd65 xxhash: add package for 0.8.1
452681ea7 samba4: support both user map and valid users on same time
6de7a04c4 lighttpd: lighttpd.conf vars, comments, guidance
bc6431a94 lighttpd: print stderr trace if validation fails
cf8ce7a4e php8: update to 8.1.13
e057ed882 v2raya: backports upstream fixes and add 3 new options
fe96d64b8 v2ray-geodata: Update to latest version
a8858d1e3 xray-core: Update to 1.6.5
85a0f22ca yq: Update to 4.30.5
f19180a1d libqmi: bump to 1.30.8
6cf7648bd simple-adblock: localizable error/warning messages
a99116f20 Merge pull request #19988 from stangri/openwrt-22.03-simple-adblock
d59f56bb6 Merge pull request #19986 from stangri/openwrt-22.03-https-dns-proxy
91b205481 librespeed-go: add new package
2e7ce8a23 simple-adblock: bugfix: detect dnsmasq ipset support
80dd929bf https-dns-proxy: improve performance on restart
6f405bd56 pdns-recursor: update to 4.7.4
11d749180 liburing: Update to v2.3
17b54726d liburing: Update to v2.2
44781b792 ices: Update to 2.0.3
198459abe gphoto2: update to 2.5.28
b7c43947f libgphoto2: update to 2.5.30
a02a11f68 syncthing: update to 1.22.1
fdd9f725a syncthing: update to 1.20.1
94f709720 syncthing: add stdiscosrv and strelaysrv
8e7192b9b tvheadend: update to git master 2022-11-20
8a0333ed7 knot: update to version 3.2.3
0e190e5cd cloudflared: Update to 2022.11.0
beb67db2e Merge pull request #19957 from stangri/openwrt-22.03-https-dns-proxy
714075bb6 ooniprobe: Update to 3.16.5
0de8e969e unbound: update to 1.17.0
7e25e745f librespeed-cli: rename binary to librespeed-cli
dfdf74ef9 rclone: Update to 1.60.1
e769b3fdb gg: Update to 0.2.15
bee5b07c6 sqlite3: Update to 3.40.0
554f0aed0 https-dns-proxy: update Makefile package descrition
03b41dbb5 xray-core: Update to 1.6.4
dcb6389f2 nextdns: Update to version 1.38.0
ee07ea15c Merge pull request #19901 from stangri/openwrt-22.03-simple-adblock
ffa5f4db8 nano: update to 7.0
20d5a2216 bcp38: migrate to nftables
fd3e15543 yq: Update to 4.30.4
b7166a81f frp: update to 0.45.0
b2081557f ariang: update to 1.3.2
5c1e58973 Revert "openthread-br: new package"
553d07845 simple-adblock: update to 1.9.3-1
71e8e63a3 yq: Update to 4.30.2
bf8a6584f yq: Update to 4.30.1
67b2ba78e rsync: update to 3.2.7
6fb9da0cd rsync: incorporate upstream fixes
0c4379d16 rsync: bump to 3.2.6
a74d1b82e zerotier: update to 1.10.2
8aec58f78 irqbalance: update to 1.9.2
fc62b59a9 gg: Update to 0.2.14
5423b2d10 v2ray-geodata: Update to latest version
ddc4edc5b xray-core: Update to 1.6.3
27dd30aad openthread-br: new package
bf2eb2333 golang: update to version 1.18.8
4f15ecf5e Merge pull request #19871 from blocktrron/qcsuper-2203
48fc50950 qcsuper: add package
3e63425d7 python-pycrate: add package
2466b3c0d python-crcmod: add package
c2b7f86a8 ffmpeg: libffmpeg-full package should provide libffmpeg package, too
419f67377 Merge pull request #19861 from stangri/openwrt-22.03-simple-adblock
2f7a640bc simple-adblock: update to 1.9.2-4
c5974e7d1 xray-core: Update to 1.6.2
b639d7b43 Merge pull request #19835 from mhei/22.03-php8-update-to-8.1.12
458836e6c pulseadio: fix conffiles for pulseadio-daemon-avahi package
01cb4fc41 hub-ctrl: trim trailing spaces
3f4cc35d1 announce: trim trailing spaces
58b48b2df knot: update to version 3.2.2
8a106f066 pulseaudio: change homepage URLs to freedesktop.org
58a5e8a5e pulseaudio: use AUTORELEASE variable
05be550e7 pulseaudio: daemons should conflict to each other
6a4b1d195 pulseaudio: simplify and rework Makefile
e8c169693 luaexpat: trim trailing spaces
8f85f8984 squid: trim trailing space
8ff324419 mini_snmpd: trim trailing spaces
1fcbe2d6e lynx: trim trailing space
e4a3e0d94 librespeed-cli: add package
503e3a0e3 zoneinfo: updated to the latest release
db2989ebc zoneinfo: updated to the latest release
de77e2320 zoneinfo: updated to the latest release
cb7fe299f mpd: depend the full variant on pulseaudio instead of pulseaudio-daemon
6b8c90260 Merge pull request #19793 from stangri/openwrt-22.03-curl-7.86.0
1b384f4c4 Merge pull request #19710 from stangri/openwrt-22.03-simple-adblock
341e50de0 Merge pull request #19708 from stangri/openwrt-22.03-https-dns-proxy
4d8a00e54 php8: update to 8.1.12
1f71809d6 cloudflared: Update to 2022.10.3
18854f6f8 rclone: Update to 1.60.0
81b355ec5 yq: Update to 4.29.2
58bd7b001 curl: bugfix: building as selected package doesn't break build
cc160ea8d curl: update to 7.86.0
6f4e73287 python3-pytz: bump to version 2022.5
0bca5e2a0 curl: include nls.mk
56380fb01 dnsproxy: Update to 0.46.2
1acc8e3e7 v2ray-geodata: Update to latest version
ab97e3d50 xray-core: Update to 1.6.1
a1fbaa704 xray-core: remove orphan xray-geodata definition
0b68bfd6c node: bump to v16.18.0
f916e3426 ffmpeg: add conflicts and provides
f7d592607 bandwidthd: fix time_t problem Fixes issue #19510 with the change in time_t with musl 1.2
ddc4edc5b xray-core: Update to 1.6.3
27dd30aad openthread-br: new package
bf2eb2333 golang: update to version 1.18.8
4f15ecf5e Merge pull request #19871 from blocktrron/qcsuper-2203
48fc50950 qcsuper: add package
3e63425d7 python-pycrate: add package
2466b3c0d python-crcmod: add package
c2b7f86a8 ffmpeg: libffmpeg-full package should provide libffmpeg package, too
419f67377 Merge pull request #19861 from stangri/openwrt-22.03-simple-adblock
2f7a640bc simple-adblock: update to 1.9.2-4
c5974e7d1 xray-core: Update to 1.6.2
b639d7b43 Merge pull request #19835 from mhei/22.03-php8-update-to-8.1.12
458836e6c pulseadio: fix conffiles for pulseadio-daemon-avahi package
01cb4fc41 hub-ctrl: trim trailing spaces
3f4cc35d1 announce: trim trailing spaces
58b48b2df knot: update to version 3.2.2
8a106f066 pulseaudio: change homepage URLs to freedesktop.org
58a5e8a5e pulseaudio: use AUTORELEASE variable
05be550e7 pulseaudio: daemons should conflict to each other
6a4b1d195 pulseaudio: simplify and rework Makefile
e8c169693 luaexpat: trim trailing spaces
8f85f8984 squid: trim trailing space
8ff324419 mini_snmpd: trim trailing spaces
1fcbe2d6e lynx: trim trailing space
e4a3e0d94 librespeed-cli: add package
503e3a0e3 zoneinfo: updated to the latest release
db2989ebc zoneinfo: updated to the latest release
de77e2320 zoneinfo: updated to the latest release
cb7fe299f mpd: depend the full variant on pulseaudio instead of pulseaudio-daemon
6b8c90260 Merge pull request #19793 from stangri/openwrt-22.03-curl-7.86.0
1b384f4c4 Merge pull request #19710 from stangri/openwrt-22.03-simple-adblock
341e50de0 Merge pull request #19708 from stangri/openwrt-22.03-https-dns-proxy
4d8a00e54 php8: update to 8.1.12
1f71809d6 cloudflared: Update to 2022.10.3
18854f6f8 rclone: Update to 1.60.0
81b355ec5 yq: Update to 4.29.2
58bd7b001 curl: bugfix: building as selected package doesn't break build
cc160ea8d curl: update to 7.86.0
6f4e73287 python3-pytz: bump to version 2022.5
0bca5e2a0 curl: include nls.mk
56380fb01 dnsproxy: Update to 0.46.2
1acc8e3e7 v2ray-geodata: Update to latest version
ab97e3d50 xray-core: Update to 1.6.1
a1fbaa704 xray-core: remove orphan xray-geodata definition
0b68bfd6c node: bump to v16.18.0
f916e3426 ffmpeg: add conflicts and provides
f7d592607 bandwidthd: fix time_t problem Fixes issue #19510 with the change in time_t with musl 1.2
1cebcd66f atlas-probe: fix SIGSEGV error on 32bit system
ea7a0739a samplicator: update to latest master commit 2021-10-11
b4d1b8424 libwebsockets: fix recursive dependency
b2727bbe0 simple-adblock: rename wan6_trigger option
fa567eef0 https-dns-proxy: rename options
fefd89f77 libwebsockets: OpenSSL and mbedTLS variants should conflict
21ac9491f libwebsockets: full variant provides OpenSSL
deefa58a8 lighttpd: backport patch to fix dummy Sec-WebSocket-Key
5caff2eca Merge pull request #19700 from stangri/openwrt-22.03-https-dns-proxy
944a36af4 Merge pull request #19697 from stangri/openwrt-22.03-simple-adblock
54f3c8444 mariadb: Drop unused rundir fix socket dir perms
6f49212bc https-dns-proxy: add version information to binary
0be9e78c0 simple-adblock: service_triggers improvements
14125f800 Merge pull request #19692 from stangri/openwrt-22.03-https-dns-proxy
2022-12-30 01:53:27 +01:00
Andreas Ziegler
b85a9c54d5
modules: update openwrt
6c3e16055a kernel: backport ksmbd security fix ZDI-22-1690
275c51bf40 Revert "image-commands.mk: Be consistent in command invocation"
fec4fb3a56 sunxi: remove frequency for NanoPi R1
51a763ab0f arm-trusted-firmware-sunxi: drop CPE ID
377d805887 trusted-firmware-a.mk: use correct CPE ID
f30414c56d kernel: bump 5.10 to 5.10.160
47ac52a7c4 ath79: image: don't depend on other COMPILE targets
da79da3ac1 image: fix device profile specific COMPILE targets
9aa95bbebb rules: fix broken commitcount on alpine system
fcff234fd8 image-commands.mk: Be consistent in command invocation
be7b97d873 sunxi: fix typo in device packages for MarsBoard A10
709351bf32 kernel: Make KERNEL_MAKEOPTS recursively expanded
3b066a6581 lantiq: vr9: include usb driver for fritz 7430
39dcfcd987 wolfssl: fix build with /dev/crypto
e51f3a22aa toolchain: Update glibc 2.34 to recent HEAD
298d2d0412 Revert "mbedtls: import patch to fix illegal instruction on mpc85xx"
3de4572ed3 tools/ccache: fix build with musl and gcc 12
8e43a44f08 rpcd: update to latest Git HEAD
f43ceb60d5 iwinfo: update to latest Git HEAD
31baecb70e iwinfo: update to the latest version
f34c4a950e iwinfo: update to the latest version
9b7a3e1a5e iwinfo: update to the latest version
ce881873c0 kernel: add missing dependency to KERNEL_RPI_AXIPERF
7ccb4c6651 kernel: add missing symbol for bcm27xx
b18a0d0b92 generic: add support for EON EN25QX128A spi nor flash
d909fb1d3b kernel: bump 5.10 to 5.10.159
e5cec69484 kernel: bump 5.10 to 5.10.158
3a58bda06b kernel: bump 5.10 to 5.10.157
ee2341cac6 kernel: add symbol in generic config for 5.10.157
bc64ca15d4 kernel: kmod-net-rtl8192su: Remove package
b1204ce28c umbim: Allow roaming and partner connections
15bc6b23c7 kernel: further cleanup of xfrm[4|6]_mode*
6e396eff1a kernel: remove handling of xfrm[4|6]_mode_* modules
78fc12ddd0 kernel: fix typo for tegra crypto-sha1 module
4408f7d564 kernel: add kmod-btsdio package
6b2c445b88 kernel: remove CONFIG_MMC_BLOCK_BOUNCE
aef33ab13a ath79: fix Teltonika RUT230 v1 MAC assignment
6cd1035d8d ramips: add support for Wavlink WS-WN572HP3 4G
3f7ce4bd40 comgt-ncm: add support for quectel modem EC200T-EU
03ab5a60da realtek: update GPIO bindings for DGS-1210-10P
63fde4607c ustream-ssl: update to Git version 2022-12-07
1c174fe0ba CI: kernel: don't checkout and install feeds
385f78780c CI: build: skip sdk adapt to external toolchain on cache hit
8be50c369b CI: build: fix use of sdk as toolchain
1af58a2d39 ramips: mt7621: enable lzma-loader for ZyXEL WAP6805
8fbf03690e ramips: mt7621: enable lzma-loader for netis WF2881
282dd271ad kernel: ca8210: Fix crash by zero initializing data
1a0f2c3a3e e2fsprogs: Fix CVE-2022-1304
1285938d2c bcm4908: Refresh kernel patches
eb639e54fc ucode: update to latest Git HEAD
9b6dcf322b mvebu: disable also wrt32x due to broken switch
69ed96fba8 kernel: netconsole: add network console logging support
1f9bf1ee82 kernel: kmod-isdn4linux: Remove package
a3dee42206 kernel: kmod-w1-slave-ds2760: Remove package
2a1bf860f3 kernel: kmod-rtc-pt7c4338: Remove package
a0bae2fef8 mvebu: cortexa9: disable devices using broken mv88e6176 switch
309a6f22ba CI: trigger check also on build and check-kernel-patches workflow change
ec9ca325c0 CI: build: fix matching for openwrt release branch for toolchain parsing
63a2ea5470 CI: fix matching for openwrt release branch for container selection
9db78a7e86 CI: build: add support to fallback to sdk for external toolchain
47519a574c CI: build: add support for external toolchains from stable branch
05c3ee608f CI: build: add support for per branch tools container
f3cb0cfdf9 CI: tools: support per branch tools container
5fc4182f1e CI: Build all boards and testing kernel
31fb360f57 CI: Allow building with internal toolchain
e74479d559 CI: Extract the OpenWrt building to own sub workflow
b7e2e14912 CI: Simplify if conditions
8ac2cf6de9 CI: packages.yml: Fix usage of pre-build tools
db347be0b3 CI: packages: Add github CI job to build all packages
99524d49b4 CI: kernel: fix deprecation of set-output
de29c8bda7 ci: kernel: trigger build check on changes in kernel.mk as well
b93a59352f CI: kernel: check if patch are refreshed for each target
d070707379 CI: bump actions/download,upload-artifact action to v3
69414201ae CI: bump actions/checkout action to v3
8c4e39eb08 CI: kernel: generate ccache cache on kernel push
6c3e16055a kernel: backport ksmbd security fix ZDI-22-1690
275c51bf40 Revert "image-commands.mk: Be consistent in command invocation"
fec4fb3a56 sunxi: remove frequency for NanoPi R1
51a763ab0f arm-trusted-firmware-sunxi: drop CPE ID
377d805887 trusted-firmware-a.mk: use correct CPE ID
f30414c56d kernel: bump 5.10 to 5.10.160
47ac52a7c4 ath79: image: don't depend on other COMPILE targets
da79da3ac1 image: fix device profile specific COMPILE targets
9aa95bbebb rules: fix broken commitcount on alpine system
fcff234fd8 image-commands.mk: Be consistent in command invocation
be7b97d873 sunxi: fix typo in device packages for MarsBoard A10
709351bf32 kernel: Make KERNEL_MAKEOPTS recursively expanded
3b066a6581 lantiq: vr9: include usb driver for fritz 7430
39dcfcd987 wolfssl: fix build with /dev/crypto
e51f3a22aa toolchain: Update glibc 2.34 to recent HEAD
298d2d0412 Revert "mbedtls: import patch to fix illegal instruction on mpc85xx"
3de4572ed3 tools/ccache: fix build with musl and gcc 12
8e43a44f08 rpcd: update to latest Git HEAD
f43ceb60d5 iwinfo: update to latest Git HEAD
31baecb70e iwinfo: update to the latest version
f34c4a950e iwinfo: update to the latest version
9b7a3e1a5e iwinfo: update to the latest version
ce881873c0 kernel: add missing dependency to KERNEL_RPI_AXIPERF
7ccb4c6651 kernel: add missing symbol for bcm27xx
b18a0d0b92 generic: add support for EON EN25QX128A spi nor flash
d909fb1d3b kernel: bump 5.10 to 5.10.159
e5cec69484 kernel: bump 5.10 to 5.10.158
3a58bda06b kernel: bump 5.10 to 5.10.157
ee2341cac6 kernel: add symbol in generic config for 5.10.157
bc64ca15d4 kernel: kmod-net-rtl8192su: Remove package
b1204ce28c umbim: Allow roaming and partner connections
15bc6b23c7 kernel: further cleanup of xfrm[4|6]_mode*
6e396eff1a kernel: remove handling of xfrm[4|6]_mode_* modules
78fc12ddd0 kernel: fix typo for tegra crypto-sha1 module
4408f7d564 kernel: add kmod-btsdio package
6b2c445b88 kernel: remove CONFIG_MMC_BLOCK_BOUNCE
aef33ab13a ath79: fix Teltonika RUT230 v1 MAC assignment
6cd1035d8d ramips: add support for Wavlink WS-WN572HP3 4G
3f7ce4bd40 comgt-ncm: add support for quectel modem EC200T-EU
03ab5a60da realtek: update GPIO bindings for DGS-1210-10P
63fde4607c ustream-ssl: update to Git version 2022-12-07
1c174fe0ba CI: kernel: don't checkout and install feeds
385f78780c CI: build: skip sdk adapt to external toolchain on cache hit
8be50c369b CI: build: fix use of sdk as toolchain
1af58a2d39 ramips: mt7621: enable lzma-loader for ZyXEL WAP6805
8fbf03690e ramips: mt7621: enable lzma-loader for netis WF2881
282dd271ad kernel: ca8210: Fix crash by zero initializing data
1a0f2c3a3e e2fsprogs: Fix CVE-2022-1304
1285938d2c bcm4908: Refresh kernel patches
eb639e54fc ucode: update to latest Git HEAD
9b6dcf322b mvebu: disable also wrt32x due to broken switch
69ed96fba8 kernel: netconsole: add network console logging support
1f9bf1ee82 kernel: kmod-isdn4linux: Remove package
a3dee42206 kernel: kmod-w1-slave-ds2760: Remove package
2a1bf860f3 kernel: kmod-rtc-pt7c4338: Remove package
a0bae2fef8 mvebu: cortexa9: disable devices using broken mv88e6176 switch
309a6f22ba CI: trigger check also on build and check-kernel-patches workflow change
ec9ca325c0 CI: build: fix matching for openwrt release branch for toolchain parsing
63a2ea5470 CI: fix matching for openwrt release branch for container selection
9db78a7e86 CI: build: add support to fallback to sdk for external toolchain
47519a574c CI: build: add support for external toolchains from stable branch
05c3ee608f CI: build: add support for per branch tools container
f3cb0cfdf9 CI: tools: support per branch tools container
5fc4182f1e CI: Build all boards and testing kernel
31fb360f57 CI: Allow building with internal toolchain
e74479d559 CI: Extract the OpenWrt building to own sub workflow
b7e2e14912 CI: Simplify if conditions
8ac2cf6de9 CI: packages.yml: Fix usage of pre-build tools
db347be0b3 CI: packages: Add github CI job to build all packages
99524d49b4 CI: kernel: fix deprecation of set-output
de29c8bda7 ci: kernel: trigger build check on changes in kernel.mk as well
b93a59352f CI: kernel: check if patch are refreshed for each target
d070707379 CI: bump actions/download,upload-artifact action to v3
69414201ae CI: bump actions/checkout action to v3
8c4e39eb08 CI: kernel: generate ccache cache on kernel push
303b784cc8 build: harden GitHub workflow permissions
b3e8d58151 Revert "build: harden GitHub workflow permissions"
431875b3df CI: kernel: use ccache to speedup workflow
8bbaa486cb CI: tools: compile tools with ccache support for tools container
c2df98c49c CI: Add workaround for github uppercase usernames
daeb367dc1 CI: use tools:latest container to speedup kernel workflow
fccf42cb05 CI: create Docker container containing compiled tools
047e68adb1 CI: use buildbot container for building
a69b9a8962 ci: show build failures directly in job log output
f2fb3ffd71 ci: move scripts into separate directory
7ff1477b3d CI: package kmods in kernel workflow
2f9b35624d CI: kernel: Cache external toolchain
1f13c8cd24 CI: kernel: Build all kernel modules
c3ed9f36ee CI: kernel: Checkout feeds from github
0987df4af1 CI: kernel: Show used OpenWrt configuration
f7affcd614 CI: kernel: Use downloads.cdn.openwrt.org
0f71cf7ab6 CI: kernel: Trigger workflow for more directories
586be47078 CI: run inside the buildbot docker container
0e46907ff5 CI: add Kernel compile tests
119c6573c4 CI: usability improvements for tools
ac7b1c8e94 build: handle directory with whitespace in AUTOREMOVE clean
439e19de96 scripts/ext-tools: introduce new script to install prebuilt tools
d419136ad5 build: make find_md5 reproducible with AUTOREMOVE
be2da47ced ath79: expand rootfs for DIR-825-B1 with unused space
087a2a4691 mac80211: Update to version 5.15.81
83c70346ac base-files: support "metric" in board.json
5167bcf2fc kernel: update U-Boot nvmem driver to v6.2 release version
bf1c4f1eba bcm4908: update DTS files with the latest changes
44fad4b1f6 bcm4908: fix Asus GT-AX6000 image
c45f44165b bcm4908: use upstream patches for Asus GT-AC5300 LEDs
7d63c39bf4 CI: labeler: fix wrong label for pr targeting stable branch
e516c31e14 CI: add support to tag pr targeting stable branch
8b95e14e32 Revert "CI: Add release/22.03 label to all pull requests"
ce1de42096 layerscape: Fix SPI-NOR issues with vendor patches
a704216259 mt76: move the mt7921 firmware to its own package
e7497d1083 CI: Add release/22.03 label to all pull requests
c43b5e71b8 CI: labeler: target major version of labeler action
008e9a335d build: harden GitHub workflow permissions
c7757810fc CI: include automatic Pull Request Labeler
2b5154214c ipq40xx: luma_wrtq-acn329: swap ethernet MAC addresses
68add5f364 ath79: mikrotik: use OpenWrt loader for initram image
a907c20340 kernel: add kmod-hwmon-sht3x support
a4af427d80 procd: service: pass all arguments to service
106fedd9ed ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4
8040f74f8d tools/patch: apply patch for EACCES on xattr copy
eda395a5e0 wolfssl: update to v5.5.3
0b22e87db0 ath79: D-Link DIR-825 B1 add factory.bin recipe
de6c3cca4d mbedtls: import patch to fix illegal instruction on mpc85xx
302ef2137d mt76: add firmware package for mt7916
844de50b7b ath79: disable image building for Ubiquiti EdgeSwitch 8XP
af0c128368 lantiq: add 6.1 tag to upstream patch
a4e8ff5ab4 lantiq: enable interrupts on second VPEs
dca73263a4 lantiq: xrx200: backport upstream network fixes
078bdc1856 kernel: bump 5.10 to 5.10.156
b7388191a5 kernel: bump 5.10 to 5.10.155
61e1f6541d kernel: modules: package Marvell gigE PHY driver
64da7c8af7 bcm27xx: fix CI build after config refresh
3564c22e46 bcm27xx: disable duplicate sdhost driver
353e468f47 kernel: support "linux,rootfs" DT property for splitting rootfs
b66037f53b bcm53xx: update DTS files with the latest changes
58a73b1135 kernel: improve description of NTFS kernel packages
932378aeb6 kernel: backport support for "linux,rootfs" in DT
af20d9d03b kernel: split out mtd hack for CONFIG_FIT_PARTITION + rootfs
8c1f8f9978 ipq40xx: ZTE MF286D: fix DEVICE_PACKAGES
54dc60e71d generic: fix unset symbol
c837fc9cdb kernel: bump 5.10 to 5.10.154
bbad2ee4de kernel: bump 5.10 to 5.10.153
d2ae7613b5 ramips: improve compatibility for Youku YK-L2 and YK-L1 series
9155d40513 ramips: gl-mt1300: downclock SPI to 50MHz
ca124d2e4b ramips: mt7621: use seama-lzma-loader for D-Link DIR-860L B1
fafc9448ae ramips: rt3883: use seama-lzma-loader for D-Link DIR-645
292d3f00c7 ramips: define lzma-loader recipe for SEAMA devices
d25e1a3bde ath79: fix MAC address assignment for TP-Link ar7241 devices
7fa6351310 tools/expat: update to 2.5.0
8122aa92fd ath79: add support for Linksys EA4500 v3
1133a8f805 ath79: add support to TrendNet TEW-673GRU
5725b773b4 qoriq: fix typo in FEATURES
615dbec223 mac80211: fix mesh airtime link metric estimation
a26f7e61e8 mac80211: fix issues with receiving small STP packets
bfeffb8aed mac80211: fix decap offload for stations on AP_VLAN interfaces
88c43b5887 hostapd: remove invalid dtim_period option processing
4628e7ae4d ramips: backport TP-Link RE200 v3/v4 LED fix
1d095c1d43 strace: replace PKG_CPE_ID
d84cf62000 strace: update to 5.19
8650f77314 strace: add nls.mk
0b80a7da58 strace: update to 5.18
faf9d20a21 strace: update to 5.17
e95b359eaa kernel: netsupport: Add FQ-PIE as an optional sched kmod and extract PIE
051c24c69a kernel: extract kmod-sched-act-ipt from kmod-sched
23ccc71c61 kernel: netsupport: Extract act_police
3ca45248fd kernel: netsupport: Add kmod-sched-act-sample
7ee55d82fc kernel: netsupport: Extract sched-prio and sched-red
31fd96bdbd kernel: netsupport: Add kmod-sched-drr
c61ed09228 kernel: netsupport: kmod-sched: Reorder packages
26b58991b0 ipq40xx: fix ZTE MF289F port mapping
71178a8506 ipq40xx: Fix wrong GPIO for internal status LED on ZTE MF289F
3e15a54bb0 ipq40xx: Add ZTE MF289F
7a77aacb31 uboot-envtools: Fix format of autogenerated sectors
b3b3428a0e openssl: bump to 1.1.1s
e313cd8d15 uboot-layerscape: adjust LS1012A-IOT config and env
77522d4eb7 dnsmasq: Backport DHCPv6 server fix (CVE-2022-0934)
13bd217821 busybox: awk: fix use after free (CVE-2022-30065)
fe5cd3c9d9 util-linux: Update to version 2.37.4
84b3eafe39 bcm4908: backport upstream BQL support for bcm4908_enet
0ff3adfa11 kernel: bump 5.10 to 5.10.152
0abcea19d7 kernel: bump 5.10 to 5.10.151
0667688a40 kernel: bump 5.10 to 5.10.150
fe58ee9057 ramips: Correct Unielec 01 and 06 dts wan macaddr byte location
6c5313d77c bcm4908: backport bcm4908_enet fix for NULL dereference
91e4a74fff bcm4908: optimize Ethernet driver by using build_skb()
b4bc9eb837 kernel: mtd: backport SafeLoader parser
18c77387c5 kernel: mtd: backport extended dynamic partitions support
2022-12-30 01:53:15 +01:00
Jan-Niklas Burfeind
8c1f5e9c9c
Merge pull request #2685 from T-X/v2022.1.x-pr-backport-bridge-mcast-wakeupcall
[Backport v2022.1.x] kernel: bridge: readding MLD wakeup call feature
2022-12-13 21:49:38 +01:00
github-actions[bot]
7e6a0995d2
docs: update v2022.1.x release notes' known issues section (#2718)
add link to issue #2672 in known issues section of the release notes

(cherry picked from commit fd213e71b9)

Co-authored-by: Andreas Ziegler <dev@andreas-ziegler.de>
2022-12-10 23:57:15 +01:00
Jan-Niklas Burfeind
940874972b
Merge pull request #2715 from freifunk-gluon/backport-2705-to-v2022.1.x
[Backport v2022.1.x] docs: configmode: mention gluon-enter-setup-mode
2022-12-07 22:01:25 +01:00
Tom Herbers
4b4765fbe7 docs: configmode: mention gluon-enter-setup-mode
The command was introduced in v2022.1 with #2459.

Co-authored-by: Jan-Niklas Burfeind <github@aiyionpri.me>
(cherry picked from commit b4f174a41d)
2022-12-07 21:00:36 +00:00
Martin Weinelt
ccd7fa3d7b
Merge pull request #2680 from freifunk-gluon/backport-2600-to-v2022.1.x 2022-11-09 11:18:02 +01:00
David Bauer
d0565bc3b5
Merge pull request #2694 from herbetom/v2022.1.x-updates
[Backport v2022.1.x] modules: update to latest in master
2022-11-07 02:30:06 +01:00
Tom Herbers
b24c73509d
modules: update routing
6b612cd alfred: Rebuild on CONFIG*_ALFRED_* changes
2e28186 batman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes

(cherry picked from commit 9c2ee67009)
2022-11-04 22:06:58 +01:00
Tom Herbers
7614ac047d
modules: update packages
7132a6b55 adblock: update 4.1.5-4
55c412f4b softflowd: use %lld for time_t always
507620154 mariadb: Update to the latest version 10.6.10
7278c00b2 adblock: update 4.1.5-3
15ce9af90 treewide: fix procd service inactive
31b99e256 dnsproxy: Update to 0.45.4
ad1d25d0b https-dns-proxy: bugfix: prevent creation of empty interface trigger
45cdc8646 simple-adblock: remove unnecessary procd_add_reload_interface_trigger
667ba4294 adblock: update 4.1.5-2
1b93c3104 https-dns-proxy: bugfix: remove canary domains
7a7b95639 https-dns-proxy: bugfix: remove wan6 from procd triggers
9b6e0fde7 irqbalance: update to 1.9.1
40006c97c irqbalance: add meson
dc768d941 irqbalance: handle deepestcache option
b365fdf8c adblock: update 4.1.5
de80dad8c ddns-scripts: fix cloudflare&digitalocean provides
b0e520855 ddns-scripts: add PROVIDES for old package names
e8fc00367 simple-adblock: update to 1.9.2-1
f8262f405 tailscale: add version tests
20595747f tailscale: fix -version
37fd7c031 libxml2: update to 2.10.3
ceba4b361 https-dns-proxy: upstream bugfix for ca_info
b201f469c numpy: bump to version 1.23.3
93d378788 nebula: implement netifd support
746c6519f smartdns: update to 1.2022.38.1

(cherry picked from commit db6b9deca6)
2022-11-04 22:06:48 +01:00
Tom Herbers
8b35fab23e
modules: update openwrt
00d7702796 mac80211: Update to version 5.15.74-1
7a3d5959af ath79: fix reference clock for RouterBoard 912UAG
b5cb5f352d ramips: fix WAN mac address allocation for Unielec 01 and 06 models
ef5b1ffb9e ramips: rt3883: enable lzma-loader for Belkin F9K1109v1
b0ab21d9d0 ramips: mt7621: enable lzma-loader for Asus RT-N56U-B1
40465adbbf bcm53xx: enable Broadcom 4366b1 firmware for Asus RT-AC88U
b37ff14302 wireless-tools: add package CPE ID
69e6486136 ncurses: add package CPE ID
573606991e arm-trusted-firmware-sunxi: add package CPE ID
714345d35a libnftnl: add package CPE ID
e946d9aa9d octeon: fix imagebuilder generation by introducing generic target
6cffcb2e9f ath79: support Ruckus ZoneFlex 7321
85a7588c90 ath79: support Ruckus ZoneFlex 7372
08969f61b0 kernel: add kmod-nvme package
c1c85629b9 kernel: mtd: fix unbalanced of_node_put() in dynamic partitions code
5c0c01d226 kernel: bump 5.10 to 5.10.149
980aad01d1 kernel: bump 5.10 to 5.10.148
fb11c63511 kernel: bump 5.10 to 5.10.147
8fefd5c26c mt7621: hiwifi_hc5962: fix reboot loop by using LZMA loader
f59dcb92cf ucode: update to latest Git HEAD
f1d7f1c70f firewall4: update to latest Git HEAD
36a808b7bc mt7621: netgear_ex6150: fix reboot loop by using LZMA loader
12acecd114 OpenWrt v22.03.2: revert to branch defaults
ea845f76ea OpenWrt v22.03.2: adjust config defaults
9a599fee93 firewall4: update to latest Git HEAD
30de1b5031 ucode: update to latest Git HEAD
fa4ec03993 rpcd: update to latest Git HEAD

(cherry picked from commit 1a7acd4699)
2022-11-04 22:06:29 +01:00
Tom Herbers
51d5293ee6 patches: rebase MLD Querier wake up calls Android bug workaround (#2629)
[linus.luessing@c0d3.blue: updated hashes to v2022.1.x branch]
2022-10-22 19:58:47 +02:00
T-X
6244c59524 kernel: bridge: readding MLD wakeup call feature (#2365)
With the update to OpenWrt 21.02 the bridge MLD wakeup call feature was
removed. However the issue with Android devices and MLD is still
present. Therefore readding the bridge MLD wakeup call patch and porting
it to Linux 5.10 / OpenWrt 22.03.

Link: https://issuetracker.google.com/issues/149630944
Fixes: aab2b914b8 ("modules: switch to OpenWrt 21.02")
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2022-10-22 19:01:22 +02:00
Tom Herbers
a4243e0376 gluon-core: enable bridge port isolation for br-mesh_other interfaces
(cherry picked from commit 33779ccd96)
2022-10-18 10:50:54 +00:00
Martin Weinelt
ab1fb054f6
Merge pull request #2670 from blocktrron/v2022.1.1-rn 2022-10-18 10:39:01 +02:00
David Bauer
30e97e8d6d docs, readme: Gluon 2022.1.1 2022-10-18 10:36:15 +02:00
David Bauer
59c5eb6866 docs: add Gluon 2022.1.1 release notes 2022-10-18 10:36:15 +02:00
Jan-Niklas Burfeind
7ca56084bc
Merge pull request #2677 from freifunk-gluon/backport-2673-to-v2022.1.x
[Backport v2022.1.x] ramips-mt7621: add support for ZyXEL NWA50AX
2022-10-17 18:18:03 +02:00
Jan-Niklas Burfeind
5d088754f0
Merge pull request #2676 from freifunk-gluon/backport-2674-to-v2022.1.x
[Backport v2022.1.x] supported_devices: specify revision of wdr4900 v1
2022-10-17 18:17:30 +02:00
David Bauer
1b547f9181 ramips-mt7621: add support for ZyXEL NWA50AX
(cherry picked from commit 33fa77a760)
2022-10-17 16:06:33 +00:00
Jan-Niklas Burfeind
f03ada1816 supported_devices: specify revision of wdr4900 v1
(cherry picked from commit 267124b520)
2022-10-17 16:04:57 +00:00
Martin Weinelt
5942f2925c
Merge pull request #2675 from freifunk-gluon/backport-2671-to-v2022.1.x 2022-10-17 15:48:03 +02: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
David Bauer
10a126e117 modules: update packages
dba8a0102 gnunnet: halt build if any command fails
c1700e3a3 gnunnet: don't copy non-existing files
9c68da83e gnunet: gnunet-rest: add libjose dependency
e1d799255 opendoas: avoid libpam dependency
53c0a2767 Revert "wget: update to 1.21.3"
e0502e477 zabbix: add variants for SSL support opkg does not offer ssl varients: zabbix-agentd zabbix-sender zabbix-get zabbix-proxy zabbix-server
f9bbda2e4 wget: update to 1.21.3
0f48935ab auc: update to 0.3.1
62a7ef57d auc: update to version 0.3.0
427008a2a snowflake: update to version 2.3.1
d57a6a35b perl-net-dns: update to version 1.35
b4be6d6b1 pcsc-lite: update to verion 1.9.9
37de51dba gawk: update to version 5.2.0
5ca1c82f8 libksba: update to version 1.6.1
c033edcca gnunet: update to version 0.17.5
30b493619 libp11: update to version 0.4.12
f8f768f90 libinput: update to version 1.19.4
19874c3a7 libevdev: update to version 1.13.0
7dc69e306 postgresql: update to version 14.5
4493098f6 pcsc-lite: update to version 1.9.8
5d5348bc5 exim: update to version 4.96
8013e8929 gpgme: update to version 1.18.0
d0dd2a730 cryptsetup: update to version 2.5.0
c2296d930 lvm2: update to release 2.03.16

(cherry picked from commit 95385f6de7)
2022-10-17 12:26:12 +00:00
David Bauer
f69be80ac3 modules: update openwrt
a7fb589e8a image: always rebuild kernel loaders
5db6914f7c mpc85xx: p1010: make TP-Link WDR4900 v1 build again
f7a43e4606 mpc85xx: add SPI kernel loader for TP-Link TL-WDR4900 v1
c1fcca50ba ramips: fix ZyXEL NWA55AXE model name
2050bc4f64 ramips: add support for ZyXEL NWA50AX / NWA55AXE
bc8e24c654 busybox: nslookup: ensure unique transaction IDs for the DNS queries

(cherry picked from commit c5e297e9c8)
2022-10-17 12:26:12 +00:00
David Bauer
183f345979
Merge pull request #2669 from herbetom/v2022.1.x-updates
[v2022.1.x] modules: update to latest HEAD
2022-10-14 03:01:39 +02:00
Tom Herbers
7838e68c20
modules: update routing
8502870 opennds: Release v9.9.0
2022-10-13 18:28:19 +02:00
Tom Herbers
34383285b1
modules: update packages
33d0a7adc python3: update to 3.10.7
bb4943d55 curl: error out if wolfSSL is not usable
4d900b2a1 v2ray-geodata: split from xray-geodata
9bdab0d79 v2ray-core: add new package
bda5d8e3b yq: Update to 4.28.1
0e4e3743f cloudflared: Update to 2022.10.0
f5d5326c0 cloudflared: Update to 2022.9.1
972fb7861 gg: Update to 0.2.13
c243509b6 dnsproxy: Update to 0.45.2
44034384a dnsproxy: Update to 0.45.0
a1d8cd172 python3-pytz: bump to version 2022.4
d3a4c41a5 bind: bump to 9.18.7
47e5343d5 https-dns-proxy: update to 2022-08-12-1
2022-10-13 18:28:18 +02:00
Tom Herbers
17a6e1d8d7
modules: update openwrt
f1de43d0a0 mac80211: backport security fixes
a077c6da98 mac80211: merge upstream fixes
b6487c3ccc ramips: skip bbt scan on mt7621
33457ebf0b ramips: enable support for mtk_bmt in the nand flash driver
cc8326443d ramips: mt7621_nand: initialize ECC_FDMADDR
1918404b1d ramips: mt7621_nand: reduce log verbosity
07ea71c7b7 ramips: move mt7621_nand driver to files
fb31038e1f kernel: mtdsplit: support UBI after FIT images
329b1543f3 kernel: mtk_bmt: skip bitflip check if threshold isn't set
42c8610efc kernel: mtk_bmt: add debugfs file to attempt repair of remapped sectors
bb5d415b19 kernel: add support for mediatek NMBM flash mapping support
737ee934d2 kernel: mtk_bmt: on error, do not attempt to remap out-of-range blocks
a78fd5bbb6 kernel: mtk_bmt: fix block copying on remap with bmt v2
0c21f06ef7 kernel: mtk_bmt: allow get_mapping_block to return an error
a2ce32579f kernel: split up mtk_bmt driver code
c2d55b73d9 OpenWrt v22.03.1: revert to branch defaults
eca6fc6ea0 OpenWrt v22.03.1: adjust config defaults
2853b6d652 ath79: fix model name of Extreme Networks WS-AP3805i
2022-10-13 18:28:16 +02: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
da41247139
Merge pull request #2658 from herbetom/v2022.1.x-updates
[v2022.1.x] modules: update to latest HEAD
2022-10-08 01:19:23 +02:00
Tom Herbers
73df762ec1
modules: update packages
5df363db7 libgd: avoid recursive and redundant dependencies
24ad5359f tor: update to 0.4.7.10
1a070a289 expat: update to 2.4.9
2f2989e3e lighttpd: remove deprecated modules
f9515613f node: bump to v16.17.1
7869127db https-dns-proxy: add settings for canary domains
a4a6411e1 https-dns-proxy: bugfix: prevent canary domains duplicates
f624e41f3 treewide: fix security issues by bumping all packages using libwolfssl
ea8108a31 Revert "treewide: fix security issues by bumping all packages using libwolfssl"
0ddec62e6 treewide: fix security issues by bumping all packages using libwolfssl
2d061d1cb openvpn: explicitly disable engine parameter for openssl variant
0c670f870 openvpn: update to 2.5.7
50ae0353a openvpn: update to 2.5.6
8377e516e rtty: update to 8.0.1
7acb46001 php8: update to 8.1.11
52ddf2f0b nextdns: initialize nextdns from /etc/uci-defaults
eddc92a17 dnslookup: Update to 1.8.0
356534dd4 simple-adblock: allow domains bugfix & canary domains support
de00aad59 https-dns-proxy: uci wrappers & iCloud canary domains
b0e693092 bandwidthd: fix format warnings
a9423d894 unbound: update to version 1.16.3
d053da000 simple-adblock: update to 1.9.1-1
bc1598892 curl: bugfix: github source url
eed717e6e pdns-recursor: update to 4.7.3
8df44cb6e libs/cjson: bump to 1.7.15
44f898f98 pagekite: add patchs for 64bit time
d5aa9d76e mosquitto: bump to 2.0.15
4419a76ba mosquitto: add missing 'persistence' section in config
376f1afdd poemgr: update to latest HEAD
1eea84cca poemgr: fix conffiles path
5092dbd14 adblock: update 4.1.4-5
3f9a88d21 adblock: add lightswitch05 blocklist source
0247d720e hping3: add new package
be7e4f8e3 snowflake: run snowflake-proxy with procd-ujail
8c028f4fd snowflake: add package
aaedc165d squid: fix compilation with libxml (fixes #19099)
e563fe383 gatling: add package gatling
81c068840 gg: Update to 0.2.11
40106c7dc yq: Update to 4.27.5
05d1265cb xray-core: Update to 1.6.0
8a2bd2754 lighttpd: update to lighttpd 1.4.67 release hash
4df5d1348 tang: update directory
f50dc54f2 Revert "jose: remove libjose"
9550d45fd Revert "jose: fix static library usage"
5a02ae2fe knot-resolver: update to 5.5.3
88257a87a libtorrent-rasterbar: Update to 2.0.7
954dd3b90 dockerd: Update to v20.10.18
a2defb8a6 docker: Update to v20.10.18
78949c659 libnetwork: Update to 0dde5c8 for Docker v20.10.18
3ffff095c containerd: Update to v1.6.8 for Docker v20.10.18
3ef01e4dd runc: Update to v1.1.4 for Docker v20.10.18
1e329ed5e libxml2: update to 2.10.2
74d181312 php8: update to 8.1.10
d86df0df5 jose: fix static library usage
fd5ba6154 adblock: update 4.1.4-3
dfaa4bad5 uacme: add libev dependency to uacme-ualpn
ed56ca2aa nextdns: Update to version 1.37.11
c4d8769c8 curl: update to 7.85.0
2022-10-06 16:21:35 +02:00
Tom Herbers
a6d75c010e
modules: update openwrt
f579b8538b ath79: add low_mem to tiny image
4b5bd15091 ath79: move ubnt-xm to tiny
977f6f36a0 kernel: fix possible mtd NULL pointer dereference
562894b39d treewide: fix security issues by bumping all packages using libwolfssl
ce59843662 wolfssl: fix TLSv1.3 RCE in uhttpd by using 5.5.1-stable (CVE-2022-39173)
3d2be75b0c wolfssl: refresh patches
0c8425bf11 wolfssl: bump to 5.5.0
2c49ad36fb kernel: bump 5.10 to 5.10.146
f04515e7bd kernel: bump 5.10 to 5.10.145
a91f391b59 kernel: bump 5.10 to 5.10.144
25747a4c04 ramips: fix switch setup for ASUS RT-AX53U
23d23038dd uboot-mvebu: backport LibreSSL patches for older version of LibreSSL
1ff2993edb uboot-mvebu: backport patch to fix compilation on non glibc system
d30ddfbac4 ramips: enable LZMA loader to fix Linksys RE6500 boot
ed905fce58 tools/meson: backport WSL2 fix
e5ab159fbf firmware: intel-microcode: update to 20220809
938ae92675 toolchain: Include ./include/fortify for external musl toolchain
8f72f5e4c0 toolchain: Select USE_SSTRIP with external musl toolchain
4ad6925a9e scripts: ext-toolchain: add support for musl
65bd632069 scripts: ext-toolchain: add support for info.mk in probe_cc
b0622d1221 scripts: ext-toolchain: actually probe libc type on config generation
d1a6c35591 scripts: ext-toolchain: add option to overwrite config
24cf766dfe scripts: ext-toolchain: fix wrong prefix in print_config generation
18a88668b8 rules_mk: don't include wrapped bin with external toolchains
29927e347a rules_mk: use gcc versions for external toolchain
cd117f0596 bcm53xx: backport clk driver fix for DT nodes names
9dc46d6549 ath79: fix LibreRouter-v1 watchdog and poe_pass
0cb3a616e4 build: fix warnings from grep
463fe05d9e Makefile: fix stray \ warnings with grep-3.8
25d8b9cad6 build: fix issues with targets installed via feeds
74eeee1698 build: fix including modules.mk for targets pulled in from feeds
dafac183f3 mpc85xx: add patch to fix gpio mpc8xxx
7707b47c72 ramips: fix fw_setsys
f3ffb04a43 kernel: add missing symbol
2a6346725a bcm4908: fix -EPROBE_DEFER support in bcm4908_enet
700f5d2990 kernel: update U-Boot NVMEM driver
acc78a9cf6 bcm4908: backport mtd parser for Broadcom's U-Boot partition
b472753d79 mediatek: fix Unifi 6LR network config
c0b7b2049e mpc85xx: fix unset kernel symbols
7c459ac1d5 mac80211: rt2x00: experimental improvements for MT7620 wifi
d004110ef7 mac80211: rt2x00: fix typo
0755c18ff1 mac80211: add patch descriptions to rt2x00 patches
7a26f40217 mediatek: fix ledbar of UniFi 6 LR when running custom U-Boot
f54d4ea0bb ramips: add support for Ubiquiti UniFi FlexHD
a28ccd58ed ath79: Make patches apply again
2419546cee generic: move ledbar driver from mediatek target
420a86436f mediatek: add led count
40610c5322 mediatek: add initialization after reset
26cd0c1ee9 mediatek: add support for reset gpio
b5665a0045 mediatek: support reading more than one byte of response
cd0283788f mediatek: cast literal value to char
a2d251573b mediatek: correctly log i2c response
7366ee86ef mediatek: remove gpiod_direction_output()
ba6c780acb mediatek: do not use gpiod_set_raw_value()
745d3cd4aa kernel: modules: package kmod-crypto-essiv
a3f9b42789 mediatek: fix typo in bpi-r64 image recipe
29c5d5d3da mediatek: bpi-r64: make initramfs/recovery optional
d10352917b ramips: fix GB-PC1 and GB-PC2 LEDs
0c9833d0e0 wireless-regdb: update to 2022-08-12
be4abbd84a kernel: bump 5.10 to 5.10.143
4e05e7dddf kernel: bump 5.10 to 5.10.142
1b0db300cb kernel: bump 5.10 to 5.10.141
bf65d2dcba kernel: bump 5.10 to 5.10.139
e7ef88ff1d kernel: build crypto md5/sha1/sha256 modules for powerpc
2022-10-06 16:21:33 +02:00
David Bauer
ecd9f8cfe8
Merge pull request #2649 from blocktrron/v2022.1.x-device-bp
[v2022.1.x] Backport device support introduced in master
2022-09-19 20:31:05 +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
David Bauer
43b1fc99dd
Merge pull request #2647 from herbetom/v2022.1.x-updates
[v2022.1.x] modules: update to latest HEAD
2022-09-18 03:08:44 +02:00
Tom Herbers
013d049acf
modules: update packages
219b0a1e5 python-flask-socketio: update to 5.3.1
20da9e28b  adblock: update 4.1.4-2
aaf90f333  adblock: update 4.1.4
6b13e6e67 yt-dlp: update to 2022.9.1
78d60b3c0 knot: update to version 3.2.1
b3373efe5 python3: backport and fix target musl libc detection
cd3d6156f aria2: Fix aria2.init start issue Re-mount '$config_file' inside the '$config_dir' will cause aria2 process unable to start.
f8fec60bd ksmbd-tools: add package with hotplug.d script for auto sharing
1a0524616 ksmbd-tools: append config from /var/run/config/ for runtime shares
764ba9c09 cloudflared: Update to 2022.9.0
29fdb5086 lxc: update to 5.0.1
701278306 syslog-ng: update to version 3.38.1
1342b58f2 miniupnpd: rework firewall4 integration
7cc0a0eab miniupnpd: update and fix nftables variant
85e6f9348 dnslookup: Update to 1.7.3
529842c78 dnsproxy: Update to 0.44.0
9951bdcb9 cloudflared: Update to 2022.8.4
c3a153bdb pillow: bump to version 9.2.0
7977389b2 pillow: bump to version 9.1.1
b15b99eed pillow: bump to version 9.1.0
b0fe84ca4 gg: Update to 0.2.9
5819aa071 xray-core: Update to 1.5.10
c5619b78d yq: Update to 4.27.3
426ccd2e0 uvol: fix autopart handling double/float number
32e4d8fa5 python-pycares: add new package
5dc5c7966 node: bump to v16.17.0
4c311180d strongswan: add kernel module dependency on chapoly
8b04b607a i2pd: update to version 2.43.0
240a8db7e i2pd: Update package
b519548e4 zoneinfo: updated to the latest release
fc47ed5f1 zoneinfo: updated to the latest release
2022-09-16 19:08:30 +02:00
Tom Herbers
899e187f34
modules: update openwrt
81388f74b5 scripts/download.pl: fix downloads with wget
b8cbca8ac8 scripts/download.pl: silence can't exec curl warning
340b138932 scripts: always check certificates
b5e39355e4 tools: remove xxd package
b531611f57 build: provide xxd -i with scripts/xxdi.pl
542447b93e scripts: xxdi.pl: add xxd -i compat mode
4c795af58b scripts: xxdi.pl: remove File::Slurp dependency
a352e30b8f scripts: add xxdi.pl
b3fa0241e2 mac80211: backport tx queueing bugfixes add a bug fix for a rare crash
94372ab6e4 bcm53xx: update NVMEM driver for NVRAM
cae4d089bc kernel: backport mtd dynamic partition patch
308f0831f7 ipq40xx: add GL-AP1300 label-mac-device
b317d3dbfb ipq40xx: add WAN LED mapping for GL-AP1300
fff797d26e rockchip: add system-LED aliases specific to OpenWrt
18f77ef2d6 rockchip: ensure NanoPi R4S has unique MAC address
8ff1d27e48 realtek: fix RTL839x receive tag decoding
25a041f50b ipq40xx: add LTE packages for GL-AP1300
daf1fdc6ad ath79: add support for ZTE MF281
47ba7cdfc3 realtek: fix RTL838x receive tag decoding
da7b26dfb8 mt76: update to the latest version
ab61232b0a hostapd: rename hostapd multicast_to_unicast option to multicast_to_unicast_all
39c115028a bcm27xx: make NVMEM driver patch apply again
03c251ac14 bcm4908: enable NVMEM U-Boot env data driver
4efa0b70d5 kernel: backport U-Boot environment data NVMEM driver
8835da4d90 kernel: backport mtd patch adding of_platform_populate() calls
510f0628c7 OpenWrt v22.03.0: revert to branch defaults
17bd6b0477 OpenWrt v22.03.0: adjust config defaults
512e76967f uboot-mediatek: mt7622: suppress unwanted pinctrl warning
d691625ec4 mediatek: mt7622: fix DTS compatible of UniFi 6 LR variants
93e6581b90 uboot-mediatek: backport fix for unstable UART on MT7622
3889f90ee2 uboot-mediatek: no compression means IH_COMP_NONE
8ff8a4dc9e uboot-mediatek: fix factory reset on UBI
aebb19d34b uboot-envtools: mt7622: use 4k sectors for UniFi 6 LR (ubootmod)
557e4cb169 mediatek: mt7622: use variable sector size for spi-nor
f7c358c2ad uboot-mediatek: fix Ubiquiti UniFi 6 LR U-Boot mod
ae1786e543 mpc85xx: Drop pci aliases to avoid domain changes
ea4ec11f4e at91bootstrap: use sdmmc0 as booting media for sama5d27_som1_ek
c53fea7a8a uboot-at91: use sdmmc0 as booting media for sama5d27_som1_ek
2ae0ad375b kernel: rename 5.20 patches to 6.0
d3ccf0976a bcm4908: enable & setup packet steering
30bce90d84 bcm4908: prepare for Asus GT-AX6000 support
b8b5ee12cd bcm4908: backport bcmbca DT patches queued for 5.20
a79a21b509 bcm53xx: backport DT changes from 5.17 & 5.18
3abed8406b bcm53xx: drop dead upgrade code
caa43f4428 firewall4: update to latest Git HEAD
26b436e2a2 ucode: update to latest Git HEAD
0588b124e4 mac80211: disable ft-over-ds by default
dced5f2c95 ramips: define Yuncore AX820 switch LEDs
e497818e18 ath79: add support for Extreme Networks WS-AP3805i
9703a2adcc kernel: Refresh on 5.10.138
251336639c mbedtls: update to version 2.28.1
dddf01c508 Revert "mediatek: mt7622: fix banana pi r64 wps button"
89956c6532 kernel: bump 5.10 to 5.10.138
4209c33ae2 kernel: bump 5.10 to 5.10.137
a901a13505 iptables: default to ip(6)tables-nft when using buildroot
2022-09-16 19:08:29 +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
36 changed files with 1417 additions and 33 deletions

19
.github/filters.yml vendored
View File

@ -56,6 +56,16 @@
"targets/generic",
"targets/targets.mk"
],
"ipq40xx-mikrotik": [
"targets/ipq40xx-mikrotik",
"modules",
"Makefile",
"patches/**",
"scripts/**",
"targets/generic",
"targets/targets.mk",
"targets/mikrotik.inc"
],
"ipq806x-generic": [
"targets/ipq806x-generic",
"modules",
@ -137,6 +147,15 @@
"targets/generic",
"targets/targets.mk"
],
"realtek-rtl838x": [
"targets/realtek-rtl838x",
"modules",
"Makefile",
"patches/**",
"scripts/**",
"targets/generic",
"targets/targets.mk"
],
"rockchip-armv8": [
"targets/rockchip-armv8",
"modules",

View File

@ -30,7 +30,7 @@ the future development of Gluon.
Please refrain from using the `master` branch for anything else but development purposes!
Use the most recent release instead. You can list all releases by running `git tag`
and switch to one by running `git checkout v2022.1 && make update`.
and switch to one by running `git checkout v2022.1.3 && make update`.
If you're using the autoupdater, do not autoupdate nodes with anything but releases.
If you upgrade using random master commits the nodes *might break* eventually.

View File

@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2018.2+
-- This is an example site configuration for Gluon v2022.1.3
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.

View File

@ -24,7 +24,7 @@ copyright = '2015-2022, Project Gluon'
author = 'Project Gluon'
# The short X.Y version
version = '2022.1'
version = '2022.1.3'
# The full version, including alpha/beta/rc tags
release = version

View File

@ -18,6 +18,9 @@ Config Mode by pressing and holding the RESET/WPS/DECT button for about three
seconds. The device should reboot (all LEDs will turn off briefly) and
Config Mode will be available.
If you have access to the console of the node, there is the
``gluon-enter-setup-mode`` command, which reboots a node into Config Mode.
Port Configuration
------------------

View File

@ -5,6 +5,9 @@ Release Notes
:caption: Gluon 2022.1
:maxdepth: 2
v2022.1.3
v2022.1.2
v2022.1.1
v2022.1
.. toctree::

View File

@ -0,0 +1,85 @@
Gluon 2022.1.1
==============
Important notes
---------------
This release mitigates multiple flaws in the Linux wireless stack fixing RCE and DoS vulnerabilities.
Added hardware support
----------------------
ipq40xx-generic
~~~~~~~~~~~~~~~
- GL.iNet
- GL-AP1300
mpc85xx-p1010
~~~~~~~~~~~~~
- TP-Link
- TL-WDR4900 (v1)
ramips-mt7621
~~~~~~~~~~~~~
- ZyXEL
- NWA50AX
rockchip-armv8
~~~~~~~~~~~~~~
- FriendlyElec
- NanoPi R4S (4GB LPDDR4)
Bugfixes
--------
* Multiple mitigations for (`critical vulnerabilities <https://seclists.org/oss-sec/2022/q4/20>`_) in the Linux kernel WLAN stack. This only concerns Gluon v2022.1, older Gluon versions are unaffected.
* CVE-2022-41674
* CVE-2022-42719
* CVE-2022-42720
* CVE-2022-42721
* CVE-2022-42722
* Fixes `security issues in WolfSSL <https://openwrt.org/releases/22.03/notes-22.03.1#security_fixes>`_. People who have installed additional, non-Gluon packages which rely on WolfSSL's TLS 1.3 implementation might be affected. Firmwares using either gluon-mesh-wireless-sae or gluon-wireless-encryption-wpa3 are unaffected by these issues, since only WPA-Enterprise relies on the affected TLS functionality.
* CVE-2022-38152
* CVE-2022-39173
* Fixes the update path for GL-AR300M and NanoStation Loco M2/M5 (XW) devices.
Known issues
------------
* A workaround for Android devices not waking up to their MLD subscriptions was removed,
potentially breaking IPv6 connectivity for these devices after extended sleep periods.
(`#2672 <https://github.com/freifunk-gluon/gluon/issues/2672>`_)
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

View File

@ -0,0 +1,37 @@
Gluon 2022.1.2
==============
Bugfixes
--------
* Various build-errors which sporadically occur when building with a large thread-count have been fixed
* Android devices do not lose their IPv6 connectivity after extended idle-time
* The 802.11s mesh network is now using 802.11ax HE-modes when supported by hardware
Known issues
------------
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

View File

@ -0,0 +1,40 @@
Gluon 2022.1.3
==============
Bugfixes
--------
* Ipq40xx Wave2 devices temporarily use non-ct firmware again to work around 802.11s unicast package loss in ath10k-ct
(`#2692 <https://github.com/freifunk-gluon/gluon/issues/2692>`_)
* Modify kernel builds slightly to work around a boot hang on various devices based on the QCA9563 SoC - especially the Unifi AC-* devices
(`#2784 <https://github.com/freifunk-gluon/gluon/issues/2784>`_)
* Work around an issue with wifi setup timing by waiting a bit while device initialisation is ongoing
(`#2779 <https://github.com/freifunk-gluon/gluon/issues/2779>`_)
Known issues
------------
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)
* The integration of the BATMAN_V routing algorithm is incomplete.
- Mesh neighbors don't appear on the status page. (`#1726 <https://github.com/freifunk-gluon/gluon/issues/1726>`_)
Many tools have the BATMAN_IV metric hardcoded, these need to be updated to account for the new throughput
metric.
- Throughput values are not correctly acquired for different interface types.
(`#1728 <https://github.com/freifunk-gluon/gluon/issues/1728>`_)
This affects virtual interface types like bridges and VXLAN.
* Default TX power on many Ubiquiti devices is too high, correct offsets are unknown
(`#94 <https://github.com/freifunk-gluon/gluon/issues/94>`_)
Reducing the TX power in the Advanced Settings is recommended.
* In configurations without VXLAN, the MAC address of the WAN interface is modified even when Mesh-on-WAN is disabled
(`#496 <https://github.com/freifunk-gluon/gluon/issues/496>`_)
This may lead to issues in environments where a fixed MAC address is expected (like VMware when promiscuous mode is disallowed).

View File

@ -391,7 +391,8 @@ Known issues
------------
* A workaround for Android devices not waking up to their MLD subscriptions was removed,
potentially breaking IPv6 connectivity for these devices after extended sleep periods
potentially breaking IPv6 connectivity for these devices after extended sleep periods.
(`#2672 <https://github.com/freifunk-gluon/gluon/issues/2672>`_)
* Upgrading EdgeRouter-X from versions before v2020.1.x may lead to a soft-bricked state due to bad blocks on the NAND flash which the NAND driver before this release does not handle well.
(`#1937 <https://github.com/freifunk-gluon/gluon/issues/1937>`_)

View File

@ -1,4 +1,4 @@
-- This is an example site configuration for Gluon v2022.1
-- This is an example site configuration for Gluon v2022.1.3
--
-- Take a look at the documentation located at
-- https://gluon.readthedocs.io/ for details.

View File

@ -8,7 +8,7 @@ Gluon's releases are managed using `Git tags`_. If you are just getting
started with Gluon we recommend to use the latest stable release of Gluon.
Take a look at the `list of gluon releases`_ and notice the latest release,
e.g. *v2022.1*. Always get Gluon using git and don't try to download it
e.g. *v2022.1.3*. Always get Gluon using git and don't try to download it
as a Zip archive as the archive will be missing version information.
Please keep in mind that there is no "default Gluon" build; a site configuration
@ -50,7 +50,7 @@ Building the images
-------------------
To build Gluon, first check out the repository. Replace *RELEASE* with the
version you'd like to checkout, e.g. *v2022.1*.
version you'd like to checkout, e.g. *v2022.1.3*.
::

View File

@ -53,6 +53,10 @@ ath79-generic
- JT-OR750i
* LibreRouter
- LibreRouter v1 [#missing_radios]_
* Netgear
- WNDR3700 (v1, v2)
@ -91,6 +95,10 @@ ath79-generic
- WS-AP3610
* Teltonika
- RUT230 (v1)
* TP-Link
- Archer A7 (v5)
@ -134,6 +142,10 @@ ath79-generic
ath79-nand
----------
* Aerohive
- HiveAP 121
* GL.iNet
- GL-AR300M
@ -142,6 +154,7 @@ ath79-nand
* Netgear
- WNDR3700 (v4)
- WNDR4300 (v1)
ath79-mikrotik
--------------
@ -176,6 +189,7 @@ ipq40xx-generic
* AVM
- FRITZ!Box 4040 [#avmflash]_
- FRITZ!Box 7520 (v1) [#eva_ramboot]_
- FRITZ!Box 7530 [#eva_ramboot]_
- FRITZ!Repeater 1200 [#eva_ramboot]_
@ -185,6 +199,7 @@ ipq40xx-generic
* GL.iNet
- GL-AP1300
- GL-B1300
* Linksys
@ -217,6 +232,7 @@ ipq40xx-mikrotik
* Mikrotik
- DISC Lite5 ac (RBDiscG-5acD)
- hAP ac2
- SXTsq 5 ac (RBSXTsqG-5acD)
ipq806x-generic
@ -229,6 +245,10 @@ ipq806x-generic
lantiq-xrx200
-------------
* Arcadyan
- VGV7510KW22 (o2 Box 6431)
* AVM
- FRITZ!Box 7360 (v1, v2) [#avmflash]_ [#lan_as_wan]_
@ -236,6 +256,9 @@ lantiq-xrx200
- FRITZ!Box 7362 SL [#eva_ramboot]_ [#lan_as_wan]_
- FRITZ!Box 7412 [#eva_ramboot]_
* TP-Link
- TD-W8970 (v1) [#lan_as_wan]_
lantiq-xway
-----------
@ -269,6 +292,10 @@ mpc85xx-p1010
- RED 15w Rev.1
* TP-Link
- TL-WDR4900 (v1)
mpc85xx-p1020
---------------
@ -331,11 +358,21 @@ ramips-mt7621
* Cudy
- WR2100
- X6 (v1)
* D-Link
- DAP-X1860 (A1)
- DIR-860L (B1)
* GL.iNet
- GL-MT1300
* Mercusys
- MR70X (v1)
* NETGEAR
- EX6150 (v1)
@ -360,10 +397,14 @@ ramips-mt7621
- WG3526-16M
- WG3526-32M
* ZyXEL
- NWA50AX
* Xiaomi
- Xiaomi Mi Router 4A (Gigabit Edition)
- Xiaomi Mi Router 3G v2
- Xiaomi Mi Router 3G (v1, v2)
ramips-mt76x8
-------------
@ -392,7 +433,7 @@ ramips-mt76x8
- Archer C20 (v4, v5)
- Archer C50 (v3)
- Archer C50 (v4)
- RE200 (v2)
- RE200 (v2, v3)
- RE305 (v1) [#device-class-tiny]
- TL-MR3020 (v3)
- TL-MR3420 (v5)
@ -410,12 +451,20 @@ ramips-mt76x8
- Xiaomi Mi Router 4A (100M International Edition)
- Xiaomi Mi Router 4C
realtek-rtl838x
---------------
* D-Link
- DGS-1210-10P (F1)
rockchip-armv8
--------------
* FriendlyElec
- NanoPi R2S
- NanoPi R4S (4GB LPDDR4)
sunxi-cortexa7
--------------
@ -468,6 +517,10 @@ Footnotes
.. [#lan_as_wan]
All LAN ports on this device are used as WAN.
.. [#missing_radios]
This device contains more than two WLAN radios, which is currently
unsupported by Gluon. Only the first two radios will work.
.. [#modular_ethernet]
These devices follow a modular principle,
which means even basic functionality like ethernet is provided by an expansion-board,

View File

@ -2,15 +2,15 @@ GLUON_FEEDS='packages routing gluon'
OPENWRT_REPO=https://github.com/openwrt/openwrt.git
OPENWRT_BRANCH=openwrt-22.03
OPENWRT_COMMIT=d1f14d17aaa1866eee1fe2d0d074b2a003c2a210
OPENWRT_COMMIT=3960c220daabe5b58381af1a8c7b9dd2e6b7e815
PACKAGES_PACKAGES_REPO=https://github.com/openwrt/packages.git
PACKAGES_PACKAGES_BRANCH=openwrt-22.03
PACKAGES_PACKAGES_COMMIT=bcafba4320e5942f2ca8c1ad63b3a8a84ca0c3d1
PACKAGES_PACKAGES_COMMIT=d057936acbefd76b033e7c365baa68b48ccb9166
PACKAGES_ROUTING_REPO=https://github.com/openwrt/routing.git
PACKAGES_ROUTING_BRANCH=openwrt-22.03
PACKAGES_ROUTING_COMMIT=8872359011eee64981804f7ed42d5d6b54add6d8
PACKAGES_ROUTING_COMMIT=1cc7676b9f32acc30ec47f15fcb70380d5d6ef01
PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
PACKAGES_GLUON_COMMIT=04d2b6ffbb6ee02012f2733b7752d8db0d12eaff
PACKAGES_GLUON_COMMIT=29912ec6308fd10b47763b4cf28a638d07f59973

View File

@ -1,5 +1,10 @@
#!/bin/sh
# Work around an issue with wifi setup timing by waiting a bit
# while device initialisation is ongoing.
# https://github.com/freifunk-gluon/gluon/issues/2779
sleep 3
gluon-reconfigure
exit 0

View File

@ -87,6 +87,9 @@ local primary_addrs = {
{'ipq806x', 'generic', {
'netgear,r7800',
}},
{'lantiq', 'xrx200', {
'arcadyan,vgv7510kw22-nor',
}},
{'lantiq', 'xway', {
'netgear,dgn3500b',
}},
@ -102,6 +105,7 @@ local primary_addrs = {
}},
{'rockchip', 'armv8', {
'friendlyarm,nanopi-r2s',
'friendlyarm,nanopi-r4s',
}},
{'x86'},
}},

View File

@ -67,6 +67,14 @@ elseif platform.match('ramips', 'mt7621', {
'netgear,wac104',
}) then
lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1'
elseif platform.match('lantiq', 'xrx200', {
'arcadyan,vgv7510kw22-nor',
}) then
lan_ifname, wan_ifname = 'lan1 lan2 lan3 lan4', 'wan'
elseif platform.match('realtek', 'rtl838x', {
'd-link,dgs-1210-10p',
}) then
lan_ifname, wan_ifname = 'lan2 lan3 lan4 lan5 lan6 lan7 lan8 lan9 lan10', 'lan1'
end
if wan_ifname and lan_ifname then

View File

@ -33,6 +33,14 @@ if #mesh_interfaces_other > 0 then
else
iftype = 'bridge'
ifname = mesh_interfaces_other
for _, iface in ipairs(ifname) do
uci:section('network', 'device', nil, {
name = iface,
isolate = true,
})
end
end
uci:section('network', 'interface', 'mesh_other', {

View File

@ -25,6 +25,7 @@ end
function M.is_outdoor_device()
if M.match('ath79', 'generic', {
'devolo,dvl1750x',
'librerouter,librerouter-v1',
'plasmacloud,pa300',
'plasmacloud,pa300e',
'tplink,cpe210-v1',

View File

@ -3,10 +3,10 @@ Date: Sun, 5 Jun 2022 23:43:38 +0200
Subject: ramips-mt7621: make DSA images swconfig upgradable
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 7f903485aa9e3055ae0bb490bb8e6d5aab565b45..5b502710b7959825bc2e079d0ffcbbe9c1b063ae 100644
index 9c451c26bf180a0ea45a33f567def4770b07398e..5a72f5b8435f20c72e4dc0c6c5b199f00cb6da84 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -172,7 +172,6 @@ endef
@@ -180,7 +180,6 @@ endef
TARGET_DEVICES += asiarf_ap7621-nv1
define Device/asus_rt-ac57u
@ -14,23 +14,23 @@ index 7f903485aa9e3055ae0bb490bb8e6d5aab565b45..5b502710b7959825bc2e079d0ffcbbe9
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC57U
DEVICE_ALT0_VENDOR := ASUS
@@ -418,7 +417,6 @@ endef
@@ -452,7 +451,6 @@ endef
TARGET_DEVICES += dlink_dir-853-r1
define Device/dlink_dir-860l-b1
- $(Device/dsa-migration)
$(Device/seama)
$(Device/seama-lzma-loader)
SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb
LOADER_TYPE := bin
@@ -1226,7 +1224,6 @@ endef
IMAGE_SIZE := 16064k
@@ -1272,7 +1270,6 @@ endef
TARGET_DEVICES += mts_wg430223
define Device/netgear_ex6150
- $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX6150
DEVICE_PACKAGES := kmod-mt76x2
@@ -1238,7 +1235,6 @@ endef
@@ -1285,7 +1282,6 @@ endef
TARGET_DEVICES += netgear_ex6150
define Device/netgear_sercomm_nand
@ -38,7 +38,7 @@ index 7f903485aa9e3055ae0bb490bb8e6d5aab565b45..5b502710b7959825bc2e079d0ffcbbe9
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
@@ -1421,7 +1417,6 @@ endef
@@ -1468,7 +1464,6 @@ endef
TARGET_DEVICES += netgear_wax202
define Device/netgear_wndr3700-v5
@ -46,7 +46,7 @@ index 7f903485aa9e3055ae0bb490bb8e6d5aab565b45..5b502710b7959825bc2e079d0ffcbbe9
$(Device/netgear_sercomm_nor)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15232k
@@ -1745,7 +1740,6 @@ endef
@@ -1805,7 +1800,6 @@ endef
TARGET_DEVICES += tplink_tl-wpa8631p-v3
define Device/ubnt_edgerouter_common
@ -54,7 +54,7 @@ index 7f903485aa9e3055ae0bb490bb8e6d5aab565b45..5b502710b7959825bc2e079d0ffcbbe9
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := Ubiquiti
IMAGE_SIZE := 256768k
@@ -2131,7 +2125,6 @@ endef
@@ -2221,7 +2215,6 @@ endef
TARGET_DEVICES += zbtlink_zbt-wg2626
define Device/zbtlink_zbt-wg3526-16m
@ -62,7 +62,7 @@ index 7f903485aa9e3055ae0bb490bb8e6d5aab565b45..5b502710b7959825bc2e079d0ffcbbe9
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
@@ -2144,7 +2137,6 @@ endef
@@ -2234,7 +2227,6 @@ endef
TARGET_DEVICES += zbtlink_zbt-wg3526-16m
define Device/zbtlink_zbt-wg3526-32m

View File

@ -16,7 +16,7 @@ index 756105b94c7f844439132ab57837c9ac87d231ca..5563968de9ab3f491fa89d755fcc6e6f
endef
diff --git a/target/linux/lantiq/image/vr9.mk b/target/linux/lantiq/image/vr9.mk
index d17045b6db157a878534a28988accd8998ddd572..e83da928e57d827d33bca6bdef96df290bb67347 100644
index deea3996670fcef6d2a546373425c4ca5d92734b..d23b80e94e5548ccb19738f22c29c75fa19ab1e7 100644
--- a/target/linux/lantiq/image/vr9.mk
+++ b/target/linux/lantiq/image/vr9.mk
@@ -1,7 +1,7 @@

View File

@ -0,0 +1,914 @@
From: Linus Lüssing <linus.luessing@c0d3.blue>
Date: Sat, 1 Jan 2022 10:09:13 +0100
Subject: kernel: bridge: Implement MLD Querier wake-up calls / Android bug workaround
Implement a configurable MLD Querier wake-up calls "feature" which
works around a widely spread Android bug in connection with IGMP/MLD
snooping.
Currently there are mobile devices (e.g. Android) which are not able
to receive and respond to MLD Queries reliably because the Wifi driver
filters a lot of ICMPv6 when the device is asleep - including
MLD. This in turn breaks IPv6 communication when MLD Snooping is
enabled. However there is one ICMPv6 type which is allowed to pass and
which can be used to wake up the mobile device: ICMPv6 Echo Requests.
If this bridge is the selected MLD Querier then setting
"multicast_wakeupcall" to a number n greater than 0 will send n
ICMPv6 Echo Requests to each host behind this port to wake
them up with each MLD Query. Upon receiving a matching ICMPv6 Echo
Reply an MLD Query with a unicast ethernet destination will be sent
to the specific host(s).
Link: https://issuetracker.google.com/issues/149630944
Link: https://github.com/freifunk-gluon/gluon/issues/1832
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
diff --git a/package/network/config/netifd/patches/0001-bridge-Add-multicast_wakeupcall-option.patch b/package/network/config/netifd/patches/0001-bridge-Add-multicast_wakeupcall-option.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e3da684dc950ea4c226705d27b23b0470499d54b
--- /dev/null
+++ b/package/network/config/netifd/patches/0001-bridge-Add-multicast_wakeupcall-option.patch
@@ -0,0 +1,176 @@
+From 6db5050d9e046a486260ea23a77118db4f8a6672 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Linus=20L=C3=BCssing?= <linus.luessing@c0d3.blue>
+Date: Sun, 5 Jul 2020 23:33:51 +0200
+Subject: [PATCH] bridge: Add multicast_wakeupcall option
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This makes the new per bridge port multicast_wakeupcall feature
+for the Linux bridge configurable for wireless interfaces and enables it
+by default for an AP interface.
+
+The MLD Querier wake-up calls "feature" works around a widely spread Android
+bug in connection with IGMP/MLD snooping.
+
+Currently there are mobile devices (e.g. Android) which are not able
+to receive and respond to MLD Queries reliably because the Wifi driver
+filters a lot of ICMPv6 when the device is asleep - including
+MLD. This in turn breaks IPv6 communication when MLD Snooping is
+enabled. However there is one ICMPv6 type which is allowed to pass and
+which can be used to wake up the mobile device: ICMPv6 Echo Requests.
+
+If this bridge is the selected MLD Querier then setting
+"multicast_wakeupcall" to a number n greater than 0 will send n
+ICMPv6 Echo Requests to each host behind this port to wake
+them up with each MLD Query. Upon receiving a matching ICMPv6 Echo
+Reply an MLD Query with a unicast ethernet destination will be sent
+to the specific host(s).
+
+Link: https://issuetracker.google.com/issues/149630944
+Link: https://github.com/freifunk-gluon/gluon/issues/1832
+
+Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
+---
+ device.c | 9 +++++++++
+ device.h | 37 ++++++++++++++++++++-----------------
+ system-linux.c | 13 +++++++++++++
+ 3 files changed, 42 insertions(+), 17 deletions(-)
+
+--- a/device.c
++++ b/device.c
+@@ -47,6 +47,7 @@ static const struct blobmsg_policy dev_a
+ [DEV_ATTR_NEIGHGCSTALETIME] = { .name = "neighgcstaletime", .type = BLOBMSG_TYPE_INT32 },
+ [DEV_ATTR_DADTRANSMITS] = { .name = "dadtransmits", .type = BLOBMSG_TYPE_INT32 },
+ [DEV_ATTR_MULTICAST_TO_UNICAST] = { .name = "multicast_to_unicast", .type = BLOBMSG_TYPE_BOOL },
++ [DEV_ATTR_MULTICAST_WAKEUPCALL] = { .name = "multicast_wakeupcall", .type = BLOBMSG_TYPE_INT32 },
+ [DEV_ATTR_MULTICAST_ROUTER] = { .name = "multicast_router", .type = BLOBMSG_TYPE_INT32 },
+ [DEV_ATTR_MULTICAST_FAST_LEAVE] = { .name = "multicast_fast_leave", . type = BLOBMSG_TYPE_BOOL },
+ [DEV_ATTR_MULTICAST] = { .name ="multicast", .type = BLOBMSG_TYPE_BOOL },
+@@ -261,6 +262,7 @@ device_merge_settings(struct device *dev
+ n->multicast = s->flags & DEV_OPT_MULTICAST ?
+ s->multicast : os->multicast;
+ n->multicast_to_unicast = s->multicast_to_unicast;
++ n->multicast_wakeupcall = s->multicast_wakeupcall;
+ n->multicast_router = s->multicast_router;
+ n->multicast_fast_leave = s->multicast_fast_leave;
+ n->learning = s->learning;
+@@ -386,6 +388,11 @@ device_init_settings(struct device *dev,
+ s->flags |= DEV_OPT_MULTICAST_TO_UNICAST;
+ }
+
++ if ((cur = tb[DEV_ATTR_MULTICAST_WAKEUPCALL])) {
++ s->multicast_wakeupcall = blobmsg_get_u32(cur);
++ s->flags |= DEV_OPT_MULTICAST_WAKEUPCALL;
++ }
++
+ if ((cur = tb[DEV_ATTR_MULTICAST_ROUTER])) {
+ s->multicast_router = blobmsg_get_u32(cur);
+ if (s->multicast_router <= 2)
+@@ -1186,6 +1193,8 @@ device_dump_status(struct blob_buf *b, s
+ blobmsg_add_u32(b, "dadtransmits", st.dadtransmits);
+ if (st.flags & DEV_OPT_MULTICAST_TO_UNICAST)
+ blobmsg_add_u8(b, "multicast_to_unicast", st.multicast_to_unicast);
++ if (st.flags & DEV_OPT_MULTICAST_WAKEUPCALL)
++ blobmsg_add_u32(b, "multicast_wakeupcall", st.multicast_wakeupcall);
+ if (st.flags & DEV_OPT_MULTICAST_ROUTER)
+ blobmsg_add_u32(b, "multicast_router", st.multicast_router);
+ if (st.flags & DEV_OPT_MULTICAST_FAST_LEAVE)
+--- a/device.h
++++ b/device.h
+@@ -44,6 +44,7 @@ enum {
+ DEV_ATTR_NEIGHREACHABLETIME,
+ DEV_ATTR_DADTRANSMITS,
+ DEV_ATTR_MULTICAST_TO_UNICAST,
++ DEV_ATTR_MULTICAST_WAKEUPCALL,
+ DEV_ATTR_MULTICAST_ROUTER,
+ DEV_ATTR_MULTICAST_FAST_LEAVE,
+ DEV_ATTR_MULTICAST,
+@@ -109,23 +110,24 @@ enum {
+ DEV_OPT_MTU6 = (1ULL << 12),
+ DEV_OPT_DADTRANSMITS = (1ULL << 13),
+ DEV_OPT_MULTICAST_TO_UNICAST = (1ULL << 14),
+- DEV_OPT_MULTICAST_ROUTER = (1ULL << 15),
+- DEV_OPT_MULTICAST = (1ULL << 16),
+- DEV_OPT_LEARNING = (1ULL << 17),
+- DEV_OPT_UNICAST_FLOOD = (1ULL << 18),
+- DEV_OPT_NEIGHGCSTALETIME = (1ULL << 19),
+- DEV_OPT_MULTICAST_FAST_LEAVE = (1ULL << 20),
+- DEV_OPT_SENDREDIRECTS = (1ULL << 21),
+- DEV_OPT_NEIGHLOCKTIME = (1ULL << 22),
+- DEV_OPT_ISOLATE = (1ULL << 23),
+- DEV_OPT_IP6SEGMENTROUTING = (1ULL << 24),
+- DEV_OPT_DROP_V4_UNICAST_IN_L2_MULTICAST = (1ULL << 25),
+- DEV_OPT_DROP_V6_UNICAST_IN_L2_MULTICAST = (1ULL << 26),
+- DEV_OPT_DROP_GRATUITOUS_ARP = (1ULL << 27),
+- DEV_OPT_DROP_UNSOLICITED_NA = (1ULL << 28),
+- DEV_OPT_ARP_ACCEPT = (1ULL << 29),
+- DEV_OPT_SPEED = (1ULL << 30),
+- DEV_OPT_DUPLEX = (1ULL << 31),
++ DEV_OPT_MULTICAST_WAKEUPCALL = (1ULL << 15),
++ DEV_OPT_MULTICAST_ROUTER = (1ULL << 16),
++ DEV_OPT_MULTICAST = (1ULL << 17),
++ DEV_OPT_LEARNING = (1ULL << 18),
++ DEV_OPT_UNICAST_FLOOD = (1ULL << 19),
++ DEV_OPT_NEIGHGCSTALETIME = (1ULL << 20),
++ DEV_OPT_MULTICAST_FAST_LEAVE = (1ULL << 21),
++ DEV_OPT_SENDREDIRECTS = (1ULL << 22),
++ DEV_OPT_NEIGHLOCKTIME = (1ULL << 23),
++ DEV_OPT_ISOLATE = (1ULL << 24),
++ DEV_OPT_IP6SEGMENTROUTING = (1ULL << 25),
++ DEV_OPT_DROP_V4_UNICAST_IN_L2_MULTICAST = (1ULL << 26),
++ DEV_OPT_DROP_V6_UNICAST_IN_L2_MULTICAST = (1ULL << 27),
++ DEV_OPT_DROP_GRATUITOUS_ARP = (1ULL << 28),
++ DEV_OPT_DROP_UNSOLICITED_NA = (1ULL << 29),
++ DEV_OPT_ARP_ACCEPT = (1ULL << 30),
++ DEV_OPT_SPEED = (1ULL << 31),
++ DEV_OPT_DUPLEX = (1ULL << 32),
+ };
+
+ /* events broadcasted to all users of a device */
+@@ -187,6 +189,7 @@ struct device_settings {
+ int neigh4locktime;
+ unsigned int dadtransmits;
+ bool multicast_to_unicast;
++ unsigned int multicast_wakeupcall;
+ unsigned int multicast_router;
+ bool multicast_fast_leave;
+ bool multicast;
+--- a/system-linux.c
++++ b/system-linux.c
+@@ -465,6 +465,11 @@ static void system_bridge_set_multicast_
+ system_set_dev_sysfs("brport/multicast_to_unicast", dev->ifname, val);
+ }
+
++static void system_bridge_set_multicast_wakeupcall(struct device *dev, const char *val)
++{
++ system_set_dev_sysfs("brport/multicast_wakeupcall", dev->ifname, val);
++}
++
+ static void system_bridge_set_multicast_fast_leave(struct device *dev, const char *val)
+ {
+ system_set_dev_sysfs("brport/multicast_fast_leave", dev->ifname, val);
+@@ -844,8 +849,10 @@ static char *system_get_bridge(const cha
+ static void
+ system_bridge_set_wireless(struct device *bridge, struct device *dev)
+ {
++ unsigned int mcast_wakeupcall = dev->wireless_ap ? 2 : 0;
+ bool mcast_to_ucast = dev->wireless_ap;
+ bool hairpin;
++ char buf[64];
+
+ if (bridge->settings.flags & DEV_OPT_MULTICAST_TO_UNICAST &&
+ !bridge->settings.multicast_to_unicast)
+@@ -858,6 +865,12 @@ system_bridge_set_wireless(struct device
+ system_bridge_set_multicast_to_unicast(dev, mcast_to_ucast ? "1" : "0");
+ system_bridge_set_hairpin_mode(dev, hairpin ? "1" : "0");
+ system_bridge_set_proxyarp_wifi(dev, dev->wireless_proxyarp ? "1" : "0");
++
++ if (bridge->settings.flags & DEV_OPT_MULTICAST_WAKEUPCALL)
++ mcast_wakeupcall = dev->settings.multicast_wakeupcall;
++
++ snprintf(buf, sizeof(buf), "%u", mcast_wakeupcall);
++ system_bridge_set_multicast_wakeupcall(dev, buf);
+ }
+
+ int system_bridge_addif(struct device *bridge, struct device *dev)
diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index a348d4821ecef796c8c2b983a969b7becb7ae334..dad7baabe69f53ca9afeff8e9392397dd9dc35aa 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -738,6 +738,7 @@ CONFIG_BRIDGE=y
# CONFIG_BRIDGE_EBT_T_NAT is not set
# CONFIG_BRIDGE_EBT_VLAN is not set
CONFIG_BRIDGE_IGMP_SNOOPING=y
+CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS=y
# CONFIG_BRIDGE_MRP is not set
# CONFIG_BRIDGE_NETFILTER is not set
# CONFIG_BRIDGE_NF_EBTABLES is not set
diff --git a/target/linux/generic/hack-5.10/601-bridge-Implement-MLD-Querier-wake-up-calls-Android-b.patch b/target/linux/generic/hack-5.10/601-bridge-Implement-MLD-Querier-wake-up-calls-Android-b.patch
new file mode 100644
index 0000000000000000000000000000000000000000..17df35fe4a812b5b5118beb9239bf825be7b67ed
--- /dev/null
+++ b/target/linux/generic/hack-5.10/601-bridge-Implement-MLD-Querier-wake-up-calls-Android-b.patch
@@ -0,0 +1,687 @@
+From e0fd3ecf9b4f6825ad0380b759baf88ef508bed5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Linus=20L=C3=BCssing?= <linus.luessing@c0d3.blue>
+Date: Mon, 29 Jun 2020 19:04:05 +0200
+Subject: [PATCH] bridge: Implement MLD Querier wake-up calls / Android bug
+ workaround
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Implement a configurable MLD Querier wake-up calls "feature" which
+works around a widely spread Android bug in connection with IGMP/MLD
+snooping.
+
+Currently there are mobile devices (e.g. Android) which are not able
+to receive and respond to MLD Queries reliably because the Wifi driver
+filters a lot of ICMPv6 when the device is asleep - including
+MLD. This in turn breaks IPv6 communication when MLD Snooping is
+enabled. However there is one ICMPv6 type which is allowed to pass and
+which can be used to wake up the mobile device: ICMPv6 Echo Requests.
+
+If this bridge is the selected MLD Querier then setting
+"multicast_wakeupcall" to a number n greater than 0 will send n
+ICMPv6 Echo Requests to each host behind this port to wake
+them up with each MLD Query. Upon receiving a matching ICMPv6 Echo
+Reply an MLD Query with a unicast ethernet destination will be sent
+to the specific host(s).
+
+Link: https://issuetracker.google.com/issues/149630944
+Link: https://github.com/freifunk-gluon/gluon/issues/1832
+
+Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
+---
+ include/linux/if_bridge.h | 1 +
+ include/net/addrconf.h | 1 +
+ include/uapi/linux/if_link.h | 1 +
+ net/bridge/Kconfig | 26 ++++
+ net/bridge/br_fdb.c | 10 ++
+ net/bridge/br_input.c | 4 +-
+ net/bridge/br_multicast.c | 289 ++++++++++++++++++++++++++++++++++-
+ net/bridge/br_netlink.c | 19 +++
+ net/bridge/br_private.h | 19 +++
+ net/bridge/br_sysfs_if.c | 18 +++
+ net/core/rtnetlink.c | 2 +-
+ net/ipv6/mcast_snoop.c | 3 +-
+ 12 files changed, 383 insertions(+), 10 deletions(-)
+
+diff --git a/include/linux/if_bridge.h b/include/linux/if_bridge.h
+index ea1c7d151f46..d7714f60b88a 100644
+--- a/include/linux/if_bridge.h
++++ b/include/linux/if_bridge.h
+@@ -58,6 +58,7 @@ struct br_ip_list {
+ #define BR_MRP_LOST_IN_CONT BIT(19)
+ #define BR_BPDU_FILTER BIT(20)
+ #define BR_OFFLOAD BIT(21)
++#define BR_MULTICAST_WAKEUPCALL BIT(22)
+
+ #define BR_DEFAULT_AGEING_TIME (300 * HZ)
+
+diff --git a/include/net/addrconf.h b/include/net/addrconf.h
+index e7ce719838b5..af8f153e1b5f 100644
+--- a/include/net/addrconf.h
++++ b/include/net/addrconf.h
+@@ -235,6 +235,7 @@ void ipv6_mc_unmap(struct inet6_dev *idev);
+ void ipv6_mc_remap(struct inet6_dev *idev);
+ void ipv6_mc_init_dev(struct inet6_dev *idev);
+ void ipv6_mc_destroy_dev(struct inet6_dev *idev);
++int ipv6_mc_check_icmpv6(struct sk_buff *skb);
+ int ipv6_mc_check_mld(struct sk_buff *skb);
+ void addrconf_dad_failure(struct sk_buff *skb, struct inet6_ifaddr *ifp);
+
+diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
+index ffeb05c061d2..1956ab99e97d 100644
+--- a/include/uapi/linux/if_link.h
++++ b/include/uapi/linux/if_link.h
+@@ -525,6 +525,7 @@ enum {
+ IFLA_BRPORT_MRP_RING_OPEN,
+ IFLA_BRPORT_MRP_IN_OPEN,
+ IFLA_BRPORT_BPDU_FILTER,
++ IFLA_BRPORT_MCAST_WAKEUPCALL,
+ __IFLA_BRPORT_MAX
+ };
+ #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
+diff --git a/net/bridge/Kconfig b/net/bridge/Kconfig
+index 80879196560c..056e80bf00c4 100644
+--- a/net/bridge/Kconfig
++++ b/net/bridge/Kconfig
+@@ -48,6 +48,32 @@ config BRIDGE_IGMP_SNOOPING
+
+ If unsure, say Y.
+
++config BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ bool "MLD Querier wake-up calls"
++ depends on BRIDGE_IGMP_SNOOPING
++ depends on IPV6
++ help
++ If you say Y here, then the MLD Snooping Querier will be built
++ with a per bridge port wake-up call "feature"/workaround.
++
++ Currently there are mobile devices (e.g. Android) which are not able
++ to receive and respond to MLD Queries reliably because the Wifi driver
++ filters a lot of ICMPv6 when the device is asleep - including MLD.
++ This in turn breaks IPv6 communication when MLD Snooping is enabled.
++ However there is one ICMPv6 type which is allowed to pass and
++ which can be used to wake up the mobile device: ICMPv6 Echo Requests.
++
++ If this bridge is the selected MLD Querier then setting
++ "multicast_wakeupcall" to a number n greater than 0 will send n
++ ICMPv6 Echo Requests to each host behind this port to wake them up
++ with each MLD Query. Upon receiving a matching ICMPv6 Echo Reply
++ an MLD Query with a unicast ethernet destination will be sent to the
++ specific host(s).
++
++ Say N to exclude this support and reduce the binary size.
++
++ If unsure, say N.
++
+ config BRIDGE_VLAN_FILTERING
+ bool "VLAN filtering"
+ depends on BRIDGE
+diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
+index bc6c8d5cd1e1..98ca86b7ca42 100644
+--- a/net/bridge/br_fdb.c
++++ b/net/bridge/br_fdb.c
+@@ -85,6 +85,10 @@ static void fdb_rcu_free(struct rcu_head *head)
+ {
+ struct net_bridge_fdb_entry *ent
+ = container_of(head, struct net_bridge_fdb_entry, rcu);
++
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ del_timer_sync(&ent->wakeupcall_timer);
++#endif
+ kmem_cache_free(br_fdb_cache, ent);
+ }
+
+@@ -516,6 +520,12 @@ static struct net_bridge_fdb_entry *fdb_create(struct net_bridge *br,
+ fdb->updated = fdb->used = jiffies;
+ INIT_HLIST_HEAD(&fdb->offload_in);
+ INIT_HLIST_HEAD(&fdb->offload_out);
++
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ timer_setup(&fdb->wakeupcall_timer,
++ br_multicast_send_wakeupcall, 0);
++#endif
++
+ if (rhashtable_lookup_insert_fast(&br->fdb_hash_tbl,
+ &fdb->rhnode,
+ br_fdb_rht_params)) {
+diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c
+index 64f3eaa3879d..a449a1f60f1b 100644
+--- a/net/bridge/br_input.c
++++ b/net/bridge/br_input.c
+@@ -163,8 +163,10 @@ int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb
+ if (dst) {
+ unsigned long now = jiffies;
+
+- if (test_bit(BR_FDB_LOCAL, &dst->flags))
++ if (test_bit(BR_FDB_LOCAL, &dst->flags)) {
++ br_multicast_wakeupcall_rcv(br, p, skb, vid);
+ return br_pass_frame_up(skb);
++ }
+
+ if (now != dst->used)
+ dst->used = now;
+diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
+index e5328a2777ec..a2f45bd523ab 100644
+--- a/net/bridge/br_multicast.c
++++ b/net/bridge/br_multicast.c
+@@ -833,15 +833,16 @@ static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br,
+ const struct in6_addr *group,
+ bool with_srcs, bool over_llqt,
+ u8 sflag, u8 *igmp_type,
+- bool *need_rexmit)
++ bool *need_rexmit,
++ bool delay)
+ {
+ struct net_bridge_port *p = pg ? pg->key.port : NULL;
+ struct net_bridge_group_src *ent;
+ size_t pkt_size, mld_hdr_size;
+ unsigned long now = jiffies;
++ unsigned long interval = 0;
+ struct mld2_query *mld2q;
+ void *csum_start = NULL;
+- unsigned long interval;
+ __sum16 *csum = NULL;
+ struct ipv6hdr *ip6h;
+ struct mld_msg *mldq;
+@@ -922,9 +923,13 @@ static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br,
+
+ /* ICMPv6 */
+ skb_set_transport_header(skb, skb->len);
+- interval = ipv6_addr_any(group) ?
+- br->multicast_query_response_interval :
+- br->multicast_last_member_interval;
++ if (delay) {
++ interval = ipv6_addr_any(group) ?
++ br->multicast_query_response_interval :
++ br->multicast_last_member_interval;
++ interval = jiffies_to_msecs(interval);
++ }
++
+ *igmp_type = ICMPV6_MGM_QUERY;
+ switch (br->multicast_mld_version) {
+ case 1:
+@@ -932,7 +937,7 @@ static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br,
+ mldq->mld_type = ICMPV6_MGM_QUERY;
+ mldq->mld_code = 0;
+ mldq->mld_cksum = 0;
+- mldq->mld_maxdelay = htons((u16)jiffies_to_msecs(interval));
++ mldq->mld_maxdelay = htons((u16)interval);
+ mldq->mld_reserved = 0;
+ mldq->mld_mca = *group;
+ csum = &mldq->mld_cksum;
+@@ -1022,7 +1027,7 @@ static struct sk_buff *br_multicast_alloc_query(struct net_bridge *br,
+ &ip6_dst, &group->dst.ip6,
+ with_srcs, over_lmqt,
+ sflag, igmp_type,
+- need_rexmit);
++ need_rexmit, true);
+ }
+ #endif
+ }
+@@ -1427,6 +1432,168 @@ static void br_multicast_select_own_querier(struct net_bridge *br,
+ #endif
+ }
+
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++
++#define BR_MC_WAKEUP_ID htons(0xEC6B) /* random identifier */
++#define BR_MC_ETH_ZERO { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
++#define BR_MC_IN6_ZERO \
++{ \
++ .s6_addr32[0] = 0, .s6_addr32[1] = 0, \
++ .s6_addr32[2] = 0, .s6_addr32[3] = 0, \
++}
++
++#define BR_MC_IN6_FE80 \
++{ \
++ .s6_addr32[0] = htonl(0xfe800000), \
++ .s6_addr32[1] = 0, \
++ .s6_addr32[2] = htonl(0x000000ff), \
++ .s6_addr32[3] = htonl(0xfe000000), \
++}
++
++#define BR_MC_ECHO_LEN sizeof(pkt->echohdr)
++
++static struct sk_buff *br_multicast_alloc_wakeupcall(struct net_bridge *br,
++ struct net_bridge_port *port,
++ u8 *eth_dst)
++{
++ struct in6_addr ip6_src, ip6_dst = BR_MC_IN6_FE80;
++ struct sk_buff *skb;
++ __wsum csum_part;
++ __sum16 csum;
++
++ struct wakeupcall_pkt {
++ struct ethhdr ethhdr;
++ struct ipv6hdr ip6hdr;
++ struct icmp6hdr echohdr;
++ } __packed;
++
++ struct wakeupcall_pkt *pkt;
++
++ static const struct wakeupcall_pkt __pkt_template = {
++ .ethhdr = {
++ .h_dest = BR_MC_ETH_ZERO, // update
++ .h_source = BR_MC_ETH_ZERO, // update
++ .h_proto = htons(ETH_P_IPV6),
++ },
++ .ip6hdr = {
++ .priority = 0,
++ .version = 0x6,
++ .flow_lbl = { 0x00, 0x00, 0x00 },
++ .payload_len = htons(BR_MC_ECHO_LEN),
++ .nexthdr = IPPROTO_ICMPV6,
++ .hop_limit = 1,
++ .saddr = BR_MC_IN6_ZERO, // update
++ .daddr = BR_MC_IN6_ZERO, // update
++ },
++ .echohdr = {
++ .icmp6_type = ICMPV6_ECHO_REQUEST,
++ .icmp6_code = 0,
++ .icmp6_cksum = 0, // update
++ .icmp6_dataun.u_echo = {
++ .identifier = BR_MC_WAKEUP_ID,
++ .sequence = 0,
++ },
++ },
++ };
++
++ memcpy(&ip6_dst.s6_addr32[2], &eth_dst[0], ETH_ALEN / 2);
++ memcpy(&ip6_dst.s6_addr[13], &eth_dst[3], ETH_ALEN / 2);
++ ip6_dst.s6_addr[8] ^= 0x02;
++ if (ipv6_dev_get_saddr(dev_net(br->dev), br->dev, &ip6_dst, 0,
++ &ip6_src))
++ return NULL;
++
++ skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*pkt));
++ if (!skb)
++ return NULL;
++
++ skb->protocol = htons(ETH_P_IPV6);
++ skb->dev = port->dev;
++
++ pkt = (struct wakeupcall_pkt *)skb->data;
++ *pkt = __pkt_template;
++
++ ether_addr_copy(pkt->ethhdr.h_source, br->dev->dev_addr);
++ ether_addr_copy(pkt->ethhdr.h_dest, eth_dst);
++
++ pkt->ip6hdr.saddr = ip6_src;
++ pkt->ip6hdr.daddr = ip6_dst;
++
++ csum_part = csum_partial(&pkt->echohdr, sizeof(pkt->echohdr), 0);
++ csum = csum_ipv6_magic(&ip6_src, &ip6_dst, sizeof(pkt->echohdr),
++ IPPROTO_ICMPV6, csum_part);
++ pkt->echohdr.icmp6_cksum = csum;
++
++ skb_reset_mac_header(skb);
++ skb_set_network_header(skb, offsetof(struct wakeupcall_pkt, ip6hdr));
++ skb_set_transport_header(skb, offsetof(struct wakeupcall_pkt, echohdr));
++ skb_put(skb, sizeof(*pkt));
++ __skb_pull(skb, sizeof(pkt->ethhdr));
++
++ return skb;
++}
++
++void br_multicast_send_wakeupcall(struct timer_list *t)
++{
++ struct net_bridge_fdb_entry *fdb = from_timer(fdb, t, wakeupcall_timer);
++ struct net_bridge_port *port = fdb->dst;
++ struct net_bridge *br = port->br;
++ struct sk_buff *skb, *skb0;
++ int i;
++
++ skb0 = br_multicast_alloc_wakeupcall(br, port, fdb->key.addr.addr);
++ if (!skb0)
++ return;
++
++ for (i = port->wakeupcall_num_rings; i > 0; i--) {
++ if (i > 1) {
++ skb = skb_clone(skb0, GFP_ATOMIC);
++ if (!skb) {
++ kfree_skb(skb0);
++ break;
++ }
++ } else {
++ skb = skb0;
++ }
++
++ NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_OUT,
++ dev_net(port->dev), NULL, skb, NULL, skb->dev,
++ br_dev_queue_push_xmit);
++ }
++}
++
++static void br_multicast_schedule_wakeupcalls(struct net_bridge *br,
++ struct net_bridge_port *port,
++ const struct in6_addr *group)
++{
++ struct net_bridge_fdb_entry *fdb;
++ unsigned long delay;
++
++ rcu_read_lock();
++ hlist_for_each_entry_rcu(fdb, &br->fdb_list, fdb_node) {
++ if (!fdb->dst || fdb->dst->dev != port->dev)
++ continue;
++
++ /* Wake-up calls to VLANs unsupported for now */
++ if (fdb->key.vlan_id)
++ continue;
++
++ /* Spread the ICMPv6 Echo Requests to avoid congestion.
++ * We then won't use a max response delay for the queries later,
++ * as that would be redundant. Spread randomly by a little less
++ * than max response delay to anticipate the extra round trip.
++ */
++ delay = ipv6_addr_any(group) ?
++ br->multicast_query_response_interval :
++ br->multicast_last_member_interval;
++ delay = prandom_u32() % (3 * delay / 4);
++
++ timer_reduce(&fdb->wakeupcall_timer, jiffies + delay);
++ }
++ rcu_read_unlock();
++}
++#endif /* CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS */
++
+ static void __br_multicast_send_query(struct net_bridge *br,
+ struct net_bridge_port *port,
+ struct net_bridge_port_group *pg,
+@@ -1455,6 +1622,13 @@ static void __br_multicast_send_query(struct net_bridge *br,
+ dev_net(port->dev), NULL, skb, NULL, skb->dev,
+ br_dev_queue_push_xmit);
+
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ if (port->wakeupcall_num_rings &&
++ group->proto == htons(ETH_P_IPV6))
++ br_multicast_schedule_wakeupcalls(br, port,
++ &group->dst.ip6);
++#endif
++
+ if (over_lmqt && with_srcs && sflag) {
+ over_lmqt = false;
+ goto again_under_lmqt;
+@@ -3164,6 +3338,98 @@ int br_multicast_rcv(struct net_bridge *br, struct net_bridge_port *port,
+ return ret;
+ }
+
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++
++static bool br_multicast_wakeupcall_check(struct net_bridge *br,
++ struct net_bridge_port *port,
++ struct sk_buff *skb, u16 vid)
++{
++ struct ethhdr *eth = eth_hdr(skb);
++ const struct ipv6hdr *ip6h;
++ unsigned int offset, len;
++ struct icmp6hdr *icmp6h;
++
++ /* Wake-up calls to VLANs unsupported for now */
++ if (!port->wakeupcall_num_rings || vid ||
++ eth->h_proto != htons(ETH_P_IPV6))
++ return false;
++
++ if (!ether_addr_equal(eth->h_dest, br->dev->dev_addr) ||
++ is_multicast_ether_addr(eth->h_source) ||
++ is_zero_ether_addr(eth->h_source))
++ return false;
++
++ offset = skb_network_offset(skb) + sizeof(*ip6h);
++ if (!pskb_may_pull(skb, offset))
++ return false;
++
++ ip6h = ipv6_hdr(skb);
++
++ if (ip6h->version != 6)
++ return false;
++
++ len = offset + ntohs(ip6h->payload_len);
++ if (skb->len < len || len <= offset)
++ return false;
++
++ if (ip6h->nexthdr != IPPROTO_ICMPV6)
++ return false;
++
++ skb_set_transport_header(skb, offset);
++
++ if (ipv6_mc_check_icmpv6(skb) < 0)
++ return false;
++
++ icmp6h = (struct icmp6hdr *)skb_transport_header(skb);
++ if (icmp6h->icmp6_type != ICMPV6_ECHO_REPLY ||
++ icmp6h->icmp6_dataun.u_echo.identifier != BR_MC_WAKEUP_ID)
++ return false;
++
++ return true;
++}
++
++static void br_multicast_wakeupcall_send_mldq(struct net_bridge *br,
++ struct net_bridge_port *port,
++ const u8 *eth_dst)
++{
++ const struct in6_addr group = BR_MC_IN6_ZERO;
++ struct in6_addr ip6_dst;
++ struct sk_buff *skb;
++ u8 igmp_type;
++
++ /* we might have been triggered by multicast-address-specific query
++ * but reply with a general MLD query for now to keep things simple
++ */
++ ipv6_addr_set(&ip6_dst, htonl(0xff020000), 0, 0, htonl(1));
++
++ skb = br_ip6_multicast_alloc_query(br, NULL, &ip6_dst, &group, false,
++ false, false, &igmp_type, NULL,
++ false);
++ if (!skb)
++ return;
++
++ skb->dev = port->dev;
++ ether_addr_copy(eth_hdr(skb)->h_dest, eth_dst);
++
++ br_multicast_count(br, port, skb, igmp_type,
++ BR_MCAST_DIR_TX);
++ NF_HOOK(NFPROTO_BRIDGE, NF_BR_LOCAL_OUT,
++ dev_net(port->dev), NULL, skb, NULL, skb->dev,
++ br_dev_queue_push_xmit);
++}
++
++void br_multicast_wakeupcall_rcv(struct net_bridge *br,
++ struct net_bridge_port *port,
++ struct sk_buff *skb, u16 vid)
++{
++ if (!br_multicast_wakeupcall_check(br, port, skb, vid))
++ return;
++
++ br_multicast_wakeupcall_send_mldq(br, port, eth_hdr(skb)->h_source);
++}
++
++#endif /* CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS */
++
+ static void br_multicast_query_expired(struct net_bridge *br,
+ struct bridge_mcast_own_query *query,
+ struct bridge_mcast_querier *querier)
+@@ -3444,6 +3710,15 @@ int br_multicast_set_port_router(struct net_bridge_port *p, unsigned long val)
+ return err;
+ }
+
++int br_multicast_set_wakeupcall(struct net_bridge_port *p, unsigned long val)
++{
++ if (val > U8_MAX)
++ return -EINVAL;
++
++ p->wakeupcall_num_rings = val;
++ return 0;
++}
++
+ static void br_multicast_start_querier(struct net_bridge *br,
+ struct bridge_mcast_own_query *query)
+ {
+diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
+index e8116a4438b9..b544889fb7fe 100644
+--- a/net/bridge/br_netlink.c
++++ b/net/bridge/br_netlink.c
+@@ -151,6 +151,9 @@ static inline size_t br_port_info_size(void)
+ + nla_total_size_64bit(sizeof(u64)) /* IFLA_BRPORT_HOLD_TIMER */
+ #ifdef CONFIG_BRIDGE_IGMP_SNOOPING
+ + nla_total_size(sizeof(u8)) /* IFLA_BRPORT_MULTICAST_ROUTER */
++#endif
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ + nla_total_size(sizeof(u8)) /* IFLA_BRPORT_MCAST_WAKEUPCALL */
+ #endif
+ + nla_total_size(sizeof(u16)) /* IFLA_BRPORT_GROUP_FWD_MASK */
+ + nla_total_size(sizeof(u8)) /* IFLA_BRPORT_MRP_RING_OPEN */
+@@ -243,6 +246,11 @@ static int br_port_fill_attrs(struct sk_buff *skb,
+ p->multicast_router))
+ return -EMSGSIZE;
+ #endif
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ if (nla_put_u8(skb, IFLA_BRPORT_MCAST_WAKEUPCALL,
++ p->wakeupcall_num_rings))
++ return -EMSGSIZE;
++#endif
+
+ /* we might be called only with br->lock */
+ rcu_read_lock();
+@@ -723,6 +731,7 @@ static const struct nla_policy br_port_policy[IFLA_BRPORT_MAX + 1] = {
+ [IFLA_BRPORT_PROXYARP_WIFI] = { .type = NLA_U8 },
+ [IFLA_BRPORT_MULTICAST_ROUTER] = { .type = NLA_U8 },
+ [IFLA_BRPORT_MCAST_TO_UCAST] = { .type = NLA_U8 },
++ [IFLA_BRPORT_MCAST_WAKEUPCALL] = { .type = NLA_U8 },
+ [IFLA_BRPORT_MCAST_FLOOD] = { .type = NLA_U8 },
+ [IFLA_BRPORT_BCAST_FLOOD] = { .type = NLA_U8 },
+ [IFLA_BRPORT_VLAN_TUNNEL] = { .type = NLA_U8 },
+@@ -872,6 +881,16 @@ static int br_setport(struct net_bridge_port *p, struct nlattr *tb[])
+ }
+ #endif
+
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ if (tb[IFLA_BRPORT_MCAST_WAKEUPCALL]) {
++ u8 wakeupcall = nla_get_u8(tb[IFLA_BRPORT_MCAST_WAKEUPCALL]);
++
++ err = br_multicast_set_wakeupcall(p, wakeupcall);
++ if (err)
++ return err;
++ }
++#endif
++
+ if (tb[IFLA_BRPORT_GROUP_FWD_MASK]) {
+ u16 fwd_mask = nla_get_u16(tb[IFLA_BRPORT_GROUP_FWD_MASK]);
+
+diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
+index 61b5b81b6828..6390d2fe88f6 100644
+--- a/net/bridge/br_private.h
++++ b/net/bridge/br_private.h
+@@ -214,6 +214,10 @@ struct net_bridge_fdb_entry {
+ };
+ struct rcu_head rcu;
+ };
++
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ struct timer_list wakeupcall_timer;
++#endif
+ };
+
+ #define MDB_PG_FLAGS_PERMANENT BIT(0)
+@@ -333,6 +337,7 @@ struct net_bridge_port {
+ struct timer_list multicast_router_timer;
+ struct hlist_head mglist;
+ struct hlist_node rlist;
++ u8 wakeupcall_num_rings;
+ #endif
+
+ #ifdef CONFIG_SYSFS
+@@ -1065,6 +1070,20 @@ static inline int br_multicast_igmp_type(const struct sk_buff *skb)
+ }
+ #endif
+
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++void br_multicast_wakeupcall_rcv(struct net_bridge *br,
++ struct net_bridge_port *port,
++ struct sk_buff *skb, u16 vid);
++void br_multicast_send_wakeupcall(struct timer_list *t);
++int br_multicast_set_wakeupcall(struct net_bridge_port *p, unsigned long val);
++#else
++static inline void br_multicast_wakeupcall_rcv(struct net_bridge *br,
++ struct net_bridge_port *port,
++ struct sk_buff *skb, u16 vid)
++{
++}
++#endif /* CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS */
++
+ /* br_vlan.c */
+ #ifdef CONFIG_BRIDGE_VLAN_FILTERING
+ bool br_allowed_ingress(const struct net_bridge *br,
+diff --git a/net/bridge/br_sysfs_if.c b/net/bridge/br_sysfs_if.c
+index 969eb6ca0776..88b74a5a7ccb 100644
+--- a/net/bridge/br_sysfs_if.c
++++ b/net/bridge/br_sysfs_if.c
+@@ -254,6 +254,21 @@ BRPORT_ATTR_FLAG(multicast_fast_leave, BR_MULTICAST_FAST_LEAVE);
+ BRPORT_ATTR_FLAG(multicast_to_unicast, BR_MULTICAST_TO_UNICAST);
+ #endif
+
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++static ssize_t show_multicast_wakeupcall(struct net_bridge_port *p, char *buf)
++{
++ return sprintf(buf, "%d\n", p->wakeupcall_num_rings);
++}
++
++static int store_multicast_wakeupcall(struct net_bridge_port *p,
++ unsigned long v)
++{
++ return br_multicast_set_wakeupcall(p, v);
++}
++static BRPORT_ATTR(multicast_wakeupcall, 0644, show_multicast_wakeupcall,
++ store_multicast_wakeupcall);
++#endif
++
+ static const struct brport_attribute *brport_attrs[] = {
+ &brport_attr_path_cost,
+ &brport_attr_priority,
+@@ -279,6 +294,9 @@ static const struct brport_attribute *brport_attrs[] = {
+ &brport_attr_multicast_router,
+ &brport_attr_multicast_fast_leave,
+ &brport_attr_multicast_to_unicast,
++#endif
++#ifdef CONFIG_BRIDGE_IGMP_SNOOPING_WAKEUPCALLS
++ &brport_attr_multicast_wakeupcall,
+ #endif
+ &brport_attr_proxyarp,
+ &brport_attr_proxyarp_wifi,
+diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
+index ccb62f7d1054..3b269aafd3b5 100644
+--- a/net/core/rtnetlink.c
++++ b/net/core/rtnetlink.c
+@@ -55,7 +55,7 @@
+ #include <net/net_namespace.h>
+
+ #define RTNL_MAX_TYPE 50
+-#define RTNL_SLAVE_MAX_TYPE 37
++#define RTNL_SLAVE_MAX_TYPE 38
+
+ struct rtnl_link {
+ rtnl_doit_func doit;
+diff --git a/net/ipv6/mcast_snoop.c b/net/ipv6/mcast_snoop.c
+index 04d5fcdfa6e0..9a5061edbaf3 100644
+--- a/net/ipv6/mcast_snoop.c
++++ b/net/ipv6/mcast_snoop.c
+@@ -131,7 +131,7 @@ static inline __sum16 ipv6_mc_validate_checksum(struct sk_buff *skb)
+ return skb_checksum_validate(skb, IPPROTO_ICMPV6, ip6_compute_pseudo);
+ }
+
+-static int ipv6_mc_check_icmpv6(struct sk_buff *skb)
++int ipv6_mc_check_icmpv6(struct sk_buff *skb)
+ {
+ unsigned int len = skb_transport_offset(skb) + sizeof(struct icmp6hdr);
+ unsigned int transport_len = ipv6_transport_len(skb);
+@@ -150,6 +150,7 @@ static int ipv6_mc_check_icmpv6(struct sk_buff *skb)
+
+ return 0;
+ }
++EXPORT_SYMBOL(ipv6_mc_check_icmpv6);
+
+ /**
+ * ipv6_mc_check_mld - checks whether this is a sane MLD packet
+--
+2.36.1
+

View File

@ -0,0 +1,81 @@
From: Grische <github@grische.xyz>
Date: Sun, 18 Sep 2022 14:03:16 +0200
Subject: xrx200: migrate fritz7360-v2 using incorrect image
Migrate AVM FRITZ!Box 7360 v2 boards flashed with the incorrect v1 image to use
the newly added v2 target image during the next upgrade.
Using the v2 target image allows the boards to read the TFFS partition, which
is misaligned when using the v1 image.
Ref: https://github.com/freifunk-gluon/gluon/pull/2648
Co-authored-by: Jan-Niklas Burfeind <git@aiyionpri.me>
diff --git a/target/linux/lantiq/xrx200/base-files/lib/preinit/01_sysinfo.sh b/target/linux/lantiq/xrx200/base-files/lib/preinit/01_sysinfo.sh
new file mode 100644
index 0000000000000000000000000000000000000000..fab50d708e872f819c643cea79327e4f438de524
--- /dev/null
+++ b/target/linux/lantiq/xrx200/base-files/lib/preinit/01_sysinfo.sh
@@ -0,0 +1,62 @@
+set_sysinfo_xrx200_for_fritz7360_model() {
+ local board_name=$1
+ local model
+ local urlader_version urlader_memsize urlader_flashsize
+ local hexdump_format='4/1 "%02x""\n"'
+
+ # Values are based on urlader-parser-py
+ # https://github.com/grische/urlader-parser-py/blob/42970bf8dec7962317df4ff734c57ebf36df8905/parser.py#L77-L84
+ urlader_version="$(dd if=/dev/mtd0ro bs=1 skip=$((0x580+0x0)) count=4 | hexdump -e "${hexdump_format}")"
+ if [ "${urlader_version}" != "00000003" ]; then
+ logger -s -p warn -t sysinfo-xrx200 "unexpected urlader version found: ${urlader_version}"
+ return
+ fi
+
+ urlader_memsize="$(dd if=/dev/mtd0ro bs=1 skip=$((0x580+0x4)) count=4 | hexdump -e "${hexdump_format}")"
+ if [ "${urlader_memsize}" != "08000000" ]; then
+ logger -s -p warn -t sysinfo-xrx200 "unexpected memsize found: ${urlader_memsize}"
+ return
+ fi
+
+ urlader_flashsize="$(dd if=/dev/mtd0ro bs=1 skip=$((0x580+0x8)) count=4 | hexdump -e "${hexdump_format}")"
+ case "${urlader_flashsize}" in
+ "02000000") # 32MB
+ # see vr9_avm_fritz7360-v2.dts
+ board_name="avm,fritz7360-v2"
+ model="AVM FRITZ!Box 7360 V2"
+ ;;
+ "01000000") # 16MB
+ return
+ ;;
+ *)
+ logger -s -p warn -t sysinfo-xrx200 "unexpected flashsize found: ${urlader_flashsize}"
+ return
+ ;;
+ esac
+
+ logger -s -p notice -t sysinfo-xrx200 "detected ${board_name} from urlader partition /dev/mtd0ro. Enforcing model ${model}."
+ echo "${board_name}" > /tmp/sysinfo/board_name
+ echo "${model}" > /tmp/sysinfo/model
+}
+
+do_sysinfo_xrx200() {
+ local reported_board board_name model
+
+ [ -d /proc/device-tree ] || return
+ reported_board="$(strings /proc/device-tree/compatible | head -1)"
+
+ mkdir -p /tmp/sysinfo
+ # 7360 is notoriously known for not writing "v2" on their labels and many
+ # routers have flashed the wrong firmware with the wrong flash layout.
+ # We ensure that the underlying hardware is reported correctly, so that
+ # future upgrades will use the correct flash layout.
+ # Using 7360v2 hardware, an upgrade from a 7360v1/sl firmware to a 7360v2
+ # is working.
+ case "${reported_board}" in
+ avm,fritz7360sl)
+ set_sysinfo_xrx200_for_fritz7360_model "${reported_board}"
+ ;;
+ esac
+}
+
+boot_hook_add preinit_main do_sysinfo_xrx200

View File

@ -14,7 +14,13 @@ local ATH10K_PACKAGES_QCA9887 = {
'-ath10k-firmware-qca9887-ct',
}
local ATH10K_PACKAGES_QCA9888 = {}
local ATH10K_PACKAGES_QCA9888 = {
'kmod-ath10k',
'-kmod-ath10k-ct',
'-kmod-ath10k-ct-smallbuffers',
'ath10k-firmware-qca9888',
'-ath10k-firmware-qca9888-ct',
}
-- ALFA NETWORK
@ -109,7 +115,7 @@ device('d-link-dir825b1', 'dlink_dir-825-b1', {
-- Enterasys
device('enterasys-ws-ap3705', 'enterasys_ws-ap3705i', {
device('enterasys-ws-ap3705i', 'enterasys_ws-ap3705i', {
factory = false,
})
@ -147,6 +153,12 @@ device('joy-it-jt-or750i', 'joyit_jt-or750i', {
factory = false,
})
-- LibreRouter
-- lacks support for additional radios
device('librerouter-v1', 'librerouter_librerouter-v1', {
factory = false,
})
-- Netgear
@ -336,6 +348,12 @@ device('siemens-ws-ap3610', 'siemens_ws-ap3610', {
factory = false,
})
-- Teltonika
device('teltonika-rut230-v1', 'teltonika_rut230-v1')
-- TP-Link
device('tp-link-archer-a7-v5', 'tplink_archer-a7-v5', {
@ -503,6 +521,7 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1', {
device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', {
manifest_aliases = {
'ubiquiti-loco-m-xw', -- upgrade from OpenWrt 19.07
'ubiquiti-nanostation-loco-m2-xw', -- upgrade from OpenWrt 19.07
'ubiquiti-nanostation-loco-m5-xw', -- upgrade from OpenWrt 19.07
},

View File

@ -6,11 +6,21 @@ local ATH10K_PACKAGES_QCA9887 = {
'-ath10k-firmware-qca9887-ct',
}
local ATH10K_PACKAGES_QCA9888 = {}
-- Aerohive
device('aerohive-hiveap-121', 'aerohive_hiveap-121')
-- GL.iNet
device('gl.inet-gl-ar300m-nor', 'glinet_gl-ar300m-nor', {
factory = false,
manifest_aliases = {
'gl.inet-gl-ar300m', -- Upgrade from OpenWrt 19.07
},
})
device('gl.inet-gl-ar750s-nor', 'glinet_gl-ar750s-nor', {
@ -27,3 +37,15 @@ device('netgear-wndr3700-v4', 'netgear_wndr3700-v4', {
'netgear-wndr3700v4', -- Upgrade from OpenWrt 19.07
},
})
device('netgear-wndr4300', 'netgear_wndr4300', {
factory_ext = '.img',
})
-- ZTE
device('zte-mf281', 'zte_mf281', {
broken = true,
packages = ATH10K_PACKAGES_QCA9888,
})

View File

@ -38,7 +38,7 @@ config('TARGET_ROOTFS_INITRAMFS', false)
config('DEVEL', true)
config('ALL_NONSHARED', true)
config('PACKAGE_usbip', false) -- fails to build
try_config('PACKAGE_usbip', false) -- fails to build
try_config('PACKAGE_ATH_DEBUG', true)

View File

@ -1,5 +1,27 @@
local ATH10K_PACKAGES_IPQ40XX = {}
local ATH10K_PACKAGES_IPQ40XX_QCA9888 = {}
local ATH10K_PACKAGES_IPQ40XX = {
'kmod-ath10k',
'-kmod-ath10k-ct',
'-kmod-ath10k-ct-smallbuffers',
'ath10k-firmware-qca4019',
'-ath10k-firmware-qca4019-ct',
}
local ATH10K_PACKAGES_IPQ40XX_QCA9888 = {
'kmod-ath10k',
'-kmod-ath10k-ct',
'-kmod-ath10k-ct-smallbuffers',
'ath10k-firmware-qca4019',
'-ath10k-firmware-qca4019-ct',
'ath10k-firmware-qca9888',
'-ath10k-firmware-qca9888-ct',
}
local ATH10K_PACKAGES_IPQ40XX_SMALLBUFFERS = {
'-kmod-ath10k',
'kmod-ath10k-smallbuffers',
'-kmod-ath10k-ct',
'-kmod-ath10k-ct-smallbuffers',
'ath10k-firmware-qca4019',
'-ath10k-firmware-qca4019-ct',
}
defaults {
@ -36,6 +58,7 @@ device('avm-fritz-box-4040', 'avm_fritzbox-4040', {
device('avm-fritz-box-7530', 'avm_fritzbox-7530', {
factory = false,
aliases = {'avm-fritz-box-7520'},
})
device('avm-fritz-repeater-1200', 'avm_fritzrepeater-1200', {
@ -56,6 +79,13 @@ device('engenius-ens620ext', 'engenius_ens620ext', {
-- GL.iNet
device('gl.inet-gl-ap1300', 'glinet_gl-ap1300', {
factory = '-squashfs-nand-factory',
factory_ext = '.ubi',
sysupgrade = '-squashfs-nand-sysupgrade',
sysupgrade_ext = '.bin',
})
device('gl.inet-gl-b1300', 'glinet_gl-b1300', {
factory = false,
})
@ -100,6 +130,7 @@ device('plasma-cloud-pa2200', 'plasmacloud_pa2200', {
device('zyxel-nbg6617', 'zyxel_nbg6617')
device('zyxel-wre6606', 'zyxel_wre6606', {
packages = ATH10K_PACKAGES_IPQ40XX_SMALLBUFFERS,
factory = false,
class = 'tiny', -- 128M ath10k + ath10k
})

View File

@ -1,5 +1,11 @@
include 'mikrotik.inc'
local ATH10K_PACKAGES_IPQ40XX = {}
device('mikrotik-hap-ac2', 'mikrotik_hap-ac2', {
packages = ATH10K_PACKAGES_IPQ40XX,
})
device('mikrotik-sxtsq-5-ac-rbsxtsqg-5acd', 'mikrotik_sxtsq-5-ac', {
factory = false,
aliases = {'mikrotik-discg-5acd'},

View File

@ -4,7 +4,7 @@
-- The QCA9984 on the other hand works fine for 11s meshes on both bands.
local QCA9980_PACKAGES = {'-kmod-ath10k', 'kmod-ath10k-ct', '-ath10k-firmware-qca99x0', 'ath10k-firmware-qca99x0-ct'}
local QCA9984_PACKAGES = {}
local QCA9984_PACKAGES = {'kmod-ath10k', '-kmod-ath10k-ct', 'ath10k-firmware-qca9984', '-ath10k-firmware-qca9984-ct'}
--

View File

@ -47,6 +47,11 @@ device('avm-fritz-box-7412', 'avm_fritz7412', {
factory = false,
})
device('arcadyan-vgv7510kw22', 'arcadyan_vgv7510kw22-nor', {
factory = false,
aliases = {'o2-box-6431'},
})
-- TP-Link
-- CAVEAT: These devices don't have a dedicated WAN port.

View File

@ -5,3 +5,7 @@ device('sophos-red-15w-rev.1', 'sophos_red-15w-rev1', {
})
-- TP-Link
device('tp-link-tl-wdr4900-v1', 'tplink_tl-wdr4900-v1')

View File

@ -11,12 +11,30 @@ device('cudy-wr2100', 'cudy_wr2100', {
factory = false,
})
device('cudy-x6-v1', 'cudy_x6-v1', {
factory = false,
})
-- D-Link
device('d-link-dap-x1860-a1', 'dlink_dap-x1860-a1')
device('d-link-dir-860l-b1', 'dlink_dir-860l-b1')
-- GL.iNet
device('gl.inet-gl-mt1300', 'glinet_gl-mt1300', {
factory = false,
})
-- Mercusys
device('mercusys-mr70x-v1', 'mercusys_mr70x-v1')
-- Netgear
device('netgear-ex6150', 'netgear_ex6150', {
@ -66,10 +84,13 @@ device('xiaomi-mi-router-4a-gigabit-edition', 'xiaomi_mi-router-4a-gigabit', {
factory = false,
})
device('xiaomi-mi-router-3g-v2', 'xiaomi_mi-router-3g-v2', {
device('xiaomi-mi-router-3g', 'xiaomi_mi-router-3g', {
factory = false,
})
device('xiaomi-mi-router-3g-v2', 'xiaomi_mi-router-3g-v2', {
factory = false,
})
-- ZBT
@ -90,6 +111,11 @@ device('zbtlink-zbt-wg3526-32m', 'zbtlink_zbt-wg3526-32m', {
})
-- ZyXEL
device('zyxel-nwa50ax', 'zyxel_nwa50ax')
-- Devices without WLAN
-- Ubiquiti

View File

@ -60,6 +60,8 @@ device('tp-link-archer-c50-v4', 'tplink_archer-c50-v4', {
device('tp-link-re200-v2', 'tplink_re200-v2')
device('tp-link-re200-v3', 'tplink_re200-v3')
device('tp-link-re305', 'tplink_re305-v1', {
class = 'tiny', -- Only 6M of usable Firmware space
})

5
targets/realtek-rtl838x Normal file
View File

@ -0,0 +1,5 @@
-- D-Link
device('d-link_dgs-1210-10p', 'd-link_dgs-1210-10p', {
factory = '-squashfs-factory_image1',
})

View File

@ -4,3 +4,4 @@ defaults {
}
device('friendlyelec-nanopi-r2s', 'friendlyarm_nanopi-r2s')
device('friendlyelec-nanopi-r4s', 'friendlyarm_nanopi-r4s') -- 4GB LPDDR4

View File

@ -14,6 +14,7 @@ $(eval $(call GluonTarget,mpc85xx,p1020))
$(eval $(call GluonTarget,ramips,mt7620))
$(eval $(call GluonTarget,ramips,mt7621))
$(eval $(call GluonTarget,ramips,mt76x8))
$(eval $(call GluonTarget,realtek,rtl838x))
$(eval $(call GluonTarget,rockchip,armv8))
$(eval $(call GluonTarget,sunxi,cortexa7))
$(eval $(call GluonTarget,x86,generic))