On 4/11/25 14:03, Jan Kiszka wrote:
This closes an old gap in system integration testing for the very complex ARM firmware stacks by adding fairly advanced Replay Protected Memory Block (RPMB) emulation to the eMMC device model. Key programming and message authentication are working, so is the write counter. Known users are happy with the result. What is missing, but not only for RPMB- related registers, is state persistence across QEMU restarts. This is OK at this stage for most test scenarios, though, and could still be added later on.
Jan Kiszka (6): hw/sd/sdcard: Fix size check for backing block image hw/sd/sdcard: Allow user-instantiated eMMC hw/sd/sdcard: Add basic support for RPMB partition hw/sd/sdcard: Handle RPMB MAC field scripts: Add helper script to generate eMMC block device images docs: Add eMMC device model description
FTR: Tested-by: Cédric Le Goater <[email protected]> and also for u-boot I got a late: Tested-by: Ilias Apalodimas <[email protected]>
