Giter VIP home page Giter VIP logo

Comments (7)

hanwckf avatar hanwckf commented on September 25, 2024

请贴出更多的输出

from rt-n56u.

chitungho81413 avatar chitungho81413 commented on September 25, 2024

这个错误已经通过修改文件
\opt\rt-n56u\trunk\user\busybox\busybox-1.24.x\scripts\kconfig\zconf.hash.c_shipped
第155行左右的位置为以下内容

#define kconf_id_strings ((const char *) &kconf_id_strings_contents)
#ifdef GNUC
__inline
#ifdef GNUC_STDC_INLINE
attribute ((gnu_inline))
#endif
#endif
static struct kconf_id *
kconf_id_lookup (register const char *str, register unsigned int len)
{
enum
{

解决,但是又出现新的问题,就是修改\opt\rt-n56u\trunk\configs\templates\里面的配置文件,将某些项目改成y,某些项目改成n,编译时会报另一种错误,例如:

Making a [release] version (use 'debug' target as an alternative)

make[3]: Entering directory '/opt/rt-n56u/trunk/user/udpxy'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/udpxy'
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/udpxy'
make[2]: Entering directory '/opt/rt-n56u/trunk/user/utils'
for i in hw_nat cpu_usage switch hub-ctrl ; do make -C $i all || exit ; done
make[3]: Entering directory '/opt/rt-n56u/trunk/user/utils/hw_nat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/utils/hw_nat'
make[3]: Entering directory '/opt/rt-n56u/trunk/user/utils/cpu_usage'
/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -Os -fomit-frame-pointer -pipe -Dlinux -D__linux__ -Dunix -DEMBED -I/opt/rt-n56u/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -Wno-pointer-sign -L/opt/rt-n56u/trunk/stage/lib cpu.c -o cpu
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/utils/cpu_usage'
make[3]: Entering directory '/opt/rt-n56u/trunk/user/utils/switch'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/utils/switch'
make[3]: Entering directory '/opt/rt-n56u/trunk/user/utils/hub-ctrl'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/utils/hub-ctrl'
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/utils'
make[2]: Entering directory '/opt/rt-n56u/trunk/user/lanauth'
make[2]: 'lanauth' is up to date.
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/lanauth'
make[2]: Entering directory '/opt/rt-n56u/trunk/user/802.1x'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/802.1x'
make[2]: Entering directory '/opt/rt-n56u/trunk/user/wpa_supplicant'
cp -f wpa_supplicant/.config.def wpa_supplicant/.config
make -C wpa_supplicant
make[3]: Entering directory '/opt/rt-n56u/trunk/user/wpa_supplicant/wpa_supplicant'
/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -L/opt/rt-n56u/trunk/stage/lib -Wl,--gc-sections -o wpa_supplicant config.o ../src/utils/common.o ../src/utils/wpa_debug.o ../src/utils/wpabuf.o ../src/crypto/md5.o ../src/crypto/rc4.o ../src/crypto/md4.o ../src/crypto/sha1.o ../src/crypto/des.o ../src/utils/os_unix.o ../src/utils/eloop.o config_file.o ../src/eap_peer/eap_md5.o ../src/eapol_supp/eapol_supp_sm.o ../src/eap_peer/eap.o ../src/eap_common/eap_common.o ../src/eap_peer/eap_methods.o ../src/crypto/tls_none.o ../src/eap_common/chap.o ctrl_iface.o ctrl_iface_unix.o ../src/drivers/scan_helpers.o wpa_supplicant.o events.o blacklist.o wpas_glue.o scan.o main.o ../src/drivers/driver_wired.o ../src/drivers/drivers.o ../src/l2_packet/l2_packet_linux.o
../src/crypto/md5.o: In function hmac_md5_vector': md5.c:(.text.hmac_md5_vector+0x58): undefined reference to md5_vector'
md5.c:(.text.hmac_md5_vector+0x128): undefined reference to md5_vector' md5.c:(.text.hmac_md5_vector+0x18c): undefined reference to md5_vector'
../src/eap_peer/eap.o: In function eap_peer_sm_step': eap.c:(.text.eap_peer_sm_step+0x26c): undefined reference to md5_vector'
../src/eap_peer/eap_methods.o: In function eap_peer_register_methods': eap_methods.c:(.text.eap_peer_register_methods+0x28): undefined reference to eap_peer_mschapv2_register'
eap_methods.c:(.text.eap_peer_register_methods+0x3c): undefined reference to eap_peer_peap_register' eap_methods.c:(.text.eap_peer_register_methods+0x50): undefined reference to eap_peer_ttls_register'
../src/eap_common/chap.o: In function chap_md5': chap.c:(.text.chap_md5+0x24): undefined reference to md5_vector'
collect2: ld returned 1 exit status
Makefile:1099: recipe for target 'wpa_supplicant' failed
make[3]: *** [wpa_supplicant] Error 1
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/wpa_supplicant/wpa_supplicant'
Makefile:5: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/wpa_supplicant'
Makefile:193: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:209: recipe for target 'user_only' failed
make: *** [user_only] Error 2

from rt-n56u.

hanwckf avatar hanwckf commented on September 25, 2024

你在这一次编译的时候是选择了和上一次不同的机型?有没有执行清理脚本?

from rt-n56u.

chitungho81413 avatar chitungho81413 commented on September 25, 2024

用你源码里的配置文件直接编译是正常的,修改文件里部分项目(只是n改y去除#,或y改n),就报上面的错误。例如这个OYE-001:

Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628)

CONFIG_VENDOR=Ralink
CONFIG_PRODUCT=MT7620

Target ProductID (board select, max 12 symbols)

CONFIG_FIRMWARE_PRODUCT_ID="OYE-001"

Linux kernel and toolchain

CONFIG_LINUXDIR=linux-3.4.x
CONFIG_TOOLCHAIN_DIR=/opt/rt-n56u/toolchain-mipsel

############################################################

Linux kernel configuration

############################################################

Build ROOTFS_IN_RAM firmware mode (kernel+initramfs).

Decreased firmware size, but more RAM used, slow boot.

Also allow build image for load w/o flash from UART console

#CONFIG_FIRMWARE_TYPE_ROOTFS_IN_RAM=y

Force MT7620 CPU clock to 600MHz (override Uboot settings)

#CONFIG_FIRMWARE_CPU_600MHZ=y

Enable MT7620 CPU sleep mode (downclock to 200MHz on idle)

#CONFIG_FIRMWARE_CPU_SLEEP=y

Kernel driver select for WiFi AP 2.4GHz

2.7 = MT7620 v2.7.2.0

3.0 = MT7620 v3.0.4.0

CONFIG_FIRMWARE_WIFI2_DRIVER=2.7

Enable IPv6 support

CONFIG_FIRMWARE_ENABLE_IPV6=y

Enable USB support

CONFIG_FIRMWARE_ENABLE_USB=y

Enable NTFS filesystem support via Paragon "ufsd" driver. ~0.4MB

CONFIG_FIRMWARE_ENABLE_UFSD=y

Enable FAT/FAT32 filesystem support. ~0.1MB

#CONFIG_FIRMWARE_ENABLE_FAT=y

Enable exFAT (FAT/FAT32 too) filesystem support. ~0.12MB

CONFIG_FIRMWARE_ENABLE_EXFAT=y

Enable EXT2 filesystem support. ~0.1MB

#CONFIG_FIRMWARE_ENABLE_EXT2=y

Enable EXT3 filesystem support. ~0.2MB

#CONFIG_FIRMWARE_ENABLE_EXT3=y

Enable EXT4 (EXT3/2 too) filesystem support. ~0.4MB

CONFIG_FIRMWARE_ENABLE_EXT4=y

Enable XFS filesystem support. ~0.6MB

#CONFIG_FIRMWARE_ENABLE_XFS=y

Enable FUSE (filesystems in userspace) support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FUSE=y

Enable swap files/partitions support. ~0.05MB

CONFIG_FIRMWARE_ENABLE_SWAP=y

Include UVC camera modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_UVC=y

Include USB-HID modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_HID=y

Include USB-Serial modules (e.g. pl2303). ~0.03MB

CONFIG_FIRMWARE_INCLUDE_SERIAL=y

Include USB-Audio modules ~0.46MB

#CONFIG_FIRMWARE_INCLUDE_AUDIO=y

Include network QoS scheduling modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_QOS=y

Include IMQ module for shapers (a bit of performance degradation). ~0.02MB

#CONFIG_FIRMWARE_INCLUDE_IMQ=y

Include IFB module for shapers. ~0.03MB

#CONFIG_FIRMWARE_INCLUDE_IFB=y

Include IPSet utility and kernel modules. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_IPSET=y

Include NFSv3 server. ~0.6MB

#CONFIG_FIRMWARE_INCLUDE_NFSD=y

Include NFSv3 client. ~0.5MB

#CONFIG_FIRMWARE_INCLUDE_NFSC=y

Include CIFS (SMB) client. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_CIFS=y

############################################################

Userspace configuration

############################################################

Include WebUI international resources. Increased firmware size

CONFIG_FIRMWARE_INCLUDE_LANG_CN=y
#CONFIG_FIRMWARE_INCLUDE_LANG_BR=y
#CONFIG_FIRMWARE_INCLUDE_LANG_CZ=y
#CONFIG_FIRMWARE_INCLUDE_LANG_DA=y
#CONFIG_FIRMWARE_INCLUDE_LANG_DE=y
#CONFIG_FIRMWARE_INCLUDE_LANG_ES=y
#CONFIG_FIRMWARE_INCLUDE_LANG_FI=y
#CONFIG_FIRMWARE_INCLUDE_LANG_FR=y
#CONFIG_FIRMWARE_INCLUDE_LANG_NO=y
#CONFIG_FIRMWARE_INCLUDE_LANG_PL=y
#CONFIG_FIRMWARE_INCLUDE_LANG_RU=y
#CONFIG_FIRMWARE_INCLUDE_LANG_SV=y
#CONFIG_FIRMWARE_INCLUDE_LANG_UK=y

Include NTFS-3G FUSE driver (instead of Paragon "ufsd"). ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_NTFS_3G=y

Include LPR printer daemon. ~0.12MB

#CONFIG_FIRMWARE_INCLUDE_LPRD=y

Include USB-over-Ethernet printer daemon. ~0.05MB

#CONFIG_FIRMWARE_INCLUDE_U2EC=y

Include "tcpdump" utility. ~0.6MB

#CONFIG_FIRMWARE_INCLUDE_TCPDUMP=y

Include "hdparm" utility (allow set HDD spindown timeout and APM). ~0.1MB

CONFIG_FIRMWARE_INCLUDE_HDPARM=y

Include SMB (and WINS) server. ~1.5MB

CONFIG_FIRMWARE_INCLUDE_SMBD=y

Include WINS server only. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_WINS=y

Include syslog for SMB and WINS server. ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_SMBD_SYSLOG=y

Include FTP server. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_FTPD=y

Include alternative L2TP control client RP-L2TP. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_RPL2TP=n

Include EAP-TTLS and EAP-PEAP authentication support. openssl ~1.2MB, wpa_supplicant +0.04MB

#CONFIG_FIRMWARE_INCLUDE_EAP_PEAP=y

Include HTTPS support for DDNS client. openssl ~1.2MB

#CONFIG_FIRMWARE_INCLUDE_DDNS_SSL=y

Include HTTPS support. openssl ~1.2MB

#CONFIG_FIRMWARE_INCLUDE_HTTPS=y

Include sftp-server. openssl ~1.2MB, sftp-server ~0.06MB

#CONFIG_FIRMWARE_INCLUDE_SFTP=y

Include dropbear SSH. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR=y

Make the dropbear symmetrical ciphers and hashes faster. ~0.06MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=y

Include OpenSSH instead of dropbear. openssl ~1.2MB, openssh ~1.0MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSH=y

Include OpenVPN. IPv6 required. openssl ~1.2MB, openvpn ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_OPENVPN=y

Include Elliptic Curves (EC) to openssl library. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSL_EC=y

Include "openssl" executable for generate certificates. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y

Include xUPNPd IPTV mediaserver. ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_XUPNPD=y

Include Minidlna UPnP mediaserver. ~1.6MB

#CONFIG_FIRMWARE_INCLUDE_MINIDLNA=y

其实我只是想编译一个纯净版的OYE-001固件,U口和TF卡都能正常工作就可以(主要是做共享),不需要额外的功能。

from rt-n56u.

hanwckf avatar hanwckf commented on September 25, 2024

CONFIG_FIRMWARE_INCLUDE_EAP_PEAP这个选项启用

from rt-n56u.

chitungho81413 avatar chitungho81413 commented on September 25, 2024

按照你提供的方法修改可以完成编译,现在在编译RT-N56U_base时提示
scripts/kconfig/conf --silentoldconfig Kconfig
*

  • Restart config...
  • Networking support

Networking support (NET) [Y/n/?] y
Enables kernel network stack path for Shortcut Forwarding Engine (SHORTCUT_FE) [N/y] (NEW)

按Y后在提示

8000] 0x48000
*

  • 3rd Wireless Interface

Choose 3rd Wireless Interface

  1. None (RT_THIRD_IF_NONE) (NEW)
  1. MT7615E PCIe (RT_THIRD_IF_MT7615E) (NEW)
    choice[1-2]:

请问应该修改配置文件的什么地方以自动应答?谢谢!

目前我的配置文件如下:

Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628)

