Mainline linux EMMC VIM3L

How can I use fenix to generate an EMMC VIM3L image with linux mainline?

Thank you!

No eMMC installation for VIMs with mainline kernel.

But you can boot from SD card and write the image to eMMC with command emmc-install.

$ sudo emmc-install

will it be available? why is this restriction?
I need to generate an image for the end-users to flash…

If u have some linux skill ! i can share howto generate Krescue installation EMMC image (kresq)

for any distros :wink:

another way !! just make dump from EMMC to SD (same use Krescue) and install it after :wink:

it would be appreciated while we wait for an update to fenix for this

1 Like

Upstream Linux has some functional limits depending on your use-case, but everything needed to boot an image on VIM3L is available. e.g.

VIM3L patches merged for u-boot 2020.04:

U-boot signing (FIP) sources:

Linux 5.5rc kernel with my current (still WIP) patch set:


is this the same linux source as the one fenix generates?
By any chance does it have DRM/KMS enabled and working?
I use GPIO, ADC, DSI and touchscreen input… is any of these lacking?

Thank you so much !

DRM/KMS is working (8-bit output, 10-bit is WIP still). The GPIO stuff should work but isn’t tagged and described in device-tree like it is for older VIM devices and legacy kernels. No idea about ADC/DSI as I don’t use them (or Fenix) … but shouldn’t be much effort to test and look.

1 Like

Sounds great, I’ll give it a look…

OK! i have check it !
this image same suitable for EMMC / same as for SD (sure its for simple direct write - no need aml_burn_software )

  1. wget

  2. make mmc disk export by usb via krescue
    ( )

and write this image to EMMC (unpack and write on the fly)

7zr e -so VIM3L_Ubuntu-xfce-bionic_Linux-5.5-rc2_arm64_SD-USB_V20191231.7z "*/*.img" > /dev/sdX

@hyphop I’m trying to install to EMMC this way. After copying all image via dd if=/VIM3L_Ubuntu-server-focal_Linux-5.7-rc7_arm64_SD-USB_V0.9-20200530.img /of=/dev/sdb I see the new U-BOOT starting, then it says that boot.ini found, and after that “Script failed”, “No partition table”. I.'m attaching screen picture from connected HDMI display.

When I erased EMMC via Kresque, booted this image from SD, ran “emmc-install”, I got the similar result.
Any suggestions how to fix it?

hi, maybe you need to restore the bootloader, first use USBBurningTool to restore, and then repeat the procedure with sd

USBBurningTool does not work on VIM3L due to a DDR issue. Also, when I write old Bionic-4.9 image in EMMC via Kresque, it boots just fine.

cannot be this, where did you get such information?

you could mistakenly take the firmware from vim3, then there could be an error! pay attention to it!

It was discussed earlier in this topic: Anyone successfully flashed Linux on VIM3L without bricking it?

1 Like

Yes! exactly as @Vladimir.v.v said , @vkozloff did you flash the correct image file, in the case of DDR error it indicates the Wrong image file, please verify the image.

1 Like

By the way, for fun, you can try different versions of USBBurningTool, there is information that they behave differently, you need to check of course

yea like @Vladimir.v.v says :wink:

but the recommended version is v2.2.0

If always fails with the following result:

I have tried three VIM3L with this result; on the same PC I can flash VIM1 without error. That’s why I am looking for any method to flash Ubuntu with new U-Boot and mainline kernel to VIM3L’s EMMC.