8000 GitHub - tangyl2000/ipq6000: for zn-m2 4.4.60
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tangyl2000/ipq6000

Repository files navigation

欢迎来到 适用于 IPQ60xx 的 Openwrt 源码仓库

基于以下三个源码库:
https://github.com/zheshifandian/openwrt-ax1800
https://github.com/sdf8057/ipq6000.git
https://github.com/hxlls/ipq6000.git
我只是略作修改,感谢以上贡献者。

仅作为编译zn-m2自用固件使用,.config文件即当前的编译配置文件。
可参考另一个库zn-m2中zn-m2-hxlls.sh文件中对部分插件的更新和修改。
插件清单:
luci-app-arpbind
luci-app-autoreboot
luci-app-cpufreq
luci-app-ddns-go
luci-app-dnsfilter
luci-app-eqos
luci-app-filetransfer
luci-app-firewall
luci-app-msd_lite
luci-app-passwall
luci-app-pushbot
luci-app-ramfree
luci-app-ttyd
luci-app-turboacc
luci-app-upnp
luci-app-vlmcsd
luci-app-zerotier

注意

  1. 不要用 root 用户进行编译
  2. 国内用户编译前最好准备好梯子
  3. 默认登陆IP 192.168.1.1 密码 password

编译命令

  1. 首先装好 Linux 系统, Ubuntu 20.04 LTS

  2. 安装编译依赖

    sudo apt update -y
    sudo apt full-upgrade -y
    sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
    bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
    git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \
    libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \
    mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils \
    rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
  3. 下载源代码,更新 feeds 并选择配置

    git clone -b main --single-branch https://github.com/tangyl2000/ipq6000.git
    cd ipq6000
    ./scripts/feeds update -a && ./scripts/feeds install -a
    make menuconfig
  4. 下载 dl 库,编译固件 (-j 后面是线程数,为便于排除错误推荐用单线程)

    make download -j8
    make -j1 V=s
  5. 二次编译:

    cd ipq6000
    git fetch && git reset --hard origin/main
    ./scripts/feeds update -a && ./scripts/feeds install -a
    make defconfig
    make V=s -j$(nproc)
  6. 如果需要重新配置:

    rm -rf .config
    make menuconfig
    make V=s -j$(nproc)
  7. 编译完成后输出路径:bin/targets

本套代码不保证所有IPK可以编译成功。

About

for zn-m2 4.4.60

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 550

0