diff --git a/ffac-mt7915-hotfix/LICENSE b/ffac-mt7915-hotfix/LICENSE deleted file mode 100644 index fd31e5e136654ee1d777e8db6f8d1434cc4b21b5..0000000000000000000000000000000000000000 --- a/ffac-mt7915-hotfix/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Felix Baumann - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/ffac-mt7915-hotfix/Makefile b/ffac-mt7915-hotfix/Makefile deleted file mode 100644 index 236f6ffcd56e7549de4201f6a11bfce7d83881e3..0000000000000000000000000000000000000000 --- a/ffac-mt7915-hotfix/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# SPDX-FileCopyrightText: 2024 Felix Baumann (FFAC) -# SPDX-License-Identifier: MIT -include $(TOPDIR)/rules.mk - -PKG_NAME:=ffac-mt7915-hotfix -PKG_VERSION:=1 -PKG_RELEASE:=1 - -PKG_LICENSE:=MIT - -PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) - -include $(TOPDIR)/../package/gluon.mk - -define Package/$(PKG_NAME) - SECTION:=gluon - CATEGORY:=Gluon - TITLE:=reload mt7915-firmware twice a day - DEPENDS:=@(TARGET_mediatek_filogic||TARGET_ramips_mt7621) kmod-mt7915e +gluon-core +micrond - MAINTAINER:=Freifunk Aachen <kontakt@freifunk-aachen.de> -endef - -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) -endef - -define Build/Configure -endef - -define Build/Compile -endef - -define Package/$(PKG_NAME)/install - $(CP) ./files/* $(1)/ -endef - -$(eval $(call BuildPackage,$(PKG_NAME))) diff --git a/ffac-mt7915-hotfix/README.md b/ffac-mt7915-hotfix/README.md deleted file mode 100644 index 3ab5872a4360c572cbb8e7d672f4c595b76db4ec..0000000000000000000000000000000000000000 --- a/ffac-mt7915-hotfix/README.md +++ /dev/null @@ -1,46 +0,0 @@ -mt7915 hotfix -============= - -This script reloads mt7915-firmware twice a day on targets ramips-mt7621 -and mediatek-filogic. It's meant as a hotfix for the mcu timeout issue: -https://github.com/freifunk-gluon/gluon/issues/3154 -The issue popped up with Gluon v2023.2, earlier releases are not affected. - -v1 is currently just a workaround -v2 might become an actual hotfix hence the name - -A first idea for a hotfix was proposed by blocktrron: -https://github.com/freifunk-gluon/gluon/pull/3212 - -Create a file `modules` with the following content in your `./gluon/site/` -directory and add these lines: - -``` -GLUON_SITE_FEEDS="community" -PACKAGES_COMMUNITY_REPO=https://github.com/freifunk-gluon/community-packages.git -PACKAGES_COMMUNITY_COMMIT=*/missing/* -PACKAGES_COMMUNITY_BRANCH=master -``` - -Now you can add the package `ffac-mt7915-hotfix` to your site.mk -(`*/missing/*` has to be replaced by the github-commit-ID of the version you -want to use, you have to pick it manually.) - -Further info on the issue this tries to prevent from happening: -I've seen the MCU timeout issue happening as early as 16 hours of uptime. -MCU timeouts result in WiFi not working. WiFi mesh nodes running into the -issue go offline until they are rebooted manually while any wired node is -still accessible via ssh. - -On most devices it will take days or weeks for this issue to manifest, -while others are affected daily. This is due to the difference in clients -that are connecting to it on a frequent base. The more people frequent -the device the more it goes offline. -Twice a day might seem exaggerated to some but the it's fast so why not. -I want to minimize downtime and therefore reload wifi right before heavy -use. Once for sunrise (daytime) and and once before dawn (when bars open). - -It's not clear whether this fix is required on mediatek-filogic. -Freifunk Aachen is only testing it on ramips-mt7621 currently. -mediatek-filogic is unstable enough that I suggest rebooting the target -3 times a day. See package [ffac-threetime-reboot](https://github.com/freifunk-gluon/community-packages/tree/master/ffac-threetime-reboot) diff --git a/ffac-mt7915-hotfix/files/lib/gluon/mt7915/hotfix.sh b/ffac-mt7915-hotfix/files/lib/gluon/mt7915/hotfix.sh deleted file mode 100755 index c552eda4782bb1aa7ae89b4e43a522718f1483a7..0000000000000000000000000000000000000000 --- a/ffac-mt7915-hotfix/files/lib/gluon/mt7915/hotfix.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -logger -t "ffac-mt7915-hotfix" -p debug "reloading wifi firmware now" -rmmod mt7915e -modprobe mt7915e -wifi diff --git a/ffac-mt7915-hotfix/files/usr/lib/micron.d/mt7915-hotfix b/ffac-mt7915-hotfix/files/usr/lib/micron.d/mt7915-hotfix deleted file mode 100644 index b72d7859fe562744e95ca815138d8d35f019dbcd..0000000000000000000000000000000000000000 --- a/ffac-mt7915-hotfix/files/usr/lib/micron.d/mt7915-hotfix +++ /dev/null @@ -1,2 +0,0 @@ -# run every day at 05:45 and 17:45 -45 5,17 * * * /lib/gluon/mt7915/hotfix.sh