DavidJS Posted April 4, 2022 Posted April 4, 2022 Yes, this is another rookie question: if I only modify the dts file of the kernel or a certain part of the driver code, I run ./compile.sh, need to wait a long time for the compilation process of uboot and various libraries. How can I only compile the kernel part? I see there is a compile option: KERNEL_ONLY, is this possible? How do I need to update the kenel part after compiling? 0 Quote
Werner Posted April 4, 2022 Posted April 4, 2022 If you use the menu to choose to build packages only it is the same as using KERNEL_ONLY. This will build kernel image, headers, dtb and uboot packages but not a whole image. Use these packages on your board and install them via dpkg. 0 Quote
DavidJS Posted April 5, 2022 Author Posted April 5, 2022 @Werner, thank you . So I can config KERNEL_ONLY to be yes, and use dpkg to install the .debs. 0 Quote
Werner Posted April 5, 2022 Posted April 5, 2022 Yes. Keep in mind that user built images/packages are unsupported. So if you run into trouble like unexpected behavior after installation or inability to boot you are on your own. Create proper backups before tinkering. 0 Quote
ning Posted April 5, 2022 Posted April 5, 2022 if your board is running armbian, and you want to rebuild kernel, I suggest to build kernel natively. 0 Quote
ning Posted April 5, 2022 Posted April 5, 2022 here is handbook https://kernel-team.pages.debian.net/kernel-handbook/ you need to patch debian kernel before build. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.