Skip to content

Proper way to apply patch to BPMP Device Tree Blobs #1094

Answered by madisongh
dwalkes asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure the usual SRC_URI/do_patch mechanism would work for this anyway, since the BPMP device trees are provided in binary form only, so you'd still have to decompile them, apply the patches, then recompile them. You could add the patches to the SRC_URI in the tegra-binaries recipes as @kekiefer suggests - but make sure to tag them with apply=no so they don't get processed by do_patch.

Doing this in a separate recipe wouldn't be too bad, either -- have DEPENDS = "tegra-bootfiles" in the recipe, then extract the original dtb files from the recipe sysroot, process them, then install the new ones back in the recipe sysroot again. The drawback with that approach is making sure you have …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dwalkes
Comment options

dwalkes Oct 12, 2022
Collaborator Author

Answer selected by dwalkes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants