How to use rpmb in imx8x

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use rpmb in imx8x

617 Views
Contributor II

IMX8X  RPMB use ?

             hello, could anyone tell me how to use rpmb in imx8x? tks!

like this ?

mmc rpmb write-key <rpmb device> <key file>
mmc rpmb write-block <rpmb device> <address> <256 byte data file> <key file>
mmc rpmb read-block <rpmb device> <address> <blocks count> <output file> [key file]

???

0 Kudos
3 Replies

222 Views
NXP TechSupport
NXP TechSupport

Hi Shalan

it can be used with mmc-utils :

hardware - How to access Replay Protected Memory Block (RPMB) in eMMC? - Information Security Stack ... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

222 Views
Contributor II

I know to use it,tks!

0 Kudos

222 Views
Contributor III

Hi Shalan Yang,

Can you please share the exact inputs to below mentioned mmc commands?
mmc rpmb write-key <rpmb device> <key file>
mmc rpmb write-block <rpmb device> <address> <256 byte data file> <key file>
mmc rpmb read-block <rpmb device> <address> <blocks count> <output file> [key file]

Because, I'm also trying to read/write the RPMB partition in i.Mx8.

Thank You.
Best Regards,
J.P.Raja

0 Kudos