Hello Kane, [ ... ]
The Secure Boot Controller (SBC) includes some components like OTP memory, crypto engine, boot controller, and so on. All components within the SBC are fixed and cannot be changed. If we allow an otpmem machine option, it may imply that different types or sizes of OTP memory models are supported, such as: * Different size: -M ast2600-evb,otpmem=otpmem-64k-drive * Different model: -M ast2600-evb,otpmem=flash-drive
The optmem model should check the size and fail to realize in that case. This would stop the machine before reset. This is a common pattern in QEMU. See m25p80_realize(). Also, I think we would like the machine to start even if there is no block backend. Please check how m25p80 models that behavior. Thanks, C.