CONFIG_VENDOR=Ralink
CONFIG_PRODUCT=RT3883

Target ProductID (board select, max 12 symbols)

CONFIG_FIRMWARE_PRODUCT_ID="RT-N56U"

Linux kernel and toolchain

CONFIG_LINUXDIR=linux-3.4.x
CONFIG_TOOLCHAIN_DIR=/opt/rt-n56u/toolchain-mipsel

############################################################

Linux kernel configuration

############################################################

Build ROOTFS_IN_RAM firmware mode (kernel+initramfs).

Decreased firmware size, but more RAM used, slow boot.

Also allow build image for load w/o flash from UART console

#CONFIG_FIRMWARE_TYPE_ROOTFS_IN_RAM=y

Kernel driver select for WiFi AP 5GHz

2.4 = RT3883/3662 v2.4.3.6

2.7 = RT3883/3662 v2.7.2.0

CONFIG_FIRMWARE_WIFI5_DRIVER=2.7

Kernel driver select for WiFi AP 2.4GHz

2.4 = RT3092 v2.4.0.5

2.5 = RT3092 v2.5.0.11

2.7 = RT3092 v2.7.1.5

CONFIG_FIRMWARE_WIFI2_DRIVER=2.7

Enable IPv6 support

CONFIG_FIRMWARE_ENABLE_IPV6=y

