Skip to content

Add support for cpio and multi-elf in zip archives.#238

Draft
nrclark-gm wants to merge 1 commit into
linux-msm:masterfrom
nrclark-gm:dev/nclark/archive-programmer
Draft

Add support for cpio and multi-elf in zip archives.#238
nrclark-gm wants to merge 1 commit into
linux-msm:masterfrom
nrclark-gm:dev/nclark/archive-programmer

Conversation

@nrclark-gm

@nrclark-gm nrclark-gm commented May 12, 2026

Copy link
Copy Markdown

Teach flashmaps how to contain cpio and multi-elf programmers so that it has parity with the command-line options available to qdl.

In addition to the existing legal values:

{"programmer": ["prog_firehose_ddr.elf"]}

This allows for the following items to be valid values for "programmer":

{"programmer": ["combo.cpio"]}
{"programmer": ["13:foo.elf", "14:bar.elf"]}

which makes it possible to use flash-bundles when targeting chips like Nord that need to load multi-stage Firehose programmers.

Teach flashmaps how to contain cpio and multi-elf programmers so
that it's on parity with the command-line options available to
qdl.

Signed-off-by: Nicholas Clark <nicholas.clark.github@gm.com>
@nrclark-gm nrclark-gm force-pushed the dev/nclark/archive-programmer branch from 91d401b to 3b10cea Compare May 12, 2026 17:28
@andersson

Copy link
Copy Markdown
Collaborator

"qdl create-zip" will create flashmap zip files with multiple programmers defined (if the source material define it as such).

I think rather than supporting the multiple mechanisms for storing multiple programmers in the flashmap.json, we should resolve the xml-format and expand the cpio format into the one supported. Let me know if you see any concerns with this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants