2

On my RPi2, I have measured exactly 5 seconds between :

  • "I plug the power cord"

and

  • "Kernel starting time 0.00s", as displayed on the top left here:

enter image description here

Is there a way to optimize this before-kernel-boot-time in config.txt or cmdline.txt?

I already have set boot_delay=0, that saves 1 second boot time, compared to default value boot_delay=1 (see http://elinux.org/RPiconfig)

2
  • Telling us a bit more about why your are doing this might help us provide you better answers. Commented May 30, 2015 at 22:16
  • 1
    @SteveRobillard I'm using the Pi as an embedded computer (RPi not visible for the end user) : I'm looking for as-fast-as-possible boot.
    – Basj
    Commented May 30, 2015 at 22:39

1 Answer 1

1

I doubt that there is much to gain by tweaking the config files to speed up the GPU boot strap process. To my knowledge cmdline.txt is passed to the kernel only so it will not influence the pre-kernel-boot-time. config.txt on the other hand is already used during the boot so it at least thinkable that overclocking settings for GPU and RAM frequency might speed up things a little (or just fail horribly).

Other than that it would seem to me that changes to the system would require a rewrite of the different stages of the bootloader (see here). But whether this would really speed things up or not is questionable and depends on how heavily that code is already optimized and what effort one likes to spend on doing it better...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.