Enable USB support

CONFIG_FIRMWARE_ENABLE_USB=y

Enable NTFS filesystem support via Paragon "ufsd" driver. ~0.4MB

CONFIG_FIRMWARE_ENABLE_UFSD=y

Enable FAT/FAT32 filesystem support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FAT=y

Enable exFAT (FAT/FAT32 too) filesystem support. ~0.12MB

CONFIG_FIRMWARE_ENABLE_EXFAT=y

Enable EXT2 filesystem support. ~0.1MB

#CONFIG_FIRMWARE_ENABLE_EXT2=y

Enable EXT3 filesystem support. ~0.2MB

#CONFIG_FIRMWARE_ENABLE_EXT3=y

Enable EXT4 (EXT3/2 too) filesystem support. ~0.4MB

CONFIG_FIRMWARE_ENABLE_EXT4=y

Enable XFS filesystem support. ~0.6MB

#CONFIG_FIRMWARE_ENABLE_XFS=y

Enable FUSE (filesystems in userspace) support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FUSE=y

Enable swap files/partitions support. ~0.05MB

#CONFIG_FIRMWARE_ENABLE_SWAP=y

Include UVC camera modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_UVC=y

Include USB-HID modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_HID=y

Include USB-Serial modules (e.g. pl2303). ~0.03MB

