Jump to content

Recommended Posts

Posted

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines