# mtk-openwrt-feeds **Repository Path**: os-openwrt/mtk-openwrt-feeds ## Basic Information - **Project Name**: mtk-openwrt-feeds - **Description**: fork form mtk-openwrt-feeds - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-23 - **Last Updated**: 2025-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Brief introduction for using MediaTek released OpenWrt SDK ## 1. Build system setup - Please refer to https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem ## 2. Clone vanilla OpenWrt Currently two release branches are supported: 1. 21.02 This is the current in-use branch ```bash git clone -b openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git ``` 2. 24.10 This is the current in-use branch ```bash git clone -b openwrt-24.10 https://git.openwrt.org/openwrt/openwrt.git ``` ## 3. Add MediaTek OpenWrt feed ```bash cd openwrt echo "src-git mtk_openwrt_feed https://git01.mediatek.com/openwrt/feeds/mtk-openwrt-feeds" >> feeds.conf.default ./scripts/feeds update -a ./scripts/feeds install -a ``` ## 4. Apply MediaTek OpenWrt files and patches 1. 21.02 branch ```bash cp -af ./feeds/mtk_openwrt_feed/21.02/files/* . cp -af ./feeds/mtk_openwrt_feed/tools . for file in $(find ./feeds/mtk_openwrt_feed/21.02/patches-base -name "*.patch" | sort); do patch -f -p1 -i ${file}; done for file in $(find ./feeds/mtk_openwrt_feed/21.02/patches-feeds -name "*.patch" | sort); do patch -f -p1 -i ${file}; done ``` 2. 24.10 branch ```bash cp -af ./feeds/mtk_openwrt_feed/24.10/files/* . for file in $(find ./feeds/mtk_openwrt_feed/24.10/patches-base -name "*.patch" | sort); do patch -f -p1 -i ${file}; done ``` ## 5. Configuration ```bash make menuconfig ``` 1. 21.02 branch ```text Target System -> MediaTek Ralink ARM Subtarget -> MT7981 / MT7986 / MT7988 Target Profile -> select as needed ``` 2. 24.10 branch ```text Target System -> MediaTek Ralink ARM Subtarget -> Filogic 8x0 (MT798x) Target Profile -> select as needed ``` ## 6. Build ```bash make V=s -j$(nproc) ``` # Mediatek Official Release with autobuild framework 1. 21.02 branch https://gerrit.mediatek.inc/plugins/gitiles/openwrt/feeds/mtk_openwrt_feeds/+/refs/heads/master/autobuild/autobuild_5.4_mac80211_release/Readme.md 2. 24.10 branch https://gerrit.mediatek.inc/plugins/gitiles/openwrt/feeds/mtk_openwrt_feeds/+/refs/heads/master/autobuild/unified/Readme.md