CONFIG_FIRMWARE_INCLUDE_SERIAL=y

Include USB-Audio modules ~0.46MB

#CONFIG_FIRMWARE_INCLUDE_AUDIO=y

Include network QoS scheduling modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_QOS=y

Include IMQ module for shapers (a bit of performance degradation). ~0.02MB

#CONFIG_FIRMWARE_INCLUDE_IMQ=y

Include IFB module for shapers. ~0.03MB

#CONFIG_FIRMWARE_INCLUDE_IFB=y

Include IPSet utility and kernel modules. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_IPSET=y

Include NFSv3 server. ~0.6MB

#CONFIG_FIRMWARE_INCLUDE_NFSD=y

Include NFSv3 client. ~0.5MB

#CONFIG_FIRMWARE_INCLUDE_NFSC=y

Include CIFS (SMB) client. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_CIFS=y

############################################################

Userspace configuration

############################################################

Include WebUI international resources. Increased firmware size

CONFIG_FIRMWARE_INCLUDE_LANG_CN=y
#CONFIG_FIRMWARE_INCLUDE_LANG_BR=y
#CONFIG_FIRMWARE_INCLUDE_LANG_CZ=y
#CONFIG_FIRMWARE_INCLUDE_LANG_DA=y
#CONFIG_FIRMWARE_INCLUDE_LANG_DE=y
#CONFIG_FIRMWARE_INCLUDE_LANG_ES=y
#CONFIG_FIRMWARE_INCLUDE_LANG_FI=y
#CONFIG_FIRMWARE_INCLUDE_LANG_FR=y
#CONFIG_FIRMWARE_INCLUDE_LANG_NO=y
#CONFIG_FIRMWARE_INCLUDE_LANG_PL=y
#CONFIG_FIRMWARE_INCLUDE_LANG_RU=y
#CONFIG_FIRMWARE_INCLUDE_LANG_SV=y
#CONFIG_FIRMWARE_INCLUDE_LANG_UK=y

