-
Hi, I've hacked a solution into a
Where the patch files look like:
I then use this append on tegra-flashvars to redirect to use the
However, I'm guessing the Since tegra-bootfiles requires tegra-shared-binaries.inc and tegra-shared-binaries disables do_fetch I can't use the typical SRC_URI method of referencing/using these patches. I thought about using my own recipe but if possible it would be nice to use an append on tegra-bootfiles so I could continue to reuse the do_install logic there. I'm wondering if someone has already solved this problem in a better way or has some suggestions about a better way to handle this. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It's been a while since I did this, but I think I ran into something similar, patching the |
Beta Was this translation helpful? Give feedback.
-
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 Doing this in a separate recipe wouldn't be too bad, either -- have I suppose we could split the |
Beta Was this translation helpful? Give feedback.
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 withapply=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 …