Skip to contentSkip to conversation

devtool does not apply patches from esdk

DISCUSSION [email protected] 1 participant 1 message May 26, 2021

lore
Share & tools
lore
#0 lore raw

Hi all,

I generated and installed Extensible SDK for my core-image-minimal and would like to use it for kernel development. Having sourced the environment-setup-* script I first ran devtool modify linux-yocto to fetch the sources. During this step, I got a warning:

WARNING: SRC_URI is conditionally overridden in this recipe, thus several devtool-override-* branches have been created, one for each override that makes changes to SRC_URI. It is recommended that you make changes to the devtool branch first, then checkout and rebase each devtool-override-* branch and update any unique patches there (duplicates on those branches will be ignored by devtool finish/update-recipe).

Okay, I have SRC_URI_append_mymachine = ....

I compared devtool-override-* branch (there's only one) with the target one 5.10.21 of the kernel; and there are no modifications.

Then I ran devtool build linux-yocto which failed to compile the kernel, because all of my patches are not applied. Actually, dtb was not generated, since I do add a custom device tree sources by patch. I observed the directory workspace/sources/linux-yocto and found .kernel-meta/unused.patch.queue which contains all of my patches. A do_unpack_and_patch task actually does nothing; the log file for it is rather empty.

Can you provide me with any hint how to apply the patches and compile the kernel, please?

Signature · 2 lines
regards,
Peter Hatina