Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Nanopi R2S - hardware rng

Featured Replies

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.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.