CMCC_L1-1 中国移动云路由器 自适配Padavan&openwrt固件
源码地址：网口定义CONFIG_RAETH_ESW_PORT_WAN=4 CONFIG_RAETH_ESW_PORT_LAN1=3 CONFIG_RAETH_ESW_PORT_LAN2=2 CONFIG_RAETH_ESW_PORT_LAN3=1 CONFIG_RAETH_ESW_PORT_LAN4=0网友测试结果：padavan固件 openwrt固件
小米路由4AA百兆版适配Padavan核心工程文件MI-4A-100M.configkernel-3.4.x.configboard.hboard.mk其中 kernel-3.4.x.config board.h board.mk 在/opt/rt-n56u/trunk/configs/boards/MI-4A-100M/MI-4A-100M.config在/opt/rt-n56u/trunk/configs/templates/源码MI-4A-100M.config ### Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628) CONFIG_VENDOR=Ralink CONFIG_PRODUCT=MT7628 ### Target ProductID (board select, max 12 symbols) CONFIG_FIRMWARE_PRODUCT_ID="MI-4A-100M" ### Linux kernel and toolchain CONFIG_FIRMWARE_INCLUDE_SFE=y CONFIG_LINUXDIR=linux-3.4.x CONFIG_TOOLCHAIN_DIR=/opt/rt-n56u/toolchain-mipsel ############################################################ ### Linux kernel configuration ############################################################ ### Enable MT7628 CPU sleep mode (downclock to 100MHz on idle) #CONFIG_FIRMWARE_CPU_SLEEP=y ### 4.1 = MT7628 v4.1.0.0 CONFIG_FIRMWARE_WIFI2_DRIVER=4.1 ### Kernel driver select for WiFi AP 5GHz ### 3.0 = MT7612E v3.0.4.0 CONFIG_FIRMWARE_WIFI5_DRIVER=3.0 ### 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=n ### Enable FUSE (filesystems in userspace) support. ~0.1MB CONFIG_FIRMWARE_ENABLE_FUSE=y ### Enable swap files/partitions support. ~0.05MB CONFIG_FIRMWARE_ENABLE_SWAP=n ### Include UVC camera modules. ~0.2MB CONFIG_FIRMWARE_INCLUDE_UVC=y ### Include USB-HID modules. ~0.2MB CONFIG_FIRMWARE_INCLUDE_HID=n ### 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=n ### Include IMQ module for shapers (a bit of performance degradation). ~0.02MB CONFIG_FIRMWARE_INCLUDE_IMQ=n ### Include IFB module for shapers. ~0.03MB CONFIG_FIRMWARE_INCLUDE_IFB=n ### Include IPSet utility and kernel modules. ~0.4MB CONFIG_FIRMWARE_INCLUDE_IPSET=y ### Include NFSv3 server. ~0.6MB CONFIG_FIRMWARE_INCLUDE_NFSD=n ### Include NFSv3 client. ~0.5MB CONFIG_FIRMWARE_INCLUDE_NFSC=n ### Include CIFS (SMB) client. ~0.2MB CONFIG_FIRMWARE_INCLUDE_CIFS=n ############################################################ ### 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=n ### 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 ### using samba3.6 instead of samba3 CONFIG_FIRMWARE_INCLUDE_SMBD36=y ### Include WINS server only. ~0.4MB CONFIG_FIRMWARE_INCLUDE_WINS=n ### Include syslog for SMB and WINS server. ~0.3MB CONFIG_FIRMWARE_INCLUDE_SMBD_SYSLOG=n ### 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=n ### Include HTTPS support. openssl ~1.2MB CONFIG_FIRMWARE_INCLUDE_HTTPS=n ### Include sftp-server. openssl ~1.2MB, sftp-server ~0.06MB CONFIG_FIRMWARE_INCLUDE_SFTP=y ### Include dropbear SSH. ~0.3MB CONFIG_FIRMWARE_INCLUDE_DROPBEAR=n ### Make the dropbear symmetrical ciphers and hashes faster. ~0.06MB CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=n ### 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=n ### 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=n ### Include xUPNPd IPTV mediaserver. ~0.3MB CONFIG_FIRMWARE_INCLUDE_XUPNPD=y ### Include Minidlna UPnP mediaserver. ~1.6MB CONFIG_FIRMWARE_INCLUDE_MINIDLNA=n ### Include Firefly iTunes mediaserver. ~1.0MB CONFIG_FIRMWARE_INCLUDE_FIREFLY=n ### 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=n ### Include Transmission-Web-Control (advanced WebUI). ~0.8MB CONFIG_FIRMWARE_INCLUDE_TRANSMISSION_WEB_CONTROL=n ### 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 CONFIG_FIRMWARE_INCLUDE_CURL=y CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT=y CONFIG_FIRMWARE_INCLUDE_GDUT_DRCOM=n CONFIG_FIRMWARE_INCLUDE_DOGCOM=y CONFIG_FIRMWARE_INCLUDE_MINIEAP=y CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT=y CONFIG_FIRMWARE_INCLUDE_NAPT66=y CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS=n CONFIG_FIRMWARE_INCLUDE_SSSERVER=n CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_SERVER=n CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT=n CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD=n CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER=n CONFIG_FIRMWARE_INCLUDE_VLMCSD=y CONFIG_FIRMWARE_INCLUDE_TTYD=y CONFIG_FIRMWARE_INCLUDE_LRZSZ=y CONFIG_FIRMWARE_INCLUDE_HTOP=y CONFIG_FIRMWARE_INCLUDE_NANO=y CONFIG_FIRMWARE_INCLUDE_IPERF3=y CONFIG_FIRMWARE_INCLUDE_DUMP1090=n CONFIG_FIRMWARE_INCLUDE_RTL_SDR=n CONFIG_FIRMWARE_INCLUDE_MTR=y CONFIG_FIRMWARE_INCLUDE_SOCAT=y CONFIG_FIRMWARE_INCLUDE_SRELAY=y CONFIG_FIRMWARE_INCLUDE_MENTOHUST=y CONFIG_FIRMWARE_INCLUDE_FRPC=n CONFIG_FIRMWARE_INCLUDE_FRPS=n CONFIG_FIRMWARE_INCLUDE_TUNSAFE=n board.h/* Xiaomi Mi 4A-100M (R4A-100M)*/ #define BOARD_PID "MI-4A-100M" #define BOARD_NAME "MI-4A-100M" #define BOARD_DESC "Xiaomi Mi 4A-100M Wireless Router" #define BOARD_VENDOR_NAME "Beijing Xiaomi Technology Co., Ltd." #define BOARD_VENDOR_URL "http://www.mi.com/" #define BOARD_MODEL_URL "http://www.mi.com/miwifilite" #define BOARD_BOOT_TIME 25 #define BOARD_FLASH_TIME 120 #define BOARD_GPIO_BTN_RESET 38 #undef BOARD_GPIO_BTN_WPS #undef BOARD_GPIO_LED_ALL #define BOARD_GPIO_LED_WIFI 11 #define BOARD_GPIO_LED_POWER 24 /* 24: blue, 26: yellow, 29: red */ #undef BOARD_GPIO_LED_LAN #undef BOARD_GPIO_LED_WAN #define BOARD_HAS_5G_11AC 1 #define BOARD_NUM_ANT_5G_TX 2 #define BOARD_NUM_ANT_5G_RX 2 #define BOARD_NUM_ANT_2G_TX 2 #define BOARD_NUM_ANT_2G_RX 2 #define BOARD_NUM_ETH_LEDS 1 #define BOARD_NUM_ETH_EPHY 3 #define BOARD_HAS_EPHY_L1000 0 #define BOARD_HAS_EPHY_W1000 0board.mk################################################################## # Board PID # Board Name # PRODUCT # Note ################################################################## # MI-4A-100M # Xiaomi Mi 4A-100M # MT7628 # ################################################################## CFLAGS += -DBOARD_MI4A-100M BOARD_NUM_USB_PORTS=0 kernel-3.4.x.config# # Automatically generated file; DO NOT EDIT. # Linux/mips 3.4.113 Kernel Configuration # CONFIG_MIPS=y # # Machine selection # # CONFIG_RALINK_RT3052 is not set # CONFIG_RALINK_RT3352 is not set # CONFIG_RALINK_RT5350 is not set # CONFIG_RALINK_RT3883 is not set # CONFIG_RALINK_MT7620 is not set # CONFIG_RALINK_MT7621 is not set CONFIG_RALINK_MT7628=y # CONFIG_MIPS_ALCHEMY is not set # CONFIG_AR7 is not set # CONFIG_ATH79 is not set # CONFIG_BCM47XX is not set # CONFIG_BCM63XX is not set # CONFIG_MIPS_COBALT is not set # CONFIG_MACH_DECSTATION is not set # CONFIG_MACH_JAZZ is not set # CONFIG_MACH_JZ4740 is not set # CONFIG_LANTIQ is not set # CONFIG_LASAT is not set # CONFIG_MACH_LOONGSON is not set # CONFIG_MIPS_MALTA is not set # CONFIG_MIPS_SIM is not set # CONFIG_NEC_MARKEINS is not set # CONFIG_MACH_VR41XX is not set # CONFIG_NXP_STB220 is not set # CONFIG_NXP_STB225 is not set # CONFIG_PNX8550_JBS is not set # CONFIG_PNX8550_STB810 is not set # CONFIG_PMC_MSP is not set # CONFIG_PMC_YOSEMITE is not set # CONFIG_POWERTV is not set # CONFIG_SGI_IP22 is not set # CONFIG_SGI_IP27 is not set # CONFIG_SGI_IP28 is not set # CONFIG_SGI_IP32 is not set # CONFIG_SIBYTE_CRHINE is not set # CONFIG_SIBYTE_CARMEL is not set # CONFIG_SIBYTE_CRHONE is not set # CONFIG_SIBYTE_RHONE is not set # CONFIG_SIBYTE_SWARM is not set # CONFIG_SIBYTE_LITTLESUR is not set # CONFIG_SIBYTE_SENTOSA is not set # CONFIG_SIBYTE_BIGSUR is not set # CONFIG_SNI_RM is not set # CONFIG_MACH_TX39XX is not set # CONFIG_MACH_TX49XX is not set # CONFIG_MIKROTIK_RB532 is not set # CONFIG_WR_PPMC is not set # CONFIG_CAVIUM_OCTEON_SIMULATOR is not set # CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set # CONFIG_NLM_XLR_BOARD is not set # CONFIG_NLM_XLP_BOARD is not set CONFIG_MT7628_ASIC=y # CONFIG_RALINK_SYSTICK_COUNTER is not set # CONFIG_RT2880_DRAM_16M is not set # CONFIG_RT2880_DRAM_32M is not set CONFIG_RT2880_DRAM_64M=y # CONFIG_RT2880_DRAM_128M is not set # CONFIG_RT2880_DRAM_256M is not set CONFIG_RALINK_RAM_SIZE=64 CONFIG_RT2880_UART_57600=y # CONFIG_RT2880_UART_115200 is not set CONFIG_RALINK_UART_BRATE=57600 # CONFIG_RALINK_TIMER_DFS is not set CONFIG_RALINK_TIMER_WDG=m # CONFIG_RALINK_TIMER_WDG_RESET_OUTPUT is not set CONFIG_RALINK_TIMER_WDG_REBOOT_DELAY=15 CONFIG_RALINK_TIMER_WDG_REFRESH_INTERVAL=4 # CONFIG_ALCHEMY_GPIO_INDIRECT is not set CONFIG_RWSEM_GENERIC_SPINLOCK=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_CEVT_R4K=y CONFIG_CSRC_R4K=y # CONFIG_ARCH_DMA_ADDR_T_64BIT is not set CONFIG_DMA_NONCOHERENT=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_SYS_HAS_EARLY_PRINTK=y # CONFIG_MIPS_MACHINE is not set # CONFIG_NO_IOPORT is not set CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y CONFIG_IRQ_CPU=y CONFIG_SWAP_IO_SPACE=y CONFIG_BOOT_ELF32=y CONFIG_MIPS_L1_CACHE_SHIFT=5 # # CPU selection # # CONFIG_CPU_MIPS32_R1 is not set CONFIG_CPU_MIPS32_R2=y CONFIG_SYS_HAS_CPU_MIPS32_R1=y CONFIG_SYS_HAS_CPU_MIPS32_R2=y CONFIG_CPU_MIPS32=y CONFIG_CPU_MIPSR2=y CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y CONFIG_HARDWARE_WATCHPOINTS=y # # Kernel type # CONFIG_32BIT=y CONFIG_PAGE_SIZE_4KB=y # CONFIG_PAGE_SIZE_16KB is not set # CONFIG_PAGE_SIZE_64KB is not set CONFIG_FORCE_MAX_ZONEORDER=11 CONFIG_CPU_HAS_PREFETCH=y CONFIG_CPU_R4K_FPU=y CONFIG_MIPS_MT_DISABLED=y # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_CPU_HAS_SYNC=y CONFIG_CPU_SUPPORTS_HIGHMEM=y CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_HAVE_MEMBLOCK=y CONFIG_HAVE_MEMBLOCK_NODE_MAP=y CONFIG_ARCH_DISCARD_MEMBLOCK=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_MOBILITY_GROUP_RAMLESS=y CONFIG_PAGECACHE_RECLAIM=y # CONFIG_COMPACTION is not set # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=0 CONFIG_VIRT_TO_BUS=y # CONFIG_KSM is not set CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_NEED_PER_CPU_KM=y # CONFIG_CLEANCACHE is not set CONFIG_TICK_ONESHOT=y # CONFIG_NO_HZ is not set CONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y # CONFIG_HZ_48 is not set # CONFIG_HZ_100 is not set # CONFIG_HZ_128 is not set CONFIG_HZ_250=y # CONFIG_HZ_256 is not set # CONFIG_HZ_1000 is not set # CONFIG_HZ_1024 is not set CONFIG_SYS_SUPPORTS_ARBIT_HZ=y CONFIG_HZ=250 CONFIG_PREEMPT_NONE=y # CONFIG_PREEMPT_VOLUNTARY is not set # CONFIG_PREEMPT is not set # CONFIG_KEXEC is not set # CONFIG_SECCOMP is not set # CONFIG_USE_OF is not set CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_HAVE_IRQ_WORK=y # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="" CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_DEFAULT_HOSTNAME="(none)" # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_POSIX_MQUEUE is not set # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_FHANDLE is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set CONFIG_HAVE_GENERIC_HARDIRQS=y # # IRQ subsystem # CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_IRQ_SHOW=y # # RCU Subsystem # CONFIG_TINY_RCU=y # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=14 # CONFIG_CGROUPS is not set # CONFIG_CHECKPOINT_RESTORE is not set # CONFIG_NAMESPACES is not set # CONFIG_SCHED_AUTOGROUP is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set # CONFIG_BLK_DEV_INITRD is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EXPERT=y # CONFIG_SYSCTL_SYSCALL is not set # CONFIG_KALLSYMS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y # CONFIG_ELF_CORE is not set CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_EMBEDDED=y CONFIG_HAVE_PERF_EVENTS=y CONFIG_PERF_USE_VMALLOC=y # # Kernel Performance Events And Counters # # CONFIG_PERF_EVENTS is not set # CONFIG_PERF_COUNTERS is not set # CONFIG_VM_EVENT_COUNTERS is not set CONFIG_TINY=y # CONFIG_ETHTOOL is not set CONFIG_MAX_SWAPFILES_SHIFT=0 CONFIG_MAX_USER_RT_PRIO=100 CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set # CONFIG_JUMP_LABEL is not set CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_HAVE_GENERIC_INIT_TASK=y CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_ARCH_JUMP_LABEL=y # # GCOV-based kernel profiling # # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set # CONFIG_SLABINFO is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y # CONFIG_MODULE_FORCE_LOAD is not set CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_BLOCK=y CONFIG_LBDAF=y # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_BSGLIB is not set # CONFIG_BLK_DEV_INTEGRITY is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set # CONFIG_OSF_PARTITION is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set # CONFIG_MAC_PARTITION is not set CONFIG_MSDOS_PARTITION=y # CONFIG_BSD_DISKLABEL is not set # CONFIG_MINIX_SUBPARTITION is not set # CONFIG_SOLARIS_X86_PARTITION is not set # CONFIG_UNIXWARE_DISKLABEL is not set # CONFIG_LDM_PARTITION is not set # CONFIG_SGI_PARTITION is not set # CONFIG_ULTRIX_PARTITION is not set # CONFIG_SUN_PARTITION is not set # CONFIG_KARMA_PARTITION is not set CONFIG_EFI_PARTITION=y # CONFIG_SYSV68_PARTITION is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" # CONFIG_INLINE_SPIN_TRYLOCK is not set # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set # CONFIG_INLINE_SPIN_LOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK_IRQ is not set # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set # CONFIG_INLINE_SPIN_UNLOCK_BH is not set CONFIG_INLINE_SPIN_UNLOCK_IRQ=y # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set # CONFIG_INLINE_READ_LOCK is not set # CONFIG_INLINE_READ_LOCK_BH is not set # CONFIG_INLINE_READ_LOCK_IRQ is not set # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set CONFIG_INLINE_READ_UNLOCK=y # CONFIG_INLINE_READ_UNLOCK_BH is not set CONFIG_INLINE_READ_UNLOCK_IRQ=y # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set # CONFIG_INLINE_WRITE_LOCK is not set # CONFIG_INLINE_WRITE_LOCK_BH is not set # CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set CONFIG_INLINE_WRITE_UNLOCK=y # CONFIG_INLINE_WRITE_UNLOCK_BH is not set CONFIG_INLINE_WRITE_UNLOCK_IRQ=y # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set # CONFIG_FREEZER is not set # # Bus options (PCI, PCMCIA, EISA, ISA, TC) # CONFIG_HW_HAS_PCI=y CONFIG_PCI=y CONFIG_PCI_DOMAINS=y # CONFIG_ARCH_SUPPORTS_MSI is not set # CONFIG_PCI_REALLOC_ENABLE_AUTO is not set # CONFIG_PCI_STUB is not set CONFIG_PCI_DISABLE_COMMON_QUIRKS=y # CONFIG_PCI_IOV is not set # CONFIG_PCI_PRI is not set # CONFIG_PCI_PASID is not set CONFIG_PCIEPORTBUS=y # CONFIG_PCIEAER is not set # CONFIG_PCIEASPM is not set CONFIG_MMU=y # CONFIG_PCCARD is not set # CONFIG_HOTPLUG_PCI is not set # CONFIG_RAPIDIO is not set # # Executable file formats # CONFIG_BINFMT_ELF=y CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y # CONFIG_HAVE_AOUT is not set # CONFIG_BINFMT_MISC is not set CONFIG_TRAD_SIGNALS=y # # Power management options # # CONFIG_ARCH_HIBERNATION_POSSIBLE is not set # CONFIG_ARCH_SUSPEND_POSSIBLE is not set # CONFIG_PM_RUNTIME is not set CONFIG_NET=y CONFIG_SHORTCUT_FE=y # # Networking options # CONFIG_PACKET=y CONFIG_UNIX=y # CONFIG_UNIX_DIAG is not set # CONFIG_NET_KEY is not set CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y # CONFIG_IP_FIB_TRIE_STATS is not set CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y # CONFIG_IP_ROUTE_VERBOSE is not set # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set CONFIG_NET_IPGRE_DEMUX=y # CONFIG_NET_IPGRE is not set CONFIG_IP_MROUTE=y # CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set # CONFIG_IP_PIMSM_V1 is not set # CONFIG_IP_PIMSM_V2 is not set # CONFIG_ARPD is not set CONFIG_SYN_COOKIES=y # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set CONFIG_INET_TUNNEL=y # CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_MODE_BEET is not set # CONFIG_INET_LRO is not set # CONFIG_INET_DIAG is not set # CONFIG_INET_UDPLITE is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set CONFIG_IPV6=y CONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y # CONFIG_IPV6_ROUTE_INFO is not set # CONFIG_IPV6_OPTIMISTIC_DAD is not set # CONFIG_INET6_AH is not set # CONFIG_INET6_ESP is not set # CONFIG_INET6_IPCOMP is not set # CONFIG_IPV6_MIP6 is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set # CONFIG_INET6_XFRM_MODE_TRANSPORT is not set # CONFIG_INET6_XFRM_MODE_TUNNEL is not set # CONFIG_INET6_XFRM_MODE_BEET is not set # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set CONFIG_IPV6_SIT=y CONFIG_IPV6_SIT_6RD=y CONFIG_IPV6_NDISC_NODETYPE=y # CONFIG_IPV6_TUNNEL is not set # CONFIG_IPV6_MULTIPLE_TABLES is not set CONFIG_IPV6_MROUTE=y # CONFIG_IPV6_MROUTE_MULTIPLE_TABLES is not set # CONFIG_IPV6_PIMSM_V2 is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETWORK_PHY_TIMESTAMPING is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set CONFIG_NETFILTER_ADVANCED=y CONFIG_BRIDGE_NETFILTER=y # # Core Netfilter Configuration # CONFIG_NAT_CONE=y # CONFIG_NAT_LINUX is not set CONFIG_NETFILTER_RALINK_SWQOS_SUPPORT=y CONFIG_NETFILTER_FP_SMB=y CONFIG_NETFILTER_NETLINK=m # CONFIG_NETFILTER_NETLINK_ACCT is not set # CONFIG_NETFILTER_NETLINK_QUEUE is not set # CONFIG_NETFILTER_NETLINK_LOG is not set CONFIG_NF_CONNTRACK=y CONFIG_NF_CONNTRACK_MARK=y CONFIG_NF_CONNTRACK_PROCFS=y # CONFIG_NF_CONNTRACK_EVENTS is not set # CONFIG_NF_CONNTRACK_TIMEOUT is not set # CONFIG_NF_CONNTRACK_TIMESTAMP is not set # CONFIG_NF_CT_PROTO_DCCP is not set CONFIG_NF_CT_PROTO_GRE=m # CONFIG_NF_CT_PROTO_SCTP is not set # CONFIG_NF_CT_PROTO_UDPLITE is not set # CONFIG_NF_CONNTRACK_AMANDA is not set CONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_H323=m # CONFIG_NF_CONNTRACK_IRC is not set # CONFIG_NF_CONNTRACK_NETBIOS_NS is not set # CONFIG_NF_CONNTRACK_SNMP is not set CONFIG_NF_CONNTRACK_PPTP=m CONFIG_NF_CONNTRACK_RTSP=m # CONFIG_NF_CONNTRACK_SANE is not set CONFIG_NF_CONNTRACK_SIP=m # CONFIG_NF_CONNTRACK_TFTP is not set # CONFIG_NF_CT_NETLINK is not set # CONFIG_NF_CT_NETLINK_TIMEOUT is not set CONFIG_NETFILTER_TPROXY=m CONFIG_NETFILTER_XTABLES=y # # Xtables combined modules # CONFIG_NETFILTER_XT_MARK=y CONFIG_NETFILTER_XT_CONNMARK=y # # Xtables targets # CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m CONFIG_NETFILTER_XT_TARGET_CONNMARK=m CONFIG_NETFILTER_XT_TARGET_CT=m CONFIG_NETFILTER_XT_TARGET_DSCP=m CONFIG_NETFILTER_XT_TARGET_HL=m # CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set CONFIG_NETFILTER_XT_TARGET_LOG=y # CONFIG_NETFILTER_XT_TARGET_IMQ is not set CONFIG_NETFILTER_XT_TARGET_MARK=m # CONFIG_NETFILTER_XT_TARGET_NFLOG is not set # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set CONFIG_NETFILTER_XT_TARGET_NOTRACK=m # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set CONFIG_NETFILTER_XT_TARGET_TEE=m CONFIG_NETFILTER_XT_TARGET_TPROXY=m # CONFIG_NETFILTER_XT_TARGET_TRACE is not set CONFIG_NETFILTER_XT_TARGET_TCPMSS=y # CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set # # Xtables matches # # CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set # CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set CONFIG_NETFILTER_XT_MATCH_COMMENT=m CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=y CONFIG_NETFILTER_XT_MATCH_CONNMARK=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y # CONFIG_NETFILTER_XT_MATCH_CPU is not set # CONFIG_NETFILTER_XT_MATCH_DCCP is not set # CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set CONFIG_NETFILTER_XT_MATCH_DSCP=m # CONFIG_NETFILTER_XT_MATCH_ECN is not set # CONFIG_NETFILTER_XT_MATCH_ESP is not set # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set # CONFIG_NETFILTER_XT_MATCH_HELPER is not set CONFIG_NETFILTER_XT_MATCH_HL=m CONFIG_NETFILTER_XT_MATCH_IPRANGE=y CONFIG_NETFILTER_XT_MATCH_LENGTH=m CONFIG_NETFILTER_XT_MATCH_LIMIT=y CONFIG_NETFILTER_XT_MATCH_MAC=y CONFIG_NETFILTER_XT_MATCH_MARK=y CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y # CONFIG_NETFILTER_XT_MATCH_NFACCT is not set # CONFIG_NETFILTER_XT_MATCH_OSF is not set CONFIG_NETFILTER_XT_MATCH_OWNER=m CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set # CONFIG_NETFILTER_XT_MATCH_QUOTA is not set # CONFIG_NETFILTER_XT_MATCH_RATEEST is not set # CONFIG_NETFILTER_XT_MATCH_REALM is not set CONFIG_NETFILTER_XT_MATCH_RECENT=y CONFIG_NETFILTER_XT_MATCH_SCTP=m CONFIG_NETFILTER_XT_MATCH_SOCKET=m CONFIG_NETFILTER_XT_MATCH_STATE=y # CONFIG_NETFILTER_XT_MATCH_LAYER7 is not set # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set CONFIG_NETFILTER_XT_MATCH_STRING=m CONFIG_NETFILTER_XT_MATCH_WEBSTR=m CONFIG_NETFILTER_XT_MATCH_TCPMSS=y CONFIG_NETFILTER_XT_MATCH_TIME=y CONFIG_NETFILTER_XT_MATCH_U32=y # CONFIG_NETFILTER_XT_MATCH_ETHPORT is not set # CONFIG_IP_SET is not set # CONFIG_IP_VS is not set # # IP: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV4=y CONFIG_NF_CONNTRACK_IPV4=y # CONFIG_NF_CONNTRACK_PROC_COMPAT is not set # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_IPTABLES_SPEEDUP=y # CONFIG_IP_NF_MATCH_AH is not set # CONFIG_IP_NF_MATCH_ECN is not set # CONFIG_IP_NF_MATCH_RPFILTER is not set CONFIG_IP_NF_MATCH_TTL=m # CONFIG_IP_NF_MATCH_IPP2P is not set CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y # CONFIG_IP_NF_TARGET_ULOG is not set CONFIG_NF_NAT=y CONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_NETMAP=y CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_NF_NAT_PROTO_GRE=m CONFIG_NF_NAT_FTP=m # CONFIG_NF_NAT_IRC is not set # CONFIG_NF_NAT_TFTP is not set # CONFIG_NF_NAT_AMANDA is not set CONFIG_NF_NAT_PPTP=m CONFIG_NF_NAT_RTSP=m CONFIG_NF_NAT_H323=m CONFIG_NF_NAT_SIP=m CONFIG_IP_NF_MANGLE=m # CONFIG_IP_NF_TARGET_CLUSTERIP is not set # CONFIG_IP_NF_TARGET_ECN is not set CONFIG_IP_NF_TARGET_TTL=m CONFIG_IP_NF_RAW=m # CONFIG_IP_NF_ARPTABLES is not set # # IPv6: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV6=y CONFIG_NF_CONNTRACK_IPV6=y CONFIG_IP6_NF_IPTABLES=y # CONFIG_IP6_NF_MATCH_AH is not set # CONFIG_IP6_NF_MATCH_EUI64 is not set # CONFIG_IP6_NF_MATCH_FRAG is not set # CONFIG_IP6_NF_MATCH_OPTS is not set # CONFIG_IP6_NF_MATCH_HL is not set # CONFIG_IP6_NF_MATCH_IPV6HEADER is not set # CONFIG_IP6_NF_MATCH_MH is not set # CONFIG_IP6_NF_MATCH_RPFILTER is not set # CONFIG_IP6_NF_MATCH_RT is not set CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_FILTER=y CONFIG_IP6_NF_TARGET_REJECT=y CONFIG_IP6_NF_MANGLE=m # CONFIG_IP6_NF_RAW is not set CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m CONFIG_BRIDGE_EBT_T_NAT=m CONFIG_BRIDGE_EBT_802_3=m CONFIG_BRIDGE_EBT_AMONG=m CONFIG_BRIDGE_EBT_ARP=m CONFIG_BRIDGE_EBT_IP=m CONFIG_BRIDGE_EBT_IP6=m CONFIG_BRIDGE_EBT_LIMIT=m CONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=m CONFIG_BRIDGE_EBT_VLAN=m CONFIG_BRIDGE_EBT_ARPREPLY=m CONFIG_BRIDGE_EBT_DNAT=m CONFIG_BRIDGE_EBT_MARK_T=m CONFIG_BRIDGE_EBT_REDIRECT=m CONFIG_BRIDGE_EBT_SNAT=m CONFIG_BRIDGE_EBT_LOG=m CONFIG_BRIDGE_EBT_ULOG=m CONFIG_BRIDGE_EBT_NFLOG=m # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_RDS is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set CONFIG_L2TP=y # CONFIG_L2TP_V3 is not set CONFIG_STP=y CONFIG_BRIDGE=y CONFIG_BRIDGE_2WAYS_FDB=y CONFIG_BRIDGE_IGMP_SNOOPING=y CONFIG_BRIDGE_IGMP_EVENT_HOOK=y CONFIG_BRIDGE_EAP=y # CONFIG_NET_DSA is not set CONFIG_VLAN_8021Q=y CONFIG_VLAN_8021Q_DOUBLE_TAG=y # CONFIG_VLAN_8021Q_GVRP is not set # CONFIG_DECNET is not set CONFIG_LLC=y # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_PHONET is not set # CONFIG_IEEE802154 is not set # CONFIG_NET_SCHED is not set # CONFIG_DCB is not set # CONFIG_BATMAN_ADV is not set # CONFIG_OPENVSWITCH is not set CONFIG_BQL=y # # Network testing # # CONFIG_NET_PKTGEN is not set CONFIG_NET_PPPOE_PTHROUGH=y # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_AF_RXRPC is not set CONFIG_FIB_RULES=y CONFIG_WIRELESS=y CONFIG_WIRELESS_EXT=y CONFIG_WEXT_CORE=y # CONFIG_WEXT_PROC is not set CONFIG_WEXT_SPY=y CONFIG_WEXT_PRIV=y # CONFIG_CFG80211 is not set # CONFIG_WIRELESS_EXT_SYSFS is not set # CONFIG_LIB80211 is not set # CONFIG_LIB80211_CRYPT_WEP is not set # CONFIG_LIB80211_CRYPT_CCMP is not set # CONFIG_LIB80211_CRYPT_TKIP is not set # # CFG80211 needs to be enabled for MAC80211 # # CONFIG_WIMAX is not set # CONFIG_RFKILL is not set # CONFIG_NET_9P is not set # CONFIG_CAIF is not set # CONFIG_CEPH_LIB is not set # CONFIG_NFC is not set # # Device Drivers # # # ASUS NVRAM # CONFIG_ASUS_NVRAM_API=y # # Generic Driver Options # CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" # CONFIG_DEVTMPFS is not set CONFIG_STANDALONE=y # CONFIG_PREVENT_FIRMWARE_BUILD is not set CONFIG_FW_LOADER=y CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="" # CONFIG_SYS_HYPERVISOR is not set # CONFIG_GENERIC_CPU_DEVICES is not set # CONFIG_DMA_SHARED_BUFFER is not set # CONFIG_CONNECTOR is not set CONFIG_MTD=y # CONFIG_MTD_TESTS is not set # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_CMDLINE_PARTS is not set # CONFIG_MTD_AR7_PARTS is not set # # User Modules And Translation Layers # CONFIG_MTD_BLKDEVS=y CONFIG_MTD_BLOCK=y # CONFIG_FTL is not set # CONFIG_NFTL is not set # CONFIG_INFTL is not set # CONFIG_RFD_FTL is not set # CONFIG_SSFDC is not set # CONFIG_SM_FTL is not set # CONFIG_MTD_OOPS is not set # # RAM/ROM/Flash chip drivers # # CONFIG_MTD_CFI is not set # CONFIG_MTD_JEDECPROBE is not set CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_4=y # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CFI_I4 is not set # CONFIG_MTD_CFI_I8 is not set # CONFIG_MTD_RAM is not set # CONFIG_MTD_ROM is not set # CONFIG_MTD_ABSENT is not set # # Mapping drivers for chip access # # CONFIG_MTD_COMPLEX_MAPPINGS is not set # CONFIG_MTD_INTEL_VR_NOR is not set # CONFIG_MTD_PLATRAM is not set # # Self-contained MTD device drivers # # CONFIG_MTD_PMC551 is not set # CONFIG_MTD_SLRAM is not set # CONFIG_MTD_PHRAM is not set # CONFIG_MTD_MTDRAM is not set # CONFIG_MTD_BLOCK2MTD is not set # # Disk-On-Chip Device Drivers # # CONFIG_MTD_DOCG3 is not set # CONFIG_MTD_NAND is not set # CONFIG_MTD_ONENAND is not set # # LPDDR flash memory drivers # # CONFIG_MTD_LPDDR is not set # CONFIG_MTD_UBI is not set # # Ralink MTD support # CONFIG_MTD_RALINK=y CONFIG_MTD_SPI_RALINK=y CONFIG_MTD_SPI_FAST_CLOCK=y CONFIG_MTD_SPI_READ_NORM=y # CONFIG_MTD_SPI_READ_FAST is not set # CONFIG_RT2880_FLASH_4M is not set # CONFIG_RT2880_FLASH_8M is not set CONFIG_RT2880_FLASH_16M=y # CONFIG_RT2880_FLASH_32M is not set # CONFIG_RT2880_FLASH_AUTO is not set CONFIG_RT2880_MTD_PHYSMAP_START=0x1C000000 CONFIG_RT2880_MTD_PHYSMAP_LEN=0x1000000 CONFIG_RT2880_MTD_PHYSMAP_BUSWIDTH=2 # CONFIG_RT2880_ROOTFS_IN_RAM is not set CONFIG_RT2880_ROOTFS_IN_FLASH=y CONFIG_ROOTFS_IN_FLASH_NO_PADDING=y CONFIG_MTD_STORE_PART_SIZ=0x80000 # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 # CONFIG_BLK_DEV_CRYPTOLOOP is not set # # DRBD disabled because PROC_FS, INET or CONNECTOR not selected # # CONFIG_BLK_DEV_NBD is not set # CONFIG_BLK_DEV_NVME is not set # CONFIG_BLK_DEV_SX8 is not set # CONFIG_BLK_DEV_UB is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_CDROM_PKTCDVD is not set # CONFIG_ATA_OVER_ETH is not set # CONFIG_BLK_DEV_RBD is not set # # Misc devices # # CONFIG_PHANTOM is not set # CONFIG_INTEL_MID_PTI is not set # CONFIG_SGI_IOC4 is not set # CONFIG_TIFM_CORE is not set # CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_HP_ILO is not set # CONFIG_PCH_PHUB is not set # CONFIG_C2PORT is not set # # EEPROM support # # CONFIG_EEPROM_93CX6 is not set # CONFIG_CB710_CORE is not set # # Texas Instruments shared transport line discipline # # # Altera FPGA firmware download module # # # SCSI device support # CONFIG_SCSI_MOD=y # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y CONFIG_SCSI_DMA=y # CONFIG_SCSI_TGT is not set # CONFIG_SCSI_NETLINK is not set CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=m # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_CHR_DEV_SG=y # CONFIG_CHR_DEV_SCH is not set CONFIG_SCSI_MULTI_LUN=y # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set # CONFIG_SCSI_SCAN_ASYNC is not set # CONFIG_SCSI_WAIT_SCAN is not set # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # CONFIG_SCSI_SRP_ATTRS is not set # CONFIG_SCSI_LOWLEVEL is not set # CONFIG_SCSI_DH is not set # CONFIG_SCSI_OSD_INITIATOR is not set # CONFIG_ATA is not set # CONFIG_MD is not set # CONFIG_TARGET_CORE is not set # CONFIG_FUSION is not set # # IEEE 1394 (FireWire) support # # CONFIG_FIREWIRE is not set # CONFIG_FIREWIRE_NOSY is not set # CONFIG_I2O is not set CONFIG_NETDEVICES=y CONFIG_NET_CORE=y # CONFIG_BONDING is not set # CONFIG_DUMMY is not set # CONFIG_EQUALIZER is not set # CONFIG_NET_FC is not set CONFIG_MII=y # CONFIG_NET_TEAM is not set # CONFIG_MACVLAN is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_IMQ is not set CONFIG_TUN=y # CONFIG_VETH is not set # CONFIG_ARCNET is not set # # CAIF transport drivers # # CONFIG_ETHERNET is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PHYLIB is not set CONFIG_PPP=y CONFIG_PPP_ONLY_IP=y # CONFIG_PPP_BSDCOMP is not set # CONFIG_PPP_DEFLATE is not set # CONFIG_PPP_FILTER is not set CONFIG_PPP_MPPE=y # CONFIG_PPP_MULTILINK is not set CONFIG_PPPOE=y CONFIG_PPTP=y CONFIG_PPPOL2TP=y CONFIG_PPP_ASYNC=y CONFIG_PPP_SYNC_TTY=y # CONFIG_SLIP is not set # # USB Network Adapters # # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_RTL8152 is not set CONFIG_USB_USBNET=m # CONFIG_USB_NET_AX8817X is not set # CONFIG_USB_NET_AX88179_178A is not set CONFIG_USB_NET_CDCETHER=m # CONFIG_USB_NET_CDC_EEM is not set CONFIG_USB_NET_CDC_NCM=m CONFIG_USB_NET_HUAWEI_CDC_NCM=m CONFIG_USB_NET_CDC_MBIM=m # CONFIG_USB_NET_DM9601 is not set # CONFIG_USB_NET_SMSC75XX is not set # CONFIG_USB_NET_SMSC95XX is not set # CONFIG_USB_NET_GL620A is not set # CONFIG_USB_NET_NET1080 is not set # CONFIG_USB_NET_PLUSB is not set # CONFIG_USB_NET_MCS7830 is not set CONFIG_USB_NET_RNDIS_HOST=m # CONFIG_USB_NET_CDC_SUBSET is not set # CONFIG_USB_NET_ZAURUS is not set # CONFIG_USB_NET_CX82310_ETH is not set # CONFIG_USB_NET_KALMIA is not set CONFIG_USB_NET_QMI_WWAN=m # CONFIG_USB_NET_INT51X1 is not set # CONFIG_USB_IPHETH is not set CONFIG_USB_SIERRA_NET=m # CONFIG_USB_VL600 is not set CONFIG_WLAN=y # CONFIG_ATMEL is not set # CONFIG_PRISM54 is not set # CONFIG_USB_ZD1201 is not set # CONFIG_HOSTAP is not set # # Enable WiMAX (Networking options) to see the WiMAX drivers # # CONFIG_WAN is not set # CONFIG_VMXNET3 is not set # CONFIG_ISDN is not set # # Input device support # # CONFIG_INPUT is not set # # Hardware I/O ports # # CONFIG_SERIO is not set # CONFIG_GAMEPORT is not set # # Character devices # # CONFIG_VT is not set CONFIG_UNIX98_PTYS=y # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set # CONFIG_LEGACY_PTYS is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_NOZOMI is not set # CONFIG_N_GSM is not set # CONFIG_TRACE_SINK is not set CONFIG_RALINK_GPIO=y # CONFIG_RALINK_GPIOMODE_EPHY is not set # CONFIG_RALINK_GPIOMODE_PA_G is not set # CONFIG_RALINK_GPIOMODE_SPI is not set CONFIG_RALINK_GPIOMODE_I2C=y CONFIG_RALINK_GPIO_IRQ=y CONFIG_RALINK_GPIO_LED=y CONFIG_RALINK_GPIO_LED_USB=y # CONFIG_RALINK_GPIO_LED_USB2 is not set # CONFIG_RALINK_GDMA is not set # CONFIG_RALINK_SPI is not set # CONFIG_RALINK_I2C is not set # CONFIG_DEVKMEM is not set # # Serial drivers # CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y # CONFIG_SERIAL_8250_PCI is not set CONFIG_SERIAL_8250_NR_UARTS=1 CONFIG_SERIAL_8250_RUNTIME_UARTS=1 # CONFIG_SERIAL_8250_EXTENDED is not set # # Non-8250 serial port support # # CONFIG_SERIAL_MFD_HSU is not set CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y # CONFIG_SERIAL_JSM is not set # CONFIG_SERIAL_TIMBERDALE is not set # CONFIG_SERIAL_ALTERA_JTAGUART is not set # CONFIG_SERIAL_ALTERA_UART is not set # CONFIG_SERIAL_PCH_UART is not set # CONFIG_SERIAL_XILINX_PS_UART is not set # CONFIG_TTY_PRINTK is not set # CONFIG_IPMI_HANDLER is not set # CONFIG_HW_RANDOM is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_RAW_DRIVER is not set # CONFIG_TCG_TPM is not set CONFIG_DEVPORT=y # CONFIG_RAMOOPS is not set # CONFIG_I2C is not set # CONFIG_SPI is not set # CONFIG_HSI is not set # # PPS support # # CONFIG_PPS is not set # # PPS generators support # # # PTP clock support # # # Enable Device Drivers -> PPS to see the PTP clock options. # # CONFIG_W1 is not set # CONFIG_POWER_SUPPLY is not set # CONFIG_HWMON is not set # CONFIG_THERMAL is not set # CONFIG_WATCHDOG is not set # CONFIG_SSB_POSSIBLE is not set # CONFIG_BCMA_POSSIBLE is not set # # Multifunction device drivers # # CONFIG_MFD_CORE is not set # CONFIG_MFD_SM501 is not set # CONFIG_HTC_PASIC3 is not set # CONFIG_MFD_TMIO is not set # CONFIG_ABX500_CORE is not set # CONFIG_LPC_SCH is not set # CONFIG_MFD_RDC321X is not set # CONFIG_MFD_JANZ_CMODIO is not set # CONFIG_MFD_VX855 is not set # CONFIG_REGULATOR is not set CONFIG_MEDIA_SUPPORT=m # # Multimedia core support # # CONFIG_MEDIA_CONTROLLER is not set CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L2_COMMON=m # CONFIG_DVB_CORE is not set CONFIG_VIDEO_MEDIA=m # # Multimedia drivers # # CONFIG_MEDIA_ATTACH is not set CONFIG_VIDEO_V4L2=m CONFIG_VIDEOBUF2_CORE=m CONFIG_VIDEOBUF2_MEMOPS=m CONFIG_VIDEOBUF2_VMALLOC=m CONFIG_VIDEO_CAPTURE_DRIVERS=y # CONFIG_VIDEO_ADV_DEBUG is not set CONFIG_VIDEO_FIXED_MINOR_RANGES=y CONFIG_VIDEO_HELPER_CHIPS_AUTO=y # # Audio decoders, processors and mixers # # # RDS decoders # # # Video decoders # # # Video and audio decoders # # # MPEG video encoders # # # Video encoders # # # Camera sensor devices # # # Flash devices # # # Video improvement chips # # # Miscelaneous helper chips # CONFIG_V4L_USB_DRIVERS=y CONFIG_USB_VIDEO_CLASS=m # CONFIG_USB_GSPCA is not set # CONFIG_VIDEO_HDPVR is not set # CONFIG_USB_ET61X251 is not set # CONFIG_USB_SN9C102 is not set # CONFIG_USB_PWC is not set # CONFIG_VIDEO_CPIA2 is not set # CONFIG_USB_ZR364XX is not set # CONFIG_USB_STKWEBCAM is not set # CONFIG_USB_S2255 is not set # CONFIG_V4L_PCI_DRIVERS is not set # CONFIG_V4L_PLATFORM_DRIVERS is not set # CONFIG_V4L_MEM2MEM_DRIVERS is not set # CONFIG_RADIO_ADAPTERS is not set # # Graphics support # # CONFIG_VGA_ARB is not set # CONFIG_DRM is not set # CONFIG_STUB_POULSBO is not set # CONFIG_VGASTATE is not set # CONFIG_VIDEO_OUTPUT_CONTROL is not set # CONFIG_FB is not set # CONFIG_EXYNOS_VIDEO is not set # CONFIG_BACKLIGHT_LCD_SUPPORT is not set CONFIG_SOUND=m # CONFIG_SOUND_OSS_CORE is not set CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_HWDEP=m CONFIG_SND_RAWMIDI=m # CONFIG_SND_SEQUENCER is not set # CONFIG_SND_MIXER_OSS is not set # CONFIG_SND_PCM_OSS is not set # CONFIG_SND_HRTIMER is not set # CONFIG_SND_DYNAMIC_MINORS is not set CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set CONFIG_SND_VMASTER=y # CONFIG_SND_RAWMIDI_SEQ is not set # CONFIG_SND_OPL3_LIB_SEQ is not set # CONFIG_SND_OPL4_LIB_SEQ is not set # CONFIG_SND_SBAWE_SEQ is not set # CONFIG_SND_EMU10K1_SEQ is not set CONFIG_SND_DRIVERS=y # CONFIG_SND_DUMMY is not set # CONFIG_SND_ALOOP is not set # CONFIG_SND_MTPAV is not set # CONFIG_SND_SERIAL_U16550 is not set # CONFIG_SND_MPU401 is not set # CONFIG_SND_PCI is not set CONFIG_SND_MIPS=y CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=m CONFIG_SND_USB_UA101=m CONFIG_SND_USB_CAIAQ=m CONFIG_SND_USB_6FIRE=m # CONFIG_SND_SOC is not set # CONFIG_SOUND_PRIME is not set CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_XHCI=y CONFIG_USB_SUPPORT=y CONFIG_USB_COMMON=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set CONFIG_USB_ANNOUNCE_NEW_DEVICES=y # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_DYNAMIC_MINORS is not set # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set # CONFIG_USB_MON is not set # CONFIG_USB_WUSB_CBAF is not set # # USB Host Controller Drivers # # CONFIG_USB_C67X00_HCD is not set # CONFIG_USB_XHCI_HCD is not set CONFIG_USB_EHCI_HCD=m # CONFIG_USB_EHCI_ROOT_HUB_TT is not set CONFIG_USB_EHCI_TT_NEWSCHED=y # CONFIG_USB_OXU210HP_HCD is not set # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_ISP1760_HCD is not set # CONFIG_USB_ISP1362_HCD is not set CONFIG_USB_OHCI_HCD=m CONFIG_USB_OHCI_HCD_PLATFORM=y CONFIG_USB_EHCI_HCD_PLATFORM=y # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set CONFIG_USB_OHCI_LITTLE_ENDIAN=y # CONFIG_USB_UHCI_HCD is not set # CONFIG_USB_SL811_HCD is not set # CONFIG_USB_R8A66597_HCD is not set # # USB Device Class drivers # CONFIG_USB_ACM=m CONFIG_USB_PRINTER=m CONFIG_USB_WDM=m # CONFIG_USB_TMC is not set # # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may # # # also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_REALTEK is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_STORAGE_ENE_UB6250 is not set CONFIG_USB_LIBUSUAL=y # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set # # USB port drivers # CONFIG_USB_SERIAL=m # CONFIG_USB_EZUSB is not set CONFIG_USB_SERIAL_GENERIC=y # CONFIG_USB_SERIAL_AIRCABLE is not set # CONFIG_USB_SERIAL_ARK3116 is not set # CONFIG_USB_SERIAL_BELKIN is not set CONFIG_USB_SERIAL_CH341=m # CONFIG_USB_SERIAL_WHITEHEAT is not set # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set # CONFIG_USB_SERIAL_CP210X is not set # CONFIG_USB_SERIAL_CYPRESS_M8 is not set # CONFIG_USB_SERIAL_EMPEG is not set # CONFIG_USB_SERIAL_FTDI_SIO is not set # CONFIG_USB_SERIAL_FUNSOFT is not set # CONFIG_USB_SERIAL_VISOR is not set # CONFIG_USB_SERIAL_IPAQ is not set # CONFIG_USB_SERIAL_IR is not set # CONFIG_USB_SERIAL_EDGEPORT is not set # CONFIG_USB_SERIAL_EDGEPORT_TI is not set # CONFIG_USB_SERIAL_F81232 is not set # CONFIG_USB_SERIAL_GARMIN is not set # CONFIG_USB_SERIAL_IPW is not set # CONFIG_USB_SERIAL_IUU is not set # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set # CONFIG_USB_SERIAL_KEYSPAN is not set # CONFIG_USB_SERIAL_KLSI is not set # CONFIG_USB_SERIAL_KOBIL_SCT is not set # CONFIG_USB_SERIAL_MCT_U232 is not set # CONFIG_USB_SERIAL_METRO is not set # CONFIG_USB_SERIAL_MOS7720 is not set # CONFIG_USB_SERIAL_MOS7840 is not set # CONFIG_USB_SERIAL_MOTOROLA is not set # CONFIG_USB_SERIAL_NAVMAN is not set CONFIG_USB_SERIAL_PL2303=m # CONFIG_USB_SERIAL_OTI6858 is not set # CONFIG_USB_SERIAL_QCAUX is not set CONFIG_USB_SERIAL_QUALCOMM=m # CONFIG_USB_SERIAL_SPCP8X5 is not set # CONFIG_USB_SERIAL_HP4X is not set # CONFIG_USB_SERIAL_SAFE is not set # CONFIG_USB_SERIAL_SIEMENS_MPI is not set CONFIG_USB_SERIAL_SIERRAWIRELESS=m # CONFIG_USB_SERIAL_SYMBOL is not set # CONFIG_USB_SERIAL_TI is not set # CONFIG_USB_SERIAL_CYBERJACK is not set # CONFIG_USB_SERIAL_XIRCOM is not set CONFIG_USB_SERIAL_WWAN=m CONFIG_USB_SERIAL_OPTION=m # CONFIG_USB_SERIAL_OMNINET is not set # CONFIG_USB_SERIAL_OPTICON is not set # CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set # CONFIG_USB_SERIAL_ZIO is not set # CONFIG_USB_SERIAL_SSU100 is not set # CONFIG_USB_SERIAL_DEBUG is not set # # USB Miscellaneous drivers # # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_ADUTUX is not set # CONFIG_USB_SEVSEG is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYPRESS_CY7C63 is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set # CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_TEST is not set # CONFIG_USB_ISIGHTFW is not set # CONFIG_USB_YUREX is not set # CONFIG_USB_GADGET is not set # # OTG and related infrastructure # # CONFIG_NOP_USB_XCEIV is not set # CONFIG_UWB is not set # CONFIG_MMC is not set # CONFIG_MEMSTICK is not set # CONFIG_NEW_LEDS is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set CONFIG_RTC_LIB=y # CONFIG_RTC_CLASS is not set # CONFIG_DMADEVICES is not set # CONFIG_AUXDISPLAY is not set # CONFIG_UIO is not set # # Virtio drivers # # CONFIG_VIRTIO_PCI is not set # CONFIG_VIRTIO_BALLOON is not set # CONFIG_VIRTIO_MMIO is not set # # Microsoft Hyper-V guest support # # CONFIG_STAGING is not set # # Hardware Spinlock drivers # # CONFIG_IOMMU_SUPPORT is not set # # Remoteproc drivers (EXPERIMENTAL) # # # Rpmsg drivers (EXPERIMENTAL) # # CONFIG_VIRT_DRIVERS is not set # CONFIG_PM_DEVFREQ is not set # # File systems # CONFIG_EXT2_FS=m CONFIG_EXT2_FS_XATTR=y # CONFIG_EXT2_FS_POSIX_ACL is not set # CONFIG_EXT2_FS_SECURITY is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=m CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS_XATTR=y # CONFIG_EXT3_FS_POSIX_ACL is not set # CONFIG_EXT3_FS_SECURITY is not set CONFIG_EXT4_FS=m CONFIG_EXT4_FS_XATTR=y # CONFIG_EXT4_FS_POSIX_ACL is not set # CONFIG_EXT4_FS_SECURITY is not set # CONFIG_EXT4_DEBUG is not set CONFIG_JBD=m CONFIG_JBD2=m CONFIG_FS_MBCACHE=m # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set # CONFIG_BTRFS_FS is not set # CONFIG_NILFS2_FS is not set # CONFIG_FS_POSIX_ACL is not set CONFIG_FILE_LOCKING=y CONFIG_FSNOTIFY=y # CONFIG_DNOTIFY is not set CONFIG_INOTIFY_USER=y # CONFIG_FANOTIFY is not set # CONFIG_QUOTA is not set # CONFIG_QUOTACTL is not set # CONFIG_AUTOFS4_FS is not set CONFIG_FUSE_FS=m # CONFIG_CUSE is not set # # Caches # CONFIG_FSCACHE=m CONFIG_FSCACHE_STATS=y # CONFIG_FSCACHE_HISTOGRAM is not set # CONFIG_FSCACHE_DEBUG is not set # CONFIG_FSCACHE_OBJECT_LIST is not set # CONFIG_CACHEFILES is not set # # CD-ROM/DVD Filesystems # # CONFIG_ISO9660_FS is not set # CONFIG_UDF_FS is not set # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m # CONFIG_MSDOS_FS is not set CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=866 CONFIG_FAT_DEFAULT_IOCHARSET="utf8" CONFIG_EXFAT_FS=m CONFIG_EXFAT_DISCARD=y # CONFIG_EXFAT_DELAYED_SYNC is not set # CONFIG_EXFAT_KERNEL_DEBUG is not set # CONFIG_EXFAT_DEBUG_MSG is not set CONFIG_EXFAT_DEFAULT_CODEPAGE=866 CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8" CONFIG_UFSD_FS=m CONFIG_UFSD_USE_NLS=y # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_SYSCTL=y # CONFIG_PROC_PAGE_MONITOR is not set CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set # CONFIG_TMPFS_XATTR is not set # CONFIG_HUGETLB_PAGE is not set # CONFIG_CONFIGFS_FS is not set CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_JFFS2_FS is not set # CONFIG_LOGFS is not set # CONFIG_CRAMFS is not set CONFIG_SQUASHFS=y # CONFIG_SQUASHFS_XATTR is not set # CONFIG_SQUASHFS_ZLIB is not set # CONFIG_SQUASHFS_LZO is not set CONFIG_SQUASHFS_XZ=y # CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set CONFIG_SQUASHFS_EMBEDDED=y CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=5 # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_MINIX_FS_NATIVE_ENDIAN is not set # CONFIG_OMFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_QNX6FS_FS is not set # CONFIG_ROMFS_FS is not set # CONFIG_PSTORE is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # CONFIG_NETWORK_FILESYSTEMS is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="utf8" CONFIG_NLS_CODEPAGE_437=y # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set # CONFIG_NLS_CODEPAGE_850 is not set # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set CONFIG_NLS_CODEPAGE_866=y # CONFIG_NLS_CODEPAGE_869 is not set CONFIG_NLS_CODEPAGE_936=y # CONFIG_NLS_CODEPAGE_950 is not set # CONFIG_NLS_CODEPAGE_932 is not set # CONFIG_NLS_CODEPAGE_949 is not set # CONFIG_NLS_CODEPAGE_874 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_CODEPAGE_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set # CONFIG_NLS_ASCII is not set CONFIG_NLS_ISO8859_1=y # CONFIG_NLS_ISO8859_2 is not set # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_13 is not set # CONFIG_NLS_ISO8859_14 is not set # CONFIG_NLS_ISO8859_15 is not set # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set CONFIG_NLS_UTF8=y # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=4096 # CONFIG_MAGIC_SYSRQ is not set CONFIG_STRIP_ASM_SYMS=y # CONFIG_UNUSED_SYMBOLS is not set # CONFIG_DEBUG_FS is not set # CONFIG_HEADERS_CHECK is not set # CONFIG_DEBUG_SECTION_MISMATCH is not set # CONFIG_DEBUG_KERNEL is not set # CONFIG_HARDLOCKUP_DETECTOR is not set # CONFIG_SPARSE_RCU_POINTER is not set # CONFIG_DEBUG_MEMORY_INIT is not set CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_C_RECORDMCOUNT=y # CONFIG_TRACING_SUPPORT is not set # CONFIG_DMA_API_DEBUG is not set # CONFIG_ATOMIC64_SELFTEST is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y # CONFIG_TEST_KSTRTOX is not set # CONFIG_EARLY_PRINTK is not set # CONFIG_CMDLINE_BOOL is not set # CONFIG_UBOOT_CMDLINE is not set # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set # CONFIG_SECURITY is not set # CONFIG_SECURITYFS is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" CONFIG_CRYPTO=y # # Crypto core or helper # CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_ALGAPI2=y # CONFIG_CRYPTO_AEAD is not set CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_BLKCIPHER2=y CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y # CONFIG_CRYPTO_USER is not set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y # CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_NULL is not set CONFIG_CRYPTO_WORKQUEUE=y # CONFIG_CRYPTO_CRYPTD is not set # CONFIG_CRYPTO_AUTHENC is not set # CONFIG_CRYPTO_TEST is not set # # Authenticated Encryption with Associated Data # # CONFIG_CRYPTO_CCM is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_SEQIV is not set # # Block modes # CONFIG_CRYPTO_CBC=y # CONFIG_CRYPTO_CTR is not set # CONFIG_CRYPTO_CTS is not set CONFIG_CRYPTO_ECB=y # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_PCBC is not set # CONFIG_CRYPTO_XTS is not set # # Hash modes # CONFIG_CRYPTO_HMAC=m # CONFIG_CRYPTO_XCBC is not set # CONFIG_CRYPTO_VMAC is not set # # Digest # # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_GHASH is not set CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=m # CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_RMD128 is not set # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set CONFIG_CRYPTO_SHA1=y # CONFIG_CRYPTO_SHA256 is not set # CONFIG_CRYPTO_SHA512 is not set # CONFIG_CRYPTO_TGR192 is not set # CONFIG_CRYPTO_WP512 is not set # # Ciphers # CONFIG_CRYPTO_AES=y # CONFIG_CRYPTO_ANUBIS is not set CONFIG_CRYPTO_ARC4=y # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set # CONFIG_CRYPTO_CAST6 is not set CONFIG_CRYPTO_DES=m # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_SALSA20 is not set # CONFIG_CRYPTO_SEED is not set # CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_TEA is not set # CONFIG_CRYPTO_TWOFISH is not set # # Compression # # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_ZLIB is not set # CONFIG_CRYPTO_LZO is not set # # Random Number Generation # # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_USER_API_HASH is not set # CONFIG_CRYPTO_USER_API_SKCIPHER is not set CONFIG_CRYPTO_HW=y CONFIG_CRYPTO_DEV_LINUX=m CONFIG_CRYPTO_DEV_MTK_AES=m # CONFIG_CRYPTO_DEV_HIFN_795X is not set # CONFIG_BINARY_PRINTF is not set # # Library routines # CONFIG_BITREVERSE=y CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y CONFIG_GENERIC_PCI_IOMAP=y CONFIG_GENERIC_IO=y CONFIG_CRC_CCITT=y CONFIG_CRC16=y # CONFIG_CRC_T10DIF is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC32_SELFTEST is not set # CONFIG_CRC32_SLICEBY8 is not set # CONFIG_CRC32_SLICEBY4 is not set CONFIG_CRC32_SARWATE=y # CONFIG_CRC32_BIT is not set # CONFIG_CRC7 is not set # CONFIG_LIBCRC32C is not set # CONFIG_CRC8 is not set # CONFIG_ZLIB_INFLATE is not set # CONFIG_ZLIB_DEFLATE is not set # CONFIG_LZO_COMPRESS is not set # CONFIG_LZO_DECOMPRESS is not set CONFIG_XZ_DEC=y # CONFIG_XZ_DEC_X86 is not set # CONFIG_XZ_DEC_POWERPC is not set # CONFIG_XZ_DEC_IA64 is not set # CONFIG_XZ_DEC_ARM is not set # CONFIG_XZ_DEC_ARMTHUMB is not set # CONFIG_XZ_DEC_SPARC is not set # CONFIG_XZ_DEC_BCJ is not set # CONFIG_XZ_DEC_TEST is not set CONFIG_TEXTSEARCH=y CONFIG_TEXTSEARCH_KMP=m CONFIG_TEXTSEARCH_BM=m CONFIG_TEXTSEARCH_FSM=m CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y CONFIG_DQL=y CONFIG_NLATTR=y CONFIG_GENERIC_ATOMIC64=y # CONFIG_AVERAGE is not set # CONFIG_CORDIC is not set # # Ralink Module # # CONFIG_RALINK_RDM is not set # # Ralink Wired Ethernet Driver # CONFIG_RAETH=y CONFIG_RAETH_NAPI=y # CONFIG_RAETH_NAPI_GRO is not set CONFIG_RAETH_BQL=y CONFIG_RAETH_CHECKSUM_OFFLOAD=y CONFIG_GE1_MAC_ESW=y CONFIG_RAETH_ESW=y # CONFIG_RAETH_ESW_ONE_PORT is not set # CONFIG_RAETH_SPECIAL_TAG is not set CONFIG_RAETH_ESW_CONTROL=y # CONFIG_RAETH_ESW_IGMP_SNOOP_OFF is not set CONFIG_RAETH_ESW_IGMP_SNOOP_SW=y # 网口信息 CONFIG_RAETH_ESW_PORT_WAN=0 CONFIG_RAETH_ESW_PORT_LAN1=4 CONFIG_RAETH_ESW_PORT_LAN2=2 CONFIG_RAETH_ESW_PORT_LAN3=3 CONFIG_RAETH_ESW_PORT_LAN4=1 # CONFIG_RAETH_SNMPD is not set CONFIG_RAETH_READ_MAC_FROM_MTD=y # CONFIG_RAETH_MEMORY_OPTIMIZATION is not set # CONFIG_RAETH_DEBUG is not set # # Ralink Wireless 802.11 Support # # # 1st Wireless Interface # # CONFIG_RT_FIRST_IF_NONE is not set CONFIG_RT_FIRST_IF_MT7628=y CONFIG_RT_FIRST_IF_RANGE_2GHZ=y CONFIG_RT_FIRST_IF_EEPROM_FLASH=y CONFIG_RT_FIRST_IF_RF_OFFSET=0x40000 CONFIG_RT_FIRST_CARD=7628 CONFIG_RT_FIRST_CARD_EEPROM="flash" # # 2nd Wireless Interface # # CONFIG_RT_SECOND_IF_NONE is not set # CONFIG_RT_SECOND_IF_RT3352_INIC is not set # CONFIG_RT_SECOND_IF_RT3090 is not set # CONFIG_RT_SECOND_IF_RT5392 is not set # CONFIG_RT_SECOND_IF_RT5592 is not set # CONFIG_RT_SECOND_IF_RT3593 is not set # CONFIG_RT_SECOND_IF_MT7610E is not set # CONFIG_RT_SECOND_IF_MT7602E is not set CONFIG_RT_SECOND_IF_MT7612E=y # CONFIG_RT_SECOND_IF_MT7603E is not set # CONFIG_RT_SECOND_IF_MT7615E is not set # CONFIG_RT_SECOND_IF_RANGE_2GHZ is not set CONFIG_RT_SECOND_IF_RANGE_5GHZ=y CONFIG_RT_SECOND_IF_EEPROM_FLASH=y # CONFIG_RT_SECOND_IF_EEPROM_EFUSE is not set # CONFIG_RT_SECOND_IF_EEPROM_PROM is not set CONFIG_RT_SECOND_IF_RF_OFFSET=0x48000 CONFIG_RT_SECOND_CARD=7612 CONFIG_RT_SECOND_CARD_EEPROM="flash" # # 3rd Wireless Interface # CONFIG_RT_THIRD_IF_NONE=y # CONFIG_RT_THIRD_IF_MT7615E is not set CONFIG_RT_THIRD_CARD=0 # # Wireless drivers settings # # # AP MODE MediaTek MT7628/MT7688 RBUS Wireless driver # CONFIG_MT7628_AP=m # CONFIG_MT7628_AP_LED is not set # CONFIG_MT7628_AP_LED_SOFT is not set CONFIG_MT7628_AP_LLTD=y CONFIG_MT7628_AP_WDS=y CONFIG_MT7628_AP_MBSS=y CONFIG_MT7628_AP_APCLI=y # CONFIG_MT7628_AP_APCLI_AUTO_BW is not set # CONFIG_MT7628_AP_APCLI_CERT is not set # CONFIG_MT7628_AP_MAC_REPEATER is not set # CONFIG_MT7628_AP_AIRPLAY is not set # CONFIG_MT7628_AP_DFS is not set # CONFIG_MT7628_AP_CARRIER is not set CONFIG_MT7628_AP_SMART_CARRIER_SENSE=y # CONFIG_MT7628_AP_GREENAP is not set # CONFIG_MT7628_AP_IDS is not set # CONFIG_MT7628_AP_DLS is not set # # AP MODE MediaTek MT7620/MT7602E/MT7612E RBUS/PCIe Wireless driver # CONFIG_MT76X2_AP=m CONFIG_MT76X2_AP_LED=y CONFIG_MT76X2_AP_LLTD=y CONFIG_MT76X2_AP_WDS=y CONFIG_MT76X2_AP_MBSS=y CONFIG_MT76X2_AP_MBSS_NEW_MBSSID_MODE=y CONFIG_MT76X2_AP_APCLI=y # CONFIG_MT76X2_AP_APCLI_CERT is not set # CONFIG_MT76X2_AP_APCLI_AUTO_BW is not set # CONFIG_MT76X2_AP_MAC_REPEATER is not set # CONFIG_MT76X2_AP_MWDS is not set # CONFIG_MT76X2_AP_SMART_MESH is not set # CONFIG_MT76X2_AP_AIRPLAY is not set # CONFIG_MT76X2_AP_DFS is not set # CONFIG_MT76X2_AP_CARRIER is not set # CONFIG_MT76X2_AP_IDS is not set # CONFIG_MT76X2_AP_DLS is not set CONFIG_MT76X2_AP_80211AC_VHT=y # CONFIG_MT76X2_AP_TXBF_SUPPORT is not set # # Wireless drivers common configs # # CONFIG_RT_SINGLE_SKU is not set CONFIG_RT_MAX_CLIENTS=40 # CONFIG_RT_BAND_STEERING is not set # CONFIG_RT_DOT11R_FT is not set # CONFIG_RT_DOT11K_RRM is not set # CONFIG_RT_80211N_DRAFT3 is not set # CONFIG_RT_80211W_PMF is not set # CONFIG_RT_WSC is not set # CONFIG_RT_ED_MONITOR is not set CONFIG_RT_IGMP_SNOOP=y # CONFIG_RT_MCAST_RATE_SPECIFIC is not set # CONFIG_RT_DELAYED_TCP_ACK is not set # CONFIG_RT_NETIF_BLOCK is not set # CONFIG_RT_SNMP is not set CONFIG_RT_READ_MAC_FROM_MTD=y # CONFIG_RT_MEMORY_OPTIMIZATION is not set # CONFIG_RT_DEBUG is not set # # Ralink NAT Acceleration Mode # CONFIG_RA_NAT_NONE=y # # Ralink HW Crypto # # # Ralink Peripheral Devices # CONFIG_RT3XXX_EHCI_OHCI=y 成品UI工程文件下载工程文件下载固件下载MI-4A-100M_3.4.3.9-099.trx
Padavan 编译日记-从零开始的心酸折腾之路
Padavan 编译日记1.前言预览图已额外适配除官方适配外的以下机型MI-MINI (USB)MI-3 (USB)MI-3MI 小米路由3硬改sop8 16mb flash版(USB)MI-3AMI-3CMI-4C简介哈罗，各位小伙伴大家好哇，我是小渔知道我的小伙伴可以看看我之前做的几个视频，关于路由器硬改以及救砖的教程。1.挑战不可能！全站首发！小米路由3A刷机提取eeprom全过程详解【挑战不可能！全站首发！小米路由3A刷机提取eeprom全过程详解】2.小米路由3A刷机从拆解到验证3.【全网首发】小米路由3C刷机提取eeprom教程4.【手把手教学系列】从零开始学习小米路由mini救砖5.【全网首发】小米路由3C刷机提取eeprom教程6.【全网首发】小米路由3 硬改版 breed刷固件也可以参阅我这一篇文章:小米路由3 breed 刷固件-魔改电阻后置换SPI flash 刷mini breed救砖EEPROM信号文件提取工具下载:蓝奏云盘2.配置需求下面开始正题，编译Padavan所需要的环境其实也并不复杂，只是配置需要耐心，清单如下：编译端运行内存≥2G 磁盘空间≥20G CPU核心≥2核已安装乌班图（ubuntu）系统16.0+的VM虚拟机一定的自我查错能力（主要是根据报错学会百度）Xshell或者FinalShell Ssh连接工具一个准备工作完毕后，我们开始操作3.环境配置以我的虚拟机为例,你们的需要自己换成你们自己虚拟机的IP地址打开Ssh工具用root账号连接虚拟机ssh root@10.32.0.82然后运行此命令:sudo apt update # 更新软件库 sudo apt install unzip libtool-bin curl cmake gperf gawk flex bison nano xxd \ fakeroot kmod cpio git python3-docutils gettext automake autopoint \ texinfo build-essential help2man pkg-config zlib1g-dev libgmp3-dev \ libmpc-dev libmpfr-dev libncurses5-dev libltdl-dev wget libc-dev-bin -y # 安装环境 sudo apt-get upgrade -y # 更新内核 git clone --depth=1 https://github.com/hiboyhiboy/rt-n56u.git /opt/rt-n56u # git clone --depth=1 https://github.com/hiboyhiboy/rt-n56u.git /opt/rt-n56u # git clone --depth=1 https://github.com/chongshengB/rt-n56u.git /opt/rt-n56u #拉取源码 cd /opt/rt-n56u/toolchain-mipsel #进入工具链目录 ./clean_toolchain #清理以前的编译工具链 ./build_toolchain #编译工具链等待大约2分钟左右可能会需要你手动"确定"一下这里从环境安装、库安装、克隆Padavan源码、编译工具链等一切都由脚本完成，你可以泡一杯82年的卡布奇洛安心等待大约1小时左右就好等待工具链编译完成后执行以下命令:cd /opt/rt-n56u/trunk sudo ./clear_tree fakeroot ./build_firmware_modify PSG1218 #脚本第一个参数为路由型号，在trunk/configs/templates/中 #编译好的固件在trunk/images里 #增加修改取消插件集成请修改/opt/rt-n56u/trunk/build_firmware_modify #修改Logo 请替换/opt/rt-n56u/trunk/user/www/n56u_ribbon_fixed/bootstrap/img/asus_logo.png 规格为宽度5.19cm 高度2.54cm 分辨率72 #修改路由后台地址管理员密码等请修改 /opt/rt-n56u/trunk/user/shared/defaults.h #修改路由中文页面内容等请修改 /opt/rt-n56u/trunk/user/www/dict/CN.dict题外建议可以安装一个宝塔面板，在线编辑剪切复制比较方便安装要求：内存：512M以上，推荐768M以上（纯面板约占系统60M内存）硬盘：100M以上可用硬盘空间（纯面板约占20M磁盘空间）系统：CentOS 7.1+ (Ubuntu16.04+.、Debian9.0+)，确保是干净的操作系统，没有安装过其它环境带的Apache/Nginx/php/MySQL（已有环境不可安装）安装宝塔（可选）Linux面板7.4.2安装命令：根据系统执行框内命令开始安装（大约2分钟完成面板安装）Centos安装命令：yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh试验性Centos/Ubuntu/Debian安装命令 独立运行环境（py3.7） 可能存在少量兼容性问题 不断优化中：curl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.shUbuntu/Deepin安装命令：wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.shDebian安装命令：wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.shFedora安装命令：wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.shLinux面板7.3.0升级命令：curl http://download.bt.cn/install/update6.sh|bash4.手动自定义适配路由1.命令行操作cd /opt/rt-n56u/trunk/configs/2.宝塔操作ssh root@10.32.0.82输入账号密码 bt 14[scode type="yellow"]因为宝塔可视化比较方便所以后面全部用宝塔操作，打开浏览器，输入Bt -URL（你们的根据自己实际的来，不要什么都不改，无脑）[/scode]Bt-Panel-URL: <http://183.222.197.203:8088/c86b4eb6> username: rrbrzni5 password: 3bf49830虚拟机请将183.222.197.203改为你的内网IP。(比如我的10.32.0.82)输入账号密码;username: rrbrzni5 password: 3bf49830然后登陆因为我们只是需要一个在线编辑器，所以就不需要安装套件，但是你想装就装呗。话说，好像可道云也能办到我们所需要的功能然后点击文件，进入/opt/rt-n56u/trunk/opt/rt-n56u/trunk/configs/boards /opt/rt-n56u/trunk/configs/templates这里存放路由器型号以及配置文件boards为配置文件夹，templates为Config文件如果要自己新增某个路由器型号，需要在boards新建文件夹，在templates中新建Config文件比如我的小米3硬改版文件当然不是凭空捏造，而是复制相同的CPU型号、flash的路由器的配置文件改名，然后再根据实际去修改详细内容2.1 适配网口以及电源指示灯因为我们复制的文件虽然也能编译并成功刷入后启动，但是一般会面临着网口错位，电源指示灯诡异等问题，所以我们需要根据实际来修改首先进入/opt/rt-n56u/trunk/configs/boards/MI-3MI可以看到有三个文件，分别是board.h board.mk kernel-3.4.x.config首先修改board.h/* Xiaomi Mi 3 */ #define BOARD_PID "MI-3" #define BOARD_NAME "MI-3" #define BOARD_DESC "Xiaomi Mi Mini Wireless Router" #define BOARD_VENDOR_NAME "Beijing Xiaomi Technology Co., Ltd." #define BOARD_VENDOR_URL "http://www.mi.com/" #define BOARD_MODEL_URL "http://www.mi.com/miwifi3" #define BOARD_BOOT_TIME 25 #define BOARD_FLASH_TIME 120 #define BOARD_GPIO_BTN_RESET 30 #undef BOARD_GPIO_BTN_WPS #undef BOARD_GPIO_LED_ALL #undef BOARD_GPIO_LED_WIFI #define BOARD_GPIO_LED_POWER 24 /* 24: blue, 26: yellow, 29: red */ #undef BOARD_GPIO_LED_LAN #undef BOARD_GPIO_LED_WAN #define BOARD_GPIO_LED_USB 26 #undef BOARD_GPIO_LED_ROUTER #define BOARD_GPIO_PWR_USB 65 #define BOARD_GPIO_PWR_USB_ON 1 /* 1: 5V Power ON, 0: 5V Power OFF */ #define BOARD_HAS_5G_11AC 1 #define BOARD_NUM_ANT_5G_TX 2 #define BOARD_NUM_ANT_5G_RX 2 #define BOARD_NUM_ANT_2G_TX 2 #define BOARD_NUM_ANT_2G_RX 2 #define BOARD_NUM_ETH_LEDS 1 #define BOARD_NUM_ETH_EPHY 3 #define BOARD_HAS_EPHY_L1000 0 #define BOARD_HAS_EPHY_W1000 0我们需要注意的是下面的内容，其他都还好。#define BOARD_PID "MI-3" #define BOARD_NAME "MI-3" #define BOARD_DESC "Xiaomi Mi Mini Wireless Router" #define BOARD_VENDOR_NAME "Beijing Xiaomi Technology Co., Ltd." #define BOARD_VENDOR_URL "http://www.mi.com/" #define BOARD_MODEL_URL "http://www.mi.com/miwifi3" #define BOARD_BOOT_TIME 25 #define BOARD_FLASH_TIME 120 #define BOARD_GPIO_BTN_RESET 30 #undef BOARD_GPIO_BTN_WPS #undef BOARD_GPIO_LED_ALL #undef BOARD_GPIO_LED_WIFI #define BOARD_GPIO_LED_POWER 24 /* 电源指示灯:24: blue, 26: yellow, 29: red */然后修改board.mk################################################################## # Board PID # Board Name # PRODUCT # Note ################################################################## # MI-3 # Xiaomi MiWiFi 3 # MT7620 # ################################################################## CFLAGS += -DBOARD_MI3 BOARD_NUM_USB_PORTS=1最后修改kernel-3.4.x.config，主要的目的是为了适配网口只需要修改以下内容即可# CONFIG_RAETH_ESW_IGMP_SNOOP_HW is not set CONFIG_RAETH_ESW_PORT_WAN=0 CONFIG_RAETH_ESW_PORT_LAN1=1 CONFIG_RAETH_ESW_PORT_LAN2=2 CONFIG_RAETH_ESW_PORT_LAN3=3 CONFIG_RAETH_ESW_PORT_LAN4=4PS:从WAN到LAN40，1，2，3，4顺序不固定，请根据实际修改，小米3硬改版还有小米3C我是测试了很多遍试出来的哈哈2.2修改底部footer信息参考链接修改 trunk/user/www/Makefileifndef ROOTDIR ROOTDIR=../.. endif ROMFS_DIR = $(ROOTDIR)/romfs include $(ROOTDIR)/user/shared/boards.mk PROJECT_HOME_URL="https:\/\/bitbucket.org\/padavan\/rt-n56u\/" PROJECT_HOME_URL_MOD="https:\/\/github.com\/hanwckf\/rt-n56u\/" LABEL_COPYRIGHT_TEXT='© 2019-2021 小渔博客<\/a> \& Padavan with 小渔 \& by hanwckf<\/a>' BOARD_PATTERN=s/ZVMODELVZ/$(CONFIG_FIRMWARE_PRODUCT_ID)/g COPYR_PATTERN=s/ZVCOPYRVZ/$(LABEL_COPYRIGHT_TEXT)/g DWURL_PATTERN=s/ZVDWURLVZ/$(PROJECT_HOME_URL)/g DWURL_MOD_PATTERN=s/ZVMODWURLVZ/$(PROJECT_HOME_URL_MOD)/g WEBUI_NAME=n56u_ribbon_fixed all: romfs: echo "Make www romfs" rm -Rf $(ROMFS_DIR)/www cp -R $(WEBUI_NAME) $(ROMFS_DIR)/www rm -f $(ROMFS_DIR)/www/httpd_check.htm echo "ASUSTeK" > $(ROMFS_DIR)/www/httpd_check.htm cd $(ROMFS_DIR)/www && ln -sf /opt/share/www/custom custom cp dict/EN.header $(ROMFS_DIR)/www ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_BR),y) echo "LANG_BR=Brazil" >> $(ROMFS_DIR)/www/EN.header cp dict/BR.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/BR.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/BR.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/BR.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_CZ),y) echo "LANG_CZ=Česky" >> $(ROMFS_DIR)/www/EN.header cp dict/CZ.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/CZ.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/CZ.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/CZ.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_DA),y) echo "LANG_DA=Dansk" >> $(ROMFS_DIR)/www/EN.header cp dict/DA.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/DA.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/DA.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/DA.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_DE),y) echo "LANG_DE=Deutsch" >> $(ROMFS_DIR)/www/EN.header cp dict/DE.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/DE.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/DE.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/DE.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_ES),y) echo "LANG_ES=Español" >> $(ROMFS_DIR)/www/EN.header cp dict/ES.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/ES.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/ES.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/ES.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_FI),y) echo "LANG_FI=Finsk" >> $(ROMFS_DIR)/www/EN.header cp dict/FI.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/FI.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/FI.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/FI.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_FR),y) echo "LANG_FR=Français" >> $(ROMFS_DIR)/www/EN.header cp dict/FR.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/FR.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/FR.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/FR.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_NO),y) echo "LANG_NO=Norsk" >> $(ROMFS_DIR)/www/EN.header cp dict/NO.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/NO.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/NO.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/NO.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_PL),y) echo "LANG_PL=Polski" >> $(ROMFS_DIR)/www/EN.header cp dict/PL.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/PL.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/PL.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/PL.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_RU),y) echo "LANG_RU=Pусский" >> $(ROMFS_DIR)/www/EN.header cp dict/RU.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/RU.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/RU.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/RU.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_SV),y) echo "LANG_SV=Svensk" >> $(ROMFS_DIR)/www/EN.header cp dict/SV.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/SV.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/SV.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/SV.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_UK),y) echo "LANG_UK=Українська" >> $(ROMFS_DIR)/www/EN.header cp dict/UK.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/UK.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/UK.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/UK.dict endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_CN),y) echo "LANG_CN=简体中文" >> $(ROMFS_DIR)/www/EN.header cp dict/CN.dict $(ROMFS_DIR)/www sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/CN.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/CN.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/CN.dict sed $(DWURL_MOD_PATTERN) -i $(ROMFS_DIR)/www/CN.dict endif cat $(ROMFS_DIR)/www/EN.header dict/EN.footer > $(ROMFS_DIR)/www/EN.dict sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/EN.dict sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/EN.dict sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/EN.dict sed $(DWURL_MOD_PATTERN) -i $(ROMFS_DIR)/www/EN.dict rm -f $(ROMFS_DIR)/www/EN.header rm -f $(ROMFS_DIR)/www/bootstrap/js/bootstrap.js rm -f $(ROMFS_DIR)/www/bootstrap/js/engage.itoggle.js rm -f $(ROMFS_DIR)/www/bootstrap/js/jquery.backgroundpos.min.js rm -f $(ROMFS_DIR)/www/bootstrap/js/jquery.easing.1.3.js rm -f $(ROMFS_DIR)/www/bootstrap/css/bootstrap.css ifeq ($(BOARD_HAS_2G_RADIO),0) rm -f $(INSTALLDIR)/www/Advanced_ACL2g_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WAdvanced2g_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WGuest2g_Content.asp rm -f $(INSTALLDIR)/www/Advanced_Wireless2g_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WMode2g_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WSecurity2g_Content.asp rm -f $(INSTALLDIR)/www/Main_WStatus2g_Content.asp rm -f $(INSTALLDIR)/www/wireless_2g.js rm -f $(INSTALLDIR)/www/wds_aplist_2g.asp rm -f $(INSTALLDIR)/www/device-map/router2g.asp endif ifeq ($(BOARD_HAS_5G_RADIO),0) rm -f $(INSTALLDIR)/www/Advanced_ACL_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WAdvanced_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WGuest_Content.asp rm -f $(INSTALLDIR)/www/Advanced_Wireless_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WMode_Content.asp rm -f $(INSTALLDIR)/www/Advanced_WSecurity_Content.asp rm -f $(INSTALLDIR)/www/Main_WStatus_Content.asp rm -f $(INSTALLDIR)/www/wireless.js rm -f $(INSTALLDIR)/www/wds_aplist.asp rm -f $(INSTALLDIR)/www/device-map/router.asp endif ifndef CONFIG_IPV6 rm -f $(INSTALLDIR)/www/Advanced_IPv6_Content.asp endif ifndef CONFIG_ATA rm -f $(INSTALLDIR)/www/device-map/sata.asp endif ifndef CONFIG_USB_SUPPORT rm -f $(INSTALLDIR)/www/Advanced_Modem_others.asp rm -f $(INSTALLDIR)/www/Advanced_Printer_others.asp rm -f $(INSTALLDIR)/www/modem_isp.js rm -f $(INSTALLDIR)/www/device-map/modem.asp rm -f $(INSTALLDIR)/www/device-map/printer.asp rm -f $(INSTALLDIR)/www/device-map/hub.asp endif ifneq ($(STORAGE_ENABLED),y) rm -f $(INSTALLDIR)/www/Advanced_AiDisk_ftp.asp rm -f $(INSTALLDIR)/www/Advanced_AiDisk_others.asp rm -f $(INSTALLDIR)/www/Advanced_AiDisk_samba.asp rm -f $(INSTALLDIR)/www/aidisk.asp rm -f $(INSTALLDIR)/www/disk_folder_tree.js rm -f $(INSTALLDIR)/www/device-map/disk.asp rm -f $(INSTALLDIR)/www/device-map/safely_remove_disk.asp rm -rf $(INSTALLDIR)/www/aidisk rm -rf $(INSTALLDIR)/www/images/AiDisk rm -rf $(INSTALLDIR)/www/images/Tree endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT),y) rm -f $(INSTALLDIR)/www/scutclient.asp rm -f $(INSTALLDIR)/www/scutclient_log.asp rm -f $(INSTALLDIR)/www/scutclient_action.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_MENTOHUST),y) rm -f $(INSTALLDIR)/www/mentohust.asp rm -f $(INSTALLDIR)/www/mentohust_log.asp rm -f $(INSTALLDIR)/www/mentohust_action.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER),y) rm -f $(INSTALLDIR)/www/dns-forwarder.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS),y) rm -f $(INSTALLDIR)/www/Shadowsocks.asp rm -f $(INSTALLDIR)/www/Shadowsocks_action.asp rm -f $(INSTALLDIR)/www/Shadowsocks_log.asp endif ifeq ($(CONFIG_FIRMWARE_WEBUI_HIDE_VPN),y) rm -f $(INSTALLDIR)/www/vpn_clients.asp rm -f $(INSTALLDIR)/www/vpncli.asp rm -f $(INSTALLDIR)/www/vpnsrv.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_ADBYBY),y) rm -f $(INSTALLDIR)/www/Advanced_adbyby.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_ALIDDNS),y) rm -f $(INSTALLDIR)/www/Advanced_aliddns.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_ADGUARDHOME),y) rm -f $(INSTALLDIR)/www/Advanced_adguardhome.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_KOOLPROXY),y) rm -f $(INSTALLDIR)/www/Advanced_koolproxy.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_CADDY),y) rm -f $(INSTALLDIR)/www/Advanced_caddy.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_WYY),y) rm -f $(INSTALLDIR)/www/Advanced_wyy.asp endif ifneq ($(CONFIG_FIRMWARE_INCLUDE_ZEROTIER),y) rm -f $(INSTALLDIR)/www/Advanced_zerotier.asp endif ifeq ($(CONFIG_FIRMWARE_INCLUDE_FRPC)_$(CONFIG_FIRMWARE_INCLUDE_FRPS), n_n) rm -f $(INSTALLDIR)/www/Advanced_frp.asp endif clean: @echo "Clean www romfs"2.3修改版本号cd /opt/rt-n56u/trunk/ #进入目录 vim versions.inc #编辑文件 FIRMWARE_ROOTFS_VER=3.9 FIRMWARE_BUILDS_VER=099 FIRMWARE_BUILDS_REV=$(shell git rev-parse --short HEAD 2>/dev/null) /*最后一栏也可以这样写 `FIRMWARE_BUILDS_REV=20200730`*/常见的3.4.3.9_099就是这么来的，后面跟的应该是源码版本，可以去掉或者改成别的2.4 开启Openvpncd /opt/rt-n56u/trunk vim build_firmware_modify然后增加三行##Openvpn服务## echo "CONFIG_FIRMWARE_INCLUDE_OPENVPN=y" >> .config #Openvpn服务 ##Openvpn服务##2.5 预置路由定时重启cd /opt/rt-n56u/trunk/user/shared vim defaults.c或者用宝塔编译/*autoreboot*/ { "reboot_schedule_enable", "0" }, { "reboot_schedule", "00000000000" }, // 0代表关闭 1代表开启 // 0000000代表周一到周日 0000代表时间 2.6 预置开启vpn客户端{ "vpns_enable", "0" },//vpn服务端关闭 { "vpns_type", "0" },//vpn协议 { "vpns_cast", "0" }, { "vpns_auth", "0" },//认证算法 { "vpns_mppe", "1" },//加密算法 { "vpns_mtu", "1450" },//MTU { "vpns_mru", "1450" },//MRU { "vpns_vuse", "0" },//子网 { "vpns_vnet", "10.8.0.0" },//vpn隧道使用的网络 { "vpns_actl", "0" },//广播中继 { "vpns_cli0", "245" },//客户端IP地址起 { "vpns_cli1", "254" },//客户端IP地址终 { "vpns_num_x", "0" },//客户端访问范围 { "vpnc_enable", "1" },//vpn客户端开启 { "vpnc_type", "1" },//vpn协议 { "vpnc_peer", "" },//vpn服务器地址 { "vpnc_user", "" },//用户名 { "vpnc_pass", "" },//密码 { "vpnc_auth", "0" },//认证算法 { "vpnc_mppe", "0" },//加密算法 { "vpnc_pppd", "" },//pppd附加选项 { "vpnc_rnet", "172.20.8.0" },//vpn服务器子网 { "vpnc_rmsk", "255.255.255.0" },//vpn服务器掩码 { "vpnc_pdns", "1" },//从VPN服务器获取DNS { "vpnc_mtu", "1450" },//MTU { "vpnc_mru", "1450" },//MRU { "vpnc_sfw", "2" },//限制来自 VPN 服务器的访问:否 0-2 2代表仅使用路由 { "vpnc_dgw", "0" },//限制来自 VPN 服务器的访问:是0-22.7 修改默认http端口cd /opt/rt-n56u/trunk/user/shared vim defaults.c/* Web server parameters */ { "http_username", SYS_USER_ROOT }, /* Username */ { "http_passwd", DEF_ROOT_PASSWORD }, /* Password */ { "http_access", "0" }, /* HTTP access (0: ALL, 1: LAN only, 2: LAN + Wireless MainAP) */ { "http_proto", "0" }, /* HTTP proto (0: HTTP, 1: HTTPS, 2: Both) */ { "http_lanport", "80" }, /* HTTP LAN port to listen on */ { "https_lport", "443" }, /* HTTPS LAN port to listen on */ { "https_clist", DEF_HTTPS_CIPH_LIST }, /* HTTPS SSL cipher list */ { "fw_dos_x", "0" }, // oleg patch { "dr_enable_x", "1" }, // oleg patch { "mr_enable_x", "0" }, // oleg patch { "mr_qleave_x", "1" }, // { "http_lanport", "80" }, /* HTTP LAN port to listen on */ // { "https_lport", "443" }, /* HTTPS LAN port to listen on */ // 可修改默认http端口不为80,默认https不为4432.8 修改默认默认网关、子网掩码cd /opt/rt-n56u/trunk/user/shared vim defaults.h#define DEF_LAN_ADDR "10.32.0.1" #define DEF_LAN_DHCP_BEG "10.32.0.100" #define DEF_LAN_DHCP_END "10.32.1.244" #define DEF_LAN_MASK "255.255.254.0"2.9 修改WIFI名字以及密码#define DEF_WLAN_2G_CC "CN" #define DEF_WLAN_5G_CC "CN" #define DEF_WLAN_2G_SSID BOARD_PID "_%s" #define DEF_WLAN_5G_SSID BOARD_PID "_5G_%s" #define DEF_WLAN_2G_GSSID BOARD_PID "_GUEST_%s" #define DEF_WLAN_5G_GSSID BOARD_PID "_GUEST_5G_%s" #define DEF_WLAN_2G_PSK "1234567890" #define DEF_WLAN_5G_PSK "1234567890"2.10 修改登陆名字以及密码#define SYS_USER_ROOT "admin" #define DEF_ROOT_PASSWORD "admin"2.11 插件的集成与删除然后进入/opt/rt-n56u/trunk/configs/templates修改MI-3MI.config这里可以选择是否集成某些插件不过貌似用处不是很大，我一般修改/opt/rt-n56u/trunk中的build_firmware_modify来选择是否集成或者修改插件修改方法也很简单，只需要将MENTOHUST=y改为MENTOHUST=n即表示放弃集成锐捷插件# 锐捷认证 echo "CONFIG_FIRMWARE_INCLUDE_MENTOHUST=n" >> .config #锐捷认证插件，选择n后全部有关插件都不 echo "CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT=n" >> .config2.12 中文化适配修改如果想修改中文化适配则修改/opt/rt-n56u/trunk/user/www/dict/CN.dict2.13 主题背景以及Logo修改主题文件下载地址：蓝奏云如果想修改LOGO则替换/opt/rt-n56u/trunk/user/www/n56u_ribbon_fixed/bootstrap/img/asus_logo.png如果想修改背景则修改/opt/rt-n56u/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css如果不需要修改主题，请参考下面的代码body{ background: url("../img/bg/wood.jpg") repeat scroll center top transparent; background-color: #282828; overflow-y: scroll; } body.body_iframe{ background: #F5F5F5; margin: 0 5px 0 5px; min-width: inherit; overflow-y: auto; }如果需要修改主题，请参考下面的代码body{ background: url("../img/bg/wood.jpg") repeat scroll center top transparent; background-color: #282828; overflow-y: scroll; z-index:-1; } body.body_iframe{ background-color: rgba(34, 34, 34, 0); margin: 0 5px 0 5px; min-width: inherit; overflow-y: auto; background-image: -moz-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34,0)); background-image: -ms-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34,0)); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(34, 34, 34, 0.82)),to(rgba(34, 34, 34, 0))); background-image: -webkit-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34,34, 0)); background-image: -o-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34,0)); background-image: linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34, 0)); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(34, 34, 34, 082)', endColorstr='rgba(34, 34, 34, 0)', GradientType=0); border-color: rgba(34, 34, 34, 0.82) rgba(34, 34, 34, 0.82) rgba(34, 34, 34, 0.82); border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color:#ffffff; margin-bottom: 1px; }修改完主题后，还需要修改Logo与背景的图层顺序，即是body{ background: url("../img/bg/wood.jpg") repeat scroll center top transparent; background-color: #282828; overflow-y: scroll; z-index:-1;/* 置于下层 */ } body.body_iframe{ background-color: rgba(34, 34, 34, 0); margin: 0 5px 0 5px; min-width: inherit; overflow-y: auto; background-image: -moz-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34,0)); background-image: -ms-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34,0)); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(34, 34, 34, 0.82)),to(rgba(34, 34, 34, 0))); background-image: -webkit-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34,34, 0)); background-image: -o-linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34,0)); background-image: linear-gradient(top, rgba(34, 34, 34, 0.82), rgba(34, 34, 34, 0)); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(34, 34, 34, 082)', endColorstr='rgba(34, 34, 34, 0)', GradientType=0); border-color: rgba(34, 34, 34, 0.82) rgba(34, 34, 34, 0.82) rgba(34, 34, 34, 0.82); border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color:#ffffff; margin-bottom: 1px; } .wrapper { width: 960px; margin: 0 auto; } #logo { background-image: url("../img/bg/asus_logo.png"); width: 150px; height: 71px; margin-top: 40px; z-index:1;/* 置于上层 */ } #logo:hover { cursor: pointer; }其中background: url("../img/bg/wood.jpg") repeat scroll center top transparent;表示引入的背景图片背景修改后效果如下: 主题修改后效果如下:通过查看Advanced_FirmwareUpgrade_Content.asp 得知网页预览图和书签预览图放在/opt/rt-n56u/trunk/user/www/n56u_ribbon_fixed/images所以自己做了对应规格的图标替换即可2.14 Padavan其他功能备注中文SSID支持的修改：proprietary/rt_wifi/rtpci/3.0.X.X/mt76x2/common/cmm_info.c proprietary/rt_wifi/rtpci/3.0.X.X/mt76x2/include/rtmp_def.h proprietary/rt_wifi/rtsoc/2.7.X.X/rt2860v2/common/cmm_info.c proprietary/rt_wifi/rtsoc/2.7.X.X/rt2860v2/include/rtmp_def.h linux-3.4.x/drivers/net/wireless/ralink/mt76x2/common/cmm_info.c linux-3.4.x/drivers/net/wireless/ralink/mt76x2/include/rtmp_def.h linux-3.4.x/drivers/net/wireless/ralink/rt2860v2/common/cmm_info.c linux-3.4.x/drivers/net/wireless/ralink/rt2860v2/include/rtmp_def.h user/httpd/aspbw.c user/httpd/httpd.h user/rc/common_ex.c user/rc/rc.h user/www/n56u_ribbon_fixed/general.js修改编译用户及主机信息linux-3.4.x/scripts/mkcompile_h关闭悬浮日志vim user/shared/defaults.c{ "log_float_ui", "0" }, /* WebUI syslog float panel mode */开启默认中文界面{ "preferred_lang", "CN" },5G使用美国地区vim user/shared/defaults.h#define DEF_WLAN_5G_CC "US"添加花生壳动态DNS服务user/www/n56u_ribbon_fixed/Advanced_DDNS_Content.asp web界面添加手势图标user/www/n56u_ribbon_fixed/Advanced_DHCP_Content.asp 修改编译版本以及时间修改 /opt/rt-n56u/trunk/versions.inc FIRMWARE_ROOTFS_VER=3.9 FIRMWARE_BUILDS_VER=099 FIRMWARE_BUILDS_REV=202006192.15 Padavan文件系统Padavan 是基于 BusyBox（也就是 Linux-based kernel）的嵌入式 Linux 系统，和OpenWRT 一样都是开源的不过他跟 OpenWRT 最大的区别就是为了保护系统不受破坏，大部分的目录是不可写入的这也注定了它与涉及修改内核参数之类的操作无缘，不过这么做也有好处，你不会轻易的把路由器系统玩坏上面有提到 Padavan 的大部分目录都是只读的，其实只有少数目录会提示 Read only file system ，其他的目录是可写的，但是写入的内容并不会被保存，除 /etc/storage 目录以外的写入在重启之后就消失了。查看文件系统的结构：/ # df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 3584 3584 0 100% / /dev/root 3584 3584 0 100% / tmpfs 8 0 8 0% /dev tmpfs 4096 1776 2320 43% /etc tmpfs 1024 4 1020 0% /home tmpfs 8 0 8 0% /media tmpfs 8 0 8 0% /mnt tmpfs 24576 80 24496 0% /tmp tmpfs 4096 56 4040 1% /var可以发现除系统的关键目录以外其他的目录均为 tmpfs ，这和 RamDisk 很像，都是把数据暂存在内存上，所以在大多数目录里所做的修改在没有执行保存脚本之前并没有真正的写入 Rom 里，如果没有保存重启之后数据便会丢失了。系统提供了一个管理脚本用于管理暂存在内存的数据，脚本的绝对路径在 /sbin/mtd_storage.sh ，有load|save|backup|restore|erase|reset|fill 等参数，各种参数我这里不多做介绍，翻译一下就能知道。为了方便日常使用脚本做了别名的指定，只需要执行 mtd_storage.sh save 即可快速保存数据。在这一段时间的使用感觉还是不错的，不过受路由器硬件限制也做不了什么大事情，所以目前我只在上面弄了纸飞机如果真的对嵌入式 Linux 感兴趣的话建议购入 ARM 板来折腾，比如树莓派之流，不管是硬件还是wiki 文档还是可玩性都好很多切记：在修改完 /etc/storage 下的文件后记得执行 mtd_storage.sh save 保存，否则所做的修改在重启或者断电后会丢失-----引用来自思起博客3.编译3.1准备工具链cd /opt/rt-n56u/toolchain-mipsel # （推荐）使用脚本下载预编译的工具链： sh dl_toolchain.sh # 或者，也可以从源码编译工具链，这需要一些时间： ./clean_toolchain ./build_toolchain3.2编译然后再运行编译即可cd /opt/rt-n56u/trunk/ ./clear_tree fakeroot ./build_firmware_modify MI-3 #MI-3 为路由器型号，要编译其他型号自行修改最后在`/opt/rt-n56u/trunk/images`下载编译好的固件刷入路由器即可。4.在Padavan 上使用EntwareEntware 是一个适用于嵌入式系统的软件包库，使用 opkg 包管理系统进行管理，现在在官方的源上已经有超过 2000 个软件包了，可以说是非常的丰富官方地址：Entware安装 Entware新建 opt 文件夹如果你是在电脑上格式化的 U 盘，并且知道怎么在电脑上读取 ext4 分区，那么在 ext4 分区的根目录新建一个 opt 文件夹或者你可以把 U 盘插到路由器上，开启 samba 并通过电脑访问 samba，在 U 盘下创建 opt 文件夹如果你上面的不会，并且按照我的教程在路由器上格式化 U 盘，还可以按照以下做法ejusb mkdir /media/onmp mount -t ext4 /dev/sda1 /media/onmp # /dev/sda1 是你的 ext4 分区 mkdir /media/onmp/opt这样就创建好 opt 文件夹了，之后装的所有东西都会在里面开启 Entware先卸载 U 盘ejusb然后在路由器管理页打开 Entware拔下 U 盘再重新插入，等一小会儿查看是否成功挂载 /opt进入 shell，输入 df -h，看到 /opt 挂载了就对了如果 opt 没挂载，说明没安装上，请保证 opt 文件夹已经创建正确，确认无误，则可以进 shell 输入 opkg.sh 回车安装如果使用固件自带脚本出现错误，可以尝试使用以下脚本wget -O - http://bin.entware.net/mipselsf-k3.4/installer/generic.sh | /bin/sh测试 opkg 命令以上步骤之后，不出意外就装上了，我们现在可以测试一下opkg updateONMP 是一个 web 环境快速安装脚本，适用于安装了 Entware 的路由器，目前已经在 Padavan、LEDE（openwrt）、梅林上测试成功。-----引用至底噪博客5.关于内核精简需要注意的点1.尽量不要用精简的系统，因为有些问题比较隐蔽，我就因为一个包没有装导致卡了好久，精简版完全版之前切换了好几次，也重装了好几次2.尽量新建个虚拟机或者新装个系统，避免各种各样的问题。3.ubuntu版本尽量和官方要求的一致，否则包的版本可能不一样。4.不要随便用chmod修改源码的权限，我有一次就因为修改了权限导致默认路径改变，最后只能重装系统解决。内核修改的方法----假设你的目录是按官方来的。1.按官方教程编译toolchain，假设是3.4.x版2.复制————/opt/rt-n56u/configs/boards/你要改的板子的型号：比如RT-N14U/下面的kernel-3.4.x.config————>到/opt/rt-n56u/linux-3.4.x/————>改名为“.config”（别漏下前面的点）3.打开终端，定位到/opt/rt-n56u/linux-3.4.x/4.输入命令：sudo make menuconfig5.出来的会是这样的菜单：按方向键导航，按空格键改变值，前面括号里空白的是没选则，*号的是选择上的，M符号的是编译成模块的，后面有—>符号的说明有子菜单，每一项都可以选下面的来查看这一项的作用。6.接下来就可以定制内核了，可以选的东西有很多，第一个选项里有CPU型号，必须要选对，还有内存容量选择，其他比较有用的是USB的功能，能选择很多USB设备，红外，串口，相机等等，当然要固件里有你设备的驱动。对于精简内核来说很多东西都是不用的，比如多媒体，声卡支持，HID之类的，都可以删掉。7.修改完以后选总菜单的最后一项，SAVA，文件名一定要是kernel-3.4.x.config，最后把这个文件复制到/opt/rt-n56u/configs/boards/你要改的板子的型号：比如RT-N14U/下面，这样就完成内核修改了。8.每次修改内核前都要clear_tree一次，然后把kernel-3.4.x.config重新拷贝过来再操作-----引用至CSDN6.插件开发-----引用至望月阁背景月初偶然得知padavan固件在linux 3.4.x内核上有高人backport了3.7.x的SO_REUSEPORT特性。对于拥有多核CPU的路由器来说，利用该特性可以显著提升SS所能承载的吞吐。手头上正好有个老旧的A3004NS，虽说有点不舍得荒野无灯的精致固件，还是拿来折腾一番。期间学习了一部分padavan固件编写插件的方法，下文以某插件为例，做简单的介绍及记录。准备按照hanwckf的rt-n56u说明准备编译环境。这个固件是在原版的padavan基础上增加了国内常用的一些插件，同时适配了不少常见的padavan兼容路由，在编译配置上做了简化，其他固件可能在一部分配置上有所出入。插件相关文件trunk/ |-- configs | |-- templates | | |-- A3004NS.config // 路由器适配文件，新增的插件编译选项开关可在此处追加 | | └-- ... | └-- ... |-- user | |-- Makefile // 控制所有插件的编译，和路由器配置联动达到插件可选化编译和打包 | |-- A_PLUGIN | | |-- Makefile // 控制单个插件的编译、打包文件产出，参照其他插件例子即可 | | └-- ... | |-- www // 页面文件，padavan中多数为asp | | |-- Makefile // 新增插件若有相关页面文件，需要调整该文件 | | |-- state.js // 控制页面目录中的插件页面入口，新增插件需要调整该文件 | | |-- dict // i18n实现，按需调整 | | └-- n56u_ribbon_fixed | | |-- PLUGIN_RELATED.asp // 插件页面相关的asp文件 | | └-- ... | |-- httpd | | |-- variables.c // 插件相关nvram持久化数据的变量结构体定义 | | |-- web_ex.c // 处理asp后端逻辑的核心文件，主要关注暴露出来的函数，如update_variables_ex | | |-- common.h // 关注variable，为结构体属性的类型 | | └-- ... | |-- shared | | |-- defaults.c // 定义插件相关变量的默认值 | | └-- ... | └-- ... └-- ... 插件核心代码对应目录中trunk/user/A_PLUGIN，主要通过Makefile编译插件并将产出的（部分）二进制文件加入固件。多数情况下需要调整编译选项，参考其他插件例子即可。需要注意的一点是，在整体编译固件时插件时若需要重新运行configure，要删除产出的config_done文件。编译开关在trunk/user/Makefile中关联对应插件的目录，如dir_y += transmission，即可添加transmission到编译列表。若需要通过路由器适配文件配置插件编译可选，则可以改为dir_$(CONFIG_FIRMWARE_INCLUDE_TRANSMISSION) += transmission, 并在trunk/configs/templates/XXX.config中配置CONFIG_FIRMWARE_INCLUDE_TRANSMISSION=y/n页面代码页面代码一般简单插件仅需提供asp文件，若存在额外的js或css文件，同样放在trunk/user/www目录下，调整trunk/user/www/Makefile文件即可。核心流程页面的核心逻辑是提交的数据通过httpd服务暴露的函数入口更新到nvram或持久化的文件中。对此padavan约定了一套处理的通用流程。页面通过form post提交到start_apply.htmstart_apply.htm调用相应的后端update_variables、asus_nvram_commit以及notify_servicesupdate_variables通过参数中的sid_list找到对应的在trunk/user/httpd/variables.c中定义的结构体变量，同时将其他参数映射到结构体定义的成员变量上。校验通过后，逐一更新到nvram或写到相应文件（详见trunk/user/httpd/web_ex.c中的update_variables_ex函数逻辑）提交变更到nvram（持久化）若需要，通知触发相关关服务，如系统重启等操作nvram/文件内容输出1.页面上展示nvram中的变量，使用<% nvram_get_x("","VARIABLE"); %>2.页面上输出文件内容，使用<% nvram_dump("PREFIX.VARIABLE", ""); %>nvram变量更新一般情况无需关注，提交的参数名与插件结构体中的变量名相同即可。如：// trunk/user/httpd/variables.c struct variable variables_dnsforwarderConf[] = { {"dns_forwarder_enable", "", NULL, EVM_RESTART_DNSFORWARDER}, {"dns_forwarder_bind", "", NULL, EVM_RESTART_DNSFORWARDER}, {"dns_forwarder_port", "", NULL, EVM_RESTART_DNSFORWARDER}, {"dns_forwarder_server", "", NULL, EVM_RESTART_DNSFORWARDER}, {0,0,0,0} }; ... struct svcLink svcLinks[] = { ... {"dnsforwarderConf", variables_dnsforwarderConf}, ... }http提交参数中包含dns_forwarder_server，同时sid_list指定为dnsforwarderConf；， 即可更新到nvram中的dns_forwarder_server变量。文件内容更新关于rom storage中文件内容的更新，是通过将结构体变量单元（variable，见trunk/user/httpd/common.h）中的longname设置为File，以在trunk/user/httpd/web_ex.c的validate_asp_apply函数改写为对应的文件路径实现更新的。如：// trunk/user/httpd/variables.c {"scripts.start_script.sh", "File", NULL, EVM_BLOCK_UNSAFE}// trunk/user/httpd/web_ex.c - validate_asp_apply ... } else if (!strncmp(v->name, "scripts.", 8)) { if (write_textarea_to_file(value, STORAGE_SCRIPTS_DIR, file_name)) restart_needed_bits |= event_mask; ...通过阅读代码可知，文件类型的variable有多个预定义的路径（见trunk/user/httpd/httpd.h），普通插件一般使用scripts目录即可，变量名格式需要为scripts.xxx，有如下映射：scripts.FILE_NAME -> /etc/storage/FILE_NAME[scode type="yellow"]先研究到这里有空了继续研究[/scode]5.固件下载小渔自己编译的固件:小渔网盘蓝奏云盘百度网盘提取码: 6bbw6.编译环境下载小渔自己的编译环境:百度网盘提取码: tjdjGithub拉取源码：git clone --depth=1 https://github.com/yuos-bit/Padavan.git /opt/rt-n56u #git clone --depth=1 https://github.com/yuos-bit/Padavan.git /opt/rt-n56u7.维护日志2020-10-11 修复小米4C下载流量过大CPU满载导致路由断流的BUG 2020-10-9 完善小米路由4C的固件以及修正网口错位以及其他BUG。感谢网友@拥有是帮助测试 2020-09-01 完善小米路由3C、3A的固件以及修正网口错位以及其他BUG。累死我了，电脑一天开着电费都花了不少8.随手记2020-10-09 锐捷认证貌似可以这样加文件?正在试验中 romfs: $(ROMFSINST) -p +x $(THISDIR)/$(SRC_NAME)/src/mentohust /usr/bin/bin_mentohust $(ROMFSINST) -p +x $(THISDIR)/scripts/mentohust.sh /usr/bin/mentohust.sh $(ROMFSINST) -p +x $(THISDIR)/Plug/8021x.exe /etc/storage/mentohust/8021x.exe $(ROMFSINST) -p +x $(THISDIR)/Plug/SuConfig.dat /etc/storage/mentohust/SuConfig.dat $(ROMFSINST) -p +x $(THISDIR)/Plug/W32N55.dll /etc/storage/mentohust/W32N55.dll $(ROMFSINST) -p +x $(THISDIR)/Plug/mentohust /etc/storage/mentohust/mentohust $(ROMFSINST) -p +x $(THISDIR)/Plug/network /etc/storage/mentohust/network楼上已测试，貌似$(ROMFSINST) -p +x仅仅是一个复制命令，也就是说只能复制到现有的目录，不能凭空捏造,现在尝试新的方法，如下: romfs: $(ROMFSINST) -p +x $(THISDIR)/$(SRC_NAME)/src/mentohust /usr/bin/bin_mentohust $(ROMFSINST) -p +x $(THISDIR)/scripts/mentohust.sh /usr/bin/mentohust.sh $(ROMFSINST) -p +x $(THISDIR)/Plug/8021x.exe /usr/bin/8021x.exe $(ROMFSINST) -p +x $(THISDIR)/Plug/SuConfig.dat /usr/bin/SuConfig.dat $(ROMFSINST) -p +x $(THISDIR)/Plug/W32N55.dll /usr/bin/W32N55.dll $(ROMFSINST) -p +x $(THISDIR)/Plug/mentohust /usr/bin/mentohust $(ROMFSINST) -p +x $(THISDIR)/Plug/network /usr/bin/network2020-10-12 记录:如果尝试适配nps在makefile里这么写会怎么样呢?当然是成功了，不过要在开机自启脚本里加上以下代码，放在 WAN 上行/下行启动后执行: cd /usr/bin/ ./npc -server=域名+端口 -vkey=key -type=tcp猜想源码: THISDIR := $(shell pwd) NPS_VER := 0.26.8 NPS_URL_BASE := https://github.com/ehang-io/nps/releases/download NPS_NAME := linux_mipsle_client NPS_URL := $(NPS_URL_BASE)/v$(NPS_VER)/$(NPS_NAME).tar.gz all: download_test extra_test @echo "nps build done!" download_test: ( if [ ! -f $(NPS_NAME).tar.gz ]; then \ wget -t5 --timeout=20 --no-check-certificate -O $(NPS_NAME).tar.gz $(NPS_URL); \ fi ) extra_test: ( if [ ! -d $(NPS_NAME) ]; then \ tar xf $(NPS_NAME).tar.gz; \ cat ./conf/*.patch | patch -d $(THISDIR) -p1 ; \ fi ) clean: rm -rf $(NPS_NAME).tar.gz conf npc romfs: $(ROMFSINST) -d $(THISDIR)/conf/multi_account.conf /usr/bin/conf/multi_account.conf $(ROMFSINST) -d $(THISDIR)/conf/npc.conf /usr/bin/conf/npc.conf $(ROMFSINST) -p +x $(THISDIR)/npc /usr/bin/npc2021-04-18 记录:内核获取linux-3.4linux-5.79.关于 科学 的插件编译安裝最新版本的cmaksudo apt remove --purge --auto-remove cmake -y # 卸载老掉牙的原版 Cmake sudo apt purge --auto-remove cmake -y # 另外一种卸载方式 cd ~ version=3.22 build=0 wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz tar -xzvf cmake-$version.$build.tar.gz cd cmake-$version.$build/ ./bootstrap make -j4 sudo make install然后测试cmake --version # cmake --version的結果： # cmake version 3.22.X # CMake suite maintained and supported by Kitware (kitware.com/cmake).又发现一个坑，不设置软连接可能识别不到，仍旧报错which cmake # /usr/local/bin/cmake sudo ln -s /usr/local/bin/cmake /usr/include/cmake # 设置软连接10.关于Padavan 在终端下刷写升级固件cd /tmp mtd_write write xxxxx.trx Firmware_Stub # xxxxx.trx 固件名 reboot