GithubHelp home page GithubHelp logo

hanwckf / padavan-4.4 Goto Github PK

View Code? Open in Web Editor NEW
287.0 9.0 1.0K 365.4 MB

Makefile 0.56% Shell 0.66% M4 0.12% Roff 0.63% C 95.69% Lex 0.01% Yacc 0.02% CSS 0.12% Dockerfile 0.01% Arc 0.01% C++ 0.23% Perl 0.20% Awk 0.01% Assembly 1.68% CMake 0.01% HTML 0.06% Coq 0.01% Verilog 0.01% sed 0.01% Batchfile 0.01%

padavan-4.4's Introduction

padavan-4.4

This project is based on original rt-n56u with latest mtk 4.4.198 kernel, which is fetch from D-LINK GPL code.

  • Features

    • Based on 4.4.198 Linux kernel
    • Support MT7621 based devices
    • Support MT7615D/MT7615N/MT7915D wireless chips
    • Support raeth and mt7621 hwnat with legency driver
    • Support qca shortcut-fe
    • Support IPv6 NAT based on netfilter
    • Support WireGuard integrated in kernel
    • Support fullcone NAT (by Chion82)
    • Support LED&GPIO control via sysfs
  • WIP

    • 802.11kvr and mtkiappd roam functions
    • IPTV related functions
  • Supported devices

    • CR660x
    • JCG-Q20
    • JCG-AC860M
    • JCG-836PRO
    • JCG-Y2
    • DIR-878
    • DIR-882
    • K2P
    • K2P-USB
    • NETGEAR-BZV
    • MR2600
    • MI-R3P
    • XY-C1
  • Compilation step

    • Install dependencies
      # Debian/Ubuntu
      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
      
      # Archlinux/Manjaro
      sudo pacman -Syu --needed git base-devel cmake gperf ncurses libmpc \
              gmp python-docutils vim rpcsvc-proto fakeroot cpio help2man
      
      # Alpine
      sudo apk add make gcc g++ cpio curl wget nano xxd kmod \
          pkgconfig rpcgen fakeroot ncurses bash patch \
          bsd-compat-headers python2 python3 zlib-dev \
          automake gettext gettext-dev autoconf bison \
          flex coreutils cmake git libtool gawk sudo
    • Clone source code
      git clone https://github.com/hanwckf/padavan-4.4.git
    • Prepare toolchain
      cd padavan-4.4/toolchain-mipsel
      
      # (Recommend) Download prebuilt toolchain for x86_64 or aarch64 host
      ./dl_toolchain.sh
      
      # or build toolchain with crosstool-ng
      # ./build_toolchain
    • Modify template file and start compiling
      cd padavan-4.4/trunk
      
      # (Optional) Modify template file
      # nano configs/templates/K2P.config
      
      # Start compiling
      fakeroot ./build_firmware_modify K2P
      
      # To build firmware for other devices, clean the tree after previous build
      ./clear_tree
  • Manuals

    • Controlling GPIO and LEDs via sysfs
    • How to use NAND RWFS partition
    • How to use IPv6 NAT and fullcone NAT
    • How to add new device support with device tree

padavan-4.4's People

Contributors

dur-randir avatar hanwckf avatar juhosg avatar legale avatar padavanonly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

padavan-4.4's Issues

How to solve these errors in system log.

Apr 30 13:14:16 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=2) ps state(5) is not APPS_RETRIEVE_START_PS
Apr 30 13:40:06 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=2) ps state(0) is not APPS_RETRIEVE_START_PS
Apr 30 15:35:10 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(5) is not APPS_RETRIEVE_START_PS
Apr 30 15:49:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(0) is not APPS_RETRIEVE_START_PS
Apr 30 15:50:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 15:52:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 15:55:10 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 15:59:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 16:06:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 16:09:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(0) is not APPS_RETRIEVE_START_PS
Apr 30 16:15:50 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 16:27:55 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 16:38:15 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 16:54:15 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS
Apr 30 17:42:40 kernel: ---->CmdPsRetrieveStartRspFromCR Entry(wcid=8) ps state(1) is not APPS_RETRIEVE_START_PS

