i.MX93: How to use ele to generate or read die root key?

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

i.MX93: How to use ele to generate or read die root key?

655 次查看
Nivas_Pangarkar
Contributor II

Hi team,

I'm using i.MX93 with kernel "lf-6.1.y" and i can see ele_mu node in see imx93-11x11-evk.dts

&ele_mu {
memory-region = <&ele_reserved>;
};

ele_reserved: ele-reserved@a4120000 {

compatible = "shared-dma-pool";
reg = <0 0xa4120000 0 0x100000>;
no-map;
};
};

and imx93.dtsi

ele_mu: ele-mu {
compatible = "fsl,imx93-ele";
mboxes = <&s4muap 0 0 &s4muap 1 0>;
mbox-names = "tx", "rx";
fsl,ele_mu_did = <3>;
fsl,ele_mu_id = <2>;
fsl,ele_mu_max_users = <4>;
status = "okay";
};

 

I can see this nodes in /dev:

ele_mu2_ch3
ele_mu2_ch2
ele_mu2_ch1
ele_mu2_ch0

 

How can I use ele? How can I generate or use die root key ?

Any end to end document available for read or test the die root key using command line (On OS level)?

标记 (1)
0 项奖励
回复
2 回复数

629 次查看
Harvey021
NXP TechSupport
NXP TechSupport

"Derive Key" command can be used to derive a die unique key. Please refer to tee_otp_get_hw_unique_key()  in imx-optee-os/core/drivers/imx_ele.c at lf-6.1.1_1.0.0 · nxp-imx/imx-optee-os · GitHub

 

Regards

Harvey

0 项奖励
回复

592 次查看
Nivas_Pangarkar
Contributor II

Hi @Harvey021 , Thanks for reply

How to use this "Derive Key" command or tee_otp_get_hw_unique_key() in user space?

Any sample application available?

0 项奖励
回复