Howto
=====

1. Build Environment:
1.1 Ubuntu 14.04 i386 LTS.
1.2 Open Terminal with hotkey '<Ctrl> + <Shift> + T'.
1.3 to allow sudo without password:

    $ sudoedit /etc/sudoers
    change '%sudo' line into:
    %sudo ALL=(ALL:ALL) NOPASSWD:ALL
    type ':x' to save file.

1.4 Install the packages with the following commands.

    $ sudo apt-get install automake
    $ sudo apt-get install autoconf
    $ sudo apt-get install build-essential
    $ sudo apt-get install libncurses5-dev
    $ sudo apt-get install zlib1g-dev
    $ sudo cp /usr/include/i386-linux-gnu/zconf.h /usr/include

2. Depress the GPL tarball

    $ tar -zxvf GPL.tar.gz
    $ cd GPL

3. Prepare for toolchain:

    $ sudo mv toolchain /opt

4. Compile Firmware

   $ make

   copy one line and paste and then press enter. it will generate image
   directory and firmwares will be there. e.g:

   TPE-1620WS-1-00-010-BOOT.hex
   TPE-1620WS-1-00-010-OS.hex

   if you want to generate another model image

   $ make clean
   $ make
