How to enable CAAM in MCIMX6UL-EVK

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

How to enable CAAM in MCIMX6UL-EVK

Jump to solution
2,263 Views
ko-hey
Senior Contributor II

Hi all

My customer want to test a CAAM function in i.MX6UL.
Because they plan to use the CAAM as a encription engine of openssl.

they tried to test CAAM by reference to following thread.
https://community.nxp.com/message/447685
Also they checked kernel configuration, libaf_alg and boot parameters.
However, the CAAM didn't work.

Can user test the CAAM function with MCIMX6UL-EVK ?
If yes, could you let me know how to test the CAAM in MCIMX6UL-EVK.

Here is their test environment

Board: MCIMX6UL-EVK
BPS: L4.1.15


Ko-hey

Labels (3)
0 Kudos
1 Solution
1,434 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

 Please use the recent Linux BSP for i.MX6 :

 

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

 

Demo image :

 

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_iMX6UL&appType=license&location=null&Parent... 

 

 

 Summary Page :

i.MX 6 Series Software and Development Tool|NXP 

  Chapter 50 [CAAM (Cryptographic Acceleration and Assurance Module)]

of “i.MX_Linux_Reference_Manual.pdf” describes CAAM driver options.

  Section 9 (Security) of “i.MX_Linux_User's_Guide.pdf” shows how to test

CAAM driver.

 

 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

View solution in original post

5 Replies
1,434 Views
BiyongSUN
NXP Employee
NXP Employee

Also you can see the CAAM hardware accelerate the ssh guide in BSP document i.MX_Linux_User's_Guide.pdf, which is a good test.

Untitled.png

1,434 Views
ko-hey
Senior Contributor II

Hi Yuri & B.Y.Sun

I tested it and it works !!

Thank you !

Ko-hey

0 Kudos
1,434 Views
BiyongSUN
NXP Employee
NXP Employee

If you  check the kernel boot log, you will see the caam driver demo print out

mmc1: new high speed SDHC card at address aaaa
mmcblk1: mmc1:aaaa SU08G 7.40 GiB
 mmcblk1: p1 p2
caam algorithms registered in /proc/crypto
caam_jr 2141000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 8 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07

1,435 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

 Please use the recent Linux BSP for i.MX6 :

 

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617... 

 

Demo image :

 

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_iMX6UL&appType=license&location=null&Parent... 

 

 

 Summary Page :

i.MX 6 Series Software and Development Tool|NXP 

  Chapter 50 [CAAM (Cryptographic Acceleration and Assurance Module)]

of “i.MX_Linux_Reference_Manual.pdf” describes CAAM driver options.

  Section 9 (Security) of “i.MX_Linux_User's_Guide.pdf” shows how to test

CAAM driver.

 

 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

1,434 Views
ko-hey
Senior Contributor II

Hi Yuri

Thank you for quick reply.

I'll test it

Ko-hey

0 Kudos