Coder Social home page Coder Social logo

sss132919 / ipq6000-zn-m2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sdf8057/ipq6000

0.0 0.0 0.0 269.82 MB

License: GNU General Public License v2.0

Shell 9.28% C++ 0.53% Python 0.30% Perl 2.19% C 64.97% Lua 0.02% Assembly 1.73% Awk 0.02% Makefile 17.82% HTML 0.22% CMake 0.01% Yacc 0.13% Lex 0.07% M4 1.22% Roff 1.46%

ipq6000-zn-m2's Introduction

适用于 IPQ6000 设备的 OpenWrt 源码仓库

注意

  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 master --single-branch https://github.com/sdf8057/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/master
    ./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

ipq6000-zn-m2's People

Contributors

juhosg avatar ffainelli avatar jow- avatar hauke avatar nbd168 avatar kaloz avatar kanjimonster avatar lperkov avatar mkresin avatar rmilecki avatar embeem avatar dedeckeh avatar blogic avatar acoul avatar wigyori avatar chunkeey avatar larsclausen avatar dangowrt avatar ldir-edb0 avatar neocturne avatar diizzyy avatar ynezz avatar stintel avatar pepe2k avatar blocktrron avatar neheb avatar rwhitby avatar acinonyx avatar yousong avatar teknoraver avatar

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.