Line 1: |
Line 1: |
| A <b>software development kit</b> (<b>SDK</b>) is a set of software development tools that provides the possibility to create applications for a certain software package, software framework, computer system or similar development platform. | | A <b>software development kit</b> (<b>SDK</b>) is a set of software development tools that provides the possibility to create applications for a certain software package, software framework, computer system or similar development platform. |
| | | |
− | <b>Note:</b> The information in this page is in accordance to using SDK version RUTX_R_00.02.01.1. You may read the README file for additional information if using a different SDK version. | + | <b>Note:</b> The information in this page is in accordance to using SDK version <b>R_00.07.01</b>. You may read the README file for additional information if using a different SDK version. |
| | | |
| __TOC__ | | __TOC__ |
Line 9: |
Line 9: |
| | | |
| <ul> | | <ul> |
− | <li>A [[RUTX11]] router</li> | + | <li>A RUTOS supported router</li> |
− | <li>[http://releases.ubuntu.com/ Ubuntu 16.04 OS]</li> | + | <li>[http://releases.ubuntu.com/ Ubuntu 18.04 OS]</li> |
− | <li>SDK version RUTX_R_00.02.01.1</li> | + | <li>SDK version <b>R_00.07.01</b></li> |
| </ul> | | </ul> |
| | | |
− | However, the examples apply to other routers, SDK versions and operating systems. In most cases the difference will only be that of a visual nature.
| + | The examples apply to various RUTOS routers, SDK versions and operating systems. In most cases the difference will only be that of a visual nature. |
| | | |
| Most examples provided in this page are independent from each other. But it is highly recommended to acquaint yourself with the basics by reading the "[[#Prerequisites|Prerequisites]]" and "[[#Compiling_a_standard_firmware|Compiling a standard firmware]]" sections first as they contain information that will be necessary in order to understand some aspects of the other examples. | | Most examples provided in this page are independent from each other. But it is highly recommended to acquaint yourself with the basics by reading the "[[#Prerequisites|Prerequisites]]" and "[[#Compiling_a_standard_firmware|Compiling a standard firmware]]" sections first as they contain information that will be necessary in order to understand some aspects of the other examples. |
Line 25: |
Line 25: |
| | | |
| <ul> | | <ul> |
− | <li>A PC, laptop or virtual machine running Linux OS (We recommend using Ubuntu 16.04 LTS)</li> | + | <li>A PC, laptop or virtual machine running Linux OS (We recommend using Ubuntu 18.04 LTS)</li> |
− | <li>A RUTX series router RUTX08, RUTX09, RUTX10 or RUTX11</li> | + | <li>A RUTOS supported router (version R_00.07.00 and up)</li> |
| <li>An SDK intended for your router, which can be downloaded here: <b>[[Software Development Kit]]</b></li> | | <li>An SDK intended for your router, which can be downloaded here: <b>[[Software Development Kit]]</b></li> |
| </ul> | | </ul> |
Line 36: |
Line 36: |
| sudo apt update | | sudo apt update |
| | | |
− | sudo apt install -y binutils binutils-gold build-essential bzip2 curl device-tree-compiler devscripts file flex fuse g++ gawk gcc gcc-multilib gengetopt gettext git groff libc6-dev libncurses5-dev libpcre3-dev libssl-dev libxml-parser-perl make ocaml ocaml-findlib ocaml-nox patch pkg-config python2.7 python-dev python-yaml sharutils subversion u-boot-tools unzip vim-common wget zlib1g-dev | + | sudo apt install -y build-essential ccache ecj fastjar file g++ gawk gettext git java-propose-classpath libelf-dev libncurses5-dev libncursesw5-dev libssl1.0-dev python python2.7-dev python3 unzip wget python3-distutils python3-setuptools rsync subversion swig time libffi-dev libtool xsltproc zlib1g-dev u-boot-tools nodejs nodejs-dev node-gyp npm jq |
| | | |
| Create a new folder (for this example I'll be using a directory called <i>RUTX_R</i> found at my <b>home</b> directory) and extract the SDK archive inside it. You can achieve this with drag and drop or by executing this command via Terminal: | | Create a new folder (for this example I'll be using a directory called <i>RUTX_R</i> found at my <b>home</b> directory) and extract the SDK archive inside it. You can achieve this with drag and drop or by executing this command via Terminal: |