lyh Posted November 24 Posted November 24 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? 0 Quote
Solution Werner Posted November 24 Solution Posted November 24 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/ 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.