how to improve entropy value ? base on imx8mq yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to improve entropy value ? base on imx8mq yocto

1,255件の閲覧回数
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 件の賞賛
4 返答(返信)

1,130件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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 件の賞賛

1,130件の閲覧回数
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 件の賞賛

1,130件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛

1,130件の閲覧回数
chenfeng2016
Contributor I

Hello igor,

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

thanks

Feng

0 件の賞賛