Linaro1985 / rut9xx

Teltonika RUT9xx Firmware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RUTOS 7.x Firmware Building and Installation

Prerequisites

A supported Linux distribution is recommended. Teltonika suggests using Ubuntu 20.04 LTS.

Building the firmware

  1. Install the required dependencies:
$ sudo apt update
$ sudo apt install build-essential ccache ecj fastjar file g++ gawk \
gettext git java-propose-classpath jq libelf-dev libffi-dev \
libncurses5-dev libncursesw5-dev libssl1.0-dev libtool \ 
node-gyp nodejs nodejs-dev npm python python2.7-dev python3 \
python3-distutils python3-setuptools rsync subversion swig \
time u-boot-tools unzip wget xsltproc zlib1g-dev 
  1. Extract the GPL archive to an empty folder:
$ mkdir RUT9_R_GPL_00.07.02.7
$ tar -xzf ~/Downloads/RUT9_R_GPL_00.07.02.7.tar.gz -C RUT9_R_GPL_00.07.02.7
  1. Copy the default .config file by Teltonika:
$ cp .config.default .config
  1. Update the package feeds:
$ cd RUT9_R_GPL_00.07.02.7
$ ./scripts/feeds update -a
  1. Build the image: this will take some time. You can append -jX after the make command to utilize more CPU cores (replace X with the number of cores in your build system).
$ make

or to utilize 4 cores on a system:

$ make -j4

After a successful build, the firmware file will be available under RUT9_R_GPL_00.07.02.7/bin/targets/ath79/generic/tltFws with a filename similar to RUT9_R_GPL_00.07.XX.X_WEBUI.bin.

Customization

Before customizing the firmware, it's essential to run a stock build to verify if the build system is properly configured.

To customize RUTOS, simply run:

$ make menuconfig

and then save the custom configuration file as .config.

Note that the target device may be limited on storage (flash), so enabling all the bells & whistles may not be feasible.

Installation

The new firmware can be deployed on a RUT9XX device through the web interface by visiting Administration -> Firmware and uploading the file.

About

Teltonika RUT9xx Firmware

License:GNU General Public License v2.0


Languages

Language:HTML 76.7%Language:C 12.3%Language:C++ 4.1%Language:Makefile 2.0%Language:Shell 1.9%Language:Java 0.5%Language:Perl 0.4%Language:C# 0.4%Language:Roff 0.3%Language:Scala 0.3%Language:M4 0.2%Language:JavaScript 0.2%Language:Assembly 0.2%Language:CSS 0.1%Language:CMake 0.1%Language:Python 0.1%Language:PHP 0.0%Language:Lua 0.0%Language:Yacc 0.0%Language:Lex 0.0%Language:Pawn 0.0%Language:Awk 0.0%Language:Ruby 0.0%Language:Batchfile 0.0%Language:Raku 0.0%