Project

General

Profile

Actions

Action Item #472

open

Boot time speedups

Added by Hammel over 8 years ago. Updated 10 months ago.

Status:
In Progress
Priority:
Immediate
Assignee:
Category:
09 - Testing
Target version:
Start date:
25 Nov 2015
Due date:
% Done:

70%

Estimated time:
Severity:
05 - Very Low

Description

Some things I can review
  1. Switch to LZO for kernel compression
  2. Delay Loop Calibration: ''lpj=''; can save > 100ms on ARMv5 based systems (boot and look for Calilbrating Delay Loop and check what lpj is set to, then use that on command line)
  3. Parameters for boot time analysis: ''initcall_debug'', ''printk_time=1''
  4. Switch rootfs to UBIfs - better for flash devices
  5. Use initramfs (see slides)
  6. Integrate as many init scripts as possible into single program (my own init program), then use init=myprog

I probably won't get to <1s boot time without bootloader access but I can certainly get to <10s, possibly to <5s.

References

Files

bootchart.png (154 KB) bootchart.png Bootchart of boot processon Pi Zero W. Hammel, 27 Mar 2019 21:45
bootchart-2.png (125 KB) bootchart-2.png Boot time afte rminor adjustments. Hammel, 27 Mar 2019 22:10
bootchart-rpi3.png (131 KB) bootchart-rpi3.png Boot times for RPi 3 with onboard Wifi enabled. Hammel, 30 Mar 2019 11:51

Related issues

Related to PiBox - Action Item #231: kernel config cleanupClosedHammel14 Oct 2013

Actions
Actions

Also available in: Atom PDF