On 15/04/2026 22:32, Philippe Mathieu-Daudé wrote:
> (Cc'ing Jerome to his new email)
Thanks :)
> On 15/4/26 07:46, Jan Kiszka wrote:
>> 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.
That's coool! For the series:
Reviewed-by: Jerome Forissier <jerome.forissier@arm.com>
Thanks,
--
Jerome
>> 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(-)
>>
>