如何成功开启路由器DNS/DoH?

如图:
image
不明白为什么是启用dns-forwarder后,dns-forwarder运行状态是已停止呢,是要在某个设置选项里开启吗?
固件版本为:3.4.3.9-099

请问一下如何把jcg q20的bootloader mtd相关替换成cr660x的

https://www.right.com.cn/FORUM/thread-5054403-1-1.html 这篇帖子中对已经安装了cr660x的pb-boot的jcg q20的padavan3.4固件进行了bootloader的适配,但是在padavan4.4中没有找过ralink mtd相关的设置选项,请问是对于现在使用cr660x的bootloader固件进行启动的用户,可否提供一个jcg q20 cr660x的bootloader版本的固件或者说明一下个人可以在哪里进行修改吗,谢谢。

通过无线突然上不了网

内核里一直在打印这种错误
Feb 18 17:11:43 kernel: AndesMTPciKickOutCmdMsg FreeNum == 0 (TxCpuIdx = 127, TxDmaIdx = 0, TxSwFreeIdx = 0)
Feb 18 17:11:43 kernel: kick out msg fail

自定义增加https,workflows编译会报错

H大,你好
用workflows编译K2P,选的HTTPS,编译就会报错,能不能看看哪里出问题了
`======================= BUILD_CI K2P =======================

HOSTLD scripts/dtc/dtc
HOSTCC scripts/genksyms/genksyms.o

libtoolize: copying file 'm4/lt~obsolete.m4'

  • aclocal -I m4
    ====================================================================================================
    checking getopt.h usability... yes
    checking getopt.h presence...
    ====================================================================================================
    /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/liblzma/api -I../../src/liblzma/common -I../../src/liblzma/check -I../../src/liblzma/lz -I../../src/liblzma/rangecoder -I../../src/liblzma/lzma -I../../src/liblzma/delta -I../../src/liblzma/simple -I../../src/common -DTUKLIB_SYMBOL_PREFIX=lzma_ -pthread -fvisibility=hidden -Wall -Wextra -Wvla -Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -std=c99 -MT liblzma_la-crc64_table.lo -MD -MP -MF .deps/liblzma_la-crc64_table.Tpo -c -o liblzma_la-crc64_table.lo test -f 'check/crc64_table.c' || echo './'check/crc64_table.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/liblzma/api -I../../src/liblzma/common -I../../src/liblzma/check -I../../src/liblzma/lz -I../../src/liblzma/rangecoder -I../../src/liblzma/lzma -I../../src/liblzma/delta -I../../src/liblzma/simple -I../../src/common -DTUKLIB_SYMBOL_PREFIX=lzma_ -pthread -fvisibility=hidden -Wall -Wextra -Wvla -Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -std=c99 -MT liblzma_la-crc64_table.lo -MD -MP -MF .deps/liblzma_la-crc64_table.Tpo -c check/crc64_table.c -o liblzma_la-crc64_table.o
    ====================================================================================================
    CHK scripts/mod/devicetable-offsets.h
    CHK include/generated/timeconst.h
    ====================================================================================================
    CC kernel/fork.o
    CC arch/mips/kernel/module.o
    ====================================================================================================
    CC mm/vmscan.o
    CC kernel/pid.o
    ====================================================================================================
    CC kernel/irq/manage.o
    CC mm/mmap.o
    ====================================================================================================
    CC kernel/sched/core.o
    CC kernel/rcu/tree.o
    ====================================================================================================
    CC kernel/time/tick-sched.o
    CC kernel/time/timekeeping_debug.o
    ====================================================================================================
    CC fs/select.o
    CC crypto/proc.o
    ====================================================================================================
    CC fs/utimes.o
    CC [M] crypto/cmac.o
    ====================================================================================================
    CC [M] fs/nls/nls_cp437.o
    CC [M] fs/nls/nls_cp936.o
    ====================================================================================================
    CC block/ioprio.o
    CC fs/proc/proc_sysctl.o
    ====================================================================================================
    CC fs/eventfd.o
    CC fs/locks.o
    ====================================================================================================
    CC net/bridge/br.o
    CC drivers/clk/clk-mux.o
    ====================================================================================================
    LD drivers/media/built-in.o
    CC drivers/mfd/syscon.o
    ====================================================================================================
    CC drivers/net/Space.o
    CC drivers/net/loopback.o
    ====================================================================================================
    CC drivers/net/ethernet/raeth/raether_hwlro.o
    CC drivers/net/ethernet/raeth/ra_dbg_hwlro.o
    ====================================================================================================
    CC drivers/net/ethernet/raeth/rtl8367c/vlan.o
    CC net/core/dev_ioctl.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/ap/ap_mlme.o
    CC net/ipv4/ip_forward.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/ap/ap_vow.o
    CC net/ipv4/tcp_output.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/common/cmm_mat_ipv6.o
    CC net/ipv4/udp.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/hw_ctrl/hdev_ctrl.o
    CC net/ipv4/fib_semantics.o
    ====================================================================================================
    }
    ^
    ====================================================================================================
    CC net/ipv4/netfilter/nf_nat_masquerade_ipv4.o
    CC net/ipv4/netfilter/ip_tables.o
    ====================================================================================================
    CC net/ipv6/anycast.o
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/security/cmm_wep.o
    ====================================================================================================
    CC net/ipv6/udp.o
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/mgmt/mgmt_dev.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/embedded/mgmt/mgmt_entrytb.o
    CC net/ipv6/inet6_connection_sock.o
    ====================================================================================================
    CC net/ipv6/netfilter/ip6t_REJECT.o
    CC [M] net/ipv6/netfilter/ip6table_mangle.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/mcu/fwdl_mt.o
    CC net/ipv6/ip6_checksum.o
    ====================================================================================================
    CC net/l2tp/l2tp_netlink.o
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/rate_ctrl/ra_ctrl_mt_drv.o
    ====================================================================================================
    CC net/netfilter/nf_sockopt.o
    CC net/netfilter/nfnetlink.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/os/linux/rt_linux.o
    CC net/netfilter/nf_conntrack_extend.o
    ====================================================================================================
    CC [M] drivers/net/wireless/mediatek/mt7615_ap/../mt7615/ate/testmode_ioctl.o
    CC net/netfilter/xt_tcpudp.o
    ====================================================================================================
    CC drivers/of/of_net.o
    CC net/netfilter/xt_devgroup.o
    ====================================================================================================
    CC drivers/pci/setup-bus.o
    CC net/netfilter/xt_sctp.o
    ====================================================================================================
    CC drivers/tty/tty_io.o
    CC [M] net/netfilter/nf_conntrack_pptp.o
    ====================================================================================================
    LD drivers/watchdog/built-in.o
    LD drivers/built-in.o
    ====================================================================================================
    CC [M] net/sched/sch_ingress.o
    CC lib/crc16.o
    ====================================================================================================
    CC lib/irq_regs.o
    CC net/wireless/wext-core.o
    ====================================================================================================
    CC arch/mips/math-emu/sp_fmax.o
    CC arch/mips/math-emu/dsemul.o
    ====================================================================================================
    CC net/ipv6/netfilter/ip6t_MASQUERADE.mod.o
    CC net/ipv6/netfilter/ip6t_NPT.mod.o
    ====================================================================================================
    Configuring OpenSSL version 1.1.1k (0x101010bfL) for linux-mips32
    Using os-specific seed configuration
    ====================================================================================================
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF crypto/buffer/buffer.d.tmp -MT crypto/buffer/buffer.o -c -o crypto/buffer/buffer.o crypto/buffer/buffer.c
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF crypto/camellia/camellia.d.tmp -MT crypto/camellia/camellia.o -c -o crypto/camellia/camellia.o crypto/camellia/camellia.c
    ====================================================================================================
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF crypto/engine/tb_cipher.d.tmp -MT crypto/engine/tb_cipher.o -c -o crypto/engine/tb_cipher.o crypto/engine/tb_cipher.c
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF crypto/engine/tb_dh.d.tmp -MT crypto/engine/tb_dh.o -c -o crypto/engine/tb_dh.o crypto/engine/tb_dh.c
    ====================================================================================================
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF crypto/pkcs7/pk7_lib.d.tmp -MT crypto/pkcs7/pk7_lib.o -c -o crypto/pkcs7/pk7_lib.o crypto/pkcs7/pk7_lib.c
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF crypto/pkcs7/pk7_mime.d.tmp -MT crypto/pkcs7/pk7_mime.o -c -o crypto/pkcs7/pk7_mime.o crypto/pkcs7/pk7_mime.c
    ====================================================================================================
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF ssl/bio_ssl.d.tmp -MT ssl/bio_ssl.o -c -o ssl/bio_ssl.o ssl/bio_ssl.c
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -fPIC -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -DOPENSSLDIR=""/etc/ssl"" -DENGINESDIR=""/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib/engines-1.1"" -DNDEBUG -MMD -MF ssl/d1_lib.d.tmp -MT ssl/d1_lib.o -c -o ssl/d1_lib.o ssl/d1_lib.c
    ====================================================================================================
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -Iapps -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DNDEBUG -MMD -MF apps/asn1pars.d.tmp -MT apps/asn1pars.o -c -o apps/asn1pars.o apps/asn1pars.c
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -I. -Iinclude -Iapps -mabi=32 -mips2 -Wa,--noexecstack -mips32r2 -march=mips32r2 -mtune=1004kc -O3 -mips32r2 -march=mips32r2 -mtune=1004kc -fomit-frame-pointer -pipe -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Dlinux -D__linux__ -Dunix -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DOPENSSL_USE_IPV6=1 -DOPENSSL_PREFER_CHACHA_OVER_GCM -DNDEBUG -MMD -MF apps/ca.d.tmp -MT apps/ca.o -c -o apps/ca.o apps/ca.c
    ====================================================================================================
    --build=x86_64-pc-linux-gnu ;
    )
    ====================================================================================================
    checking whether to build static libraries... yes
    configure: creating ./config.status
    ====================================================================================================
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    ====================================================================================================
    | ^~~~~~
    CC applets/applets.o
    ====================================================================================================
    CC modutils/lsmod.o
    CC libbb/inet_cksum.o
    ====================================================================================================
    CC util-linux/volume_id/get_devname.o
    CC util-linux/volume_id/util.o
    ====================================================================================================
    checking for sysroot... no
    checking for a working dd...
    ====================================================================================================
    CC libxt_AUDIT.o
    CC libxt_CHECKSUM.o
    ====================================================================================================
    mv -f .deps/xtables_legacy_multi-ip6tables-standalone.Tpo .deps/xtables_legacy_multi-ip6tables-standalone.Po
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR="/usr/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include -I.. -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/linux-4.4.x/include/uapi -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/linux-4.4.x/include -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/linux-4.4.x/include/uapi -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/linux-4.4.x/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -DALL_INCLUSIVE -DENABLE_IPV4 -DENABLE_IPV6 -Os -fomit-frame-pointer -pipe -Dlinux -D__linux__ -Dunix -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -ffunction-sections -fdata-sections -ffunction-sections -fdata-sections -MT xtables_legacy_multi-ip6tables.o -MD -MP -MF .deps/xtables_legacy_multi-ip6tables.Tpo -c -o xtables_legacy_multi-ip6tables.o test -f 'ip6tables.c' || echo './'ip6tables.c
    ====================================================================================================
    mv ebtables-standalone.c_ ebtables-standalone.c ;
    mv include/ebtables_u.h_ include/ebtables_u.h
    ====================================================================================================
    Build script is exited
    cp ebtables-standalone.c ebtables-standalone.c_ ;
    cp include/ebtables_u.h include/ebtables_u.h_ ;
    sed "s/ main(/ pseudomain(/" ebtables-standalone.c > ebtables-standalone.c__ ;
    mv ebtables-standalone.c__ ebtables-standalone.c ;
    printf "\nint main(int argc, char argv[])\n{\n " >> ebtables-standalone.c ;
    for arg in standard ip pkttype ip6
    ; do
    sed s/init/${arg}init/ extensions/ebt${arg}.c > extensions/ebt_${arg}.c_ ;
    mv extensions/ebt_${arg}.c_ extensions/ebt_${arg}.c ;
    printf "\t%s();\n" ${arg}init >> ebtables-standalone.c ;
    printf "extern void %s();\n" ${arg}init >> include/ebtables_u.h ;
    done ;
    for arg in filter broute
    ; do
    sed s/init/t${arg}init/ extensions/ebtable${arg}.c > extensions/ebtable${arg}.c
    ;
    mv extensions/ebtable
    ${arg}.c
    extensions/ebtable
    ${arg}.c ;
    printf "\t%s();\n" t${arg}init >> ebtables-standalone.c ;
    printf "extern void %s();\n" t${arg}init >> include/ebtables_u.h ;
    done ;
    printf "\n\tpseudomain(argc, argv);\n\treturn 0;\n}\n" >> ebtables-standalone.c ;
    /home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -Os -fomit-frame-pointer -pipe -Dlinux -D__linux
    -Dunix -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -Os -Wall -Wunused -ffunction-sections -fdata-sections -L/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/lib -Wl,--gc-sections -DPROGVERSION="2.0.10-4" -DPROGNAME="ebtables" -DPROGDATE="December\ 2011" -D_PATH_ETHERTYPES="/etc/ethertypes" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE="/var/lib/ebtables/lock" -DLOCKDIR="/var/lib/ebtables/" -o static extensions/ebt_ip.c extensions/ebt_standard.c extensions/ebt_pkttype.c extensions/ebt_ip6.c extensions/ebtable_broute.c extensions/ebtable_filter.c ebtables.c communication.c ebtables-standalone.c getethertype.c libebtc.c useful_functions.c -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/mipsel-linux-uclibc/sysroot/usr/include -Iinclude ;
    for arg in standard ip pkttype ip6
    ; do
    sed "s/ .
    init/ init/" extensions/ebt${arg}.c > extensions/ebt${arg}.c_ ;
    mv extensions/ebt_${arg}.c_ extensions/ebt_${arg}.c ;
    done ;
    for arg in filter broute
    ; do
    sed "s/ .*init/ init/" extensions/ebtable${arg}.c > extensions/ebtable${arg}.c_ ;
    mv extensions/ebtable_${arg}.c_ extensions/ebtable_${arg}.c ;
    done ;
    mv ebtables-standalone.c_ ebtables-standalone.c ;
    mv include/ebtables_u.h_ include/ebtables_u.h
    communication.c: In function 'store_counters_in_file':
    communication.c:259:58: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int size = repl->nentries * sizeof(struct ebt_counter), ret = 0;
    ^~~
    make[3]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/ebtables/ebtables-2.0.10-4'
    make[2]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/ebtables'
    make[2]: Entering directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2'
    make -C iproute2-5.12.0 V=1
    make[3]: Entering directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0'

lib
make[4]: Entering directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0/lib'
/home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR="/usr/lib" -DCONFDIR="/etc/iproute2" -DNETNS_RUN_DIR="/var/run/netns" -DNETNS_ETC_DIR="/etc/netns" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -fomit-frame-pointer -pipe -Dlinux -D__linux__ -Dunix -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -DHAVE_SETNS -DHAVE_LIBMNL -fPIC -Dlinux -mips32r2 -march=mips32r2 -mtune=1004kc -c -o libgenl.o libgenl.c
/home/runner/work/padavan-4.4/padavan-4.4/trunk/../toolchain-mipsel/toolchain-4.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR="/usr/lib" -DCONFDIR="/etc/iproute2" -DNETNS_RUN_DIR="/var/run/netns" -DNETNS_ETC_DIR="/etc/netns" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -fomit-frame-pointer -pipe -Dlinux -D__linux__ -Dunix -DEMBED -I/home/runner/work/padavan-4.4/padavan-4.4/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -DHAVE_SETNS -DHAVE_LIBMNL -fPIC -Dlinux -mips32r2 -march=mips32r2 -mtune=1004kc -c -o libnetlink.o libnetlink.c
libnetlink.c:48:10: fatal error: libmnl/libmnl.h: No such file or directory
#include <libmnl/libmnl.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [../config.mk:29: libnetlink.o] Error 1
make[4]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0/lib'
make[3]: *** [Makefile:65: all] Error 2
make[3]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2/iproute2-5.12.0'
make[2]: *** [Makefile:6: all] Error 2
make[2]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user/iproute2'
make[1]: *** [Makefile:215: all] Error 2
make[1]: Leaving directory '/home/runner/work/padavan-4.4/padavan-4.4/trunk/user'
make: *** [Makefile:196: user_only] Error 2
Error: Process completed with exit code 1.`

