Attached is a rng-tools.service that tested well on two BeagleBoards. The service file avoids the logger dependencies, avoids udev rules, and tries to recover from failure on startup.
The recovery part was important on the Beagleboards. The service failed during startup because the udev /dev/hwrng device was not online when rng-tools started. By adding a small delay and retry count we could side-step udev rules to support rng-tools. The Conflicts was needed because the Beagleboards were hanging on shutdowns and reboots. It seems the Restart was restarting the service during shutdown. The unit file can be dropped in /etc/systemd/system without deleting the old service. 'systemctl enable rng-tools.service' will actually enable the unit file even though systemd reports something about the old service file. I have other ARM dev-boards without a RNG. I did not test rng-tools on them because haveged runs on them. Robert, you may want to grab this for the images you build for the 4.1.15-ti-rt-r40 kernel. It is an improvement over the old service file. The old service actually fails to run but no one realized it. Jeff
rng-tools.service
Description: Binary data