Code Monkey home page Code Monkey logo

openwrt-ax1800's Introduction

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

基于 lean 的 IPQ60xx 仓库

注意

  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 stable --single-branch https://github.com/zheshifandian/openwrt-ax1800
    cd openwrt-ax1800
    ./scripts/feeds update -a && ./scripts/feeds install -a
    make menuconfig
  4. 下载 dl 库,编译固件 (-j 后面是线程数,为便于排除错误推荐用单线程)

    make download -j8
    make -j4 tools/compile
    make -j4 toolchain/compile
    make -j1 V=99
  5. 二次编译:

    cd openwrt-ax1800
    git fetch -all && git reset --hard origin/stable
    ./scripts/feeds update -a && ./scripts/feeds install -a
    make defconfig
    make -j1 V=99
  6. 如果需要重新配置:

    rm -rf .config
    make menuconfig
    make -j4 prepare
    make -j1 V=99
  7. 编译完成后输出路径:bin/targets

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

你可以自由使用,但源码编译二次发布请注明 lean 的 GitHub 仓库

openwrt-ax1800's People

Contributors

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

Watchers

 avatar  avatar

openwrt-ax1800's Issues

编译btrfs模块出错,能否修复,谢谢

环境:
gcc --version
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

lsb_release -ra
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic

具体错误日志如下:
fs/btrfs/volumes.c:111:11: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
const u64 const btrfs_raid_group[BTRFS_NR_RAID_TYPES] = {
^~~~~
cc1: all warnings being treated as errors
make[7]: *** [fs/btrfs/volumes.o] Error 1
scripts/Makefile.build:337: recipe for target 'fs/btrfs/volumes.o' failed
scripts/Makefile.build:573: recipe for target 'fs/btrfs' failed
make[6]: *** [fs/btrfs] Error 2
make[5]: *** [fs] Error 2
Makefile:971: recipe for target 'fs' failed
make[5]: Leaving directory '/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq60xx_generic/linux-4.4.60'
make[4]: *** [/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq60xx_generic/linux-4.4.60/.modules] Error 2
Makefile:23: recipe for target '/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq60xx_generic/linux-4.4.60/.modules' failed
make[4]: Leaving directory '/openwrt/target/linux/ipq60xx'
make[3]: *** [compile] Error 2
Makefile:13: recipe for target 'compile' failed
make[3]: Leaving directory '/openwrt/target/linux'
time: target/linux/compile#31.96#8.38#65.77
make[2]: *** [target/linux/compile] Error 2
target/Makefile:23: recipe for target 'target/linux/compile' failed

另外:xfs ksmbd这2个文件系统模块也是类似错误

无线列表扫描不能用

This repository is a mirror of our main repo at https://git.openwrt.org/openwrt/openwrt.git
It is for reference only and is not active for checkins or for reporting issues.

All issues should be reported at: https://bugs.openwrt.org

Please do not open any NEW issue here - we will be closing the Github issues
capability in the near future.

We will continue to accept Pull Requests here as described in the repo description.

Close this now and click here: https://bugs.openwrt.org

Thankyou for your co-operation.

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.