Summary: | installkernel fails to find devicetree on ARM64 when using gentoo-sources or git-sources | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marek Bartosiewicz <marek.bartosiewicz> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | marek.bartosiewicz, nowa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=947935 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marek Bartosiewicz
2025-01-13 11:04:27 UTC
On arm64 it is required to run 'make dtbs_install' before 'make install'. Thanks, I'll try it! I tried again today with new gentoo-sources-6.13.0. Used this "oneliner": make -j12 && make modules_install && make dtbs_install && make install but it failed: dracut[D]: dracut cmdline: dracut[I]: *** Creating initramfs image file '/tmp/kernel-install.staging.9Y5ycv/initrd' done *** /usr/lib/kernel/install.d/50-dracut.install succeeded. About to execute /usr/lib/kernel/install.d/51-dracut-rescue.install add 6.13.0-gentoo /efi/gentoo/6.13.0-gentoo /usr/src/linux/arch/arm64/boot/Image Successfully forked off '(exec-inner)' as PID 252193. Skipping, 'dracut_rescue_image' not set to 'yes' in any dracut configuration file /usr/lib/kernel/install.d/51-dracut-rescue.install succeeded. About to execute /usr/lib/kernel/install.d/85-check-diskspace.install add 6.13.0-gentoo /efi/gentoo/6.13.0-gentoo /usr/src/linux/arch/arm64/boot/Image Successfully forked off '(exec-inner)' as PID 252198. Checking available disk space on /efi... Disk space okay. Need at least 77327 KiB, found 635544 KiB. /usr/lib/kernel/install.d/85-check-diskspace.install succeeded. About to execute /usr/lib/kernel/install.d/90-compat.install add 6.13.0-gentoo /efi/gentoo/6.13.0-gentoo /usr/src/linux/arch/arm64/boot/Image Successfully forked off '(exec-inner)' as PID 252208. /usr/lib/kernel/install.d/90-compat.install succeeded. About to execute /usr/lib/kernel/install.d/90-loaderentry.install add 6.13.0-gentoo /efi/gentoo/6.13.0-gentoo /usr/src/linux/arch/arm64/boot/Image Successfully forked off '(exec-inner)' as PID 252209. Error: could not find device tree blob 'qcom/x1e80100-lenovo-yoga-slim7x.dtb'. /usr/lib/kernel/install.d/90-loaderentry.install failed with exit status 1. /usr/lib/kernel/install.d/90-loaderentry.install failed with exit status 1. (sd-exec-strv) failed with exit status 1. make[1]: *** [arch/arm64/Makefile:196: install] Błąd 1 make: *** [Makefile:251: __sub-make] Błąd 2 Am I missing something still? Set the equivalent of INSTALL_DTBS_PATH="/lib/modules/${KV_FULL}/dtb" in the environment. The default for the kernel is /boot, but the systemd-boot hook intentionally ignores /boot and instead finds the dtbs in the dtb subdirectory of the module directory. |