Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2024.1.x #117

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions image-customization.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,22 @@ features {

packages {
'iwinfo',
'ffac-ssid-changer',
'ffac-wg-registration',
'ff-web-ap-timer',
'respondd-module-airtime',
'tecff-general-workaround',
'tecff-broken-wlan-workaround',
}

if not device_class('tiny') then
include_usb = false

tiny_like = device({
'tp-link-archer-c6-v2-eu-ru-jp',
'tp-link-archer-c60-v1',
'tp-link-td-w8970',
'tp-link-td-w8980',
})

if not device_class('tiny') and not tiny_like then
features {
'tls',
'wireless-encryption-wpa3',
Expand All @@ -34,7 +41,11 @@ if not device_class('tiny') then
'openssh-sftp-server',
'ffac-autoupdater-wifi-fallback',
'ffmuc-custom-banner',
'ffac-ssid-changer',
'ff-web-ap-timer',
}
-- usb is only default available for non-tiny devices
include_usb = true
end

if device({
Expand All @@ -50,7 +61,7 @@ if device({
'web-cellular',
}
packages {
'ffac-private-wan-dhcp',
'ffac-web-private-wan-dhcp',
}
end

Expand Down Expand Up @@ -113,8 +124,6 @@ pkgs_pci = {
'kmod-bnx2', -- Broadcom NetExtreme BCM5706/5708/5709/5716
}

include_usb = true

-- rtl838x has no USB support as of Gluon v2023.2
if target('realtek', 'rtl838x') or target('ramips', 'mt7620') then
include_usb = false
Expand Down Expand Up @@ -179,6 +188,7 @@ if include_usb then
packages(pkgs_usb_net)
packages(pkgs_usb_serial)
packages(pkgs_usb_storage)
packages {'ffka-gluon-web-usb-wan-hotplug', 'ffac-update-location-gps'}
end

-- device has no reset button and requires a special package to go into setup mode
Expand Down Expand Up @@ -207,7 +217,7 @@ if target('bcm27xx') then
packages(pkgs_hid)
end

if target('ramips', 'mt7621') or target('mediatek', 'filogic') then
if target('ramips', 'mt7621') or target('ramips', 'mt7622') or target('mediatek', 'filogic') then
-- reload wifi firmware twice a day
packages {
'ffac-mt7915-hotfix',
Expand Down
14 changes: 7 additions & 7 deletions modules
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
GLUON_SITE_FEEDS="ffac community"

PACKAGES_FFAC_REPO=https://github.com/ffac/gluon-packages.git
PACKAGES_FFAC_COMMIT=e3e0b5aac4ed0d610eb06161061b907b5bb2117d
PACKAGES_FFAC_BRANCH=main
GLUON_SITE_FEEDS="community ffac"

PACKAGES_COMMUNITY_REPO=https://github.com/freifunk-gluon/community-packages.git
PACKAGES_COMMUNITY_COMMIT=ed68c7060e6122537038ece7de920d199aeed9b0
PACKAGES_COMMUNITY_BRANCH=master
PACKAGES_COMMUNITY_COMMIT=106ff0544832fcc5573a1bea504c0b0a536cb1cd
PACKAGES_COMMUNITY_BRANCH=update-location-gps

PACKAGES_FFAC_REPO=https://github.com/ffac/gluon-packages.git
PACKAGES_FFAC_COMMIT=b7ccdae873eebaa01aa555ec2a356d370e8d3908
PACKAGES_FFAC_BRANCH=private-wan-dhcp-web
12 changes: 2 additions & 10 deletions patches/020-interfaces.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces
index 22bf7bb8..0cddbaea 100755
index 5e5243a0..81ff6513 100755
--- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces
+++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces
@@ -70,10 +70,29 @@ elseif platform.match('ramips', 'mt7621', {
'tplink,eap615-wall-v1',
}) then
lan_ifname, wan_ifname = 'lan1 lan2 lan3', 'lan0'
+elseif platform.match('ipq40xx', 'generic', {
+ 'avm,fritzbox-7530',
+}) then
+ lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1'
elseif platform.match('lantiq', 'xrx200', {
@@ -79,6 +79,21 @@ elseif platform.match('lantiq', 'xrx200', {
'arcadyan,vgv7510kw22-nor',
}) then
lan_ifname, wan_ifname = 'lan1 lan2 lan3 lan4', 'wan'
Expand Down
19 changes: 5 additions & 14 deletions patches/targets-ath79-generic.patch
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
diff --git a/targets/ath79-generic b/targets/ath79-generic
index af23bf6a..8b0ae548 100644
index c41bf0db..17ee5e70 100644
--- a/targets/ath79-generic
+++ b/targets/ath79-generic
@@ -506,6 +506,15 @@ device('tp-link-eap225-outdoor-v3', 'tplink_eap225-outdoor-v3', {
@@ -471,6 +471,10 @@ device('tp-link-eap225-outdoor-v3', 'tplink_eap225-outdoor-v3', {
packages = ATH10K_PACKAGES_QCA9888,
})

+device('tp-link-eap225-outdoor-v3', 'tplink_eap225-outdoor-v3', {
+ factory = false,
+ packages = ATH10K_PACKAGES_QCA9888,
+})
+
+device('tp-link-eap225-wall-v2', 'tplink_eap225-wall-v2', {
+ packages = ATH10K_PACKAGES_QCA9888,
+})
+
device('tp-link-tl-wdr3500-v1', 'tplink_tl-wdr3500-v1')

device('tp-link-tl-wdr3600-v1', 'tplink_tl-wdr3600-v1')
device('tp-link-tl-wdr4300-v1', 'tplink_tl-wdr4300-v1')
@@ -610,3 +619,14 @@ device('ubiquiti-unifi-swiss-army-knife-ultra', 'ubnt_uk-ultra', {
@@ -548,3 +552,9 @@ device('ubiquiti-unifi-swiss-army-knife-ultra', 'ubnt_uk-ultra', {
factory = false,
packages = ATH10K_PACKAGES_QCA9880,
})
+
+-- device('ubiquiti-rocket-5ac-lite', 'ubnt_rocket-5ac-lite', {
+-- packages = ATH10K_PACKAGES_QCA9880,
+-- })
+
+
+-- Zyxel
+
+device('zyxel-nbg6616', 'zyxel_nbg6616', {
+ packages = ATH10K_PACKAGES_QCA9880,
+})
\ No newline at end of file
10 changes: 5 additions & 5 deletions patches/targets-ipq40xx-generic.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/targets/ipq40xx-generic b/targets/ipq40xx-generic
index 068f538b..6e7c8bd4 100644
index 85509de7..b26de7ca 100644
--- a/targets/ipq40xx-generic
+++ b/targets/ipq40xx-generic
@@ -14,6 +14,15 @@ local ATH10K_PACKAGES_IPQ40XX_QCA9888 = {
Expand All @@ -18,7 +18,7 @@ index 068f538b..6e7c8bd4 100644


defaults {
@@ -57,6 +66,23 @@ device('avm-fritz-repeater-1200', 'avm_fritzrepeater-1200', {
@@ -73,6 +82,23 @@ device('avm-fritz-repeater-1200', 'avm_fritzrepeater-1200', {
factory = false,
})

Expand All @@ -42,7 +42,7 @@ index 068f538b..6e7c8bd4 100644

-- GL.iNet

@@ -73,6 +99,36 @@ device('gl.inet-gl-b1300', 'glinet_gl-b1300', {
@@ -89,6 +115,36 @@ device('gl.inet-gl-b1300', 'glinet_gl-b1300', {

device('linksys-ea6350v3', 'linksys_ea6350v3')

Expand Down Expand Up @@ -79,7 +79,7 @@ index 068f538b..6e7c8bd4 100644

-- Meraki

@@ -80,6 +136,11 @@ device('meraki-mr33-access-point', 'meraki_mr33', {
@@ -96,6 +152,11 @@ device('meraki-mr33-access-point', 'meraki_mr33', {
packages = {
-- radio0 is monitoring radio - removed for now
-- the -ct firmware does not have working mesh
Expand All @@ -91,7 +91,7 @@ index 068f538b..6e7c8bd4 100644
'-ath10k-firmware-qca9887-ct',
'-ath10k-board-qca9887',
},
@@ -123,6 +184,7 @@ device('plasma-cloud-pa2200', 'plasmacloud_pa2200', {
@@ -139,6 +200,7 @@ device('plasma-cloud-pa2200', 'plasmacloud_pa2200', {
-- ZTE

device('zte-mf289f', 'zte_mf289f', {
Expand Down
10 changes: 5 additions & 5 deletions patches/targets-lantiq-xrx200-devices.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/patches/openwrt/0008-lantiq-fix-ath9k-eeprom-for-AVM-Fritz-Box-7430.patch b/patches/openwrt/0008-lantiq-fix-ath9k-eeprom-for-AVM-Fritz-Box-7430.patch
diff --git a/patches/openwrt/0007-lantiq-fix-ath9k-eeprom-for-AVM-Fritz-Box-7430.patch b/patches/openwrt/0007-lantiq-fix-ath9k-eeprom-for-AVM-Fritz-Box-7430.patch
new file mode 100644
index 00000000..9b7a21f9
--- /dev/null
+++ b/patches/openwrt/0008-lantiq-fix-ath9k-eeprom-for-AVM-Fritz-Box-7430.patch
+++ b/patches/openwrt/0007-lantiq-fix-ath9k-eeprom-for-AVM-Fritz-Box-7430.patch
@@ -0,0 +1,53 @@
+From: Felix Baumann <[email protected]>
+Date: Tue, 28 Feb 2023 04:21:07 +0100
Expand Down Expand Up @@ -58,10 +58,10 @@ index 00000000..9b7a21f9
+ caldata_extract_ubi "caldata" 0x1000 0x1000
+ ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary_ubi caldata 0x110c) 2) 0x10c
diff --git a/targets/lantiq-xrx200 b/targets/lantiq-xrx200
index f54cd87f..80f0659d 100644
index 744fdea4..16672c91 100644
--- a/targets/lantiq-xrx200
+++ b/targets/lantiq-xrx200
@@ -30,6 +30,10 @@ device('avm-fritz-box-3370-rev-2-micron-nand', 'avm_fritz3370-rev2-micron', {
@@ -33,6 +33,10 @@ device('avm-fritz-box-3370-rev-2-micron-nand', 'avm_fritz3370-rev2-micron', {
broken = true, -- no button for setup mode; hw revision not visible on device
})

Expand All @@ -72,7 +72,7 @@ index f54cd87f..80f0659d 100644
device('avm-fritz-box-7360-sl', 'avm_fritz7360sl', {
factory = false,
aliases = {'avm-fritz-box-7360-v1'},
@@ -47,6 +51,10 @@ device('avm-fritz-box-7412', 'avm_fritz7412', {
@@ -50,6 +54,10 @@ device('avm-fritz-box-7412', 'avm_fritz7412', {
factory = false,
})

Expand Down
10 changes: 3 additions & 7 deletions patches/targets-mediatek-mt7622.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
diff --git a/targets/mediatek-mt7622 b/targets/mediatek-mt7622
index 8376c397..5c75ac21 100644
index 81440d50..389c77a9 100644
--- a/targets/mediatek-mt7622
+++ b/targets/mediatek-mt7622
@@ -11,6 +11,22 @@ device('ubiquiti-unifi-6-lr-v1', 'ubnt_unifi-6-lr-v1', {
manifest_aliases = {'ubiquiti-unifi-6-lr'},
@@ -13,3 +13,18 @@ device('ubiquiti-unifi-6-lr-v1', 'ubnt_unifi-6-lr-v1', {
manifest_aliases = {'ubiquiti-unifi-6-lr'}, -- Upgrade from OpenWrt 22.03
})

+device('ubiquiti-unifi-6-lr-v2', 'ubnt_unifi-6-lr-v2', {
Expand All @@ -21,7 +21,3 @@ index 8376c397..5c75ac21 100644
+ factory_ext = '.img',
+})
+
+
-- Xiaomi

device('xiaomi-redmi-router-ax6s', 'xiaomi_redmi-router-ax6s', {
5 changes: 3 additions & 2 deletions patches/targets-mk.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
diff --git a/targets/targets.mk b/targets/targets.mk
index 14955134..7a5a9b2e 100644
index 20224a06..eca0fcc0 100644
--- a/targets/targets.mk
+++ b/targets/targets.mk
@@ -29,5 +29,7 @@ $(eval $(call GluonTarget,x86,64))
@@ -29,6 +29,8 @@ $(eval $(call GluonTarget,x86,64))
ifeq ($(BROKEN),1)
$(eval $(call GluonTarget,bcm27xx,bcm2710)) # BROKEN: Untested
$(eval $(call GluonTarget,bcm27xx,bcm2711)) # BROKEN: No 11s support, no reset button, sys LED issues
+$(eval $(call GluonTarget,ipq40xx,chromium)) # BROKEN: Untested
+$(eval $(call GluonTarget,ipq807x,generic)) # BROKEN: Untested
$(eval $(call GluonTarget,kirkwood,generic)) # BROKEN: 11s support untested
$(eval $(call GluonTarget,mvebu,cortexa9)) # BROKEN: No 11s support
endif
10 changes: 5 additions & 5 deletions patches/targets-ramips-mt7621.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/targets/ramips-mt7621 b/targets/ramips-mt7621
index 01b9b94c..630fd7ab 100644
index f58a26c5..540f7ae9 100644
--- a/targets/ramips-mt7621
+++ b/targets/ramips-mt7621
@@ -22,6 +22,10 @@ device('cudy-wr2100', 'cudy_wr2100', {
@@ -23,6 +23,10 @@ device('cudy-wr2100', 'cudy_wr2100', {
factory = false,
})

Expand All @@ -13,7 +13,7 @@ index 01b9b94c..630fd7ab 100644
device('cudy-x6-v1', 'cudy_x6-v1', {
factory = false,
})
@@ -89,6 +93,8 @@ device('netgear-wndr3700-v5', 'netgear_wndr3700-v5', {
@@ -87,6 +91,8 @@ device('netgear-wndr3700-v5', 'netgear_wndr3700-v5', {

-- TP-Link

Expand All @@ -22,7 +22,7 @@ index 01b9b94c..630fd7ab 100644
device('tp-link-archer-c6-v3', 'tplink_archer-c6-v3', {
broken = true, -- LAN LED not working - review after resolving #2756
})
@@ -106,6 +112,10 @@ device('ubiquiti-unifi-6-lite', 'ubnt_unifi-6-lite', {
@@ -104,6 +110,10 @@ device('ubiquiti-unifi-6-lite', 'ubnt_unifi-6-lite', {
factory = false,
})

Expand All @@ -33,7 +33,7 @@ index 01b9b94c..630fd7ab 100644

-- Wavlink

@@ -162,6 +172,15 @@ device('zyxel-wsm20', 'zyxel_wsm20', {
@@ -153,6 +163,15 @@ device('zyxel-wsm20', 'zyxel_wsm20', {

-- Devices without WLAN

Expand Down
4 changes: 2 additions & 2 deletions release.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GLUON_GIT_URL := https://github.com/freifunk-gluon/gluon.git
GLUON_GIT_REF := v2023.2.3 # v2023.2.x
GLUON_GIT_URL := https://github.com/ffac/gluon.git
GLUON_GIT_REF := 508eda77cbf0146f7069ad584be646e3553f3020 # next
18 changes: 9 additions & 9 deletions site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@
stable = {
name = 'stable',
mirrors = {
'http://updates.freifunk-aachen.de/from-2023.2.x/stable/sysupgrade',
'http://updates.ffac.rocks/from-2023.2.x/stable/sysupgrade',
'http://updates.aachen.freifunk.net/from-2023.2.x/stable/sysupgrade',
'http://updates.freifunk-aachen.de/from-2024.1.x/stable/sysupgrade',
'http://updates.ffac.rocks/from-2024.1.x/stable/sysupgrade',
'http://updates.aachen.freifunk.net/from-2024.1.x/stable/sysupgrade',
},
good_signatures = 4,
pubkeys = {
Expand All @@ -241,9 +241,9 @@
beta = {
name = 'beta',
mirrors = {
'http://updates.freifunk-aachen.de/from-2023.2.x/beta/sysupgrade',
'http://updates.ffac.rocks/from-2023.2.x/beta/sysupgrade',
'http://updates.aachen.freifunk.net/from-2023.2.x/beta/sysupgrade',
'http://updates.freifunk-aachen.de/from-2024.1.x/beta/sysupgrade',
'http://updates.ffac.rocks/from-2024.1.x/beta/sysupgrade',
'http://updates.aachen.freifunk.net/from-2024.1.x/beta/sysupgrade',
},
good_signatures = 3,
pubkeys = {
Expand All @@ -261,9 +261,9 @@
experimental = {
name = 'experimental',
mirrors = {
'http://updates.freifunk-aachen.de/from-2023.2.x/experimental/sysupgrade',
'http://updates.ffac.rocks/from-2023.2.x/experimental/sysupgrade',
'http://updates.aachen.freifunk.net/from-2023.2.x/experimental/sysupgrade',
'http://updates.freifunk-aachen.de/from-2024.1.x/experimental/sysupgrade',
'http://updates.ffac.rocks/from-2024.1.x/experimental/sysupgrade',
'http://updates.aachen.freifunk.net/from-2024.1.x/experimental/sysupgrade',
},
good_signatures = 2,
pubkeys = {
Expand Down
Loading