the last time i used fenix, it was still not able to produce mainline kernel debian for emmc, and your khadas recue initiative was our only solution to get mainline kernel install to emmc and booting from emmc, please push harder fenix to become compatible with mainline linux debian kresq
Hey, this does not work, but ./scripts/make_debian_mainline_server.sh VIM1
gives…
# cd ./scripts/..
# ln -sf build/linux-mainline-* linux
[i] build uboots: VIM1
[i] build VIM1
./scripts/create_image.sh
***********************PARAMETERS************************
Fenix Version: 0.8.3
Khadas Board: VIM1
Uboot Version: mainline
Uboot Configuration: khadas-vim_defconfig
Uboot Branch: master
Linux Version: mainline
Linux Configuration: defconfig
Linux DTB: arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dtb
Linux Branch: master
Distribution: Debian
Distribution Release: buster
Distribution Type: server
Distribution Arch: arm64
Install Type: SD-USB
Final Image: VIM1_Debian-server-buster_Linux-5.5-rc2_arm64_SD-USB_V0.8.3-20200310.img
*********************************************************
Info: Build host: bionic
Info: Installing build dependencies
Info: Requires root privileges, please enter your passowrd!
Hit:1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://ppa.launchpad.net/eh5/pulseaudio-a2dp/ubuntu bionic InRelease
Get:4 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Hit:6 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Get:7 https://dl.yarnpkg.com/debian stable InRelease [17,1 kB]
Err:7 https://dl.yarnpkg.com/debian stable InRelease
The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
Fetched 163 kB in 1s (213 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libusb-1.0-0-dev : Depends: libusb-1.0-0 (= 2:1.0.21-2) but 2:1.0.23-2build1 is to be installed
E: Unable to correct problems, you have held broken packages.
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 100
My build machine runs ubuntu 18.04.4, and I had issues regarding unmet dependencies,
any idea to fix this ?
May I suggest that you provide a docker solution ? fenix is much easier with docker image ready to use…
tks
I applied your patch and retried,
this time it goes farther but we still have some error as we see below:
…
wiringpi_debs-c1f48d2dbe [ <=> ] 120.17K 375KB/s in 0.3s
2020-03-12 23:24:31 (375 KB/s) - ‘wiringpi_debs-c1f48d2dbe0417cf34699f2edd6bc0ff6bf86f40.tar.gz’ saved [123054]
Calculated checksum is: 281c2711485b3495d076825fc3c933fe3d911879ff96bb82252aa36aa2f687c3
Extracting 'wiringpi_debs-c1f48d2dbe0417cf34699f2edd6bc0ff6bf86f40.tar.gz' to '/home/khadas/fenix/build'...
./scripts/create_image.sh:111 Warning: This script requires root privileges, trying to use sudo, please enter your passowrd!
Info: Preparing rootfs for VIM1-buster
Info: Creating new rootfs for buster
Info: Installing base system - Stage 1/2
/usr/sbin/debootstrap: 1455: /usr/sbin/debootstrap: cannot create /home/khadas/fenix/build/images/.tmp/rootfs-VIM1-buster-server/test-dev-null: Permission denied
E: Cannot install into target '/home/khadas/fenix/build/images/.tmp/rootfs-VIM1-buster-server' mounted with noexec or nodev
Cleanup...
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1
khadas@38b1d52425fb:~/fenix$