Forked off from Tomato-ARM by Shibby, builds compiled by @kille72
Forums about tomato:
EN: https://www.linksysinfo.org/
This is my personal fork, If anyone wants to pick up my changes and merge them to your repository, feel free and go ahead. That's the reason Tomato is an open-source project.
Source code: https://bitbucket.org/kille72/freshtomato-arm/commits/all
Downloads: https://exotic.se/freshtomato-arm/
About me/Donate: https://exotic.se
For the following ARM routers: Asus N18U, AC56S, AC56U/AC56R, AC68U(A1,A2,B1)/R/P, AC3200, Netgear R6250, R6300v2, R6400, R7000, R8000, Linksys EA6300v1/EA6400, EA6500v2, EA6700, EA6900, Tenda AC15, Huawei WS880, Dlink DIR868L, Xiaomi R1D.
Disclaimer: I am not responsible for any bricked routers, nor do I encourage other people to flash alternative firmwares on their routers. Use at your own risk!
HOW TO COMPILE FRESHTOMATO on Debian 9.x/64bit
-
Login as root
-
Update system:
apt-get update
apt-get dist-upgrade -
Install basic packages:
apt-get install build-essential net-tools -
NOT NECESSARY (depends if sys is on vmware); install vmware-tools:
mkdir /mnt/cd
mount /dev/cdrom /mnt/cd
unpack
./vmware-install.pl -
Set proper date/time:
dpkg-reconfigure tzdata -
Add your to sudo group:
apt-get install sudo
adduser sudo
reboot -
Login as , install base packages with all dependencies:
sudo apt-get install autoconf m4 bison flex g++ libtool sqlite gcc binutils patch bzip2 make gettext unzip zlib1g-dev libc6 gperf automake groff
sudo apt-get install lib32stdc++6 libncurses5 libncurses5-dev gawk gitk zlib1g-dev autopoint shtool autogen mtd-utils gcc-multilib gconf-editor lib32z1-dev pkg-config libssl-dev automake1.11
sudo apt-get install libxml2-dev intltool libglib2.0-dev libstdc++5 texinfo dos2unix xsltproc libnfnetlink0 libcurl4-openssl-dev libgtk2.0-dev libnotify-dev libevent-dev mc git
sudo apt-get install re2c texlive libelf1
sudo apt-get install linux-headers-uname -r
-
Remove libicu-dev if it's installed, it stopped PHP compilation:
sudo apt-get remove libicu-dev -
Install i386 elf1 packages:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libelf1:i386 libelf-dev:i386wget https://advancedtomato.com/data/tools/automake_1.13.2-1ubuntu1_all.deb
wget https://advancedtomato.com/data/tools/automake_1.14.1-2ubuntu1_all.deb
sudo dpkg -i automake_1.13.2-1ubuntu1_all.deb
sudo dpkg -i automake_1.14.1-2ubuntu1_all.deb
sudo apt-get remove bison libbison-dev
wget https://advancedtomato.com/data/tools/libbison-dev_2.7.1.dfsg-1_amd64.deb
wget https://advancedtomato.com/data/tools/bison_2.7.1.dfsg-1_amd64.deb
sudo dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
sudo dpkg -i bison_2.7.1.dfsg-1_amd64.deb
-
Clone/download repository:
git clone https://bitbucket.org/kille72/freshtomato-arm.git -
Edit profile file:
PATH="$PATH:/home///release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/bin"
PATH="$PATH:/sbin" -
Reboot system
-
Add your email to git config:
git config --global user.email ""
or
git config user.email ""
for a single repo -
Add your username to git config:
git config --global user.name
You're ready