Skip to content

Instantly share code, notes, and snippets.

View gassan's full-sized avatar

Gassan Gousseinov gassan

  • Marburg, Germany
View GitHub Profile
@Fail-Safe
Fail-Safe / get-mt7986-fw.sh
Last active April 16, 2025 11:18
Downloads the mt7986 firmware files from a given mtk-openwrt-feeds commit hash
#!/bin/sh
if [ $# -eq 0 ]; then
printf "No arguments supplied. Please provide the commit hash for the firmware release you wish to download.\n"
exit 1
fi
# $1 will be the incoming commit hash
fw_url="https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+archive/${1}/autobuild_mac80211_release/package/kernel/mt76/src/firmware.tar.gz"