Skip to content

wanderleyteixeira/build-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compile Tomato ARM

This script will help you create a Tomato Firmware for ARM-based router on Debian 7.8 (64-bit). This was tested on Shibby's build.

Create a linux environment using a VirtualBox:

  • Install the free VirtualBox

  • Download Debian 7.8 iso

  • Start the virtual machine and install Debian as shown in the instructions here.

  • Once logged in, you can start preparing the system

  • Install ssh, sudo, git and git-core:

   # apt-get install -y openssh-server sudo git git-core
  • Add the user you will compile tomato to the sudo group. Here, my user is called tomato:
   # sudo usermod -a -G sudo tomato

The change will only take effect the next time the user logs in, so please logout

  • Clone this repository:
   $ git clone https://github.com/wbtf/build-arm.git
  • If all goes well, you should be ready to start compiling the Tomato ARM now. Run:
   /home/tomato/build-arm/apt.sh

Compile

  • Compile for AC68U:
   $ source /home/tomato/.profile
   $ cd $HOME/tomato-make/release/src-rt-6.x.4708
   $ make ac68z V1=RT-AC6x V2=1.0
  • Once completed, you will find your router image inside the image folder:
   cd $HOME/tomato-make/releasesrc-rt-6.x/image

Troubleshoot

  • Type make help to see the options to build for each model

  • To start a clean compilation:

    cd $HOME/tomato-make/release/src-rt-6.x.4708/
    git clean -dfx && git checkout

Note: Use at your own risk. Be careful and thoughtful not to brick your router.

About

Script to create a Tomato Firmware for ARM-based router on Debian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages