Skip to content

sd: Small improvements around RPMB emulation

Jan Kiszka qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scripts: mkemmc.sh: Fix output pollution on missing imagesscripts/mkemmc.sh+2 -21 reply
2/2hw/sd/sdcard: Add support for pre-setting the authentication keyhw/sd/sd.c+23 -06 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-DaudéIlias ApalodimasJerome Forissier
SeriesR-b
1/2R-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] sd: Small improvements around RPMB emulation

Besides a cosmetic fix for the emmc disk image generation script, this adds a property to the emmc model that allows to preset the authentication key. And that enables to build OPTEE without key writing support, bringing the related firmware much closer to real setups.

An alternative to this option would have been persisting additional state such as the key or the write counter on the disk image as well. This is still an option for the future, e.g. to model also write protection groups or other persistent states. As this requires another format extension of the eMMC disk image, I want for this much simpler and less invasive approach.

Jan

Jan Kiszka (2):
scripts: mkemmc.sh: Fix output pollution on missing images hw/sd/sdcard: Add support for pre-setting the authentication key

 hw/sd/sd.c        | 23 +++++++++++++++++++++++
 scripts/mkemmc.sh |  4 ++--
 2 files changed, 25 insertions(+), 2 deletions(-)
Signature · 1 line
2.47.3