I'm designing a minimal custom Buildroot embedded OS for the RPi0w. My current iteration takes a very long time to fully boot - several minutes with a keyboard and mouse plugged in, and tens of minutes with no input devices. It hangs for a long time and then finally outputs the message:
random: crng init done
It's an embedded system with no sound-card or input devices so I presume that the random number generator is starved for entropy - it has to wait a long time to get enough noise before it will initialise.
I would like to install rng-tools
to provide the extra entropy required, but I'm not sure how to configure it in Buildroot.
Looking for someone who has done this before in Buildroot who can offer assistance on what configuration files are necessary, how/when to start rngd
(I'm using plain /etc/init.d scripts), what kernel modules need to be loaded to use the Raspberry Pi's builtin random generator, etc.