编译配置文件
`### Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628)
CONFIG_VENDOR=Ralink
CONFIG_PRODUCT=MT7621

Target ProductID (board select, max 12 symbols)

CONFIG_FIRMWARE_PRODUCT_ID="K2P"

Linux kernel and toolchain

CONFIG_FIRMWARE_INCLUDE_SFE=y

CONFIG_LINUXDIR=linux-4.4.x

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

Linux kernel configuration

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

Enable IPv6 support

CONFIG_FIRMWARE_ENABLE_IPV6=y

Enable USB support

CONFIG_FIRMWARE_ENABLE_USB=n

Enable FAT/FAT32 filesystem support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_FAT=n

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

CONFIG_FIRMWARE_ENABLE_EXFAT=n

Enable EXT2 filesystem support. ~0.1MB

CONFIG_FIRMWARE_ENABLE_EXT2=n

Enable EXT3 filesystem support. ~0.2MB

CONFIG_FIRMWARE_ENABLE_EXT3=n

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

CONFIG_FIRMWARE_ENABLE_EXT4=n

Enable XFS filesystem support. ~0.6MB

CONFIG_FIRMWARE_ENABLE_XFS=n

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

CONFIG_FIRMWARE_ENABLE_FUSE=n

Enable swap files/partitions support. ~0.05MB

CONFIG_FIRMWARE_ENABLE_SWAP=n

Include UVC camera modules. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_UVC=n

Include USB-HID modules. ~0.2MB

CONFIG_FIRMWARE_INCLUDE_HID=n

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

CONFIG_FIRMWARE_INCLUDE_SERIAL=n

Include USB-Audio modules ~0.46MB

CONFIG_FIRMWARE_INCLUDE_AUDIO=n

Include XFRM (IPsec) modules & iptables extension ~ 0.2MB

CONFIG_FIRMWARE_INCLUDE_XFRM=n

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=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=n

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=n

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

CONFIG_FIRMWARE_INCLUDE_U2EC=n

Include "tcpdump" utility. ~0.6MB

CONFIG_FIRMWARE_INCLUDE_TCPDUMP=n

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

CONFIG_FIRMWARE_INCLUDE_HDPARM=n

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

CONFIG_FIRMWARE_INCLUDE_PARTED=n

Include SMB3.6 (and WINS) server. ~1.5MB

CONFIG_FIRMWARE_INCLUDE_SMBD=n

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=n

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. openssl ~1.2MB

CONFIG_FIRMWARE_INCLUDE_HTTPS=y

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

CONFIG_FIRMWARE_INCLUDE_SFTP=n

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 StrongSwan. XFRM modules ~0.2MB, strongswan ~0.7MB

CONFIG_FIRMWARE_INCLUDE_SSWAN=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=y

Include xUPNPd IPTV mediaserver. ~0.3MB

CONFIG_FIRMWARE_INCLUDE_XUPNPD=n

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=n

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=n

Include Aria2 WEB control. ~0.7MB

CONFIG_FIRMWARE_INCLUDE_ARIA_WEB_CONTROL=n

CONFIG_FIRMWARE_INCLUDE_CURL=n

CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT=n

CONFIG_FIRMWARE_INCLUDE_GDUT_DRCOM=n

CONFIG_FIRMWARE_INCLUDE_DOGCOM=n

CONFIG_FIRMWARE_INCLUDE_MINIEAP=n

CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_SERVER=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD=n

CONFIG_FIRMWARE_INCLUDE_VLMCSD=n

CONFIG_FIRMWARE_INCLUDE_TTYD=n

CONFIG_FIRMWARE_INCLUDE_LRZSZ=n

CONFIG_FIRMWARE_INCLUDE_HTOP=n

CONFIG_FIRMWARE_INCLUDE_NANO=n

CONFIG_FIRMWARE_INCLUDE_IPERF3=n

CONFIG_FIRMWARE_INCLUDE_DUMP1090=n

CONFIG_FIRMWARE_INCLUDE_RTL_SDR=n

CONFIG_FIRMWARE_INCLUDE_MTR=n

CONFIG_FIRMWARE_INCLUDE_SOCAT=n

CONFIG_FIRMWARE_INCLUDE_SRELAY=n

CONFIG_FIRMWARE_INCLUDE_MENTOHUST=n

CONFIG_FIRMWARE_INCLUDE_FRPC=n

CONFIG_FIRMWARE_INCLUDE_FRPS=n

CONFIG_FIRMWARE_INCLUDE_WIREGUARD=n`

