lon91ong / Actions-OpenWrt

Build OpenWrt using GitHub Actions | 使用 GitHub Actions 云编译 OpenWrt
https://p3terx.com/archives/build-openwrt-with-github-actions.html
MIT License
0 stars 3 forks source link

K2P折腾笔记 #6

Open lon91ong opened 2 years ago

lon91ong commented 2 years ago

Lienol:mt7621_phicomm_k2p.dts的默认方案两个无线不区分2.4G和5G, 需要手动设置, 如下图所示: 不区分2.4G和5G

Lede:mt7621_phicomm_k2p.dts的默认方案在2.4G扩展网络时, 5G无法开启 在Lienol方案的基础上, 参考此文方法分别测试了下面的修改办法, 结果全部失败, 只能识别pcie0的第一个设置

# 方案一:
&pcie0 {
    mt76@0,0 {
        reg = <0x0000 0 0 0 0>;
        mediatek,mtd-eeprom = <&factory 0x0000>;
        ieee80211-freq-limit = <2400000 2500000>;
    };

    mt76@1,0 {
        reg = <0x0000 0 0 0 0>;
        mediatek,mtd-eeprom = <&factory 0x8000>;
        ieee80211-freq-limit = <5000000 6000000>;
    };
};

# 方案二:
&pcie0 {
    mt76@0,0 {
        reg = <0x0000 0 0 0 0>;
        mediatek,mtd-eeprom = <&factory 0x0000>;
        ieee80211-freq-limit = <2400000 2500000>;
    };

&pcie1 {
    mt76@1,0 {
        reg = <0x0000 0 0 0 0>;
        mediatek,mtd-eeprom = <&factory 0x8000>;
        ieee80211-freq-limit = <5000000 6000000>;
    };
};
# 方案三:
&pcie0 {
    mt76@0,0 {
        reg = <0x0000 0 0 0 0>;
        mediatek,mtd-eeprom = <&factory 0x0000>;
        ieee80211-freq-limit = <2400000 2500000>;
    };

&pcie1 {
    mt76@1,0 {
        reg = <0x0001 0 0 0 0>;
        mediatek,mtd-eeprom = <&factory 0x8000>;
        ieee80211-freq-limit = <5000000 6000000>;
    };
};

暂时不折腾了, 使用Lienol的默认配置将就着用!

YunFenLei commented 2 years ago

感谢。问一下大佬怎么没有K2P的刷机包生成了,谢谢。

lon91ong commented 2 years ago

感谢。问一下大佬怎么没有K2P的刷机包生成了,谢谢。

我遇到过的情况都是功能包选得太多超出固件体积大小设置会没有刷机包生成