how to improve entropy value ? base on imx8mq yocto

cancel
Showing results for 
Search instead for 
Did you mean: 

how to improve entropy value ? base on imx8mq yocto

240 Views
chenfeng2016
Contributor I

hello.

   we have a qestion  need your help

   we test on the imx8mq with Linux 4.14.78_1.0.0 release(yocot),  the entropy value is low, by cat /proc/sys/kernel/random/entropy_avail

   we want to improve the value (for exsample to 2000), how to do ? 

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

22

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

23

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

23

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

23

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

24

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

25

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

25

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

43

root@imx8mqevk:~# cat /proc/sys/kernel/random/entropy_avail 

44

thanks 

feng

0 Kudos
4 Replies

115 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi feng

one can try rng-tools

https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

115 Views
chenfeng2016
Contributor I

Hello. igor

  thanks you very much.

  The web link you provided is the debian system for rng-tools.

  The imx8mq run the yocto system , how to do for rng-tool and the  entropy_avail vavlue ?

  

Best regards

 Feng

0 Kudos

115 Views
igorpadykov
NXP TechSupport
NXP TechSupport
0 Kudos

115 Views
chenfeng2016
Contributor I

Hello igor,

  The entropy_avail vavlue can be changed to 3000, according to your instructions

thanks

Feng

0 Kudos