IVI/IVI Installation

From Tizen Wiki
< IVI
Revision as of 17:33, 9 April 2012 by Dawnfoster (talk | contribs) (moved IVI Installation to IVI/IVI Installation: Moved to IVI subpage)
Jump to: navigation, search

How to Install Tizen IVI images

Boot from USB

  1. Plug in the USB stick to the host machine.
  2. Umount the USB stick, if the USB is auto mounted:
 fdisk -l  ---check the USB stick name
 umount /dev/sdXX  ---umount all the USB stick partitions 
 dd if=ivi-XXXX.raw of=/dev/sdX
 sync
  1. unplug the USB stick from the host machine.
  2. Insert the USB stick to IVI board.
  3. Power on IVI device and press ‘Del’ to access BIOS menu and change Boot Priority to make it boot from the removable USB stick. Then press "Enter" to boot the image from USB disk.

Install system to HD

  1. Prepare a bootable USB stick (with Linux OS burned, such as Tizen or MeeGo image)
  2. Copy the IVI image to the USB stick
  3. Insert the USB stick into the IVI board which connects to HD
  4. Press ‘Del’ to access BIOS menu, change Boot Priority to make it boot from the removable USB stick
  5. Live boot into the system in USB (such as Tizen or MeeGo)
  6. Launch an terminal or switch to console in live boot env, login as root
  7. Check the disk partition by “fdisk –l”. You should see some information about /dev/sda, /dev/sdb. On Crossville platform, you could get information about eMMC stick: /dev/mmcblk0.
  8. When /dev/sda is the location where you will install Tizen image, and /dev/sdb is the USB stick now boot in.
 umount /dev/sda

Copy the Tizen image to HD by the command:

 dd if=ivi-XXXX.raw of=/dev/sda
 sync  

The Tizen image has been installed to HD. You should change the boot Priority to HD when rebooting:

 mount /dev/sda3 /mnt  ---mount HD partition
 cd /mnt/boot/extlinux/ 
 sed -i "s/sdb/sda/g" extlinux.conf  ---edit the letters "root=/dev/sda3" replace that in line "append ro root=/dev/sda3 quiet vga=current rootwait rootfstype=ext4"
 cd  /mnt/etc/
 sed -i "s/sdb/sda/g" fstab ---edit the letters "/dev/sda" to replace the letters "/dev/sdb" that in file fstab
umount /mnt

Remove the USB stick. You could boot to the system installed in HD after reboot.

Install System to eMMC

For the Crossville platform, when eMMC is the location where you will install Tizen image and /dev/sdb is the USB stick, boot in:

 fdisk -l  ---check the eMMC name
 umount /dev/mmcblk0pX   ---umount all the eMMC partitions  
 dd if=ivi-XXXX.raw of=/dev/mmcblk0
 sync  

The Tizen image has been installed to eMMC on Crossville. YOu should change the boot Priority to eMMC, when rebooting:

 mount /dev/mmcblk0p3 /mnt  ---mount eMMC partation
 cd /mnt/boot/extlinux/  
 sed -i "s/sdb/mmcblk0/g" extlinux.conf  ---edit the letters " root=/dev/mmcblk0p3" replace the letters "sdb" that in line "append ro root=/dev/sdb3 quiet vga=current rootwait rootfstype=ext4"

 cd  /mnt/etc/
 sed -i "s/sdb/mmcblk0/g" fstab ---edit the letters "/dev/mmcblk0" to replace the letters "/dev/sdb" that in file fstab
 umount /mnt 

Remove the USB stick. You could boot to the system installed in eMMC after rebooting.