06-03-2018, 04:52 AM
(This post was last modified: 06-03-2018, 05:02 AM by scalextrix.)
(06-02-2018, 01:17 PM)MichaelRock Wrote:(06-01-2018, 10:20 AM)scalextrix Wrote: OK I think the problem might be that there is no tpm-rng module available that can be added in /etc/modules, it might be something the maintainer may need to compile and add to the kernel? Dunno, out of my depth here, but somethin' aint working right.Hi,
which distro do you use ? (I'm guessing it's a debian based)
it may be not too hard to compile your own kernel based on ayufan's source package if there are any available; there are plenty of documentation on how to do it (a quick search with "debian compile kernel" gives me the common docs.)
At configuration step, just need to browse to reach the relevant item, then run the build, wait, install the new kernel, reboot, pick this kernel on boot, then rng-tools might work. You should also see the module loaded if you have done things right (with 'lsmod' command)
I could provide some assistance if you need, I'll also have to play a bit with mine .
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.