extract-cdo should be running after the boot.bin is generated. The "CDO" is
contained within a section of the PDI file(s), which are embedded in the
boot.bin by earlier invocations of bootgen.
So order of operations needs to be:
boot.bin is generated (from the PDI + other artifacts) and deployed to the
tmp/deploy directory.
extract-cdo is needed to support QEMU, and should point back to the deployed
boot.bin. The key is it must be the one that was just generated, or the
pmc_cdo.bin must be the current one for everything to work properly.
What is intended to force this is line 11 of the recipe:
do_compile[depends] += "virtual/boot-bin:do_deploy"
clearly it's not working if you are having issues with it.
If bootgen is still running, then there is some issue still with the dependency
above. The boot-bin generation MUST be complete before we can run our own
do_compile.
(I've not seen this behavior or I would try to resolve it.. if you can reproduce
this regularly -- then you may have a better chance at figuring out why the
dependency isn't correct.)
--Mark
On 5/2/22 1:32 PM, Thompson, Corey via lists.yoctoproject.org wrote:
Apologies, I forgot to actually attach the patch as I often do!
On Mon, May 02, 2022 at 02:30:30PM -0400, Corey Thompson wrote:
Hello.
I've been troubleshooting an issue that sometimes QEMU wouldn't start
after I built my image. I narrowed it down to that the extract-cdo
recipe doesn't properly deploy pmc_cdo.bin to the images dir when the
recipe is deployed from sstate cache.
I found a note in the Yocto reference manual about this issue here:
https://docs.yoctoproject.org/3.2.4/ref-manual/ref-tasks.html#do-deploy
Attached is a patch which seems to address the problem as far as I can
tell.
I am building using meta-xilinx rel-v2021.2 (commit hash
054cb2cb4c3ffe868ade68369433027989571cf6) with the following in my
local.conf:
MACHINE ?= "versal-generic"
BOARD ?= "vck190"
Thanks,
Corey
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4988):
https://lists.yoctoproject.org/g/meta-xilinx/message/4988
Mute This Topic: https://lists.yoctoproject.org/mt/90842546/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-