User avatar
Compy234
Posts: 5
Joined: Mon Jul 16, 2012 7:52 pm
Location: Planet Earth
Contact: Website Twitter YouTube

Buildroot - Boot call to bcm2835_rng_driver_init slow

Mon May 02, 2016 1:12 am

Good day all,

I am running a Raspberry Pi 3 with a buildroot distribution and I'm trying to optimize boot time. I am seeing in my dmesg log (with debug and time printing enabled from the command line) that a call to bcm2835_rng_driver_init is taking nearly a second to complete.

My particular application is not utilizing the hardware RNG, is there any way to disable this or cut this particular call time down?

I am not sure if there's an overlay that already does this or not!

Any help is much appreciated, as always!
Twitter: @JimmyLipham
Site: https://www.youtube.com/user/PinballCompy

User avatar
Compy234
Posts: 5
Joined: Mon Jul 16, 2012 7:52 pm
Location: Planet Earth
Contact: Website Twitter YouTube

Re: Buildroot - Boot call to bcm2835_rng_driver_init slow

Mon May 02, 2016 2:03 am

Alright everyone. I found the solution to turning off the RNG. It saved me a sweet 1.1 seconds on my boot time! (Note again: My application does not require RNG functionality, so this isn't for everyone)


In my config.txt, after loading my device tree file, I put the following line:

Code: Select all

dtparam=random=off
Saved it back to the SD card, and bam! We're rocking.
Twitter: @JimmyLipham
Site: https://www.youtube.com/user/PinballCompy

Return to “Linux Kernel”

Who is online

Users browsing this forum: No registered users and 1 guest