how do i add p11tool to imx8mp

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

how do i add p11tool to imx8mp

跳至解决方案
1,060 次查看
greeran
Contributor III

hi

I am creating a secure BSP for imx8mp board. My guide lines are from the imx-linux-user-guide chapter 10. was successful in adding the cryptodev and the libp11 and but i am not able to build the p11tool.

the p11tool is built from gnutls. i tried to add p11-kit to the package config but with no success. does someone know how to build and add the p11tool to the Yocto BSP

thanks

 

标记 (1)
0 项奖励
回复
1 解答
1,023 次查看
greeran
Contributor III

hi

i was able to solve the problem. it seems the p11-kit was update and i did not have the latest update. the recipe update added native to the BBVCLASSEXTEND. 

this solved the problem

thansk

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,024 次查看
greeran
Contributor III

hi

i was able to solve the problem. it seems the p11-kit was update and i did not have the latest update. the recipe update added native to the BBVCLASSEXTEND. 

this solved the problem

thansk

 

0 项奖励
回复
1,032 次查看
greeran
Contributor III

hi Harvey

i am building a minimal secure image. i added the p11-kit and the libp11 and the pk11-helper. i see they work but when i add the p11-kit to the package config in the gnutls recipe the build fails. it seems that automaticly the gnutls recipe looks for p11-kit-native but does not find it. 

might you know where my error is 

thansk

 

0 项奖励
回复
1,046 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @greeran 

Have you built the full image, bitbake imx-full-image? There is a p11tool with testing on a prebuild full image. 

 

Regards

Harvey

0 项奖励
回复