Hello,
I'm trying to format a file system in an encrypted partition and my mkfs.ext4 command is stuck forever now.
I came across one of the old posts which suggested to reset the "CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API" config, (https://community.nxp.com/t5/i-MX-Processors/Hardware-accelerated-disk-encryption/m-p/281945) I did so and it did not help resolve my issue.
As the system gets hung on the above mentioned command I'll have to reset the board to recover it. Any suggestion in this regard is appreciated.
Output after executing the command:
root@aa:~# mkfs.ext4 /dev/mapper/00000000-0000-0000-0000-000000000000-etc
mke2fs 1.45.4 (23-Sep-2019)
Creating filesystem with 65536 1k blocks and 16384 inodes
Filesystem UUID: 1e81c1cc-6f86-4a34-ad45-e3bb1cd1dd3c
Superblock backups stored on blocks:
8193, 24577, 40961, 57345
Allocating group tables: done
Details:
Yocto branch- dunfell
Board - colibri-imx6ull
Thanks
Srinidhi
Hello Yuri,
I followed the documentation and enabled the necessary kernel configs and installed the suggested tools. I am still facing the same problem.
Some of the outputs from my system are below.
root@trustx-cml:~# dmsetup targets
integrity v1.3.0
verity v1.5.0
multipath v1.13.0
crypt v1.19.0
striped v1.6.0
linear v1.4.0
error v1.5.0
@srinidhih
Hello,
I've sent You considerations (using e-mail) regarding software approach
for cryptofs -without CAAM support.
Regards,
Yuri.
@srinidhih
Hello,
You mentioned about colibri-imx6ull board. IMX 6ULL does not have CAAM;
hardware acceleration is not supported.
Regards,
Yuri.
@srinidhih
Hello,
please use section 10.5 (Disk encryption acceleration) of "i.MX_Linux_Users_Guide.pdf".
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
Regards,
Yuri.