通过无线中继后掉速厉害有办法解决不

有两个K2P路由都刷这个固件,一个K2P设置为AP模式,网口插在上级软路由上。 第二个K2P通过无线中继另一个K2P, 电脑手机等无线设备连接第二个k2p,无线下载速度只能达到8M/s左右的速度,有办法解决不。

关于R6800(BZV系列)固件

大佬,我发现编译的R6800固件掉电重启会无法进入系统(直接上救砖工具的
您手上可能没有R6800这款机器
期待你优化配置文件,我很乐意进行测试,并反馈问题

K2P,nf_conntrack模块报错后有几率死机

用在线IPv6端口扫描器和防火墙测试仪后日志报错:
kernel: nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
之后用qBittorrent之类的P2P软件有几率死机,云编译的K2P_nano 4.4.3.9-100_ff77acc

mt7621 76x2 5G单线程下行速度异常

iperf3测试
2.4g 上行和下行 单线程和多线程均正常
5g上行测试 单线程和多线程全部正常300Mbits/s左右
5g下行测试 单线程1-3Mbits/s 但是多线程正常300Mbits/s左右

请问如何调整/etc/storage大小?(无法按照3.4内核的方法调整)

configs/boards/K2P/kernel-4.4.x.config 文件里已经没有CONFIG_MTD_STORE_PART_SIZ=变量。
试着修改 trunk\linux-4.4.x\arch\mips\boot\dts\ralink\mt7621-spi-16m-layout.dtsi 文件中的:
partition@f80000 {
label = "Storage";
reg = <0xf80000 0x80000>; /* 512K */ -> 改为 reg = <0xf80000 0x100000>
};
编译好后cat /proc/mtd查看storage分区依旧是 0x80000,所以来请教下如何调整。

padavan-4.4的PPPoE Relay(passthrough)功能消失

防火墻 - Netfilter內的PPPoE Relay選項已經消失,特定設備需能夠自行pppoe獲取獨立IP。
經查fw_pt_pppoe設定選項仍在,但相關程式碼void set_passthrough_pppoe(int is_on)已經消失,是否能重新移植?

Simple build question 中文回答也行

Hey fellas

I'm trying to build an image with "CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_SERVER=y". I edited the template for my device (MI-R3P) under trunk/configs/templates

I tried both the hanwckf and MeIsReallyBa github repository but after booting the image (assuming there isn't a bootloop), no softethervpn server service is running on 192.168.2.1 on port 443/992/5555. And nothing about softethervpn is mentioned in the router log.

Am I missing some sort of dependency? Golang? Is the package CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD required? I just installed the packages mentioned in the repository readme.

I noticed that when compiling the image, the softether package is at least being downloaded. My image files don't seem to vary in size though. I get the same size regardless if it's selected or not in templates.

Another question is about the kernel. Seems hanwckf uses 4.4.3.9-100 and MelsReallyBa uses 4.4.198, or is there just a typo in hanwckf because I see conflicting info in the log.

firmware version: 4.4.3.9-100_ff77acc
Linux version 4.4.198 (root@debian)

Thanks for helping out. I really appreciate it.

MI-R3P: Wrong ram size

For some reason i got only half of the memory.

MI-R3P:/home/root # grep MemTotal /proc/meminfo
MemTotal:         252976 kB
MI-R3P:/home/root #

This is syslog part:

Feb 19 00:03:16 kernel: Linux version 4.4.198 (root@alpine) (gcc version 7.4.0 (crosstool-NG 1.24.0) ) #2 SMP Fri Feb 18 20:49:03 UTC 2022
Feb 19 00:03:16 kernel: SoC Type: MediaTek MT7621 ver:1 eco:3
Feb 19 00:03:16 kernel: bootconsole [early0] enabled
Feb 19 00:03:16 kernel: CPU0 revision is: 0001992f (MIPS 1004Kc)
Feb 19 00:03:16 kernel: MIPS: machine is Xiaomi R3P
Feb 19 00:03:16 kernel: Determined physical RAM map:
Feb 19 00:03:16 kernel:  memory: 1c000000 @ 00000000 (usable)
Feb 19 00:03:16 kernel:  memory: 04000000 @ 20000000 (usable)
Feb 19 00:03:16 kernel: Zone ranges:
Feb 19 00:03:16 kernel:   DMA      [mem 0x0000000000000000-0x0000000000ffffff]
Feb 19 00:03:16 kernel:   Normal   [mem 0x0000000001000000-0x000000000fffffff]
Feb 19 00:03:16 kernel: Movable zone start for each node
Feb 19 00:03:16 kernel: Early memory node ranges
Feb 19 00:03:16 kernel:   node   0: [mem 0x0000000000000000-0x000000000fffffff]
Feb 19 00:03:16 kernel: Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
Feb 19 00:03:16 kernel: On node 0 totalpages: 65536

What is wrong?

Thank you.

USB3.0口的U盘掉盘

机型:极4(HC5962)
固件;Padavan4.4
问题:断电重启后USB3.0口上插的U盘不能自动加载,USB2.0口正常,必需拔掉重新插入才能加载USB3.0口的U盘。(刷padavan3.4两个USB口是正常的)
望大佬解决下!!

单线程速度下行异常

设备MI-4 只测试了5G无线
跑科学测速speedtest多线程测速正常,但是单线程测速特别低1-2Mbps左右。一开始以为科学插件问题,后来用iperf3测速单线程下载速率也是只有2Mbps左右,但是多线程也是正常
18220C33-B36E-4DB6-A94A-8EC725F98728

小米R3P读取外置硬盘会死机

通过Samba协议,电脑手机读取外置设备,路由器会死机,后台无法登录。手机能连入路由器,能拿IP,但不能上网。写入是没有问题的。还有,小米R3P能不能增加对PB-boot支持的分区?

关于设备适配问题

我可以把之前repo中的templates和board的配置放到这边吗?是否可以兼容?感谢一直以来的贡献ww。

MT76x2

Could you add MT76x2 chips support?

k2p dts描述中led指示灯名称与网页设置中不一致,不能网页设置

在k2p.dts和k2p-usb.dts中,描述leds的部中,用的是red、yellow、power,而在web页面中,只有power能用上,red、yellow都没有对应的名称。不能用网页原有的控制方式进行控制,建议名称和网页部分一致
红、黄、蓝,分别 对应power、 wifi、wan。代码如下。17-34行

leds {
	compatible = "gpio-leds";

	stat_r {
		label = "power";
		gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
	};

	stat_y {
		label = "wifi";
		gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
	};

	stat_b {
		label = "wan";
		gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
	};
};

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.