summaryrefslogtreecommitdiff
path: root/docs/nnfw/howto/device/xu3_tizen.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nnfw/howto/device/xu3_tizen.md')
-rw-r--r--docs/nnfw/howto/device/xu3_tizen.md140
1 files changed, 140 insertions, 0 deletions
diff --git a/docs/nnfw/howto/device/xu3_tizen.md b/docs/nnfw/howto/device/xu3_tizen.md
new file mode 100644
index 000000000..6473ab9a8
--- /dev/null
+++ b/docs/nnfw/howto/device/xu3_tizen.md
@@ -0,0 +1,140 @@
+# About
+
+This will describe how to flash microSD with Tizen-5.5 for ODroid XU3.
+
+Host environment is Ubuntu 18.04
+
+This document will explain the only on eMMC + XU3.
+
+# Download files
+
+## Images
+
+Boot
+- https://download.tizen.org/snapshots/tizen/unified/latest/images/standard/tv-boot-armv7l-odroidxu3/
+- download the biggest file
+
+Root FS
+- https://download.tizen.org/snapshots/tizen/unified/latest/images/standard/tv-wayland-armv7l-odroidu3/
+- download the biggest file
+
+U-Boot images
+```
+wget https://github.com/hardkernel/u-boot/raw/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot/bl1.bin.hardkernel
+wget https://github.com/hardkernel/u-boot/raw/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot/bl2.bin.hardkernel.1mb_uboot
+wget https://github.com/hardkernel/u-boot/raw/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot/tzsw.bin.hardkernel
+```
+
+You also need `u-boot-mmc.bin` that is inside `tizen-unified_20180425.2_tv-boot-armv7l-odroidxu3.tar.gz` file.
+```
+tar xvf tizen-unified_20180425.2_tv-boot-armv7l-odroidxu3.tar.gz u-boot-mmc.bin
+```
+
+
+## Flashing script
+
+Download [sd_fusing_xu4.sh](https://git.tizen.org/cgit/platform/kernel/u-boot/plain/scripts/tizen/sd_fusing_xu4.sh?h=tizen)
+
+This file name has `xu4` but it works on also xu3.
+
+
+## Files
+
+```
+dragon@loki:~/Works/tizen/odroid-xu3/flashing$ ls -l
+total 1316
+-rw-rw-r-- 1 dragon dragon 15616 9월 5 14:41 bl1.bin.hardkernel
+-rw-rw-r-- 1 dragon dragon 14592 9월 5 14:41 bl2.bin.hardkernel.1mb_uboot
+-rw-rw-r-- 1 dragon dragon 262144 9월 5 14:41 tzsw.bin.hardkernel
+-rwxr-xr-x 1 dragon dragon 1048576 9월 4 15:17 u-boot-mmc.bin
+```
+
+# Flash
+
+Host environment
+- Ubuntu 18.04
+- eMMC connected through microUSB from xu3 to host
+
+## Flash boot files
+
+on target
+```
+...
+
+CPU: Exynos5422 @ 800 MHz
+
+Model: Odroid XU3 based on EXYNOS5422
+Board: Odroid XU3 based on EXYNOS5422
+Type: xu3
+DRAM: 2 GiB
+MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
+In: serial
+Out: serial
+Err: serial
+Net: No ethernet found.
+Hit any key to stop autoboot: 0
+ODROID-XU3 #
+
+ODROID-XU3 # mmc list
+EXYNOS DWMMC: 0 (eMMC)
+EXYNOS DWMMC: 1
+
+ODROID-XU3 # ums 0 mmc 0
+
+UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1d5a000
+
+/
+```
+
+then on host
+```
+$ sudo fdisk -l
+..........
+
+Partition table entries are not in disk order
+
+Disk /dev/sdh: 32.0 GB, 32010928128 bytes
+
+64 heads, 32 sectors/track, 30528 cylinders, total 62521344 sectors
+
+Units = sectors of 1 * 512 = 512 bytes
+
+Sector size (logical/physical): 512 bytes / 512 bytes
+
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+
+Disk identifier: 0x00000000
+
+
+Device Boot Start End Blocks Id System
+
+/dev/sdh1 * 8192 139263 65536 e W95 FAT16 (LBA) ..........
+```
+
+```
+$ sudo ../sd_fusing_xu4.sh -d /dev/sdh --format \
+ -b bl1.bin.hardkernel bl2.bin.hardkernel.1mb_uboot tzsw.bin.hardkernel u-boot-mmc.bin
+...
+```
+
+`--format` option will, 1) delete current partition 2) create new partition table, 3) format each partitions.
+
+- If you meet `./sd_fusing_xu4-u1604.sh: line 147: pv: command not found` message and want to remove this message, install pv package by `sudo apt-get install pv`
+
+## Flash image files
+```
+$ sudo ../sd_fusing_xu4.sh -d /dev/sdh \
+ -b tizen-unified_20190905.1_tv-boot-armv7l-odroidxu3.tar.gz \
+ tizen-unified_20190905.1_tv-wayland-armv7l-odroidxu3.tar.gz
+```
+
+# After boot
+
+Follow [xu4_tizen](xu4_tizen.md)
+
+# References
+
+- http://suprem.sec.samsung.net/confluence/display/KS/Odroid+XU3
+- http://suprem.sec.samsung.net/confluence/pages/viewpage.action?pageId=104635990
+- http://suprem.sec.samsung.net/confluence/pages/viewpage.action?spaceKey=TPLAB&title=XU3+Image+Flashing
+- http://download.tizen.org/snapshots/tizen/unified/latest/images/standard/