From 670628d6b844379a4eabd1f413aeefdc8529d40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?UTF-8?q?=EC=96=B4Lab=28SR=29/Principal=20Engineer/=EC=82=BC=EC=84=B1?= =?UTF-8?q?=EC=A0=84=EC=9E=90?= Date: Tue, 27 Mar 2018 14:31:44 +0900 Subject: Move target device related documents inside device folder (#228) This will move target device related documents inside device folder --- docs/device/xu3-dip.png | Bin 0 -> 262925 bytes docs/device/xu3_ubuntu.md | 114 ++++++++++++++++++++++++++++++++++++++++++++++ docs/xu3-dip.png | Bin 262925 -> 0 bytes docs/xu3_ubuntu.md | 114 ---------------------------------------------- 4 files changed, 114 insertions(+), 114 deletions(-) create mode 100644 docs/device/xu3-dip.png create mode 100644 docs/device/xu3_ubuntu.md delete mode 100644 docs/xu3-dip.png delete mode 100644 docs/xu3_ubuntu.md diff --git a/docs/device/xu3-dip.png b/docs/device/xu3-dip.png new file mode 100644 index 000000000..59c0be3f2 Binary files /dev/null and b/docs/device/xu3-dip.png differ diff --git a/docs/device/xu3_ubuntu.md b/docs/device/xu3_ubuntu.md new file mode 100644 index 000000000..38dbc69b0 --- /dev/null +++ b/docs/device/xu3_ubuntu.md @@ -0,0 +1,114 @@ +## How to setup XU3 with Ubuntu 16.04 + +Ref: https://wiki.odroid.com/old_product/odroid-xu3/odroid-xu3 + +MicroSD card images +- https://dn.odroid.com/5422/ODROID-XU3/Ubuntu/ + +Latest image (as of writing this file) +- https://dn.odroid.com/5422/ODROID-XU3/Ubuntu/ubuntu-16.04.3-4.14-minimal-odroid-xu4-20171213.img.xz +- Flash with `WinFlashTool` + +MicroSD boot DIP settings +- ![image](xu3-dip.png) + +SW1-1,2 | 1st Boot media +-- | -- +ON ON | eMMC +OFF ON | MicroSD card + +Boot +- login with serial console +- password: `root`/`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 +``` + +### For convenience + +Edit `~/.profile` +``` +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. +``` + +### MALI GPU driver + +https://developer.arm.com/products/software/mali-drivers/user-space + +Download at `Odroid-XU3` section +- https://developer.arm.com/-/media/Files/downloads/mali-drivers/user-space/odroid-xu3/malit62xr12p004rel0linux1fbdev.tar.gz?revision=b4f9b859-ac02-408e-9729-c1e50d3a9c6c + +Extract and copy to `/usr/lib/fbdev` + +File list +``` +$ll /usr/lib/fbdev/ + +total 22520 +drwxr-xr-x 2 root root 4096 Feb 21 02:35 ./ +drwxr-xr-x 57 root root 4096 Feb 21 08:33 ../ +lrwxrwxrwx 1 root root 11 Feb 21 02:35 libEGL.so -> libEGL.so.1* +lrwxrwxrwx 1 root root 10 Feb 21 02:35 libEGL.so.1 -> libmali.so* +lrwxrwxrwx 1 root root 17 Feb 21 02:35 libGLESv1_CM.so -> libGLESv1_CM.so.1* +lrwxrwxrwx 1 root root 10 Feb 21 02:35 libGLESv1_CM.so.1 -> libmali.so* +lrwxrwxrwx 1 root root 14 Feb 21 02:35 libGLESv2.so -> libGLESv2.so.2* +lrwxrwxrwx 1 root root 10 Feb 21 02:35 libGLESv2.so.2 -> libmali.so* +lrwxrwxrwx 1 root root 14 Feb 21 02:35 libOpenCL.so -> libOpenCL.so.1* +lrwxrwxrwx 1 root root 10 Feb 21 02:35 libOpenCL.so.1 -> libmali.so* +-rwxr-xr-x 1 root root 21471208 Feb 21 02:35 libmali.so* +-rwxr-xr-x 1 root root 1580048 Feb 21 02:35 liboffline_compiler_api.so* +``` + +Add `/etc/ld.so.conf.d/malifbdev.conf` +``` +# arm mali +/usr/lib/fbdev +``` + +Rename `arm-linux-gnueabihf_EGL.conf` to `arm-linux-gnueabihf_EGL.conf.not` +- This is to disable mesa (software emulator of EGL) diff --git a/docs/xu3-dip.png b/docs/xu3-dip.png deleted file mode 100644 index 59c0be3f2..000000000 Binary files a/docs/xu3-dip.png and /dev/null differ diff --git a/docs/xu3_ubuntu.md b/docs/xu3_ubuntu.md deleted file mode 100644 index 38dbc69b0..000000000 --- a/docs/xu3_ubuntu.md +++ /dev/null @@ -1,114 +0,0 @@ -## How to setup XU3 with Ubuntu 16.04 - -Ref: https://wiki.odroid.com/old_product/odroid-xu3/odroid-xu3 - -MicroSD card images -- https://dn.odroid.com/5422/ODROID-XU3/Ubuntu/ - -Latest image (as of writing this file) -- https://dn.odroid.com/5422/ODROID-XU3/Ubuntu/ubuntu-16.04.3-4.14-minimal-odroid-xu4-20171213.img.xz -- Flash with `WinFlashTool` - -MicroSD boot DIP settings -- ![image](xu3-dip.png) - -SW1-1,2 | 1st Boot media --- | -- -ON ON | eMMC -OFF ON | MicroSD card - -Boot -- login with serial console -- password: `root`/`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 -``` - -### For convenience - -Edit `~/.profile` -``` -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. -``` - -### MALI GPU driver - -https://developer.arm.com/products/software/mali-drivers/user-space - -Download at `Odroid-XU3` section -- https://developer.arm.com/-/media/Files/downloads/mali-drivers/user-space/odroid-xu3/malit62xr12p004rel0linux1fbdev.tar.gz?revision=b4f9b859-ac02-408e-9729-c1e50d3a9c6c - -Extract and copy to `/usr/lib/fbdev` - -File list -``` -$ll /usr/lib/fbdev/ - -total 22520 -drwxr-xr-x 2 root root 4096 Feb 21 02:35 ./ -drwxr-xr-x 57 root root 4096 Feb 21 08:33 ../ -lrwxrwxrwx 1 root root 11 Feb 21 02:35 libEGL.so -> libEGL.so.1* -lrwxrwxrwx 1 root root 10 Feb 21 02:35 libEGL.so.1 -> libmali.so* -lrwxrwxrwx 1 root root 17 Feb 21 02:35 libGLESv1_CM.so -> libGLESv1_CM.so.1* -lrwxrwxrwx 1 root root 10 Feb 21 02:35 libGLESv1_CM.so.1 -> libmali.so* -lrwxrwxrwx 1 root root 14 Feb 21 02:35 libGLESv2.so -> libGLESv2.so.2* -lrwxrwxrwx 1 root root 10 Feb 21 02:35 libGLESv2.so.2 -> libmali.so* -lrwxrwxrwx 1 root root 14 Feb 21 02:35 libOpenCL.so -> libOpenCL.so.1* -lrwxrwxrwx 1 root root 10 Feb 21 02:35 libOpenCL.so.1 -> libmali.so* --rwxr-xr-x 1 root root 21471208 Feb 21 02:35 libmali.so* --rwxr-xr-x 1 root root 1580048 Feb 21 02:35 liboffline_compiler_api.so* -``` - -Add `/etc/ld.so.conf.d/malifbdev.conf` -``` -# arm mali -/usr/lib/fbdev -``` - -Rename `arm-linux-gnueabihf_EGL.conf` to `arm-linux-gnueabihf_EGL.conf.not` -- This is to disable mesa (software emulator of EGL) -- cgit v1.2.3