From 120adb1658ba0824d567ad6a4bf8f29bfcb3fa8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Principal=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Tue, 27 Mar 2018 17:18:56 +0900 Subject: [PATCH] Add document for xu4 ubuntu (#209) * Add document for xu4 ubuntu This will add initial document how to use Ubuntu on ODroid XU4 --- docs/device/xu4_ubuntu.md | 86 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 docs/device/xu4_ubuntu.md diff --git a/docs/device/xu4_ubuntu.md b/docs/device/xu4_ubuntu.md new file mode 100644 index 0000000..e202e2a --- /dev/null +++ b/docs/device/xu4_ubuntu.md @@ -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* +``` -- 2.7.4