AnsweredAssumed Answered

About CAAM function enabling in i.MX6DQ.

Question asked by Keita Nagashima on Aug 24, 2016
Latest reply on Aug 25, 2016 by Keita Nagashima

Dear All,

 

Hello.
My customer confirmed the CAAM function enabling by using unit tests (imx-test package) from SR# 1-4151725484.
And, they got below logs. (BSP: jb4.2.2_1.1.0)

-----------
FSL-UT-CAAM-001.txt
root@android:/system/lib/modules # insmod tcrypt.ko mode=3
insmod: init_module 'tcrypt.ko' failed (Try again)

FSL-UT-CAAM-002.txt
root@android:/system/lib/modules # insmod tcrypt.ko mode=4
insmod: init_module 'tcrypt.ko' failed (Try again)

FSL-UT-CAAM-003.txt
root@android:/system/lib/modules # insmod tcrypt.ko mode=10
[ 4615.247097] alg: skcipher: Failed to load transform for lrw(aes): -2
[ 4615.248847] alg: skcipher: Failed to load transform for lrw(aes): -2
[ 4615.250765] alg: skcipher: Failed to load transform for xts(aes): -2
[ 4615.273415] alg: skcipher: Failed to load transform for xts(aes): -2
[ 4615.282376] alg: skcipher: Failed to load transform for ctr(aes): -2
[ 4615.290472] alg: skcipher: Failed to load transform for ctr(aes): -2
[ 4615.298008] alg: skcipher: Failed to load transform for rfc3686(ctr(aes)): -2
[ 4615.306512] alg: skcipher: Failed to load transform for rfc3686(ctr(aes)): -2
[ 4615.306521] tcrypt: one or more tests failed!
insmod: init_module 'tcrypt.ko' failed (Exec format error)
-----------

 

[Questions]
Is the CAAM working right from above logs?

The FSL-UT-CAAM-001.txt and FSL-UT-CAAM-002.txt looks right operation.
But, "FSL-UT-CAAM-003.txt" looks wrong operation...
If "FSL-UT-CAAM-003.txt" was wrong operation, please tell me the this cause.

 

Best Regards,
Keita

Outcomes