Include NTFS-3G FUSE driver (instead of Paragon "ufsd"). ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_NTFS_3G=y

Include LPR printer daemon. ~0.12MB

CONFIG_FIRMWARE_INCLUDE_LPRD=y

Include USB-over-Ethernet printer daemon. ~0.05MB

#CONFIG_FIRMWARE_INCLUDE_U2EC=y

Include "tcpdump" utility. ~0.6MB

#CONFIG_FIRMWARE_INCLUDE_TCPDUMP=y

Include "hdparm" utility (allow set HDD spindown timeout and APM). ~0.1MB

CONFIG_FIRMWARE_INCLUDE_HDPARM=y

Include "parted" utility (allow make GPT partitions). ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_PARTED=y

Include SMB (and WINS) server. ~1.5MB

CONFIG_FIRMWARE_INCLUDE_SMBD=y

Include WINS server only. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_WINS=y

Include syslog for SMB and WINS server. ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_SMBD_SYSLOG=y

Include FTP server. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_FTPD=y

Include alternative L2TP control client RP-L2TP. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_RPL2TP=y

Include EAP-TTLS and EAP-PEAP authentication support. openssl ~1.2MB, wpa_supplicant +0.04MB

CONFIG_FIRMWARE_INCLUDE_EAP_PEAP=y

Include HTTPS support for DDNS client. openssl ~1.2MB

#CONFIG_FIRMWARE_INCLUDE_DDNS_SSL=y

Include HTTPS support. openssl ~1.2MB

#CONFIG_FIRMWARE_INCLUDE_HTTPS=y

Include sftp-server. openssl ~1.2MB, sftp-server ~0.06MB

#CONFIG_FIRMWARE_INCLUDE_SFTP=y

Include dropbear SSH. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR=y

Make the dropbear symmetrical ciphers and hashes faster. ~0.06MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=y

Include OpenSSH instead of dropbear. openssl ~1.2MB, openssh ~1.0MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSH=y

Include OpenVPN. IPv6 required. openssl ~1.2MB, openvpn ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_OPENVPN=y

Include Elliptic Curves (EC) to openssl library. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSL_EC=y

Include "openssl" executable for generate certificates. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y

Include xUPNPd IPTV mediaserver. ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_XUPNPD=y

Include Minidlna UPnP mediaserver. ~1.6MB

#CONFIG_FIRMWARE_INCLUDE_MINIDLNA=y

Include Firefly iTunes mediaserver. ~1.0MB

#CONFIG_FIRMWARE_INCLUDE_FIREFLY=y

Include ffmpeg 0.11.x instead of 0.6.x for Minidlna and Firefly. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_FFMPEG_NEW=y

Include Transmission torrent. openssl ~1.2MB, transmission ~1.5MB

#CONFIG_FIRMWARE_INCLUDE_TRANSMISSION=y

Include Transmission-Web-Control (advanced WebUI). ~0.8MB

#CONFIG_FIRMWARE_INCLUDE_TRANSMISSION_WEB_CONTROL=y

Include Aria2 download manager. openssl ~1.2MB, aria2 ~3.5MB

#CONFIG_FIRMWARE_INCLUDE_ARIA=y

Include Aria2 WEB control. ~0.7MB

#CONFIG_FIRMWARE_INCLUDE_ARIA_WEB_CONTROL=y

from rt-n56u.

hanwckf avatar hanwckf commented on September 25, 2024

按照你提供的方法修改可以完成编译,现在在编译RT-N56U_base时提示
scripts/kconfig/conf --silentoldconfig Kconfig
*

  • Restart config...
  • Networking support

