Activating CAAM HW acceleration in linux kernel on i.mx6

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

Activating CAAM HW acceleration in linux kernel on i.mx6

4,456 次查看
jean-michelhaut
Contributor I

Hi all !

I am starting to work with an i.mx6 evaluation board and I can't activate CAAM in my linux kernel configuration.
It depends on the KConfig option "FSL_SOC" and this option is effectively not selected for the i.mx processors.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/crypto/caam/Kconfig?id=...

config CRYPTO_DEV_FSL_CAAM
  tristate "Freescale CAAM-Multicore driver backend"
  depends on FSL_SOC

Is it intended ?

Thanks in advance !

JM

0 项奖励
4 回复数

1,321 次查看
ravikiran
Contributor II

I also found same problem with Linux Kernel which I am using. Its strange & a obvious Bug :smileysad:

0 项奖励

1,321 次查看
SergioSolis
NXP Employee
NXP Employee

Hello Jean-Michel

By default, CAAM is disabled. If you want to use CAAM module, please specify

"caam" to the kernel command line.

CAAM uses ALT7 mode of pad GPIO_0, which conflicts with any othermodule that using pad GPIO_0 on the board.

On this board CAAM conflicts with audio codec (WM8962) and camera(ov5642) module.

So, it is needed to rebuild kernel in order to disable the codec and the cam.

Next, to see CAAM activities, please use /proc/interrupts of Linux.

Finally, the following community thread may be usefull

Freescale has some patches that address the CAAM driver crash.

These patches will hopefully be included in the next BSP update.

https://community.freescale.com/message/335389#335389

0 项奖励

1,321 次查看
adnana
Contributor I

I have removed audio codec (WM8962) and camera(ov5642) module from kernel configs.

Appended 'caam=1' to kernel bootparm.

I still don't see any caam activity in kernel. :smileysad:

0 项奖励

1,321 次查看
Yuri
NXP Employee
NXP Employee
0 项奖励