make an SSH connection (putty)
Code: Select all
sudo add-apt-repository universe
Code: Select all
sudo add-apt-repository multiverse
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get upgrade -y
Code: Select all
sudo apt-get install 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 p7zip p7zip-full msmtp libssl-dev texinfo -y
Code: Select all
sudo apt-get install npm -y
Code: Select all
git clone git://github.com/ericpaulbishop/gargoyle.git
Code: Select all
cd gargoyle
OPTIONAL (only required if switching branch)
Code: Select all
git checkout base_on_openwrt_remerge
or
Code: Select all
git checkout master
OPTIONAL (use if soemthing goes wrong or switching branches)
Code: Select all
make distclean
OPTIONAL (Check for any updates)
Code: Select all
git pull
Code: Select all
make FULL_BUILD=true
or
Code: Select all
make custom
or
Code: Select all
make FULL_BUILD=true ar71xx
or
Code: Select all
make FULL_BUILD=true ar71xx.usb_large
Than wait 15 hours or so
I 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.