Add document for xu4 ubuntu (#209)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 27 Mar 2018 08:18:56 +0000 (17:18 +0900)
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>
Tue, 27 Mar 2018 08:18:56 +0000 (17:18 +0900)
* Add document for xu4 ubuntu

This will add initial document how to use Ubuntu on ODroid XU4

docs/device/xu4_ubuntu.md [new file with mode: 0644]

diff --git a/docs/device/xu4_ubuntu.md b/docs/device/xu4_ubuntu.md
new file mode 100644 (file)
index 0000000..e202e2a
--- /dev/null
@@ -0,0 +1,86 @@
+## How to use XU4 with Ubuntu 16.04
+
+Ref: https://wiki.odroid.com/odroid-xu4/odroid-xu4
+
+eMMC card pre-installed Ubuntu 16.04
+
+Connect
+- Connect eMMC to bottom of the board
+- Connect Serial Console to Host USB
+- Connect power and boot
+
+Login with serial console. you can login with `root` or default `odroid` account
+- `root` password: `odroid`
+- `odroid `password: `odroid`
+
+Set ethernet
+`/etc/network/interfaces`
+```
+# interfaces(5) file used by ifup(8) and ifdown(8)
+# Include files from /etc/network/interfaces.d:
+source-directory /etc/network/interfaces.d
+
+auto lo eth0
+iface lo inet loopback
+
+iface eth0 inet static
+       address 10.113.xxx.yyy
+       netmask 255.255.255.0
+       network 10.113.xxx.0
+       broadcast 10.113.xxx.255
+       gateway 10.113.xxx.1
+       dns-nameservers 10.32.192.11 10.32.193.11 8.8.8.8
+```
+Change `xxx.yyy` to your IP address.
+
+Reboot and login with SSH
+
+### Add proxy settings
+
+Add `/etc/apt/apt.conf.d/90proxies`
+```
+Acquire::http::proxy "http://10.112.1.184:8080/";
+Acquire::https::proxy "http://10.112.1.184:8080/";
+Acquire::ftp::proxy "ftp://10.112.1.184:8080/";
+```
+
+Add `/etc/profile.d/proxy.sh`
+```
+#!/bin/bash
+
+# Proxy
+export HTTP_PROXY=http://10.112.1.184:8080/
+export HTTPS_PROXY=https://10.112.1.184:8080/
+```
+
+### Update and install programs
+
+```
+sudo apt-get update
+sudo apt-get upgrade
+sudo apt-get install vim nfs-common
+```
+
+### MALI GPU driver
+
+Driver files are pre-installed in eMMC as follows
+```
+odroid@odroid:/usr/lib/arm-linux-gnueabihf/mali-egl$ ll
+total 20136
+drwxr-xr-x   2 root root     4096 Aug 20  2017 ./
+drwxr-xr-x 106 root root    90112 Mar 26 08:32 ../
+-rw-r--r--   1 root root       38 Apr 30  2017 ld.so.conf
+-rwxr-xr-x   1 root root     2752 Apr 30  2017 libEGL.so*
+lrwxrwxrwx   1 root root        9 Apr 30  2017 libEGL.so.1 -> libEGL.so*
+lrwxrwxrwx   1 root root        9 Apr 30  2017 libEGL.so.1.4 -> libEGL.so*
+-rwxr-xr-x   1 root root     2752 Apr 30  2017 libGLESv1_CM.so*
+lrwxrwxrwx   1 root root       15 Apr 30  2017 libGLESv1_CM.so.1 -> libGLESv1_CM.so*
+lrwxrwxrwx   1 root root       15 Apr 30  2017 libGLESv1_CM.so.1.1 -> libGLESv1_CM.so*
+-rwxr-xr-x   1 root root     2752 Apr 30  2017 libGLESv2.so*
+lrwxrwxrwx   1 root root       12 Apr 30  2017 libGLESv2.so.2 -> libGLESv2.so*
+lrwxrwxrwx   1 root root       12 Apr 30  2017 libGLESv2.so.2.0 -> libGLESv2.so*
+-rwxr-xr-x   1 root root 20493444 May  8  2017 libmali.so*
+-rwxr-xr-x   1 root root     2752 Apr 30  2017 libOpenCL.so*
+lrwxrwxrwx   1 root root       12 Apr 30  2017 libOpenCL.so.1 -> libOpenCL.so*
+lrwxrwxrwx   1 root root       12 Apr 30  2017 libOpenCL.so.1.1 -> libOpenCL.so*
+```