Hardware random number generator?
#12
(06-03-2018, 07:32 AM)MichaelRock Wrote:
(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.

Thanks, I have some software that hasnt played nicely with stretch on Raspbian, I think its the upgraded boost libraries but I never had the time to figure out what exactly broke them.  I need to take an SD card backup anyway, after which ill try stretch again, but travelling for a bit so will have to get to it later in the week.
  Reply


Messages In This Thread
Hardware random number generator? - by scalextrix - 05-30-2018, 12:23 AM
RE: Hardware random number generator? - by scalextrix - 06-03-2018, 10:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Any way to tell the rock64's hardware revision? kittyland 1 2,942 07-01-2021, 09:42 PM
Last Post: evilbunny
Exclamation WARNING: internal 10|100 PHY requires magjack hardware! MarkHaysHarris777 32 38,330 01-15-2019, 08:09 PM
Last Post: WrongWorld
  Latest Rock64 board hardware revision Ryan 3 5,192 03-14-2018, 05:42 AM
Last Post: petec

Forum Jump:


Users browsing this thread: 1 Guest(s)