GithubHelp home page GithubHelp logo

andreasrsa / openwrt-archer-c5 Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 4.0 157.5 MB

OpenWRT Powered TP-Link Router Customizing

License: Other

Makefile 15.68% Shell 5.90% Awk 0.02% C 69.78% Assembly 1.42% M4 0.66% CMake 0.01% Perl 2.56% Python 0.38% Lex 0.07% Yacc 0.10% C++ 0.36% Roff 3.07%
openwrt linux embedded-systems toolchain makefile

openwrt-archer-c5's Introduction

OpenWrt logo

openwrt-archerc5

Note: `This is a development fork of OpenWRT. Resolving a specific SoC Router. If you're here for that, I wish you the best, TP Link's Archer c5 is a nice, cost effective router to R&D withoir breaking the bamk. But, I take no responsibilty if you mess up. I will uplaod completed firmware releases shortly as well as video.

A Fork of OpenWRT with TP-Link Archer C5v4 Support

Credit and Respect to Serge Vasilugin who created the patch that made this possible. His GitHub: https://github.com/ggbruno

Due to the Realtek RTL8367S SoC, OpenWRT has deemed this router unsupported. If you follow the instructions, you will be able to install custom firmware up to current Version 21.02.

For the environment I use. Prerequisites:

OS: GNU/Linux and Unix like distribution. I used Ubuntu Server 20.04 under a VM environment.

THIS PART PEOPLE JUST DONT SEEM TO GET:

  1. An account that is NON-Root. I.E. A standard account.
  2. The following packages:
sudo apt update 
sudo apt install -y build-essential ccache ecj fastjar \
file g++ gawk gettext git java-propose-classpath libelf-dev libncurses5-dev \
libncursesw5-dev libssl-dev python python2.7-dev python3 unzip wget \
python3-distutils python3-setuptools python3-dev rsync subversion \
swig time xsltproc zlib1g-dev

The above is what OpenWRT recommned. Its the base build tools. But YOU DO NEED the rest. So Step but step.

sudo apt -y install subversion mercurial
sudo apt -y install asciidoc bash binutils bzip2 flex git-core g++ gcc \
util-linux  gawk help2man intltool libelf-dev zlib1g-dev make \
libncurses5-dev libssl-dev patch perl-modules python2-dev python3-dev \
unzip wget gettext xsltproc zlib1g-dev

Note: `I may have duplicated packaes by mistake. They Simply wont install again.''

sudo apt -y install libboost-dev libxml-parser-perl libusb-dev bin86 bcc \
sharutils gcc-multilib openjdk-8-jdk

Note: `openjdk-7-jdk is no longer available on Ubuntu 20.04. The release is as per above.''

  1. You need to go to /home or simply type cd ~/ and then type mkdir ~/openwrt. You have essentially created your "build root". In GNU linux this is a best practice environment. GNU Linux being unique in that it is THE platform dor cross compiling.
  2. From home type ls -sl. The folder should reflext your userame. e.g. dev:dev. From within your "build root" you now do everything without sudo.
  3. Now enter ~/openwrt as your non-sudo user. From this point, everything must be done as a non-sudo
  4. type git clone https://github.com/openwrt/openwrt.git
  5. Once cloned, Select Master by typing: git branch -a; then git switch master
  6. You can type git pull to see if any new patches or updates have changed
  7. Now you should be in v21.02
  8. ./scripts/feeds update -a
  9. ./scripts/feeds install -a
  10. wget https://patch-diff.githubusercontent.com/raw/openwrt/openwrt/pull/4327.patch (This is the realtek patch that will add the Archer c5v4 in menuconfig)
  11. git apply 4327.patch (if you have no errors or issues here, you should be smooth sailing)
  12. make defconfig
  13. make menuconfig Inside the menuconfig: set Target System: MediaTek Ralink MIPS set Subtarget: MT7620.. set Target Profile: TP-Link Archer C5 v4

There's a lot of customising here. I would suggest starting with just the above, and if you prefer WebUI, add Luci.

  1. Save
  2. make -j{see notes} download (-j4 is 4 cores; if you have issues try make -j2 or make -j1 - the download parameter will speed up compiling)
  3. make -j4 V=s (This is 4 core CPU with verbose so you can see the compilation)

Now sit back, have a few cups of coffee. The compilation takes a while, and uses about 20-30 gig.

Good luck!

2560px-TPLINK_Logo_2 svg

openwrt-archer-c5's People

Contributors

acoul avatar adschm avatar aparcar 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 noltari avatar pepe2k avatar rmilecki avatar stintel avatar wigyori avatar ynezz avatar yousong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

openwrt-archer-c5's Issues

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.