stranger Posted December 8, 2020 Share Posted December 8, 2020 Last FriendlyElec nanopi-r2s image has hardware rng, what about adding it to Armbian? For my nanopi-r2s I patched dtb, compiled kernel module with dkms and managed to make it work with rngd. Amount of enthropy increased from ~2000 with haveged/jitterenthropy to ~4000. The only problem is FIPS failures so I had to run rngd with --ignorefail flag. Here is links to FE github: https://github.com/friendlyarm/kernel-rockchip/blob/2ea3d37e1de559b9af2cd24a71bb538dddc1365a/arch/arm64/boot/dts/rockchip/rk3328.dtsi#L250-L259 https://github.com/friendlyarm/kernel-rockchip/blob/2ea3d37e1de559b9af2cd24a71bb538dddc1365a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2-common.dtsi#L436-L438 https://github.com/friendlyarm/kernel-rockchip/blob/nanopi-r2-v5.4.y/drivers/char/hw_random/rockchip-rng.c 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted December 8, 2020 Share Posted December 8, 2020 Send PR 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.