Skip to content

Latest commit

 

History

History
43 lines (40 loc) · 1010 Bytes

INSTALL.md

File metadata and controls

43 lines (40 loc) · 1010 Bytes

BUILD INSTRUCTION

  1. You need Linux environment to build the firmware. Ubuntu 16.04.1 LTS and Debian 9.x distros has been tested and recommended.
  2. Build cross-toolchain for MIPS32_R2 CPU (binutils-2.31, gcc-740, uclibc-1.31) from external package toolchain-mipsel.
cd toolchain && ./build_toolchain.sh
  1. Configure firmware content via .config file. Use comment mark # for disable features. Change "CONFIG_TOOLCHAIN_DIR=" param to target cross-toolchain directory.
vi trunk/.config
  1. Build firmware via "build_firmware" script. After the build is finished, the firmware file (*.trx) will be placed to directory "images".
cd trunk && ./build_firmware.sh

NOTE

You need following packages to build the firmware under Debian 9.x 'Stretch':

  • autoconf
  • automake
  • bison
  • build-essential
  • file
  • flex
  • gawk
  • gettext
  • help2man
  • kmod
  • libtool-bin
  • libltdl-dev
  • libncurses5-dev
  • pkg-config
  • sudo
  • texinfo
  • unzip
  • wget
  • zlib1g-dev