[VIM] Ubuntu Mate with Linux-4.14.11 and U-boot-v2018.01-rc3 ROM alpha-V180106 [SD/USB INSTALLATION]

It’s a alpha version with linux stable 4.14.11 and u-boot mainline v2018.01-rc3.
Linux is based on:

commit 0d59679df5b53755c00ea0292df696f97bfc950d
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date:   Tue Jan 2 20:31:17 2018 +0100

    Linux 4.14.11

And some patches from @narmstrong. Thanks Neil and his team!

U-boot is based on:

commit 7d22c8e309c69b2a8b9ad898c7ce6446eef62fb3
Author: Tom Rini <trini@konsulko.com>
Date:   Mon Jan 1 19:46:43 2018 -0500

    Prepare v2018.01-rc3
    Signed-off-by: Tom Rini <trini@konsulko.com>

Check Firmware Page to download the ROM.

ROM Infos:

  • ROM version: VIM_Ubuntu-mate-16.04_Linux-4.14_U-boot-V2018.01-rc3_SD-USB_alpha-V180106.7z
  • MD5SUM: 4f32b16cad81469ff70523e0cb4c5deb
  • The ROM is for SD/USB installation
  • Account info:
    • User: khadas
    • Password: khadas
  • LED state:
    • Booting: on
    • Boot up: on

Change logs:

  • Linux stable 4.14.11
  • U-boot mainline v2018.01-rc3

Working part

  • Ethernet
  • Wi-Fi
  • Bluetooth
  • USB Host
  • HDMI
  • HDMI Audio
  • SD card
  • GPU X11 (but FPS is very low, about 8FPS)

Upgrade guidance:

Rename DTB

After booting card is ready, one more thing you need to do, insert the booting card to PC and rename meson-gxl-s905x-khadas-vim.dtb to dtb.img in BOOT partition.

Activate multi-boot

  1. With Android 6.0 running on EMMC.(For Android 7.1 has permission issue)
  2. Insert SD card with ubuntu image to SD slot or use a USB card reader.
  3. Run program Settings->About Devices->System updates,select aml_autoscript.zip,and click Update, then the device will reboot,and you will boot to Ubuntu.

Boot linux with mainline u-boot

If you want to boot linux with mainline u-boot from SD card, you have to wipe the EMMC. Please refer to Howto Erase the eMMC Storage.

In the end

This image is built using Fenix scripts, you can use it to build your own image!

Have fun!


Goooooooooooood job!

1 Like

@numbqq : thanks you very much :relieved:

1 Like

Thank you for the release. But why GPU is so slow? It’s said in specs that S905X supports H.265 4K MP-10@L5.1 60fps. What linux release for VIM allows to run video?

Actually, we don’t have mali userspace library libMali.so, what we use is from Amlogic buildroot.

You can try LibreELEC or Balbes150’s Armbian builds.


1 Like

Woah woah. So cool! It finally happened! :blush:

Back in this thread

It seemed like an alternative was to use a framebuffer version of libmali.so
Is that included? Or how could I hook that up?

Very excited about the progress Khadas Team. Thank you! :)))
And thank you @narmstrong


what is missing to install this to EMMC?
I will strip all X11, because I need a server install.

Is this with a mainline Kernel? How would I upgrade to further Kernels or how can I build a driver against this Kernel-version?
I have a USB Gigabit Eth Card, which was not supportet in 4.9

If you want to install this to EMMC, maybe this will help you.

Not actually mainline kernel, it is stable version 4.14.11.
You can change the package version to mainline version and add some patches. But I have not tried yet, I’m not sure whether those patches can work.

Good luck!



that means I could try to modify it to 4.14.13, apply your patch to install it to emmc.
Do I need the patches in here (https://github.com/khadas/fenix/tree/master/packages/linux-mainline/patches/4.14.11)?
I thought, that some work on amlogic meson (S905x) is already in mainline as stated here: http://linux-meson.com/doku.php?id=start#kernel_mainlining_progress

Yes, these patches are needed. These patches haven’t merged to mainline yet.

1 Like

Can i upgrade from version “VIM_Ubuntu-mate-16.04_Linux-4.9_V170831” (if i can how ?) or i need a fresh install ?

Hi LutzPS,

You can’t upgrade from V170831. And it’s SD image not EMMC image.


@numbqq I updated my 4.14 patchset with the ethernet stability fixes https://github.com/superna9999/meta-meson/commit/20d661668aea5c690b5041d132b6c7a57faaa8a6


Thank you Neil. :wink:

1 Like

According to here:

The FPS problem is fixable

Hi geokon,

Are you sure it’s a patch for mainline?:wink:

1 Like

I have no idea! That’s what the guys claims. But I don’t know for sure. I just saw the reply and thought I’d post it here

1 Like

Hi Nick

Here is the dtb file to use the image on the VIM2. I checked it on their VIM2 - works wired network, USB and output to the monitor.


Hi Oled,

Just replace DTB with yours can make mainline linux on VIM2? I’ve not tried yet.

Hi Nick.
Yes, you just need to copy and rename to “dtb.img”.
Soon I will add the dts website (from which you can make a patch for git fenix).

1 Like