IVI/IVI Installation
Contents
How to Install Tizen IVI images
Copy to a USB or other storage device
Tizen IVI images require at least 4 GB of storage capacity. There are two ways to copy the image to a device (the old/slow and the new/fast methods.)
The old/slow method uses the standard Unix 'dd
' tool:
$ bzcat ivi-XYZ.raw.bz2 | dd of=/dev/sdX
Before running this command, find the name of your storage device
using "sudo fdisk -l
" or looking at the output of the "dmesg
" or "lsblk
" commands. Also, confirm
that the USB stick is not mounted, or unmount it if needed.
Flashing may take 10-20 minutes, depending on the speed of your storage device.
The new/fast method uses bmaptool
, which is a new tool for flashing Tizen IVI
images. This tool copies the images four to eight times faster and is more reliable (for example,
it checks data SHA1 checksums, makes sure your /dev/sdX
is not mounted, etc.).
Tool documentation is located here:
After installing bmaptool
flash an image using:
$ sudo bmaptool copy ivi-XYZ.raw.bz2 /dev/sdX
Note: If you get the error "bmaptool: ERROR: cannot open block device '/dev/sdb' in exclusive mode: [Errno 16] Device or resource busy: '/dev/sdX'", you need to unmount the USB stick. Example: umount /media/<usb name here>.
Or copy directly from a URL (providing you have downloaded the image and its bmap file to the same directory):
$ sudo bmaptool copy http://download.tizen.org/..blah.../ivi-XYZ.raw.bz2 /dev/sdX
Boot from USB
- Flash the image to the USB stick using
bmaptool
ordd
(see this section). - Insert the USB device into the IVI device.
- Power on the IVI device.
- Press "<F2>" to access the BIOS menu.
- Change Boot Priority to make it boot from the removable USB stick.
- Press "Enter" to boot the image from the USB disk.
Install system to HDD
- Prepare a bootable USB device (with Linux OS burned)
- Copy the IVI image to the USB device (you do not need to decompress it.)
- Insert the USB device into the IVI board that connects to HD.
- Press "Del" or "<F2>" to access the BIOS menu.
- Change the Boot Priority to boot from the removable USB device.
- Live boot into the system in USB (such as Tizen or MeeGo.)
- Launch a terminal or switch to console in live boot [[environment.
- Login as root.
- Check the disk partition using “
fdisk –l
”. You should see some information about/dev/sda
,/dev/sdb
. On the Crossville platform, you could get information about eMMC stick:/dev/mmcblk0
. - When you install the Tizen image to
/dev/sda
and assuming/dev/sdb
is the USB device, use:/umount /dev/sda
- Copy the Tizen image to HD by the command: (ATTENTION: this will completely erase your HDD/SSD)
bzcat-dc ivi-XXX.raw.bz2 | dd of=/dev/sda bs=512k; sync
- The Tizen image is installed to HD.
- Remove the USB and boot to the system installed in HD.
Install system to HDD - second alternative
I have used the method above for many months, but the one thing that I found to be restrictive is that the size of the partitions are too small. So I came up with the slight variation of the method above which I found a little easier for me:
- Prepare a bootable USB device with SystemRescueCD on it. Note: there is an easy-to-use how-to on their website: http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick
- Copy the compressed IVI image (i.e. in bz2 format) to the USB device.
- Plug the USB device into the IVI system.
- Press "Del" or "<F2>" to access the BIOS menu.
- Change the Boot Priority to boot from the removable USB device.
- Once you're on the console: check what the HDD (or SSD) device node is (typically
/dev/sda
)
umount /dev/sda
Note: If you copied the Tizen image file to the root of the USB SystemRescueCD device it will appear under /tftpboot once you've booted off it.
Transfer the Tizen image to your disk (ATTENTION: this will completely erase your HDD/SSD)
cd /tftpboot bzcat <tizen-image.raw.bz2> | dd bs=1M of=/dev/sda
The Tizen image is installed to your HDD/SDD.
Now you're ready to resize all partitions to fully benefit from whatever disk you are using:
- Start the GUI (
startx
) - Use Gparted (from the menu at the bottom of the screen) to re-size all partitions. I usually give the 'boot' partitions more space (especially useful if you're going to upgrade the kernel many times) and assign the rest of the disk to the root filesystem. Note: You will get a warning that doing so may render your system unbootable but that is not the case. Re-sizing may take a little while.
- If re-partitioning fails, remove the USB device and restart your system to boot using the newly installed Tizen IVI image. Then restart your system with the USB deviceand try again.
Once it has completed, reboot your system to your HDD/SSD disk.
Et voila...
Install System to eMMC
For the Crossville platform, when eMMC is the location where you will install the Tizen image and /dev/sdb
is the USB device, boot in:
fdisk -l # check the eMMC name umount /dev/mmcblk0pX # umount all the eMMC partitions bzcat ivi-XXXX.raw.bz2 | dd of=/dev/mmcblk0
The Tizen image is installed to eMMC on Crossville. Remove the USB stick and boot to the system installed in eMMC.