Activating CAAM HW acceleration in linux kernel on i.mx6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Activating CAAM HW acceleration in linux kernel on i.mx6

4,451件の閲覧回数
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

ラベル(7)
0 件の賞賛
4 返答(返信)

1,316件の閲覧回数
ravikiran
Contributor II

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

0 件の賞賛

1,316件の閲覧回数
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,316件の閲覧回数
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,316件の閲覧回数
Yuri
NXP Employee
NXP Employee
0 件の賞賛