06-03-2018, 07:32 AM
(06-03-2018, 04:52 AM)scalextrix Wrote: Thanks, I did think of it and have compiled some software (not kernel though) on linux/ARM before, what I couldnt find was the driver or module code for the TRNG on this chipset. One thing you could do to help is just install rng-tools on your board and see if you can get it running, perhaps its something unique to mine? Im on the official ROCK64 Debain Jessie Minimal build.
I just noticed 2 packages have been held back
> The following packages have been kept back:
> linux-rock64 linux-rock64-package
I wonder if thats connected.
EDIT: Updated and restarted but rng-tools still fails.
OK. Better with the distro version.
As you may know, Rock64 is quite new and not very well supported yet by Linux kernels and tools. Hardware, unfortunately, is not magically handled by software, people need to get datasheets and specs, adapt code or create new, like a brand new kernel module for something never seen before, test, integrate it to main source trunk, in which it will be even more tested on various hardware and so on before finally be released. This take times, depending of the popularity amount of the device.
And unfortunately for us, Raspberries captures most of the energy available around, that's why it is well supported by Raspbian and others.
Using a quite old Debian release does not help there. If you don't mind your current install, you can try again with Stretch, it will be a lot easier than a dist-upgrade from my experience. The two held back packages looks like to be Rock64 dedicated kernel, you may still use a generic one which doesn't include TRNG module/code at all. I guess there are missing dependencies so they're held back by package manager. You can try to solve this 1st if it is not too time consuming.
I'll try on my dietPi install (which is based on Debian for all I know) later today if I got some time and give a detailed report.