Networking support (NET) [Y/n/?] y
Enables kernel network stack path for Shortcut Forwarding Engine (SHORTCUT_FE) [N/y] (NEW)

按Y后在提示

8000] 0x48000
*

  • 3rd Wireless Interface

Choose 3rd Wireless Interface

  1. None (RT_THIRD_IF_NONE) (NEW)
  1. MT7615E PCIe (RT_THIRD_IF_MT7615E) (NEW)
    choice[1-2]:

请问应该修改配置文件的什么地方以自动应答?谢谢!

目前我的配置文件如下:

Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628)

CONFIG_VENDOR=Ralink
CONFIG_PRODUCT=RT3883

Target ProductID (board select, max 12 symbols)

CONFIG_FIRMWARE_PRODUCT_ID="RT-N56U"

Linux kernel and toolchain

CONFIG_LINUXDIR=linux-3.4.x
CONFIG_TOOLCHAIN_DIR=/opt/rt-n56u/toolchain-mipsel

############################################################

Linux kernel configuration

############################################################

Build ROOTFS_IN_RAM firmware mode (kernel+initramfs).

Decreased firmware size, but more RAM used, slow boot.

Also allow build image for load w/o flash from UART console

#CONFIG_FIRMWARE_TYPE_ROOTFS_IN_RAM=y

Kernel driver select for WiFi AP 5GHz

2.4 = RT3883/3662 v2.4.3.6

2.7 = RT3883/3662 v2.7.2.0

CONFIG_FIRMWARE_WIFI5_DRIVER=2.7

Kernel driver select for WiFi AP 2.4GHz

2.4 = RT3092 v2.4.0.5

2.5 = RT3092 v2.5.0.11

2.7 = RT3092 v2.7.1.5

CONFIG_FIRMWARE_WIFI2_DRIVER=2.7

Enable IPv6 support

CONFIG_FIRMWARE_ENABLE_IPV6=y

Enable USB support

CONFIG_FIRMWARE_ENABLE_USB=y

Enable NTFS filesystem support via Paragon "ufsd" driver. ~0.4MB

CONFIG_FIRMWARE_ENABLE_UFSD=y

Enable FAT/FAT32 filesystem support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FAT=y

Enable exFAT (FAT/FAT32 too) filesystem support. ~0.12MB

CONFIG_FIRMWARE_ENABLE_EXFAT=y

Enable EXT2 filesystem support. ~0.1MB

#CONFIG_FIRMWARE_ENABLE_EXT2=y

Enable EXT3 filesystem support. ~0.2MB

#CONFIG_FIRMWARE_ENABLE_EXT3=y

Enable EXT4 (EXT3/2 too) filesystem support. ~0.4MB

CONFIG_FIRMWARE_ENABLE_EXT4=y

Enable XFS filesystem support. ~0.6MB

#CONFIG_FIRMWARE_ENABLE_XFS=y

Enable FUSE (filesystems in userspace) support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FUSE=y

Enable swap files/partitions support. ~0.05MB

#CONFIG_FIRMWARE_ENABLE_SWAP=y

Include UVC camera modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_UVC=y

Include USB-HID modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_HID=y

Include USB-Serial modules (e.g. pl2303). ~0.03MB

CONFIG_FIRMWARE_INCLUDE_SERIAL=y

Include USB-Audio modules ~0.46MB

#CONFIG_FIRMWARE_INCLUDE_AUDIO=y

Include network QoS scheduling modules. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_QOS=y

Include IMQ module for shapers (a bit of performance degradation). ~0.02MB

#CONFIG_FIRMWARE_INCLUDE_IMQ=y

Include IFB module for shapers. ~0.03MB

#CONFIG_FIRMWARE_INCLUDE_IFB=y

Include IPSet utility and kernel modules. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_IPSET=y

Include NFSv3 server. ~0.6MB

#CONFIG_FIRMWARE_INCLUDE_NFSD=y

Include NFSv3 client. ~0.5MB

#CONFIG_FIRMWARE_INCLUDE_NFSC=y

Include CIFS (SMB) client. ~0.2MB

#CONFIG_FIRMWARE_INCLUDE_CIFS=y

############################################################

Userspace configuration

############################################################

Include WebUI international resources. Increased firmware size

