Quick guide for odroid

From Tizen Wiki
Jump to: navigation, search

This guide is setting a tizen 3.0 on odroid-u3 ARM board (Exynos SoC).

For first-time user

For eMMC user

Flash tizen bootloader from hardkernel's u-boot

  • To install a tizen u-boot(bootloader), you should install fastboot tool.
sudo apt-get install android-tools
  • Enter u-boot shell by typing any key during countdown.
Hit any key to stop autoboot:  0 
Exynos4412 # fastboot
  • Connect microUSB<->USB cable between u3 and host PC
  • Download Tizen_RD-ODROID-U3-PartMigration.tar.gz
wget http://download.tizen.org/releases/system/Tizen_RD-ODROID-U3-PartMigration.tar.gz
  • Extract the archive file and flash the u-boot-mmc.bin file
tar xf Tizen_RD-ODROID-U3-PartMigration.tar.gz
cd U3-PartMigration
sudo fastboot flash bootloader u-boot-mmc.bin
  • Power off the board and power on
  • Enter u-boot shell

Repartitioning eMMC

  • To make a MS-DOS partition, type below command
Exynos4412 # ums 0 mmc 0
  • Find a disk node in your host PC. sd[X] is the mounted node of your eMMC.
dmesg | tail -n 30
...
[24359.364520] sd 10:0:0:0: [sdc] Attached SCSI removable disk
  • If sfdisk version in your host pc is later than 2.26.0, remove opetion "--in-order --Linux" from script.
sfdisk --version
# if version is later than 2.26.0
sed -i "s/--in-order --Linux //" *.sh
  • You can find "mkpart.sh" in the directory
sudo ./mkpart.sh /dev/sd[X]
  • After then, reboot your device

Download Tizen System and Platform

  • Enter u-boot shell again and enter thordown mode
Exynos4412 # thordown
  • Download boot image and platform image
Boot image: http://download.tizen.org/snapshots/tizen/common/latest/images/arm-x11/common-boot-armv7l-odroidu3/
Wayland image: http://download.tizen.org/snapshots/tizen/common/latest/images/arm-wayland/common-wayland-3parts-armv7l-odroidu3/
X11 image: http://download.tizen.org/snapshots/tizen/common/latest/images/arm-x11/common-x11-3parts-armv7l-odroidu3/
  • Flash the boot and platform images using lthor
sudo lthor tizen-common_20141212.2_common-boot-armv7l-odroidu3.tar.gz tizen-common_20141112.2_common-wayland-3parts-armv7l-odroidu3.tar.gz

For microSD user

Fuse bootloader image

  • You should prepare a microSD card(which is higher than 4GB)
  • Download prebuilt bootloader image
wget http://download.tizen.org/releases/system/Tizen_RD-ODROID-U3-BootloaderForSD.tar.gz
  • Insert the microSD into your HostPC
  • You can get a device node name by below command
dmesg | tail -n 50
...
[23438.562480] sdd: detected capacity change from 7948206080 to 0
[23441.263148] sd 8:0:0:1: [sdd] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[23441.267178]  sdd: unknown partition table
  • /dev/sd[X] will be the node name. In this case, "sdd" is the node name.
  • Extract the bootloader image and fuse it.
tar xf Tizen_RD-ODROID-U3-BootloaderForSD.tar.gz
cd U3-BootloaderForSD
sudo dd if=odroidu3_sd_fuse.img of=/dev/sd[X]
  • Create a partition table
sudo ./mkpart.sh /dev/sd[X]

For existing user

For eMMC user

  • Since tizen-common_20141101.1, Partition layout was changed. Thus, please upgrade a bootloader and partition by following below guide.
  • Enter u-boot shell by typing any key during countdown
Exynos4412 # thordown
  • Download Tizen_RD-ODROID-U3-PartMigration.tar.gz
wget http://download.tizen.org/releases/system/Tizen_RD-ODROID-U3-PartMigration.tar.gz
  • Extract the archive file and flash the u-boot-mmc.bin file
tar xf Tizen_RD-ODROID-U3-PartMigration.tar.gz
cd U3-PartMigration
sudo lthor u-boot.tar


Trouble shooting

eMMC recovery

  • If your eMMC storage is not working, you can recover the eMMC to original one(Hardkernel)
  • Please see below guide

http://forum.odroid.com/viewtopic.php?f=53&t=969


Cannot enter thordown

  • You should revert your partition layout to old one(tizen 2.x)
Exynos4412 # ums 0 mmc 0
  • Find a disk node in your host PC. sd[X] is the mounted node of your eMMC.
dmesg | tail -n 30
...
[24359.364520] sd 10:0:0:0: [sdc] Attached SCSI removable disk
  • You can find "mkpart.sh" in the directory
sudo ./mkpart_tizen2.sh /dev/sd[X]
  • Now, you can enter thordown and please do instructions from