odroid-xu4:os_images:linux:ubuntu_4.14:20171212

Release Note of Ubuntu 16.04.3 LTS (v3.1)


Release Date 2017-12-12
Release Type production

File name : ubuntu-16.04.3-4.14-mate-odroid-xu4-20171212.img.xz

XU4 OS image is fully compatible with HC1, HC2, MC1 and XU3.

  • Linux Kernel LTS 4.14.5
  • U-Boot 2017.05
  • Kodi 17.6
  • WebGL acceleration is enabled in Chromium browser
  • FFMPEG fully supports hardware acceleration now, both encode and decode
  • CPU performance-counter feature works with big and little cores PERF performance-counter guide
  • Kodi 1080p video playback issue fixed
  • Removed broken Firefox
  • Fixed mouse cursor blink issue
The RootFS Auto-resize feature has changed!!! 
Once everything is done after auto-resize, the power will turn off automatically. Wait a couple of minutes.
And press the power button if the blue LED is off.
  • Tons of issues undocumented. :-x
  • “sudo shutdown” command doesn't work properly. Use “sudo poweroff” to shutdown your system.
  • To change CPU governor to “ondemand”, run this command and reboot.
    target
    echo 'GOVERNOR="ondemand"' | sudo tee /etc/default/cpufrequtils; systemctl mask ondemand;

    boot.ini tweaking doesn't work with Kernel 4.14 any more.

  • To enable Auto-login, edit /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf file like this.
  • [SeatDefaults]
    greeter-session=lightdm-gtk-greeter
    autologin-user=odroid
  • Some UASP capable USB-to-SATA bridge controllers are not compatible. If your external HDD is not working properly, add its USB VID/PID in boot.ini Boot arguments to disable the UAS function something like this.
  • usb-storage.quirks=0x0bc2:0x2322:u
  • The Youtube video quality on Chromium browser can be improved a lot with “h264ify” extension in Chrome Web Store. 720p videos are fine with the extension.
  • If you update Kernel from 4.9 to 4.14, you have to install below two packages manually.
  • sudo apt install xserver-xorg-video-armsoc ffmpeg
Username Password
root odroid
odroid odroid
target
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install linux-image-xu3 
sudo reboot

When you install “linux-image-xu3” package, you will meet a dialog box and you have to choose “No” to proceed the Kernel update.

This guide is only for the NATIVE BUILD. Run it on the board.

Installing building tools

You may need to install the building tools.

target
$ sudo apt-get install git gcc g++ build-essential

Download and build the kernel source

Updating Kernel and DTB (Device Tree Blob)

Please note that native kernel compile on ODROID-XU4 will take about 25 minutes.

target
$ git clone --depth 1 https://github.com/hardkernel/linux -b odroidxu4-4.14.y
$ cd linux
$ make odroidxu4_defconfig
$ make -j8
$ sudo make modules_install
$ sudo cp -f arch/arm/boot/zImage /media/boot
$ sudo cp -f arch/arm/boot/dts/exynos5422-odroidxu3.dtb /media/boot
$ sudo cp -f arch/arm/boot/dts/exynos5422-odroidxu4.dtb /media/boot
$ sudo cp -f arch/arm/boot/dts/exynos5422-odroidxu3-lite.dtb /media/boot
$ sync

Updating root ramdisk (Optional)

target
$ sudo cp .config /boot/config-`make kernelrelease`
$ sudo update-initramfs -c -k `make kernelrelease`
$ sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n uInitrd -d /boot/initrd.img-`make kernelrelease` /boot/uInitrd-`make kernelrelease`
$ sudo cp /boot/uInitrd-`make kernelrelease` /media/boot/uInitrd
$ sync

You would check all necessary files are in place as below before reboot. The file size would differ.

target
$ ls -l /media/boot/
total 14756
-rwxr-xr-x 1 root root    9536 Oct 25 23:29 boot.ini
-rwxr-xr-x 1 root root     753 Aug 20 22:38 boot.ini.default
-rwxr-xr-x 1 root root   62565 Nov  2 01:24 exynos5422-odroidxu3.dtb
-rwxr-xr-x 1 root root   61814 Nov  2 01:24 exynos5422-odroidxu3-lite.dtb
-rwxr-xr-x 1 root root   62225 Nov  2 01:24 exynos5422-odroidxu4.dtb
-rwxr-xr-x 1 root root   61714 Oct 25 23:30 exynos5422-odroidxu4-kvm.dtb
-rwxr-xr-x 1 root root 9996513 Nov  2 01:27 uInitrd
-rwxr-xr-x 1 root root 4844744 Nov  2 01:24 zImage
target
$ sudo sync
$ sudo reboot
  • odroid-xu4/os_images/linux/ubuntu_4.14/20171212.txt
  • Last modified: 2018/03/26 08:54
  • by justin