Closed OmarAberkan closed 5 years ago
dmesg:
[ 99.976812] caam_keyblob caam-keyblob: caam_keyblob: initialized
[ 99.977366] Synchronous External Abort: synchronous external abort (0x96000210) at 0xffff000009cad014
[ 99.977375] Internal error: : 96000210 [#1] PREEMPT SMP
[ 99.982609] Modules linked in: caam_keyblob(O+)
[ 99.987150] CPU: 3 PID: 4314 Comm: insmod Tainted: G O 4.14.78-05595-g94da7bd-dirty #1
[ 99.996194] Hardware name: FSL i.MX8MM EVK board (DT)
[ 100.001245] task: ffff800075210000 task.stack: ffff000019e08000
[ 100.007171] PC is at caam_keyblob_probe+0x98/0x1a8 [caam_keyblob]
[ 100.013267] LR is at caam_keyblob_probe+0x94/0x1a8 [caam_keyblob]
[ 100.019359] pc : [
root@omar:~# caam_tool enc key key.blob caam_tool: encrypting 5 bytes from key caam_tool: caam_kb_data &{Text:0x1036e000 TextLen:5 Blob:0x103100c0 BlobLen:53 Keymod:0x1030e0f0 KeymodLen:16} caam_tool: issuing ioctl c0184900 on /dev/caam_kb caam_tool: error, inappropriate ioctl for device
Unfortunately we don't have an i.MX8 board and adapting the module would require much more than looking at these traces. We need the time with actual hardware. For now we don't have resources to do this, but we may in the future. Thanks.
Hello, first of all many thanks for publishing this tool. I tried to install the kernel module on a imx8mmevk, i followed all steps in the description. Like you said earlier it needs some modifications to work on the imx8. I don't know if you are interested to implement this, but can you at least give me some hints about what i could do to make this kernel module work?
This is all the information i can give you.