AnsweredAssumed Answered

Dose iMX6ULL  support CAAM driver?

Question asked by shi kai on May 9, 2018
Latest reply on May 11, 2018 by Bio_TICFSL

Dear all,
      Now I try to port BSP from iMX6UL to iMX6ULL,but always occur kernel panic after load CAAM driver.

      Log as follows,

usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
Unhandled fault: external abort on non-linefetch (0x1008) at 0x889c0004
Internal error: : 1008 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.52+g94d07bb #33
task: 84058000 ti: 8405c000 task.ti: 8405c000
PC is at caam_probe+0x1a4/0xe04
LR is at caam_probe+0x184/0xe04
pc : [<8051c2e4>] lr : [<8051c2c4>] psr: 60000113
sp : 8405de20 ip : f42c407c fp : 00000000
r10: 80a32364 r9 : 0000010e r8 : 80a4a4c0
r7 : 840d5610 r6 : 80a9dc08 r5 : 840d5600 r4 : 842ed180
r3 : 00000000 r2 : 889c0000 r1 : 00000001 r0 : 00000020
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 8000406a DAC: 00000015
Process swapper/0 (pid: 1, stack limit = 0x8405c238)
Stack: (0x8405de20 to 0x8405e000)
de20: 00000000 8405de38 8091ec64 889c0000 8405de38 80b0001c 00000000 00000000
de40: 00000000 840d5600 840d6870 8091ec64 843142d0 80b0f018 840d5610 80a9dc08
de60: fffffdfb 00000000 0000010e 80a32364 00000000 80356eb0 80356e6c 80b0f018
de80: 840d5610 00000000 80a9dc08 8035573c 840d5610 80a9dc08 840d5644 80a76e30
dea0: 80ab7980 80355948 00000000 80a9dc08 803558bc 80353c9c 8404d55c 840d33b4
dec0: 80a9dc08 84310a00 00000000 80354ef4 809510bc 80a9dc08 80a200ec 80a9dc08
dee0: 80a200ec 80a3235c 80ab7980 80355f44 00000000 8405c000 80a200ec 8000889c
df00: 8400f900 808d73ec 8409e600 80721204 00000000 00000000 00007980 8012f0b0
df20: 00000000 80a568cc 60000113 00000001 00000008 00000000 87ffc447 8004ab3c
df40: 809324e8 00000006 00000006 87ffc449 80a568bc 80a3e9cc 00000006 80a3235c
df60: 80ab7980 80ab7980 0000010e 80a32364 00000000 809e0c54 00000006 00000006
df80: 809e0514 80053854 00000000 80713830 00000000 00000000 00000000 00000000
dfa0: 00000000 80713838 00000000 8000e500 00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 3dd7f03d e7994b5f
[<8051c2e4>] (caam_probe) from [<80356eb0>] (platform_drv_probe+0x44/0xa4)
[<80356eb0>] (platform_drv_probe) from [<8035573c>] (driver_probe_device+0x110/0x24c)
[<8035573c>] (driver_probe_device) from [<80355948>] (__driver_attach+0x8c/0x90)
[<80355948>] (__driver_attach) from [<80353c9c>] (bus_for_each_dev+0x6c/0xa0)
[<80353c9c>] (bus_for_each_dev) from [<80354ef4>] (bus_add_driver+0x148/0x1f0)
[<80354ef4>] (bus_add_driver) from [<80355f44>] (driver_register+0x78/0xf8)
[<80355f44>] (driver_register) from [<8000889c>] (do_one_initcall+0xf8/0x154)
[<8000889c>] (do_one_initcall) from [<809e0c54>] (kernel_init_freeable+0x138/0x1d8)
[<809e0c54>] (kernel_init_freeable) from [<80713838>] (kernel_init+0x8/0xe8)
[<80713838>] (kernel_init) from [<8000e500>] (ret_from_fork+0x14/0x34)
Code: e3530000 0a000000 e12fff33 e59d200c (e5923004)
---[ end trace 00e50a11bfbfe155 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

 

Load CAAM driver failed, then I find some info in this doc. Dose it mean iMX6ULL not support CAAM feature?


 

Outcomes