Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSG1218固件编译问题 #57

Open
tenasama opened this issue Mar 29, 2020 · 0 comments
Open

PSG1218固件编译问题 #57

tenasama opened this issue Mar 29, 2020 · 0 comments

Comments

@tenasama
Copy link

大大您好,我使用您提供的项目自动编译斐讯K2固件,在将2.4G wifi驱动从默认的v2.7.2.0修改为v3.0.4.0时出现问题,编译无法成功,相关操作如下:

已添加 sed -i '/CONFIG_FIRMWARE_WIFI2_DRIVER/d' .config 删除原配置项,
并已添加 echo "CONFIG_FIRMWARE_WIFI2_DRIVER=3.0" >> .config 重新定义所需2.4G WIFI驱动版本。

经排查,若不添加上述两行,只整合其他功能,则可以成功编译并输出固件。

具体出错记录在2000行左右,我把附近的记录附上了:

    New MBSSID mode support (MT76X2_AP_MBSS_NEW_MBSSID_MODE) [Y/n] y
  AP-Client support (MT76X2_AP_APCLI) [Y/n] y
    AP-Client TGn Cert support (MT76X2_AP_APCLI_CERT) [N/y] n
    AP-Client Auto Bandwidth Support (MT76X2_AP_APCLI_AUTO_BW) [N/y] n
    MAC Repeater Mode support (MT76X2_AP_MAC_REPEATER) [N/y] n
  Wireless Mixed Bridge Mode (MWDS) (MT76X2_AP_MWDS) [N/y] n
  Smart Mesh (MT76X2_AP_SMART_MESH) [N/y] n
  AirPlay support (MT76X2_AP_AIRPLAY) [N/y] n
  DFS support (MT76X2_AP_DFS) [N/y] n
  Carrier Detection support (MT76X2_AP_CARRIER) [N/y] n
  Green AP mode support (MT76X2_AP_GREENAP) [N/y] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[3]: *** [silentoldconfig] Error 1
/opt/rt-n56u/trunk/linux-3.4.x/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 2
/opt/rt-n56u/trunk/linux-3.4.x/Makefile:489: recipe for target 'silentoldconfig' failed
make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'.  Stop.
make[1]: Leaving directory '/opt/rt-n56u/trunk/linux-3.4.x'
make: *** [linux] Error 1
Makefile:150: recipe for target 'linux' failed
##[error]Process completed with exit code 2.

此外也附上编译时我用的build-padavan.yml:
https://github.com/tenasama/Padavan-build/actions/runs/65789270/workflow

谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant