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
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
Hi @DADAXIN
You try the problem first to see if this CAAM test is causing it.
Best Regards,
Zhiming
Hi @dadaxin
It has no effect, I don't see this in the latest bsp defconfig.
Best Regards,
Zhiming