We are a camera project, the kernel (about 6s) and the boot service enter login in 15s, my goal is to reduce the boot time at least 4s, how should I configure it?
I did some kernel configuration, some reference to the l4t kernel boot reduction configuration, as follows: 1. Some of them are adapted by themselves, as follows. 2. Is there any problem with this adaptation? Is plugin management necessary?
Thank you very much
# CONFIG_PINCTRL_MAX77620 is not set
# CONFIG_SND_SOC_TEGRA_ALT is not set
# CONFIG_SND_SOC_TEGRA_T186REF_ALT is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_MTD_QSPI_FLASH is not set
# CONFIG_QSPI_TEGRA210 is not set
# CONFIG_OF_PLUGIN_MANAGER is not set
# CONFIG_TEGRA_COMBINED_UART is not set
I try to keep doing this. Also, what is the boot service that the camera doesn’t need? I used “systemd-analyze plot > boot.svg” command to check that the boot-service took about 12s, how should I cut it during this time?
You could just disable the service which is dominant taking the boot time.
Sorry that I could not list and review every services for you. Please try to remove them one-by-one. If every function of your camera work fine, then it would be fine to remove that service.