Odroid XU4
Contents
General
The ODROID-XU4 is powered by ARM® big.LITTLE™ technology, the Heterogeneous Multi-Processing (HMP) solution. It offers open source support, the board can run various flavors of Linux, including the latest Ubuntu 15.04 and Android 4.4 KitKat and 5.0 Lollipop. The XU4 is fully software compatible with XU3.
Hardware
- Samsung Exynos5422 Cortex™-A15 2Ghz and Cortex™-A7 Octa core CPUs
- Mali-T628 MP6(OpenGL ES 3.0/2.0/1.1 and OpenCL 1.1 Full profile)
- 2Gbyte LPDDR3 RAM PoP stacked
- eMMC5.0 HS400 Flash Storage
- 2 x USB 3.0 Host, 1 x USB 2.0 Host
- Gigabit Ethernet port
- HDMI 1.4a for display
- Size : 82 x 58 x 22 mm approx.(including cooling fan)
Installing a LinuxMCE Core on the Odroid XU4 on a eMMC module
- Connect a USB NIC to your XU4.
- Download the latest Ubuntu 14.04 Server image for XU4/XU3 here: - http://odroid.in/ubuntu_14.04lts/
- Install the Ubuntu 14.04 Server image onto your Odroid XU4 device.
- Use the odroid-utility to resize the eMMC card you are booting from so all space is available:
odroid-utility.sh
- Add the following linuxmce repository definitions to /etc/apt/sources.list:
deb http://deb.linuxmce.org/ubuntu/ trusty main deb http://deb.linuxmce.org/ trusty main deb http://ports.ubuntu.com/ trusty main restricted universe multiverse deb http://ports.ubuntu.com/ trusty-updates main restricted universe multiverse deb http://ports.ubuntu.com/ trusty-backports main restricted universe multiverse deb http://ports.ubuntu.com/ trusty-security main restricted universe multiverse
- Retrieve the updated package lists:
apt-get update
- Install LinuxMCE as a Core only:
DEBIAN_FRONTEND=non-interactive apt-get install lmce-core -y --allow-unauthenticated
- Reboot to allow setup and firstboot to occur.
- Update and upgrade to the latest:
apt-get update && apt-get dist-upgrade
- Reboot.
- This will not install any graphical interfaces so initial setup will need to be done through the webadmin.
- At minimum create:
- A Master-User by pointing a browser to 192.168.80.1
- A Web Orbiter 2.0 set to the room the Core is in (Otherwise you will not get all the messages).
- Now you will need to add a MD to make use of any on-screen controls or media functionality.
- Be very patient and have fun.
Installing a LinuxMCE Core on the Odroid XU4 using a micro SD-Card and SSD combo in the Cloudshell
- Install the ssd in your cloudshell.
- Download the latest Ubuntu 14.04 Server image for XU4/XU3 here: - http://odroid.in/ubuntu_14.04lts/
- Install the Ubuntu 14.04 Server image onto your sd-card.
- Boot your XU4.
- Determine the device name of your SSD with (for this example its: /dev/sda).
sudo fdisk -l
- Write the image from step 2, remotely, to the SSD by going to the path your image is in and give the following command:
dd if=ubuntu-14.04lts-server-odroid-xu3-20150725.img | ssh root@192.168.1.75 "dd of=/dev/sda"
- Reboot.
- To make sure that the UUID’s of the first partitions (mmcblk0p1 and sda1) of both drives and the second partitions (mmcblk0p2 and sda2) of both drives are the same, use:
blkid -o list
The output should look something like the example below:
device fs_type label mount point UUID ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /dev/mmcblk0p1 vfat boot (not mounted) 1E66-94B1 /dev/mmcblk0p2 ext4 rootfs / e139ce78-9841-40fe-8823-96a304a09859 /dev/sda1 vfat boot /media/boot 1E66-94B1 /dev/sda2 ext4 rootfs (not mounted) e139ce78-9841-40fe-8823-96a304a09859
- Delete the second partition on the SD-Card by giving the following commands:
sudo fdisk /dev/mmcblk0 d (delete a partition) 2 (the second partition) w (write table to disk and exit)
- Reboot.
- Delete the first partition on the SSD by giving the following commands:
sudo fdisk /dev/sda d (delete a partition) 1 (the first partition) w (write table to disk and exit)
- Reboot.
blkid -o list
should now show you something like:
device fs_type label mount point UUID ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /dev/mmcblk0p1 vfat boot /media/boot 1E66-94B1 /dev/sda2 ext4 rootfs / e139ce78-9841-40fe-8823-96a304a09859
This means that it boots from device /dev/mmcblk0p1 and then hands it over to device /dev/sda2 (the SSD).
At the moment the partition sda2 is not using the entire disk space, to use the entire disk space we have to expand that partition. To do so we first delete it and create a new one at the starting point of the old one, by doing so no data will be lost.
- Delete and recreate the partition sda2 on device /dev/sda with the following commands/entry’s:
fdisk /dev/sda p (print the partition table) to find out the Startpoint (208896 in this example) d (delete a partition) n (add a new partition) p (primary) 2 (Partition number (1-4, default 1)) - we want to recreate the sda2 partition. 208896 (First sector (2048-234441631, default 2048)) - this is the earlier noted start point. use default value for the Last sector entry (the max) to use the entire disk space. w (write table to disk and exit).
- Reboot.
- Resize the filesystem to the entire partition.
resize2fs /dev/sda2
- Upgrade to the latest.
apt-get update apt-get dist-upgrade
The Cloudshell USB 3.0 to SATA3 uses a Genesys Logic chip that is not supported on Ubuntu 14.04 or 15.04 smartmontools package. You need smartmoontools 6.5 revision 4132 or greater. To install it do the following:
sudo -s apt-get install libcap-ng0 (needed otherwise when you install the smartmontools package you get: „dependency problems prevent configuration of smartmontools”) wget http://deb.odroid.in/manual/5422/smartmontools/14.04/smartmontools_6.5%2bsvn4132-1_armhf.deb dpkg -i smartmontools_6.5+svn4132-1_armhf.deb
- Reboot.
- Add the following linuxmce repository definitions to /etc/apt/sources.list:
deb http://deb.linuxmce.org/ubuntu/ trusty main deb http://deb.linuxmce.org/ trusty main deb http://ports.ubuntu.com/ trusty main restricted universe multiverse deb http://ports.ubuntu.com/ trusty-updates main restricted universe multiverse deb http://ports.ubuntu.com/ trusty-backports main restricted universe multiverse deb http://ports.ubuntu.com/ trusty-security main restricted universe multiverse
- Retrieve the updated package lists:
apt-get update
- Install LinuxMCE as a Core only:
DEBIAN_FRONTEND=non-interactive apt-get install lmce-core -y --allow-unauthenticated
- Reboot to allow setup and firstboot to occur.
- Update and upgrade to the latest:
apt-get update && apt-get dist-upgrade
- Reboot.
- This will not install any graphical interfaces so initial setup will need to be done through the webadmin.
- At minimum create:
- A Master-User by pointing a browser to 192.168.80.1
- A Web Orbiter 2.0 set to the room the Core is in (Otherwise you will not get all the messages).
- Now you will need to add a MD to make use of any on-screen controls or media functionality.
- Be very patient and have fun.