Odroid XU4 integration

The Odroid XU4 was more problematic from a configuration perspective than was a Raspberry PI.  The software download is for the XU3 which is perfectly correct for the XU4.  In the download arena there was an XU4 download but it failed to work so I fell back to the XU3 option.  There were also other inconsistencies which I will not go into at this time, like sometimes it worked and other times it did not.

What follows are the steps I used to install Ubuntu Mate on the XU4.

this procedure is for an odroid XU4 but might also work on other odroids

1. download the ubuntu mate distro

a. images are at the url: https://odroid.in/ubuntu_16.04lts

b. most images are xu3 which is fine for xu4 but there is a single xu4 image:
the xu4 image was not reliable so use the latest xu3 image

c. wget http://odroid.in/ubuntu_16.04lts ubuntu-16.04-mate-odroid-xu3-20161011.img.xz

d. uncompress the xz file:

unxz ubuntu-16.04.2-mate-odroid-xu4-20170510.img.xz

2. insert an sd card and install image

a. you must remove existing partitions on the card etc. using gparted

b. copy new image to SD card (be very careful when using dd or you might loose your     current system):

sudo dd if=./ubuntu-16.04-mate-odroid-xu3-20161011.img of=/dev/sdb bs=1M conv=fsync

c. sync <—- enter this commnd multiple times then eject the sd card before removing or you         may corrupts the card.

d. remove sd card and reinsert

e. use gparted to resize the /root fs on the sd card to fill unallocated portion

f. eject the card THEN remove or you may corrupt the sd card

3. insert sd card into odroid.

a. power up

b.  should get a red led and a blue led. if no blue led then SD card is either not seleted
to boot from or it is corrupted.

c.  if the unit boots and you login using odroid/odroid but there is no panel (bar at top with time/date/etc)

do the following:

1. alt/f1 then move mouse to the top of the desktop for menus. they are there just off the desktop.
find the display icon/option and resize to 1280/720.

2. This will make the panel at the top visable.

3.  Don’t forget to “save” this new resolution

d. to change the hostname

hostnamectl set-hostname {newname}

sudo vi /etc/hosts change the local entry from odroid to this host’s new_hostname

it should have entries like this: localhost new_hostname
192.168.x.x new_hostname

e. to change the odroid’s default user name do:

1. add a new user by the name of “temp” for example

sudo adduser temp

sudo adduser temp sudo

2. log out and log in to new user

sudo usermod -l new_user_name old_user_name

temp                  odroid

sudo usermod -d /home/new_user_name -m new_user_name

/home/temp      -m          odroid

cd /home/odroid

cp -R * /home/temp

assign the new user a passwd if necessary
sudo passwd new_user_name (temp in this example)

3. you can remove temp user if you want or just leave as a backdoor

sudo deluser temp

sudo rm -r /home/temp

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.