CONFIG_FIRMWARE_INCLUDE_LANG_CN=y
#CONFIG_FIRMWARE_INCLUDE_LANG_BR=y
#CONFIG_FIRMWARE_INCLUDE_LANG_CZ=y
#CONFIG_FIRMWARE_INCLUDE_LANG_DA=y
#CONFIG_FIRMWARE_INCLUDE_LANG_DE=y
#CONFIG_FIRMWARE_INCLUDE_LANG_ES=y
#CONFIG_FIRMWARE_INCLUDE_LANG_FI=y
#CONFIG_FIRMWARE_INCLUDE_LANG_FR=y
#CONFIG_FIRMWARE_INCLUDE_LANG_NO=y
#CONFIG_FIRMWARE_INCLUDE_LANG_PL=y
#CONFIG_FIRMWARE_INCLUDE_LANG_RU=y
#CONFIG_FIRMWARE_INCLUDE_LANG_SV=y
#CONFIG_FIRMWARE_INCLUDE_LANG_UK=y

Include NTFS-3G FUSE driver (instead of Paragon "ufsd"). ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_NTFS_3G=y

Include LPR printer daemon. ~0.12MB

CONFIG_FIRMWARE_INCLUDE_LPRD=y

Include USB-over-Ethernet printer daemon. ~0.05MB

#CONFIG_FIRMWARE_INCLUDE_U2EC=y

Include "tcpdump" utility. ~0.6MB

#CONFIG_FIRMWARE_INCLUDE_TCPDUMP=y

Include "hdparm" utility (allow set HDD spindown timeout and APM). ~0.1MB

CONFIG_FIRMWARE_INCLUDE_HDPARM=y

Include "parted" utility (allow make GPT partitions). ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_PARTED=y

Include SMB (and WINS) server. ~1.5MB

CONFIG_FIRMWARE_INCLUDE_SMBD=y

Include WINS server only. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_WINS=y

Include syslog for SMB and WINS server. ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_SMBD_SYSLOG=y

Include FTP server. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_FTPD=y

Include alternative L2TP control client RP-L2TP. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_RPL2TP=y

Include EAP-TTLS and EAP-PEAP authentication support. openssl ~1.2MB, wpa_supplicant +0.04MB

CONFIG_FIRMWARE_INCLUDE_EAP_PEAP=y

Include HTTPS support for DDNS client. openssl ~1.2MB

#CONFIG_FIRMWARE_INCLUDE_DDNS_SSL=y

Include HTTPS support. openssl ~1.2MB

#CONFIG_FIRMWARE_INCLUDE_HTTPS=y

Include sftp-server. openssl ~1.2MB, sftp-server ~0.06MB

#CONFIG_FIRMWARE_INCLUDE_SFTP=y

Include dropbear SSH. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR=y

Make the dropbear symmetrical ciphers and hashes faster. ~0.06MB

CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=y

Include OpenSSH instead of dropbear. openssl ~1.2MB, openssh ~1.0MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSH=y

Include OpenVPN. IPv6 required. openssl ~1.2MB, openvpn ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_OPENVPN=y

Include Elliptic Curves (EC) to openssl library. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSL_EC=y

Include "openssl" executable for generate certificates. ~0.4MB

#CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y

Include xUPNPd IPTV mediaserver. ~0.3MB

#CONFIG_FIRMWARE_INCLUDE_XUPNPD=y

Include Minidlna UPnP mediaserver. ~1.6MB

#CONFIG_FIRMWARE_INCLUDE_MINIDLNA=y

Include Firefly iTunes mediaserver. ~1.0MB

#CONFIG_FIRMWARE_INCLUDE_FIREFLY=y

Include ffmpeg 0.11.x instead of 0.6.x for Minidlna and Firefly. ~0.1MB

#CONFIG_FIRMWARE_INCLUDE_FFMPEG_NEW=y

Include Transmission torrent. openssl ~1.2MB, transmission ~1.5MB

#CONFIG_FIRMWARE_INCLUDE_TRANSMISSION=y

Include Transmission-Web-Control (advanced WebUI). ~0.8MB

#CONFIG_FIRMWARE_INCLUDE_TRANSMISSION_WEB_CONTROL=y

Include Aria2 download manager. openssl ~1.2MB, aria2 ~3.5MB

#CONFIG_FIRMWARE_INCLUDE_ARIA=y

Include Aria2 WEB control. ~0.7MB

#CONFIG_FIRMWARE_INCLUDE_ARIA_WEB_CONTROL=y

这是因为padavan旧的机型的kernel-config没有更新,所以make menuconfig的时候会让你选择

from rt-n56u.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.