systemd: use serial-getty-generator on genericarm64
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
Quoted 49 lines · Mikko Rapeli via lists.openembedded.org
systemd-serialgetty recipe sets serial consoles based on
SERIAL_CONSOLESbuild 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 <[email protected]>--- meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-yocto-bsp/recipes-core/systemd/systemd_%.bbappendmeta-yocto-bsp/recipes-core/systemd/systemd_%.bbappend new file +3
-0@@ -0,0 +1,3 @@ +# auto detection instead of build time configured via SERIAL_CONSOLES +# to support multiple devices +PACKAGECONFIG:append:genericarm64 = " serial-getty-generator"Signature · 11 lines
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: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-