odroid-n2:os_images:ubuntu:20200229

Release Note of Ubuntu Minimal 18.04.4 LTS (v2.1)


Release Date 2020-02-29
Release Type Update

File name : ubuntu-18.04.4-4.9-minimal-odroid-n2-20200229.img.xz

  • Linux Kernel LTS 4.9.213
  • The latest Ubuntu 18.04.4 point release
  • Support a variant 2GB model 2GB with two DDR4 chips
  • fstrim command works with the SD card too
  • Improved USB 3.0 storage device stability
  • Added improved VPU video play APIs with Kodi video player
  • HDMI resolution auto-detection
  • Mali GPU driver for framebuffer(fbdev): OpenGL-ES 1.1, 2.0, 3.0, 3.1 and 3.2 with OpenCL-1.2 and 2.0.
  • Fixed PPSSPP installation (SDL implementation)
  • A lot of Kernel patches
The RootFS Auto-resize feature has changed!!! 
No need for power cycling, resize will happen on background in the first booting process.
  • Tons of issues undocumented. :-x
Username Password
root odroid
  • Install PPSSPP for PSP emulation, source code will be on the same folder:
    target
    /root/install_ppsspp.sh
    cd /root/ppsspp
    ./PPSSPPSDL
  • A slightly modified version was required to work
  • Source code is on /root/glmark2-es2-fbdev-master
  • You can launch it running:
    target
    glmark2-es2-fbdev
  • Run the following commands to start an OpenCL programming. (Special thanks to user @DrPhil)
target
apt install clinfo ocl-icd-libopencl1
apt download mali-fbdev
apt autoremove
ar -xv mali-fbdev_*
tar -xvf data.tar.xz 
rm usr/lib/aarch64-linux-gnu/libOpenCL.so*
cp -r usr/* /usr/
mkdir /etc/OpenCL
mkdir /etc/OpenCL/vendors/
echo "libmali.so" > /etc/OpenCL/vendors/mali.icd
target
root@odroid:~# clinfo                                                                        
Number of platforms                               1                                          
  Platform Name                                   ARM Platform                               
  Platform Vendor                                 ARM                                        
  Platform Version                                OpenCL 2.0 git.c8adbf9.ad00b04c1b60847de257177231dc1a53                                                                                 
  Platform Profile                                FULL_PROFILE                               
  • Hardware accelerated 4K video playback is possible using c2play
  • c2play is a amazing piece of software written by crashoverride Source Code
  • c2play usage:
    target
    c2play filename
  • Kodi is also available, see below
  • To install Kodi 18.5 run:
    target
    apt-get install kodi aml-libs
  • You can start by running
    target
    kodi
  • CEC works once you add “hdmitx = cec3f” to bootargs in /media/boot/boot.ini file something like this.
    target
    setenv bootargs "root=...... hdmitx=cec3f ......"
  • To check the CEC functionality with libcec4, you need to check “AOCEC” port first.
    target
    # cec-client -l
    libCEC version: 4.0.4, git revision: libcec-4.0.4+1-ba9b538, compiled on Fri Aug 23 02:38:50 UTC 2019 by odroid@odroid on Linux 4.9.187-53 (aarch64),C
    Found devices: 1
     
     
    device:              1
    com port:            AOCEC
    vendor id:           0000
    product id:          0000
    firmware version:    5
    type:                unknown
  • If you can't find “AOCEC”, you have to build the libcec source code with “AOCEC_API” option on the board.
    target
    # sudo apt update
    # sudo apt install cmake libudev-dev libxrandr-dev python-dev swig
    # cd
    # git clone https://github.com/Pulse-Eight/platform.git
    # mkdir platform/build
    # cd platform/build
    # cmake ..
    # make
    # sudo make install
    # 
    # 
    # cd
    # git clone https://github.com/Pulse-Eight/libcec.git
    # mkdir libcec/build
    # cd libcec/build
    # cmake -DHAVE_AOCEC_API=1 ..
    # make -j4
    # sudo make install
    # sudo ldconfig
  • Note that Kodi 18.3 doesn't run on a low resolution display properly. You need an 1920×1080 or 3840×2160 display at least.
target
sudo apt update
sudo apt full-upgrade
sudo reboot
  • odroid-n2/os_images/ubuntu/20200229.txt
  • Last modified: 2020/05/27 11:51
  • by neal