Date created: 09/21/19 19:33:23. Last modified: 11/02/19 16:20:50

ODROID

Flashing eMMC for ODROID-N2 with Ubuntu 18 Minimal:

$ 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 status=progress 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 Ubuntu 18 Minimal Image:

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

 

Flashing eMMC for ODROID-N2 with DietPi:

$ wget https://dietpi.com/downloads/images/DietPi_OdroidN2-ARMv8-Stretch.7z
$ 7z x DietPi_OdroidN2-ARMv8-Stretch.7z
$ lsblk
$ time sudo dd status=progress if=DietPi_v6.22_OdroidN2-ARMv8-Stretch.img of=/dev/mmcblk0
[sudo] password for bensley:
945562112 bytes (946 MB, 902 MiB) copied, 184 s, 5.1 MB/s
1857792+0 records in
1857792+0 records out
951189504 bytes (951 MB, 907 MiB) copied, 188.138 s, 5.1 MB/s

real 3m11.626s
user 0m0.844s
sys 0m7.740s

$ sync


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