Jump to content

How to build only kernel?


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines