2289919_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2289919_en-US

2289919_en-US

IMX8MP Kernel Configuration CAAM Reboot System Stuck

Hello NXP community technicians!

IMX8MP motherboard reboot encountered problems: yocto system for reboot, there will be a kernel stuck print, resulting in the kernel has not been responsive, as if into a dead loop waiting; has been configured with CAAM, not sure if it is caused by this configuration, the probability of recurrence of 1/100,1/200,1/500; to help analyze and see it, I look forward to your reply!

Platform: IMX8MP

Kernel: 6.6.52

yocto: init boot 5.0

The log is as follows, the full log and CAAM configuration will be attached configure.txt and log.txt

[ 2.131014] caam 30900000.crypto. device ID = 0x0a16040100000100 (Era 9)
[ 2.137748] caam 30900000.crypto. job rings = 2, qi = 0
[ 2.145206] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[ 2.146567] caam algorithms registered in /proc/crypto
[ 2.157655] caam 30900000.crypto. caam pkc algorithms registered in /proc/crypto
[ 2.165088] caam 30900000.crypto. rng crypto API alg registered prng-caam
[ 2.171948] caam 30900000.crypto. registering rng-caam
[ 2.179519] Executing RNG SELF-TEST with wait
[ 2.257632] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[ 2.265061] mmcblk2: mmc2:0001 DV4032 29.1 GiB
[ 2.273422] mmcblk2: p1 p2 p3
[ 2.278865] mmcblk2boot0: mmc2:0001 DV4032 4.00 MiB
[ 2.285336] mmcblk2boot1: mmc2. 0001 DV4032 4.00 MiB
[ 2.291975] mmcblk2rpmb: mmc2:0001 DV4032 16.0 MiB, chardev (234:0)
[ 60.417175] imx-sdma 30bd0000.dma-controller. Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 60.427636] imx-sdma 30bd0000.dma-controller. Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 121.829472] imx-sdma 30bd0000.dma-controller. external firmware not found, using ROM firmware
[ 122.985105] random: crng init done

Re: IMX8MP 内核配置CAAM重启系统卡住Thanks for the reply, I'll turn off the self-checking verification on my end and see if turning this off will have any effect on the CAAM application.Re: IMX8MP 内核配置CAAM重启系统卡住

Hi @DADAXIN

Take a look at this log.

 Executing RNG SELF-TEST with wait

Try setting CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_TEST to n.

Best Regards,
Zhiming

Re: IMX8MP 内核配置CAAM重启系统卡住

Hi @DADAXIN

You try the problem first to see if this CAAM test is causing it.

Best Regards,
Zhiming

Re: IMX8MP 内核配置CAAM重启系统卡住

Hi @dadaxin

It has no effect, I don't see this in the latest bsp defconfig.

Zhiming_Liu_0-1768976767067.png





Best Regards,
Zhiming

Re: IMX8MP 内核配置CAAM重启系统卡住Thanks for the reply, by default BSP does not enable this configuration; but does it have any effect to not enable this CAAM self-test when CAAM function is enabled?Re: IMX8MP 内核配置CAAM重启系统卡住Hi, Zhiming
After turning off CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_TEST, 1000 times of hot reboot on multiple motherboards are normal, so it can be confirmed that CAAM self-test has an effect on hot reboot, and the actual application can turn off this configuration?
Tags (1)
No ratings
Version history
Last update:
‎01-22-2026 02:29 AM
Updated by: