commit | 60648ed36f657cff503bf11ddbd8046d76f30e4b | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Jul 10 10:59:00 2024 +0800 |
committer | developer <developer@mediatek.com> | Thu Aug 15 17:20:44 2024 +0800 |
tree | d59271e2b840f59024c0f88c037ada3810d0b882 | |
parent | 4bb49c9bc277dbba9b8e0d7e9575d291b03391b1 [diff] |
[][kernel][common][hnat][Refactor entry fp and special tag assignment for handling DSA device] [Description] Refactor entry fp and special tag assignment for handling DSA device. With this patch, driver would try to check if the netdevice is a DSA slave device through linux kernel function rather than using the device name "lan" as condition, can better support different type of switch DSA. [Release-log] N/A Change-Id: Ie171739d239b08134632266d69070d0350868a9f Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9337220
Currently two release branches are supported:
21.02 This is the current in-use branch
git clone -b openwrt-21.02 https://git.openwrt.org/openwrt/openwrt.git
master (will be 24.0x branch later) The next version in development
git clone https://git.openwrt.org/openwrt/openwrt.git
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
21.02 branch
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
master branch
cp -af ./feeds/mtk_openwrt_feed/master/files/* . for file in $(find ./feeds/mtk_openwrt_feed/master/patches-base -name "*.patch" | sort); do patch -f -p1 -i ${file}; done
make menuconfig
21.02 branch
Target System -> MediaTek Ralink ARM Subtarget -> MT7981 / MT7986 / MT7988 Target Profile -> select as needed
master branch
Target System -> MediaTek Ralink ARM Subtarget -> Filogic 8x0 (MT798x) Target Profile -> select as needed
make V=s -j$(nproc)