Tizen RT Getting Started

From Tizen Wiki
Jump to: navigation, search

Install GNU ARM toolchain

※ Only 4.9.2 / 4.9.3 version is supported and tested now
  1. Get the build in binaries and libraries ( https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update ) gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar
  2. Untar the gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar and export the path like
    ( example only, don't copy-paste export PATH=/home/xyz/currentwork/workcommon/toolchain/armgcc492/bin:$PATH )
    Strongly recommended is that the new path appears in front of $PATH if you have other toolchains before.
if you cannot execute 32-bit packges, in Ubuntu >=13.10 should use sudo apt-get install -y lib32z1 lib32ncurses5 lib32bz2-1.0

Get Source codes from Git

$ git clone ssh://<Your ID>@review.tizen.org:29418/rtos/tinyara
※ You can use below to get source codes from GitHub
※ $ git clone https://github.com/Samsung/TinyAra.git
$ cd tinyara
TINYARA_BASEDIR environment variable is just for reference later below.

How to Build Tizen RT

For list of boards and configuration set supported, refer Appendix A below.
Configure the build from $TINYARA_BASEDIR/os/tools directory,
$ ./configure.sh <board>/<configuration_set>
Example: ./configure.sh sidk_s5jt200/hello_with_tash
Above copies the canned configuration-set for the particular board, into the $TINYARA_BASEDIR/os directory.
Configuration can be modified through make menuconfig from $TINYARA_BASEDIR/os.
Finally, initiate build by make from $TINYARA_BASEDIR/os
$ make
Built binaries are in $TINYARA_BASEDIR/build/output/bin.



Tizen RT currently supports one board called sidk_s5jt200. However, this board is not available in public markets till now. sidk_s5jt200 or other boards for Tizen RT will be coming soon.

sidk_s5jt200 stands for Samsung IoT Development Kit for S5JT200 chipset.

Configuration Sets

The list of configuration sets for sidk_s5jt200 can be seen from $TINYARA_BASEDIR/os/tools using.
./configure.sh --help
Example configuration sets for sidk_s5jt200, include 'tc', 'kernel_sample', and 'hello_with_tash'.
'tc' is a configuration set for runnig unit test cases, 'kernel_sample' for running kernel functions, and 'hello_with_tash' for running a hello example.
You can modify the configuration by using the menuconfig tool on the 'os' folder, but all configuration combinations are not fully tested yet.
The IPv4 network stack based on LWIP is included, but Wi-Fi related codes such as wpa_supplicant are not included.
Wi-Fi will be added in 2017.