Open adeebshihadeh opened 8 months ago
I'm planning to do the following (most of them extracted from the boot-time-slides.pdf
from the documentation links):
boot.svg
from https://github.com/commaai/agnos-builder/issues/110#issuecomment-1925239170quiet
argument on the kernel command line).Documentation links:
We already use quiet
to get the initial speedup of like 11s -> 3s. I suspect we'll get the most savings from disabling and deferring. Anything openpilot doesn't use is fine to disable. Also keep in mind that deferring something critical but it costs time later in bootup doesn't count, but something non-essential to driving like WiFi is fine.
systemd-analyze
reports this for the latest AGNOS:Get the kernel part of that down to <1s in a self-contained way that doesn't delay the rest of the openpilot.
AGNOS is built with https://github.com/commaai/agnos-builder