* Re: [OE-core] [PATCH 1/2] systemd: use serial-getty-generator on genericarm64
[not found] <1821A59E0CD03150.18160@lists.openembedded.org>
@ 2025-02-21 10:01 ` Mikko Rapeli
0 siblings, 0 replies; only message in thread
From: Mikko Rapeli @ 2025-02-21 10:01 UTC (permalink / raw)
To: Ross Burton; +Cc: poky, openembedded-core
Hi Ross,
Do you have some feedback to this? The kernel side issue
is now worked around/fixed but this boottime delay is still there.
Cheers,
-Mikko
On Thu, Feb 06, 2025 at 04:43:12PM +0200, Mikko Rapeli via lists.openembedded.org wrote:
> systemd-serialgetty recipe sets serial consoles based
> on SERIAL_CONSOLES build time variable. These fail to
> be detected on multiple devices including qemu and the
> resulting failures delay boot to systemd "running" state
> by one minute on an example aarch64 build machine and qemu.
> Serial console login works with both since udev will
> trigger agetty on correct devices. Using systemd side
> serial-getty-generator disables systemd-serialgetty.
>
> qemu-system-aarch64 core-image-base boot time with
> systemd-serialgetty before this patch:
>
> $ systemd-analyze
> Startup finished in 8.314s (firmware) + 9.805s (loader) + 14.338s (kernel) + 1min 34.392s (userspace) = 2min 6.851s
> multi-user.target reached after 1min 34.387s in userspace.
>
> with this patch:
>
> Startup finished in 8.312s (firmware) + 9.804s (loader) + 14.295s (kernel) + 29.808s (userspace) = 1min 2.220s
> multi-user.target reached after 29.802s in userspace.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> ---
> meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend
>
> diff --git a/meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend b/meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend
> new file mode 100644
> index 0000000000..f23852a351
> --- /dev/null
> +++ b/meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend
> @@ -0,0 +1,3 @@
> +# auto detection instead of build time configured via SERIAL_CONSOLES
> +# to support multiple devices
> +PACKAGECONFIG:append:genericarm64 = " serial-getty-generator"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#210938): https://lists.openembedded.org/g/openembedded-core/message/210938
> Mute This Topic: https://lists.openembedded.org/mt/111032615/7159507
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mikko.rapeli@linaro.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-21 10:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1821A59E0CD03150.18160@lists.openembedded.org>
2025-02-21 10:01 ` [OE-core] [PATCH 1/2] systemd: use serial-getty-generator on genericarm64 Mikko Rapeli
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.