[manuf,qemu] Provisioning flow fixes for QEMU #28898
Open
+20
−9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR makes the minimal necessary changes to the provisioning flow to provide the support required to be able to run the end-to-end orchestrator tests in QEMU, to emulate provisioning flows. The 1st commit resolves a bug that does not cause a problem on FPGA/silicon but does start to cause issues on QEMU, and the 2nd adds special case handling for reading uninitialized flash on QEMU (different to FPGA). See the commit messages and comments for more details.
Aside: to be able to build the orchestrator zip for QEMU we will need to have signed
ft_personalize_sivalandrom_ext_dice_x509_prodbinaries present in the repo (currently exist only for silicon & FPGAs). I would assume for non-silicon environments these are generated and signed with fake keys, but I cannot find any documentation on how these are produced for non-silicon environments. It also isn't clear to me what online/manual intervention is required to run the E2E orchestrator tests for the SiVal SKU (or whether this is even possible for me to perform locally / for QEMU). I can't find any supporting documentation for these tests aside from some guidance for running the orchestrator. Any more information / suggestions would be appreciated.