How to use rpmb in imx8x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use rpmb in imx8x

2,789 次查看
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 项奖励
3 回复数

2,394 次查看
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 项奖励

2,394 次查看
shalanyang
Contributor II

I know to use it,tks!

0 项奖励

2,394 次查看
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 项奖励