An opensource OpenWrt variant for mainland China users.
Go to file
Robert Marko 4ba64b760f ipq40xx: 5.4: fix networking PHY driver
In 5.4 kernel old u32 array way of setting network features was dropped and linkmode is now the only way.
So lets migrate the PHY driver to support linkmode.
Also, now in order for gigabit to work, PHY driver needs to advertise PHY_GBIT_FEATURES instead of PHY_BASIC_FEATURES

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2020-03-15 21:33:39 +08:00
config Merge Official Source 2020-02-29 01:05:56 +08:00
include Merge Official Source 2020-03-12 17:50:48 +08:00
package luci-app-passwall: sync with upstream source 2020-03-15 21:11:47 +08:00
scripts build: fix default target 2020-03-14 19:52:08 +08:00
target ipq40xx: 5.4: fix networking PHY driver 2020-03-15 21:33:39 +08:00
toolchain toolchain/binutils: Add binutils 2.34 2020-02-22 16:38:41 +01:00
tools Merge Official Source 2020-03-15 01:16:07 +08:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore gitignore: ignore patches in OpenWrt root directory 2019-11-06 00:27:55 +01:00
BSDmakefile
Config.in merge: base: update base-files and basic config 2017-12-08 19:41:18 +01:00
CONTRIBUTED.md r8168: remove outdated package 2020-03-14 04:52:05 +08:00
feeds.conf.default Revert "luci: mixed with openwrt-19.07" 2019-11-10 01:55:24 +08:00
LICENSE update README.md & LICENSE 2019-11-09 00:05:43 +08:00
Makefile build: clean menuconfig utility as part of dirclean 2020-03-10 20:44:30 +00:00
README build: switch to Python 3 2019-07-26 08:09:16 +02:00
README.md README.md: fix typo 2020-02-11 20:46:45 +08:00
rules.mk rules.mk: remove "$(STAGING_DIR)/include" 2019-11-02 20:51:56 +01:00

PROJECT OPENWRT

This is a experimental item, use it under your own risk.

The Source Code of OpenWrt Modified by CTCGFW

Welcome to my Telegram Group: @ctcgfw_openwrt_discuss.


How to make it

Minimum requirements

Linux with case sensitive
2G DDR2 RAM
2 CPU Cores (AMD64, 1.4Ghz)
25G disk space left
Has access to both ChinaNet & Internet

Install the necessary packages (for Ubuntu user)

sudo apt-get update -y
sudo apt-get full-upgrade -y
sudo apt-get install -y build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python python3 python-pip python3-pip python-ply python3-ply haveged lrzsz device-tree-compiler scons

For mainland China & Ubuntu(16.04+) user, you may run the following command to setup quickly:

sudo bash -c "bash <(curl -s https://build-scripts.project-openwrt.eu.org/init_build_environment.sh)"

Clone the source

git clone https://github.com/project-openwrt/openwrt-latest && cd openwrt-latest
./scripts/feeds update -a && ./scripts/feeds install -a

Configure your firmware

make menuconfig

Make it

make -j1 V=s

Tips

You'd better not use root to make it, or you may be not able to use.
Default login address: 192.168.1.1, username is root and password is password.

Contributed

See CONTRIBUTED.md.

License

GNU General Public License v3.0.