Jump to content

Recommended Posts

Posted

Hello, my development board is Rock5B, and I am using the Armbian system for a recent project. I have already compiled the firmware in the armbian/build/ directory, and the device starts up normally.

I want to modify and customize my U-Boot and kernel.

After compiling Armbian, I would like to recompile U-Boot or the kernel in the armbian/build/cache/sources directory.

Are there any commands to rebuild U-Boot and the kernel?

 

 

Posted

Hi,

 

this is not how it works. Any changes you do to the source cache are void once build starts to ensure they are clean.

For customizing the config I suggest to either use KERNEL_CONFIGURE=yes so you will be asked for modifications or use kernel-config  build command to output a custom kernel config file without building.

 

For modifying the sources use kernel-patch or boot-patch commands. This will pause the process once all given patches were applied and asks you to do modifications to the source (from a different terminal window or whatever method you'd prefer). When being done it will compare and create proper patch files from your modifications.

 

This and more you can read in the docs: https://docs.armbian.com/Developer-Guide_Overview/

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