From ec0586bdf66b2dedfd440431e5f2c0b3a1fc5557 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Wed, 17 Feb 2021 00:04:26 +0100 Subject: [PATCH] OpenWrt: bump to 19.07.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump main repo, packages and routing. Refresh patches, drop patch applied to mt76. Relevant changes are mostly security fixes for netifd and odhcp6c and bug fixes for dnsmasq. More information: https://openwrt.org/releases/19.07/notes-19.07.7 This also includes two non-trivial fixes to alfred (openwrt-routing): 97e760095578 ("alfred: Fix procd process handling for disable state") 369908cb0a0e ("alfred: Start up alfred without valid interfaces") Signed-off-by: Adrian Schmutzler Reviewed-by: Fabian Bläse --- ...w-eeprom-sections-starting-with-7600.patch | 50 ------------------- buildscript | 8 +-- 2 files changed, 4 insertions(+), 54 deletions(-) delete mode 100644 build_patches/openwrt/0031-mt76-mt7603-allow-eeprom-sections-starting-with-7600.patch diff --git a/build_patches/openwrt/0031-mt76-mt7603-allow-eeprom-sections-starting-with-7600.patch b/build_patches/openwrt/0031-mt76-mt7603-allow-eeprom-sections-starting-with-7600.patch deleted file mode 100644 index 78d82618..00000000 --- a/build_patches/openwrt/0031-mt76-mt7603-allow-eeprom-sections-starting-with-7600.patch +++ /dev/null @@ -1,50 +0,0 @@ -From: Adrian Schmutzler -Date: Fri, 16 Oct 2020 13:36:02 +0200 -Subject: mt76: mt7603: allow eeprom sections starting with 7600 - -Fixes low signal issue for 2.4 GHz for the TP-Link Archer C50 v4. -The first two bytes in the eeprom are the chip id. The working -devices have 0x7628 there, whereas the non-working devices have -0x7600 there. This chip id gets checked by the function -mt7603_check_eeprom() which leads the driver to ignore the -contents of the eeprom partition and load default values from otp. - -The has been manually added based on mt76 PR: -https://github.com/openwrt/mt76/pull/442/ - -Signed-off-by: Adrian Schmutzler - -diff --git a/package/kernel/mt76/patches/0001-fix-archer-c50-v4.patch b/package/kernel/mt76/patches/0001-fix-archer-c50-v4.patch -new file mode 100644 -index 0000000000000000000000000000000000000000..29e422dc0c7f3046be0aa761bcfe8db1e298ed88 ---- /dev/null -+++ b/package/kernel/mt76/patches/0001-fix-archer-c50-v4.patch -@@ -0,0 +1,28 @@ -+From b0c7f88d900d2986cd2061113201825eda6a6482 Mon Sep 17 00:00:00 2001 -+From: Ron Asimi -+Date: Wed, 2 Sep 2020 23:18:23 -0400 -+Subject: [PATCH] mt7603: allow eeprom sections starting with 7600 -+ -+Fixes low signal issue for 2.4 GHz for the TP-Link Archer C50 v4. -+The first two bytes in the eeprom are the chip id. The working -+devices have 0x7628 there, whereas the non-working devices have -+0x7600 there. This chip id gets checked by the function -+mt7603_check_eeprom() which leads the driver to ignore the contents -+of the eeprom partition and load default values from otp. -+ -+--- -+ mt7603/eeprom.c | 1 + -+ 1 file changed, 1 insertion(+) -+ -+diff --git a/mt7603/eeprom.c b/mt7603/eeprom.c -+index 01f1e0da..9d5042af 100644 -+--- a/mt7603/eeprom.c -++++ b/mt7603/eeprom.c -+@@ -136,6 +136,7 @@ static int mt7603_check_eeprom(struct mt76_dev *dev) -+ switch (val) { -+ case 0x7628: -+ case 0x7603: -++ case 0x7600: -+ return 0; -+ default: -+ return -EINVAL; diff --git a/buildscript b/buildscript index 5fe57d91..a3d021ee 100755 --- a/buildscript +++ b/buildscript @@ -13,10 +13,10 @@ builddir=./build -# OpenWrt: openwrt-19.07.5 -OPENWRTREV="v19.07.6" -PACKAGEREV="ce5a4eaea218111350e05ea86de8171344a70ce4" -ROUTINGREV="02b4dbfcb7b8f8b566940847d22d5a6f229d2e66" +# OpenWrt: package hashes correspond to core repo version +OPENWRTREV="v19.07.7" +PACKAGEREV="90af10d01579425369bd474051b6d3ddaf32a7e3" +ROUTINGREV="e26b4745209655976b7d124465b1dc53ade632f9" # Gluon packages: master from 2020-02-04 GLUONREV="12e41d0ff07ec54bbd67a31ab50d12ca04f2238c"