[SOLVED] Is it possible to build a NON-RAW fenix image for VIM4 EMMc?

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu Gnome 22.04

Which version of system do you use? Khadas official images, self built images, or others?

Official - some kernel mods

Please describe your issue below:

Cannot build PARTIONED fenix EMMc Image

It seems like this should be an option.
YES. I have built fenix SD images. These are unable to boot when I have the M2X attached - hours spent troubleshooting.
INTERESTING: The Khadas OOWOW image will boot from SD. Same hardware and Balena Etcher used to write images.

One think that I did, was to fdisk partition signatures on the EMMc image from OOWOW, with a starting sector of 32768.

This works, but I need to better understand env.ini, etc. so I can have this create the correct device nodes, etc, after boot.

I have already fixed this issue, now support a generic MBR partition table image for both SD/USB stoage and eMMC, will publish to GitHub soon.

2 Likes

Thank you. You are invaluable.
— Jeremiah

Already uploaded, you can use Fenix to build the SD image to check.

Current environment:
===========================================

#KHADAS_BOARD=VIM4
#VENDOR=Amlogic
#CHIP=A311D2
#LINUX=5.4
#UBOOT=2019.01
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=jammy
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=SD-USB

===========================================
2 Likes

Thanks!
Up and running on a partitioned EMMc with Ubuntu 22.04 Gnome.
Fenix to the rescue.

— Jeremiah

The SD image refuses to boot. Built with a freshly pulled fenix repository, today.
It hangs at logo - I’m assuming uBoot is stopped in the background. I don’t have my serial connection available.

The same issue with my VIM3 Pro

I checked on my side wite latest image build from fenix, it works well, here is the configuration.

khadas@fee6547ab6cd:~/fenix$ make info

Version: 1.0.11
Current environment:
===========================================

#KHADAS_BOARD=VIM4
#VENDOR=Amlogic
#CHIP=A311D2
#LINUX=5.4
#UBOOT=2019.01
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=jammy
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=SD-USB

===========================================

Can you check this image?

https://dl.khadas.com/.test/vim4-ubuntu-22.04-server-linux-5.4-fenix-1.0.11-220720-develop-test.img

Which image? Can you post the boot log?

Version: 1.0.11

Current environment:

===========================================

#KHADAS_BOARD=VIM3

#VENDOR=Amlogic

#CHIP=A311D

#LINUX=mainline

#UBOOT=mainline

#DISTRIBUTION=Ubuntu

#DISTRIB_RELEASE=jammy

#DISTRIB_TYPE=minimal

#DISTRIB_ARCH=arm64

#INSTALL_TYPE=SD-USB