Hello
I am using Yocto to build an image for AM6442-SK board. I noticed that when the board boots up, the task /usr/sbin/rngd -f -r /dev/hwrng is executed and the CPU load is 100%. The rngd.service service returns the logs:
Oct 24 09:59:13 am64xx-evm systemd[1]: Started Hardware RNG Entropy Gatherer Daemon. Oct 24 09:59:14 am64xx-evm rngd[270]: Initializing available sources Oct 24 09:59:14 am64xx-evm rngd[270]: [hwrng ]: Initialized Oct 24 09:59:14 am64xx-evm rngd[270]: [rndr ]: No HW SUPPORT Oct 24 09:59:14 am64xx-evm rngd[270]: [rndr ]: Initialization Failed Oct 24 09:59:15 am64xx-evm rngd[270]: [jitter]: Initializing AES buffer Oct 24 10:00:10 am64xx-evm rngd[270]: [jitter]: Enabling JITTER rng support Oct 24 10:00:10 am64xx-evm rngd[270]: [jitter]: Initialized
So I think this high CPU load is due to the lack of rngd hardware support. How do I turn it on?
I enabled these options but the issue still exists.
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_CCTRNG=y
Thank you for help.
BR,
Jakub