From Tizen Wiki
Jump to: navigation, search

The Tizen:IVI profile is currently supported on the R-Car M2 ARM platform (Koelsch board).

Also Tizen:Common check this page :



The graphics acceleration drivers for the R-Car M2 platform are not available yet (coming soon), but the system runs with limited functionality without them.

Currently working features:

  • network
  • serial
  • usb host controller
  • SMACK security
  • wayland desktop
  • gstreamer video playback

Not yet working

  • video acceleration
  • anything requiring EGL support (including crosswalk)


Prepare an SD Card

Format an SD card (minimum 1G, but more is nice too) to have the following partitions:

Partition 1

  • Boot partition
  • Size: minimum 20MB
  • Filesystem: ext4

Partition 2

  • Platform partition
  • Size: mimimum 800MB
  • Filesystem: ext4

Image files for Tizen IVI 3.0

The following sections on kernel and image building are obsolete and only apply to Tizen IVI M14.3 or earlier. Renesas R-Car M2 support is available in the official Tizen IVI repositories. Image files can be downloaded from:

Kernel build

Kernel source code for the Renesas M2 board can be checked out from:

Kernel config file is available from:  (filename: kernel/config)

Build the kernel

   $ cp config .config
   $ export CROSS_COMPILE=arm_none_linux_gnueabi- (or other ARM cross compiler)
   $ export ARCH=arm
   $ LOADADDR=40008000 make uImage
   $ make dtbs

Copy `arch/arm/boot/uImage` and `arch/arm/boot/dts/r8a7791-koelsch.dtb` to partition 1 of the SD card

Tizen IVI image creation

Create a Tizen IVI image with the ks file from  (filename: ks/ivi-mbr-renesas-m2.ks)
   $ gbs createimage -K ivi-mbr-renesas-m2.ks

Extract the contents of the image tarball and copy to SD Card partition 2

   $ tar xzf mic_output/<image name>.tar.gz
   $ dd if=platform.img of=<sd card partition 2>

You can use `resize2fs` to resize the filesystem to fill the rest of the SD card partion

Booting the platform

Connect a micro USB cable to Serial 0 on the board , switch system on (ACC_SW) and then from use a terminal program to connect at 115200 baud (or lower "sudo screen /dev/ttyUSB0 38400" worked for me User:Pcoval) .

From U-Boot load and boot the kernel image from the SD card (SD0)

=> version

U-Boot 2013.01.01-g1568d0f (May 28 2014 - 16:18:49)
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2013.02-01-20130221 - Linaro GCC 2013.02) 4.7.3 20130205 (prerelease)
GNU ld (crosstool-NG linaro-1.13.1-4.7-2013.02-01-20130221 - Linaro GCC 2013.02) 2.23.1

=> setenv bootargs console=ttySC6,115200 root=/dev/mmcblk0p2 rw earlyprintk earlycon=ttySC6.115200 ignore_loglevel rootwait
=> ext4load mmc 0 40007fc0 uImage
=> ext4load mmc 0 40f00000 r8a7791-koelsch.dtb
=> bootm 40007fc0 - 40f00000

If you board is set to run at 38400 bps, you will need to set console=ttySC6,38400 and earlycon=ttySC6.38400 in bootargs. Alternatively, you can set the bps rate to a new value in u-boot:

=> set baudrate <rate>
=> saveenv

The system will boot with output on HDMI. Input via USB keyboard/mouse, ssh, or serial console


2 steps are needed build kernel and install to default ARM images from tizen

Detailed tutorial there :

How to adapt Tizen:Common ARM images to boot renesas rcar


Edit: this chapter is now Obsolete , since Tizen publish ARM image, can be removed if it's confusing.

If it helps, you can reuse the Sunxi Image (tizen-common-wayland-arm-sunxi-20140527rzr.raw.gz) and just copy kernel to boot part

Expect soon the snapshot images to be released on (edit: they are now)

# Uboot env
setenv bootargs console=ttySC6,38400 root=/dev/mmcblk0p2 rw earlyprintk earlycon=ttySC6.38400 ignore_loglevel rootwait
fatload  mmc 0 40007fc0 uImage ; fatload mmc 0 40f00000 r8a7791-koelsch.dtb ; bootm 40007fc0 - 40f00000

root@localhost:~# cat /proc/version 
Linux version 3.10.31-20140801.1406904888-common-arm-rcar-m2 (dhcp@pcl) (gcc version 4.8.2 (Tizen) ) #1 SMP PREEMPT Fri Aug 1 15:07:16 UTC 2014
root@localhost:~# cat /proc/cmdline 
console=ttySC6,38400 root=/dev/mmcblk0p2 rw earlyprintk earlycon=ttySC6.38400 ignore_loglevel rootwait
root@localhost:~# cat /etc/os-release 
VERSION="3.0.0 (Tizen Next)"
PRETTY_NAME="Tizen 3.0.0 (Tizen Next)"