Open Mustafagio opened 2 years ago
Did you try find out/arch/arm64/boot/dts/vendor/qcom -name '*.dtb' -exec cat {} + > out/arch/arm64/boot/dtb
?
Thank you for your reply. Yes, I tried what you said and a file named dtb came to the boot folder, but what I want is the image.gz-dtb file after compiling it.
When I compile the kernel of another device before, there was image.gz-dtb file in the output. Excuse my naivety. Do I have to merge the dtb file with the image.gz file myself?
AFAIU you can create it manually by changing lines in config:
-# CONFIG_BUILD_ARM64_UNCOMPRESSED_KERNEL=y
+CONFIG_BUILD_ARM64_KERNEL_COMPRESSION_GZIP=y
And then concatenating dtb
with Image.gz
(should appear after re-building):
find out/arch/arm64/boot/dts/vendor/qcom -name '*.dtb' -exec cat {} + > out/arch/arm64/boot/dtb
cat out/arch/arm64/boot/Image.gz out/arch/arm64/boot/dtb > out/arch/arm64/boot/Image.gz-dtb
Btw I'm a beginner too, so my advice might be wrong or non-complete, sorry :)
hello, I tried to make a nethunter kernel using your omega kernel source, the compilation was successful, but the image.gz-dtb file I need is not output. and when I configured the kernel with menuconfig, I couldn't find the image.gz-dtb file option in the boot menu, I wonder what am I doing wrong, I'm a beginner, thanks in advanc
e