Date created: 09/21/19 19:33:23. Last modified: 09/28/19 13:39:59

ODROID

Flashing eMMC:

$ sudo apt-get install xz-utils wget
$ wget http://de.eu.odroid.in/ubuntu_18.04lts/N2/ubuntu-18.04.3-4.9-minimal-odroid-n2-20190806.img.xz
$ unxz ubuntu-18.04.3-4.9-minimal-odroid-n2-20190806.img.xz
$ lsblk
$ time sudo dd if=ubuntu-18.04.3-4.9-minimal-odroid-n2-20190806.img of=/dev/mmcblk0
# 7749632+0 records in
# 7749632+0 records out
# 3967811584 bytes (4.0 GB, 3.7 GiB) copied, 500.575 s, 7.9 MB/s
#
# real 8m20.591s
# user 0m2.412s
# sys 0m32.509s
$ sync
$ lsblk

 

Install Desktop on Minimal Image:

$ apt-get update
$ apt install -y ubuntu-mate-desktop


Playing Media:

# Mount NAS
$ apt-get install htop cifs-utils
$ modprobe cifs
$ mkdir /media/nas
$ mount -t cifs -o user=guest,pass=pass,dom=WORKGROUP "//192.168.0.123/Guest Share" /media/nas

# Install non-FOSS codecs and libraries
$ apt-get install ubuntu-restricted-extras

# Install Kodi
$ apt-get install kodi aml-libs

# Optional, untested
$ apt-get instal gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly ffmpeg gstreamer0.10-ffmpeg libavcodec-extra-53 libavcodec53