Issues with Fenix 1.4

Which Khadas SBC do you use?

VIM3L

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

Ubuntu

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

Self-built

Please describe your issue below:

I cannot use Fenix 1.4 to build a mainline VIM3L image and debs

Post a console log of your issue below:

git clone https://github.com/khadas/fenix fenix-mp1
Cloning into 'fenix-mp1'...
remote: Enumerating objects: 16318, done.
remote: Counting objects: 100% (1762/1762), done.
remote: Compressing objects: 100% (704/704), done.
remote: Total 16318 (delta 943), reused 1662 (delta 895), pack-reused 14556
Receiving objects: 100% (16318/16318), 289.41 MiB | 27.38 MiB/s, done.
Resolving deltas: 100% (9321/9321), done.
Updating files: 100% (1525/1525), done.
gkkpch@UBUNTUOS:~$ cd fenix-mp1
gkkpch@UBUNTUOS:~/fenix-mp1$ source env/setenv.sh -q -s  KHADAS_BOARD=VIM3L LINUX=mainline UBOOT=mainline DISTRIBUTION=Ubuntu DISTRIB_RELEASE=jammy DISTRIB_RELEASE_VERSION=22.04 DISTRIB_TYPE=server DISTRIB_ARCH=arm64 INSTALL_TYPE=SD-USB COMPRESS_IMAGE=no
realpath: '': No such file or directory

== ENV CONFIG =======================
VERSION=1.4
KHADAS_BOARD=VIM3L
LINUX=mainline
UBOOT=mainline
DISTRIBUTION=Ubuntu
DISTRIB_RELEASE=jammy
DISTRIB_RELEASE_VERSION=22.04
DISTRIB_TYPE=server
DISTRIB_ARCH=arm64
INSTALL_TYPE=SD-USB
COMPRESS_IMAGE=no

== ONE LINE CONFIG ==================
source env/setenv.sh -q -s  KHADAS_BOARD=VIM3L LINUX=mainline UBOOT=mainline DISTRIBUTION=Ubuntu DISTRIB_RELEASE=jammy DISTRIB_RELEASE_VERSION=22.04 DISTRIB_TYPE=server DISTRIB_ARCH=arm64 INSTALL_TYPE=SD-USB COMPRESS_IMAGE=no

Environment setup done. Type 'make' to build.
gkkpch@UBUNTUOS:~/fenix-mp1$ make
[i] FENIX (scripts/create_image.sh) BUILD: /home/gkkpch/fenix-mp1/build | DL: /home/gkkpch/fenix-mp1/downloads | sudo: sudo -E
head: cannot open '/home/gkkpch/fenix-mp1/build/linux/Makefile' for reading: No such file or directory
make: *** [Makefile:2: all] Error 1
gkkpch@UBUNTUOS:~/fenix-mp1$ 

This was all working with fenix 1.2.2 and 1.3 I should not have pulled the repo :wink:

did a

git reset --hard 91711135fe

to reset to the Nov. 18 commit.
Now it builds…

Hello @gkkpch

Thanks for your feedback, I will check this issue.

I guess the trouble starts here with cutting the kernel version
At this point, on a new fenix install, the kernel repo has not been cloned yet.
So, as a workaround, I cloned kernel branch 6.1.y manually before starting ‘make’.

Hello @gkkpch

Uploaded a patch, could you check on your side?

Perfect! Thanks for the quick fix. All OK now.