[PATCH] mt76: Add firmware package for MT7922
Adds the 2 required firmware files for MT7922 chips. Signed-off-by: Daniel Danzberger --- package/kernel/mt76/Makefile | 14 ++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index cc8221d7ce..dd75390ee7 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -262,6 +262,11 @@ define KernelPackage/mt7921-firmware TITLE:=MediaTek MT7921 firmware endef +define KernelPackage/mt7922-firmware + $(KernelPackage/mt76-default) + TITLE:=MediaTek MT7922 firmware +endef + define KernelPackage/mt792x-common $(KernelPackage/mt76-default) TITLE:=MediaTek MT792x wireless driver common code @@ -597,6 +602,14 @@ define KernelPackage/mt7921-firmware/install $(1)/lib/firmware/mediatek endef +define KernelPackage/mt7922-firmware/install + $(INSTALL_DIR) $(1)/lib/firmware/mediatek + cp \ + $(PKG_BUILD_DIR)/firmware/WIFI_MT7922_patch_mcu_1_1_hdr.bin \ + $(PKG_BUILD_DIR)/firmware/WIFI_RAM_CODE_MT7922_1.bin \ + $(1)/lib/firmware/mediatek +endef + define Package/mt76-test/install mkdir -p $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/mt76-test $(1)/usr/sbin @@ -630,6 +643,7 @@ $(eval $(call KernelPackage,mt7916-firmware)) $(eval $(call KernelPackage,mt7981-firmware)) $(eval $(call KernelPackage,mt7986-firmware)) $(eval $(call KernelPackage,mt7921-firmware)) +$(eval $(call KernelPackage,mt7922-firmware)) $(eval $(call KernelPackage,mt792x-common)) $(eval $(call KernelPackage,mt792x-usb)) $(eval $(call KernelPackage,mt7921-common)) -- 2.42.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: OpenWrt 23.05.0 - First stable release
Congratulations on an epic release All the best, Nicholas All the best, Nicholas Nicholas Smith NB Embedded Pty Ltd nicho...@nbembedded.com ABN: 54 663 236 940 https://nbembedded.com On Fri, 13 Oct 2023 at 19:26, Hauke Mehrtens wrote: > > Hi, > > The OpenWrt community is proud to announce the first stable release of > the OpenWrt 23.05 stable series. > OpenWrt 23.05.0 incorporates over 4300 commits since branching the > previous OpenWrt 22.03 release and has been under development for over > one year. > > Download firmware images using the OpenWrt Firmware Selector: >* https://firmware-selector.openwrt.org/?version=23.05.0 > Download firmware images directly from our download servers: >* https://downloads.openwrt.org/releases/23.05.0/targets/ > > Highlights in OpenWrt 23.05.0: > == > > Many new devices added > == > > OpenWrt 23.05 supports over 1790 devices. Support for over 200 new > devices was added in addition to the device support by OpenWrt 22.03. > > * The ipq807x target for the Qualcomm IPQ807x Wifi 6 SoCs was added > * The mediatek/filogic subtarget for the Mediatek Filogic 830 and 630 > SoCs was added > * The sifiveu target for the HiFive RISC-V Unleashed and Unmatched > boards > > Highlights of device support > > > * Switched ipq40xx target to DSA > * VDSL support on AVM FRITZ!Box 7530 > * Support for devices with 2.5G PHYs > * Acer Predator W6 (MT7986A) > * Mercusys MR90X v1 (MT7986BLA) > * Netgear WAX206 (MT7622) > * Netgear WAX220 (MT7986) > * ZyXEL NWA50AX Pro (MT7981) > * Asus (TUF Gaming) AX4200 (MT7986A) > * Netgear WAX218 (IPQ8074) > * Xiaomi AX9000 (IPQ8074) > * Dynalink DL-WRX36 (IPQ8074) > * GL.iNet GL-MT6000 (MT7986A) > * Netgear WAX620 (IPQ8072A) > * ZyXEL EX5700 (MT7986) > * Support for Wifi 6E (6GHz) > * Acer Predator W6 (MT7986A) > * ZyXEL EX5700 (MT7986) > * 2 Gbps WAN/LAN NAT Routing on ramips MT7621 devices (See OpenWrt > forum) > * Improved DSL statistics on ubus and in LuCI > * Added Arm SystemReady (EFI) compliant target replacing the armvirt > target > > > Switch from wolfssl to mbedtls as default > = > > OpenWrt has transitioned its default cryptographic library from wolfssl > to mbedtls. This shift brings several changes and implications: > > * Size Efficiency: mbedtls is considerably smaller, making it an > optimal choice for systems where storage space is paramount. > * LTS and ABI Stability: mbedtls consistently provides updates via its > Long Term Support (LTS) branch, ensuring both security and a stable > application binary interface (ABI). In contrast, wolfssl does not > offer an LTS release, and its stable ABI is limited to a specific set > of functions. > * TLS 1.3 Support: Users should be aware that mbedtls 2.28 no longer > supports TLS 1.3. > > While mbedtls is now the default, users who have specific needs or > preferences can still manually switch back to wolfssl or choose openssl. > > > Rust Package Support > > > This release introduces the ability to include rust-written programs > into the OpenWrt package infrastructure. Examples are: bottom, maturin, > aardvark-dns and ripgrep. > > > Core components update > == > > Core components have the following versions in 23.05.0: > > * Updated toolchain: > * musl libc 1.2.4 > * glibc 2.37 > * gcc 12.3.0 > * binutils 2.40 > * Updated Linux kernel > * 5.15.134 for all targets > * Network: > * hostapd master snapshot from September 2023 > * dnsmasq 2.89 > * dropbear 2022.82 > * cfg80211/mac80211 from kernel 6.1.24 > * System userland: > * busybox 1.36.1 > > > Upgrading to 23.05.0 > > > Sysupgrade can be used to upgrade a device from 22.03 to 23.05, and > configuration will be preserved in most cases. > > * Sysupgrade from 21.02 to 23.05 is not officially supported. > * ipq40xx EA6350v3, EA8300, MR8300 and WHW01 require tweak to the > U-Boot environment on update from 22.03 to 23.05. Refer to the Device > wiki or the instruction on sysupgrade on how to do this change. > Config needs to be reset on sysupgrade. > > > Known issues > > > * lantiq/xrx200 target is not build because the DSA driver for the > integrated GSWIP switch shows some error messages. > * bcm53xx: Netgear R8000 and Linksys EA9200 Ethernet is broken > > See up to date information here: > https://openwrt.org/releases/23.05/notes-23.05.0#known_issues > > > - > > Full release notes and upgrade instructions are available at > https://openwrt.org/releases/23.05/notes-23.05.0 > > In particular, make sure to read the regressions and known issues before > upgrading: > https://openwrt.org/releases/23.05/notes-23.05.0#known_issues > > For a detailed list
OpenWrt 23.05.0 - First stable release
Hi, The OpenWrt community is proud to announce the first stable release of the OpenWrt 23.05 stable series. OpenWrt 23.05.0 incorporates over 4300 commits since branching the previous OpenWrt 22.03 release and has been under development for over one year. Download firmware images using the OpenWrt Firmware Selector: * https://firmware-selector.openwrt.org/?version=23.05.0 Download firmware images directly from our download servers: * https://downloads.openwrt.org/releases/23.05.0/targets/ Highlights in OpenWrt 23.05.0: == Many new devices added == OpenWrt 23.05 supports over 1790 devices. Support for over 200 new devices was added in addition to the device support by OpenWrt 22.03. * The ipq807x target for the Qualcomm IPQ807x Wifi 6 SoCs was added * The mediatek/filogic subtarget for the Mediatek Filogic 830 and 630 SoCs was added * The sifiveu target for the HiFive RISC-V Unleashed and Unmatched boards Highlights of device support * Switched ipq40xx target to DSA * VDSL support on AVM FRITZ!Box 7530 * Support for devices with 2.5G PHYs * Acer Predator W6 (MT7986A) * Mercusys MR90X v1 (MT7986BLA) * Netgear WAX206 (MT7622) * Netgear WAX220 (MT7986) * ZyXEL NWA50AX Pro (MT7981) * Asus (TUF Gaming) AX4200 (MT7986A) * Netgear WAX218 (IPQ8074) * Xiaomi AX9000 (IPQ8074) * Dynalink DL-WRX36 (IPQ8074) * GL.iNet GL-MT6000 (MT7986A) * Netgear WAX620 (IPQ8072A) * ZyXEL EX5700 (MT7986) * Support for Wifi 6E (6GHz) * Acer Predator W6 (MT7986A) * ZyXEL EX5700 (MT7986) * 2 Gbps WAN/LAN NAT Routing on ramips MT7621 devices (See OpenWrt forum) * Improved DSL statistics on ubus and in LuCI * Added Arm SystemReady (EFI) compliant target replacing the armvirt target Switch from wolfssl to mbedtls as default = OpenWrt has transitioned its default cryptographic library from wolfssl to mbedtls. This shift brings several changes and implications: * Size Efficiency: mbedtls is considerably smaller, making it an optimal choice for systems where storage space is paramount. * LTS and ABI Stability: mbedtls consistently provides updates via its Long Term Support (LTS) branch, ensuring both security and a stable application binary interface (ABI). In contrast, wolfssl does not offer an LTS release, and its stable ABI is limited to a specific set of functions. * TLS 1.3 Support: Users should be aware that mbedtls 2.28 no longer supports TLS 1.3. While mbedtls is now the default, users who have specific needs or preferences can still manually switch back to wolfssl or choose openssl. Rust Package Support This release introduces the ability to include rust-written programs into the OpenWrt package infrastructure. Examples are: bottom, maturin, aardvark-dns and ripgrep. Core components update == Core components have the following versions in 23.05.0: * Updated toolchain: * musl libc 1.2.4 * glibc 2.37 * gcc 12.3.0 * binutils 2.40 * Updated Linux kernel * 5.15.134 for all targets * Network: * hostapd master snapshot from September 2023 * dnsmasq 2.89 * dropbear 2022.82 * cfg80211/mac80211 from kernel 6.1.24 * System userland: * busybox 1.36.1 Upgrading to 23.05.0 Sysupgrade can be used to upgrade a device from 22.03 to 23.05, and configuration will be preserved in most cases. * Sysupgrade from 21.02 to 23.05 is not officially supported. * ipq40xx EA6350v3, EA8300, MR8300 and WHW01 require tweak to the U-Boot environment on update from 22.03 to 23.05. Refer to the Device wiki or the instruction on sysupgrade on how to do this change. Config needs to be reset on sysupgrade. Known issues * lantiq/xrx200 target is not build because the DSA driver for the integrated GSWIP switch shows some error messages. * bcm53xx: Netgear R8000 and Linksys EA9200 Ethernet is broken See up to date information here: https://openwrt.org/releases/23.05/notes-23.05.0#known_issues - Full release notes and upgrade instructions are available at https://openwrt.org/releases/23.05/notes-23.05.0 In particular, make sure to read the regressions and known issues before upgrading: https://openwrt.org/releases/23.05/notes-23.05.0#known_issues For a detailed list of all changes since 22.03.0, refer to https://openwrt.org/releases/23.05/changelog-23.05.0 To download the 23.05.0 images, navigate to: https://downloads.openwrt.org/releases/23.05.0/targets/ Use OpenWrt Firmware Selector to download: https://firmware-selector.openwrt.org/?version=23.05.0 As always, a big thank you goes to all our active package maintainers, testers, documenters and supporters. Have fun! The OpenWrt Community --- To stay informed of new OpenWrt releases and security advisories, there are new channels a
Re: [PATCH v3 10/10] ixp4xx: Add hdparm script
Linus Walleij wrote: > On Fri, Oct 13, 2023 at 12:28 AM Andrey Jr. Melnikov > wrote: > > Linus Walleij wrote: > > > This script will make sure to spin down harddrives on IXP4xx > > > NAS devices such as the NSLU2 and siblings after 1 minute > > > of inactivity. > > > > Why not use hotplug events? > Could be a good idea! Do you have a pointer to how we do these > in OpenWrt? I'm use for external USB disk patched /etc/hotplug.d/block/00-media-change -- cut /etc/hotplug.d/block/00-media-change -- [ -n "$DISK_MEDIA_CHANGE" ] && /sbin/block info if [ "$ACTION" = "add" -a "$DEVTYPE" = "disk" ]; then case "$DEVNAME" in mtd*) : ;; *) echo 2000 > /sys/block/$DEVNAME/events_poll_msecs ;; esac case "$DEVNAME" in sd*) /sbin/hdparm -B 127 -S 120 /dev/$DEVNAME | /usr/bin/logger ;; esac fi -- cut -- PS: And 60 seconds timeout for NAS disks is low. Readahead+cache and serve small files (which fit in memory) - now disk's in spinup-read-spindown cycle. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [PATCH v3 10/10] ixp4xx: Add hdparm script
On Fri, Oct 13, 2023 at 12:28 AM Andrey Jr. Melnikov wrote: > Linus Walleij wrote: > > This script will make sure to spin down harddrives on IXP4xx > > NAS devices such as the NSLU2 and siblings after 1 minute > > of inactivity. > > Why not use hotplug events? Could be a good idea! Do you have a pointer to how we do these in OpenWrt? Yours, Linus Walleij ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel