balena-raspberrypi icon indicating copy to clipboard operation
balena-raspberrypi copied to clipboard

raspberrypi3-64 and raspberrypi4-64 fail to initialize hwrng

Open rcooke-warwick opened this issue 3 years ago • 3 comments
trafficstars

for the above device types, rngd fails to initialise the hwrng entropy source:

Aug 06 14:41:01 rngd[1518]: Initializing available sources
Aug 06 14:41:01 rngd[1518]: [hwrng ]: Initialized
Aug 06 14:41:01 rngd[1518]: [rndr  ]: No HW SUPPORT
Aug 06 14:41:01 rngd[1518]: [rndr  ]: Initialization Failed

This problem doesn't appear on the raspberrypi3 or fincm3 device types

rcooke-warwick avatar Oct 14 '22 10:10 rcooke-warwick

[rcooke-warwick] This has attached https://jel.ly.fish/a13bcce9-7878-465c-940f-cd12b1d27a37

jellyfish-bot avatar Oct 14 '22 10:10 jellyfish-bot

I wouldn't be opposed to adding a simple test to the OS test suite too, to just check the logs to see if hwrng initialised without issue

rcooke-warwick avatar Oct 14 '22 10:10 rcooke-warwick

Ok I looked at this again and I realised I made a mistake - hwrng does initialise fine, its rndr that doesn't - which is:

    Entropy drawn from the RNDR instruction (aarch64 only)

So I'm not sure if this is actually a problem

rcooke-warwick avatar Oct 14 '22 10:10 rcooke-warwick