No description
  • C 91.7%
  • Makefile 4.6%
  • Shell 1.8%
  • Perl 0.5%
  • HTML 0.4%
  • Other 0.8%
Find a file
Zitao Xiong c7b92c431e ci: step secrets via environment from_secret (Woodpecker removed step-level secrets:); plugin-release 0.3.3
Pipeline 63 errors[]: 'linter: Additional property secrets is not allowed'.
woodpecker-cli 3.17.0 lint: warning before, valid after. Build image stays
debian:bookworm (dormant repo; only a multi-hour manual OpenWrt build would
prove trixie).
2026-10-24 22:18:47 -04:00
built_firmware firmware: keep working artifacts, LFS patched images, gitignore official 2026-06-02 05:27:21 -04:00
config update: merged updates from upstream. 2026-03-24 16:40:49 +09:00
configs update: update config for photonicat1. 2026-03-26 13:01:47 +09:00
doc Merged updates from upstream. 2025-02-28 20:22:12 +09:00
include update: merged updates from upstream. 2026-03-24 16:40:49 +09:00
LICENSES LICENSES: include all used licenses in LICENSES directory 2021-06-17 20:11:04 +08:00
package ath11k: add DFS dual-station fix patches (950/951/952) 2026-05-29 12:16:08 -04:00
scripts Merged updates from upstream. 2025-02-28 20:22:12 +09:00
target fix(pm-driver): prefer OCV-based SOC over uncalibrated MCU counter 2026-05-31 10:28:10 -04:00
toolchain Merged updates from upstream. 2025-02-28 20:22:12 +09:00
tools Merged updates from upstream. 2025-02-28 20:22:12 +09:00
.gitattributes chore: add Git LFS filter for built firmware images 2026-05-31 10:28:14 -04:00
.gitignore firmware: keep working artifacts, LFS patched images, gitignore official 2026-06-02 05:27:21 -04:00
.woodpecker.yaml ci: step secrets via environment from_secret (Woodpecker removed step-level secrets:); plugin-release 0.3.3 2026-10-24 22:18:47 -04:00
BSDmakefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
Config.in Merged updates from upstream. 2025-02-28 20:22:12 +09:00
COPYING add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
feeds.conf.default Merged updates from upstream. 2025-02-28 20:22:12 +09:00
Makefile Merged updates from upstream. 2025-02-28 20:22:12 +09:00
README.md update: merged updates from upstream. 2026-03-24 16:40:49 +09:00
README_EN.md Updated README. 2023-05-24 16:39:32 +09:00
README_JA.md Merged updates from upstream. 2025-02-28 20:22:12 +09:00
rules.mk Merged updates from upstream. 2025-02-28 20:22:12 +09:00

Welcome to Lean's git source of OpenWrt and packages

How to build your Openwrt firmware.

Note:

  1. DO NOT USE root USER FOR COMPILING!!!

  2. Users within China should prepare proxy before building.

  3. Web admin panel default IP is 172.16.0.1 and default password is "photonicat".

Let's start!

  1. First, install Ubuntu 64bit (Ubuntu 20.04 LTS x86 is recommended).

  2. Run sudo apt-get update in the terminal, and then run sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync

  3. Run git clone https://github.com/photonicat/rockchip_rk3568_openwrt.git to clone the source code, and then cd rockchip_rk3568_openwrt to enter the directory

  4. ./scripts/feeds update -a
    ./scripts/feeds install -a
    cp configs/base_defconfig .config
    make menuconfig
    
  5. Run make -j8 download V=s to download libraries and dependencies (user in China should use global proxy when possible)

  6. Run make -j1 V=s (integer following -j is the thread count, single-thread is recommended for the first build) to start building your firmware.

This source code is promised to be compiled successfully.

You can use this source code freely, but please link this GitHub repository when redistributing. Thank you for your cooperation!

Rebuild:

cd rockchip_rk3568_openwrt
git pull
./scripts/feeds update -a && ./scripts/feeds install -a
make defconfig
make -j8 download
make -j$(($(nproc) + 1)) V=s

If reconfiguration is need:

rm -rf ./tmp && rm -rf .config
make menuconfig
make -j$(($(nproc) + 1)) V=s

Build result will be produced to bin/targets directory.

Special tips:

  1. This source code doesn't contain any backdoors or close source applications that can monitor/capture your HTTPS traffic, SSL is the final castle of cyber security. Safety is what a firmware should achieve.

  2. If you have any technical problem, you may join the QQ discussion group: 297253733, link: click here

  3. Want to learn OpenWrt development but don't know how? Can't motivate yourself for self-learning? Not enough fundamental knowledge? Learn OpenWrt development with Mr. Zuo through his Beginner OpenWrt Training Course. Click here to register.

  4. This project bases on Lean's LEDE here.

Note: Addition Lean's private package source code in ./package/lean directory. Use it under GPL v3.

GPLv3 is compatible with more licenses than GPLv2: it allows you to make combinations with code that has specific kinds of additional requirements that are not in GPLv3 itself. Section 7 has more information about this, including the list of additional requirements that are permitted.