Top Related Projects
An opensource OpenWrt variant for mainland China users.
Openwrt for Nanopi R1S R2S R4S R5S 香橙派 R1 Plus 固件编译 纯净版与大杂烩
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
Quick Overview
Coolsnowwolf/lede is a fork of the OpenWrt project, which is a Linux operating system targeting embedded devices. This fork focuses on providing a customized version of OpenWrt with additional features, optimizations, and support for various network devices, particularly those popular in the Chinese market.
Pros
- Includes additional packages and drivers not found in the official OpenWrt repository
- Regular updates and active community support
- Optimized for better performance on specific hardware platforms
- Enhanced support for Chinese network equipment and services
Cons
- May have stability issues compared to the official OpenWrt releases
- Documentation is primarily in Chinese, which can be challenging for non-Chinese speakers
- Some included packages may not adhere to open-source licensing requirements
- Potential security risks due to the inclusion of third-party packages and modifications
Getting Started
To build the coolsnowwolf/lede firmware:
-
Clone the repository:
git clone https://github.com/coolsnowwolf/lede cd lede
-
Update feeds and install them:
./scripts/feeds update -a ./scripts/feeds install -a
-
Configure the build:
make menuconfig
-
Start the build process:
make -j$(nproc)
After the build is complete, you can find the firmware images in the bin
directory. Flash the appropriate image to your device following the specific instructions for your hardware.
Competitor Comparisons
An opensource OpenWrt variant for mainland China users.
Pros of ImmortalWrt
- More frequent updates and active development
- Broader device support, including newer and more diverse hardware
- Enhanced security features and patches
Cons of ImmortalWrt
- Potentially less stable due to rapid development cycle
- May require more technical knowledge to configure and use effectively
- Larger codebase, which can lead to increased complexity
Code Comparison
ImmortalWrt:
local sys = require "luci.sys"
local fs = require "nixio.fs"
function action_reboot()
luci.template.render("admin_system/reboot", {
title = translate("Reboot"),
description = translate("Reboot the operating system of your device")
})
LEDE:
local sys = require "luci.sys"
local fs = require "nixio.fs"
function action_reboot()
luci.template.render("admin_system/reboot", {
title = luci.i18n.translate("Reboot"),
description = luci.i18n.translate("Reboot the operating system of your device")
})
The code comparison shows minor differences in internationalization handling, with ImmortalWrt using a separate translate
function, while LEDE uses luci.i18n.translate
. This reflects ImmortalWrt's focus on broader language support and internationalization efforts.
Openwrt for Nanopi R1S R2S R4S R5S 香橙派 R1 Plus 固件编译 纯净版与大杂烩
Pros of nanopi-openwrt
- Specifically optimized for NanoPi devices, potentially offering better performance on this hardware
- More focused scope, which may result in a leaner and more efficient build for supported devices
- Potentially easier setup process for NanoPi users due to its specialized nature
Cons of nanopi-openwrt
- Limited device support compared to lede, which covers a broader range of hardware
- Smaller community and potentially less frequent updates due to its more niche focus
- May lack some features or packages available in the more comprehensive lede project
Code Comparison
Both projects are based on OpenWrt, so their core codebases are similar. However, there may be differences in device-specific configurations and optimizations. For example:
nanopi-openwrt:
CONFIG_TARGET_rockchip=y
CONFIG_TARGET_rockchip_armv8=y
CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y
lede:
CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_redmi-router-ac2100=y
These configuration snippets show how each project targets different devices and architectures, reflecting their distinct focus areas.
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
Pros of Actions-OpenWrt
- Utilizes GitHub Actions for automated builds, simplifying the compilation process
- Provides pre-configured workflows for various OpenWrt versions and targets
- Allows easy customization of firmware builds through configuration files
Cons of Actions-OpenWrt
- Less comprehensive package selection compared to LEDE
- May require more setup and configuration for advanced users
- Limited direct community support and contributions
Code Comparison
Actions-OpenWrt workflow example:
name: Build OpenWrt
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
LEDE Makefile example:
include $(TOPDIR)/rules.mk
PKG_NAME:=example
PKG_VERSION:=1.0
PKG_RELEASE:=1
Actions-OpenWrt focuses on automating the build process using GitHub Actions, making it easier for users to compile custom firmware without local setup. It offers pre-configured workflows and allows easy customization through configuration files.
LEDE, on the other hand, provides a more traditional OpenWrt build environment with a wider range of packages and more flexibility for advanced users. It has a larger community and more extensive documentation.
Actions-OpenWrt is ideal for users who want quick, automated builds with minimal setup, while LEDE is better suited for those who need more control over the build process and access to a broader package ecosystem.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
æ¬¢è¿æ¥å° Lean ç LEDE æºç ä»åº
为å½äº§é¾è¯ LOONGSON SoC loongarch64 / é£è ¾ Phytium è ¾é D2000 ç³»åæ¶ææ·»å æ¯æ
I18N: English | ç®ä½ä¸æ | æ¥æ¬èª
宿¹è®¨è®ºç¾¤
å¦æææ¯é®é¢éè¦è®¨è®ºæè 交æµï¼æ¬¢è¿å å ¥ä»¥ä¸ç¾¤ï¼
- QQ 讨论群ï¼Op åºä»¶ææ¯ç 究群ï¼å·ç 891659613ï¼å ç¾¤é¾æ¥ï¼ç¹å»å å ¥
- TG 讨论群ï¼OP ç¼è¯å®æ¹å¤§ç¾¤ï¼å ç¾¤é¾æ¥ï¼ç¹å»å å ¥
è½¯è·¯ç± ArmSoM Sige ç³»åä»ç»
ArmSoM-Sige ç³»åï¼è½¯è·¯ç±ãåæ¿è®¡ç®æºãå°åæå¡å¨ä¸æºè½å®¶å± çå ¨è½ä¹éã
ååä»ç»é¡µé¢ - ArmSom åçåº
è´ä¹°é¾æ¥ï¼
注æ
- ä¸è¦ç¨ root ç¨æ·è¿è¡ç¼è¯
- å½å ç¨æ·ç¼è¯åæå¥½åå¤å¥½æ¢¯å
- é»è®¤ç»éIP 192.168.1.1 å¯ç password
ç¼è¯å½ä»¤
-
é¦å è£ å¥½ Linux ç³»ç»ï¼æ¨è Debian æ Ubuntu LTS
-
å®è£ ç¼è¯ä¾èµ
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 clang cmake cpio curl device-tree-compiler flex gawk gcc-multilib g++-multilib gettext \ genisoimage git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev \ libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev \ libreadline-dev libssl-dev libtool llvm lrzsz msmtp ninja-build p7zip p7zip-full patch pkgconf \ python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion \ swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
-
ä¸è½½æºä»£ç ï¼æ´æ° feeds å¹¶éæ©é ç½®
git clone https://github.com/coolsnowwolf/lede cd lede ./scripts/feeds update -a ./scripts/feeds install -a make menuconfig
-
ä¸è½½ dl åºï¼ç¼è¯åºä»¶ ï¼-j å颿¯çº¿ç¨æ°ï¼ç¬¬ä¸æ¬¡ç¼è¯æ¨èç¨å线ç¨ï¼
make download -j8 make V=s -j1
æ¬å¥ä»£ç ä¿è¯è¯å®å¯ä»¥ç¼è¯æåãéé¢å æ¬äº R24 æææºä»£ç ï¼å æ¬ IPK çã
ä½ å¯ä»¥èªç±ä½¿ç¨ï¼ä½æºç ç¼è¯äºæ¬¡åå¸è¯·æ³¨ææç GitHub ä»åºé¾æ¥ã谢谢åä½ï¼
äºæ¬¡ç¼è¯ï¼
cd lede
git pull
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make download -j8
make V=s -j$(nproc)
妿éè¦éæ°é ç½®ï¼
rm -rf .config
make menuconfig
make V=s -j$(nproc)
ç¼è¯å®æåè¾åºè·¯å¾ï¼bin/targets
ä½¿ç¨ WSL/WSL2 è¿è¡ç¼è¯
ç±äº WSL ç PATH ä¸å
å«å¸¦æç©ºæ ¼ç Windows è·¯å¾ï¼æå¯è½ä¼å¯¼è´ç¼è¯å¤±è´¥ï¼è¯·å¨ make
åé¢å ä¸ï¼
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ç±äºé»è®¤æ åµä¸ï¼è£ è½½å° WSL åè¡çç NTFS æ ¼å¼ç驱å¨å¨å°ä¸åºå大å°åï¼å æ¤å¤§æ¦çå¨ WSL/WSL2 çç¼è¯æ£æ¥ä¸ä¼è¿å以ä¸é误ï¼
Build dependency: OpenWrt can only be built on a case-sensitive filesystem
ä¸ä¸ªæ¯è¾ç®æ´çè§£å³æ¹æ³æ¯ï¼å¨ git clone
åå
å建 Repository ç®å½ï¼å¹¶ä¸ºå
¶å¯ç¨å¤§å°åææï¼
# 以管çå身份æå¼ç»ç«¯
PS > fsutil.exe file setCaseSensitiveInfo <your_local_lede_path> enable
# å°æ¬é¡¹ç® git clone å°å¼å¯äºå¤§å°åææçç®å½ <your_local_lede_path> ä¸
PS > git clone https://github.com/coolsnowwolf/lede <your_local_lede_path>
对已ç»
git clone
宿ç项ç®ç®å½æ§è¡fsutil.exe
å½ä»¤æ æ³çæï¼å¤§å°åææåªå¯¹æ°å¢çæä»¶åæ´ææã
macOS åçç³»ç»è¿è¡ç¼è¯
-
å¨ AppStore ä¸å®è£ Xcode
-
å®è£ Homebrewï¼
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
ä½¿ç¨ Homebrew å®è£ å·¥å ·é¾ãä¾èµä¸åºç¡è½¯ä»¶å ï¼
brew unlink awk brew install coreutils diffutils findutils gawk gnu-getopt gnu-tar grep make ncurses pkg-config wget quilt xz brew install gcc@11
-
ç¶åè¾å ¥ä»¥ä¸å½ä»¤ï¼æ·»å å°ç³»ç»ç¯å¢åéä¸ï¼
- intel è¯çç mac
echo 'export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.bashrc echo 'export PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"' >> ~/.bashrc
- apple è¯çç mac
echo 'export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/homebrew/opt/findutils/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/homebrew/opt/gnu-tar/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/homebrew/opt/grep/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"' >> ~/.bashrc echo 'export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"' >> ~/.bashrc
-
éæ°å è½½ä¸ä¸ shell å¯å¨æä»¶
source ~/.bashrc
ï¼ç¶åè¾å ¥bash
è¿å ¥ bash shellï¼å°±å¯ä»¥å Linux 䏿 ·æ£å¸¸ç¼è¯äº
ç¹å«æç¤º
-
æºä»£ç ä¸ç»ä¸å«ä»»ä½åé¨åå¯ä»¥çæ§æè å«æä½ ç HTTPS çéæºè½¯ä»¶ï¼ SSL å®å ¨æ¯äºèç½æåçå£åï¼å®å ¨å¹²åææ¯åºä»¶åºè¯¥åå°çã
-
æ³å¦ä¹ OpenWrt å¼åï¼ä½æ¯æ¸ä¸çé¨éï¼èªå¦æ²¡æ¯ åï¼åºç¡å¤ªå·®ï¼æå¤ªé¾å¦ä¸ä¼ï¼è·çä½å¤§å¦ OpenWrt å¼åå ¥é¨å¹è®çå©ä½ è½å¦æææ æ¥åå°åï¼ç¹å»æ¥å
-
QCA IPQ60xx 弿ºä»åºå°åï¼https://github.com/coolsnowwolf/openwrt-gl-ax1800
-
åæ¡£çæ¬ä»åºå°åï¼https://github.com/coolsnowwolf/openwrt
æè´
å¦æä½ è§å¾æ¤é¡¹ç®å¯¹ä½ æå¸®å©ï¼å¯ä»¥æå©æä»¬ï¼ä»¥é¼å±é¡¹ç®è½æç»åå±ï¼æ´å å®å
Top Related Projects
An opensource OpenWrt variant for mainland China users.
Openwrt for Nanopi R1S R2S R4S R5S 香橙派 R1 Plus 固件编译 纯净版与大杂烩
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot