On Tue, Apr 23, 2024 at 10:22 AM Avri Altman Avri.Altman@wdc.com wrote:
On Tue, Apr 23, 2024 at 8:42 AM Avri Altman Avri.Altman@wdc.com wrote:
The OP-TEE driver finds the correct RPMB device to interact with by iterating over available devices until one is found with a programmed authentication matching the one OP-TEE is using. This enables coexisting users of other RPMBs since the owner can be determined by who knows the authentication key.
Devices in plural? I am unaware of any board with multi eMMC devices soldered. Can you refer me to such a platform?
I'm testing with a Hikey960 (HiSilicon Kirin 620) https://www.96boards.org/product/hikey It has one soldered eMMC and one removable eMMC.
I used to have that board but with a UFS2.1 version, so I can't really tell. https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey62... indicating only a single eMMC device and a SD.
That's what I'm testing with, the kernel finds two RPMBs with different CIDs. I'm running my tests with the removable one.
Either way, AFAIK there are no production designs that make use of more than a single embedded flash storage. This goes for both eMMC and UFS.
OK
Thanks, Jens