Does it have crng? If so, how to make it work? I use Linux kernel from RVCK Project (or should I use another one?).
Yes, at least on Fedora 44, it supports it out of the box.
Aug 13 00:00:01 localhost kernel: random: crng init done
Here is a dmesg fragment from my RV2 (spacemit k1-based):
[ 2.828865] ky_hwcrng f0703800.crng: registered RNG driver
[ 2.829963] random: crng init done
Is there something similar to the first line?
Good question. According to that article, there might be. However, I have not spotted a specific TRNG driver for it yet. That said, the line random: crng init done means the kernel received enough good entropy and is happy. How exactly it got to that entropy is another question, as it neither used a specific RNG driver nor the more generic RISC-V zkr extension. BTW: Their Ubuntu based image does not seem to initialise crng at all. Go figure…
Good catch, thanks!
Yes, it works without any problem. But I’m a user of some another Linux distribution, not Debian-based and trying to figure out how should I configure the kernel to make things work without any hacks.