make an SSH connection (putty)
Code: Select all
sudo add-apt-repository universeCode: Select all
sudo add-apt-repository multiverseCode: Select all
sudo apt-get updateCode: Select all
sudo apt-get upgrade -yCode: Select all
sudo apt install build-essential gawk gcc-multilib flex git gettext libncurses5-dev libssl-dev python3-distutils zlib1g-devCode: Select all
sudo apt install unzip file wget python2Code: Select all
sudo apt install python-is-python3Code: Select all
sudo apt-get install npm -yCode: Select all
git clone https://github.com/ericpaulbishop/gargoyle.gitCode: Select all
cd gargoyleOPTIONAL (only required if switching branch)
Code: Select all
git checkout base_on_openwrt_remergeCode: Select all
git checkout masterOPTIONAL (use if something goes wrong or switching branches)
Code: Select all
make distcleanCode: Select all
git pullCode: Select all
make FULL_BUILD=trueCode: Select all
make customCode: Select all
make FULL_BUILD=true ar71xxCode: Select all
make FULL_BUILD=true ar71xx.usb_largeI think my last build was close to 24 hours
Custom Build tip example
Asus RT-N12 B1 (8MB Flash)
The brcm47xx target would be close but not quite right.
You'll need to do a "make custom" and select your router from the menu which should configure it for brcm47xx/mips47k.
Once this is saved, i tend to kill the build process. Rescue the .config file from within the /custom-src directory and build my own target folder in the /targets directory.
In your case i would make a "mips74k" folder underneath "brcm47xx" and copy the same images file across. Rename the ".config" to "config".
Then you can call "make FULL_BUILD=true brcm47xx/mips74k".
For your own sanity, i would run "make FULL_BUILD=true brcm47xx" before trying any of this to make sure your build environment is 100% and you can complete a stock build first.