How to use rpmb in imx8x

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use rpmb in imx8x

2,741 Views
shalanyang
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

2,346 Views
igorpadykov
NXP Employee
NXP Employee

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

2,346 Views
shalanyang
Contributor II

I know to use it,tks!

0 Kudos

2,346 Views
Raana
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