Skip to content

Conversation

rivos-eblot
Copy link

@rivos-eblot rivos-eblot commented Jan 28, 2025

Previous versions of QEMU OT were not capable of dealing with multiple SPI host buses + internal flash.
Rework pyot.py embedded flash management so that it is required to specify which MTD bus should be used when generating eflash image from ELF files.

Also addresses a long lasting issue where per-test icount value was not emitted in the pyot.py (CSV) reports.

@rivos-eblot rivos-eblot changed the title [ot] scripts/openitan: pyot.py: rework embedded flash management [ot] scripts/opentitan: pyot.py: rework embedded flash management Jan 28, 2025
…bus index.

Embedded flash option enables flash image generation for the internal flash
controller. It now requires a bus index to specify to which QEMU bus the
internal flash controller is connected, as this may depends on the machine
configuration.

Also assign an id to each drive option to avoid collisions due to QEMU
assigning the same default id if not explicitly specified.

Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
@rivos-eblot rivos-eblot merged commit 6e44ef3 into lowRISC:ot-earlgrey-9.1.0 Feb 4, 2025
7 checks passed
@rivos-eblot rivos-eblot deleted the dev/ebl/pyot_eflash branch February 4, 2025 09:40
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