Install Tizen Image

From Tizen Wiki
Jump to: navigation, search

This page shows how to flash Tizen Common on a device using the Tizen installer, a minimal3333 Tizen image fitted with an installation tool.

The Tizen installer is provided in two versions :

The version one should use, mainly depends on the "bios" of the target device that you want to flash. The installer contains two installation options:

  • url ; with this option you only have to enter the complete url of the raw.bz2 image that you want to flash.
  • preset ; with this option you will have the ability to browse the main image directories of the download.tizen.org website and select the desired image.

Both options use the bmap-tools, the utility to download and flash your target device.

The installation process is composed of the following steps:

  1. Download and install the Tizen installer image on a USB key
  2. Setup the bios/efi of your target device
  3. Boot from the USB key and follow the directions of the installer
  4. Reboot device from the hard drive

Prerequisites

To perform the installation you will need:

  • a usb key (at least 4GB)
  • a Tizen installer image : ia32 mbr or efi x86_64
  • available network connection : ethernet (prefered) or wifi
  • rsync port 873, of your network access should also be opened if you choose the preset installation option

Additional information

  • DHCP mode will be used for both ethernet and wifi.
  • The target's hard drive or SSD will be completely erased.
  • The target device you wish to install Tizen on must have x86_64 or ia32 architecture.

Create the Tizen installer USB stick

The following will erase all content on your USB device. To recover the normal use of the usb memory stick, you have to format it.

Be careful, the Tizen installer version that you flash on your pendrive has to be bootable by the BIOS/EFI in your target device. You can refer to the #Installation section of the page to select the good installer version.

For linux

If your system automatically mounts devices you will have to umount your pendrive. The following command have to be run as root or through sudo command. Start by identifying your usb device then burn the image on it:

# fdisk -l
# bunzip2 my_image.raw.bz2
# dd if=my_image.raw of=/dev/my_usb_key && sync

You can also download and flash your USB memory stick in one command line using the bmap-tools utility which is available here for most of the main Linux distributions.

# bmaptool copy <complete_url_of_installer_image.raw.bz2> /dev/my_usb_key

For windows

The simplest way to do this is to download usbwriter from here. Then choose the image you downloaded and the usb device you want to burn the image on and click "Write".

For mac

Open Terminal.app and find out which device is your usb stick by running the command:

$ diskutil list

and unmount it:

$ diskutil unmountDisk /dev/my_usb_key

Now, as root run:

# dd if=my_image of=/dev/my_usb_key bs=8192

Then eject the usb key with:

$ diskutil eject /dev/my_usb_key


Now, you have a bootable usb stick ready for installation.

Tizen installer steps

The following graph shows the main steps of the Tizen installer:

 --------------------        ----------------------                                           -------------------                                     ----------------------
 | option selection |  --->  | keyboard selection |  --->  [ network connection setup ] --->  | image selection |  --->  [ destination drive ]  --->  | flash confirmation |
 --------------------        ----------------------             (if wifi connection)          -------------------     (if more than 1 hard drive)     ----------------------

In this interface the mouse isn't supported, only the keyboard is. To move between choices in this interface you will use the arrow keys and the Enter key to select.

At any time, you have the ability to reboot the device or back to the beginning of the installation process (option selection) by pressing the ESC key or the Ctrl + C keys combination.

Installation

WARNING : Before to proceed to the installation with the Tizen installer USB key, it is recommended to update the bios of your target device.


### NUC DE3815 ###

Supported Tizen installer versions

The following Tizen installer images are supported by BIOS of this NUC:

  • common-installer-mbr-i586
  • common-installer-efi-x86_64

Supported Tizen images

Tizen images that you are able to launch:

32 bit images:

  • common-mbr-i586
  • ivi-mbr-i586

64 bit images :

  • common-wayland-efi-x86_64
  • ivi-efi-x86_64

BIOS settings

The latest version of the BIOS can be found here

Note : Legacy MBR images cannot be automatically loaded from the BIOS. To launch those images, you'll have to press F10 and directly select the boot device at boot time.

A bit of BIOS configuration is required before installation. The following BIOS configuration will allow to launch both UEFI and and MBR images.

  • Press F2 key at boot to enter into the BIOS configuration
  • Click on Advanced button and perform the following changes :
  • Devices and Peripherals
    • USB : check the USB Legacy box
    • Video : set IGD Minimum Memory to 256
    • Onboard Devices : check all the boxes
  • Boot
    • Boot Priority : check UEFI Boot box
    • Boot Configuration > UEFI Boot :
      • set Os Selection to Linux
      • check Boot USB Devices First box
    • Boot Configuration > Boot Devices : check USB Box

Once all these setups are done, hit the F10 key and save your changes.

Proceed with installation

  1. Insert the Tizen installer USB stick
  2. Boot your target from the stick. If you chose the efi-x86_64 version of the Tizen installer, it should boot automatically, otherwise, hit F10 at boot time and select your USB memory.
  3. Let you guide by the installer. You can refer to #Tizen installer steps.
  4. Once the installation is completed, remove the pendrive. Your device will be rebooted with the image that you flashed if it's an efi-x86_64 image, otherwise, hit F10 and select the hard drive that you flashed.


### Minnowboard:MinnowMax (EFI64) ###

Supported Tizen installer versions

Only the common-installer-efi-x86_64 is supported by the Bios of the device.

Supported Tizen images

The following Tizen images are supported by the MinnowBoard Max :

  • common-wayland-efi-x86_64
  • ivi-efi-x86_64

BIOS settings

Check page to install latest firmware:

https://wiki.tizen.org/wiki/MinnowMax


Then ensure that USB support is enabled on your device:

  • Boot your device and click F2 in order to enter the BIOS configuration.
  • Device Manager > System Setup > South Cluster Configuration > USB Configuration : enable the USB Controller Auto Mode
  • Save your changes and exit.

Proceed with the installation

  1. Insert a blank micro SD card (at least 4 GB)
  2. Insert the Tizen installer USB key
  3. Boot the device and hit F2 to enter the BIOS. Change the boot order in Boot Maintenance Manager > Boot options > Change the Boot Order applying the following priorities : EFI USB Devices > EFI Hard Drive > EFI Internal Shell > EFI Network
  4. Save your changes, go back to the main menu of the BIOS and click on Continue to boot on your Tizen installer pendrive.
  5. Follow the instructions of the installer. You can refer to #Tizen installer steps.
  6. Once the installation is completed, remove your USB stick. Your device will boot with newly flashed Tizen image. The default password is tizen (for root and alice account).

Sources and bugs report

Sources : https://review.tizen.org/gerrit/#/admin/projects/profile/common/system-installer

Bugs on the Tizen installer can be reported on the official Tizen Common JIRA project : https://bugs.tizen.org/jira/browse/TC