Message ID | 20250409144546.249367-1-mikko.rapeli@linaro.org |
---|---|
State | New |
Headers | show |
Series | [v4] uki.bbclass: drop serial console from kernel command line | expand |
diff --git a/meta/classes-recipe/uki.bbclass b/meta/classes-recipe/uki.bbclass index d9a7fb0e6f..fedff222c6 100644 --- a/meta/classes-recipe/uki.bbclass +++ b/meta/classes-recipe/uki.bbclass @@ -81,7 +81,7 @@ UKIFY_CMD ?= "ukify build" UKI_CONFIG_FILE ?= "${UNPACKDIR}/uki.conf" UKI_FILENAME ?= "uki.efi" UKI_KERNEL_FILENAME ?= "${KERNEL_IMAGETYPE}" -UKI_CMDLINE ?= "rootwait root=LABEL=root console=${KERNEL_CONSOLE}" +UKI_CMDLINE ?= "rootwait root=LABEL=root" # secure boot keys and cert, needs sbsign-tools-native (meta-secure-core) #UKI_SB_KEY ?= "" #UKI_SB_CERT ?= ""
The kernel will continue using console from firmware which is much better on HW when we may not know at build time which console HW and drivers are available, e.g. like on genericarm64 machine. On AMD KV260, genericarm64 uki boot is currently not working. Target shows only the EFI stub messages but both kernel boot messages and agetty prompt are missing: EFI stub: Booting Linux Kernel... EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Measured initrd data into PCR 9 EFI stub: WARNING: Failed to obtain seed from EFI_RNG_PROTOCOL or EFI variable EFI stub: Using DTB from configuration table EFI stub: Exiting boot services... With this patch applied, both kernel and agetty start and serial console login is possible. This change has no impact to qemu machine boot wich shows kernel boot messages and starts agetty correctly. This change is also needed on walnascar branch. Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> --- meta/classes-recipe/uki.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v4: improved commit message, no changes to v1 v3: https://lists.openembedded.org/g/openembedded-core/message/214353 no changes to v1 v2: https://lists.openembedded.org/g/openembedded-core/message/213458 no changes to v1 v1: https://lists.openembedded.org/g/openembedded-core/message/212834