CRNG is running really slow, which causes Qt applications to block on getrandom() for several minutes on startup.
Dmesg error is:
[ 498.449302] random: crng init done
[ 498.452875] random: 7 urandom warning(s) missed due to ratelimiting
Is there a fix for the BSP for console-tdx-image to get this to not cause apps to stall?
I did learn that there is a bad patch in the Linux mainline related to this commit:
I checked the code and the definition is crng_init()>1 in
tmp-glibc/work-shared/colibri-imx6/kernel-source/drivers/char/random.c
I am going to try the answer to this question:
As suggested in another post,
Adding
CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y
to the kernel defconfig seems to fix this problem, crng init done is finished in less than ten seconds.
Thanks for your suggestion.