Installed linux-raspi/6.8.0-1028.32 kernel from noble-proposed and verified configs are enabled:
$ uname -a Linux rpi-4b-rev1d2-2c1a 6.8.0-1028-raspi #32-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 26 10:05:11 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux $ zgrep ^CONFIG_EFI /proc/config.gz CONFIG_EFI_STUB=y CONFIG_EFI=y CONFIG_EFI_PARTITION=y CONFIG_EFI_ESRT=y CONFIG_EFI_VARS_PSTORE=m CONFIG_EFI_PARAMS_FROM_FDT=y CONFIG_EFI_RUNTIME_WRAPPERS=y CONFIG_EFI_GENERIC_STUB=y CONFIG_EFI_BOOTLOADER_CONTROL=m CONFIG_EFI_CAPSULE_LOADER=m CONFIG_EFI_TEST=m CONFIG_EFI_EARLYCON=y CONFIG_EFIVAR_FS=m ** Description changed: [Impact] Looks like since commmit 0d02ca7853f4e487ff8b912b0d1d43ceb31a528b (https://git.launchpad.net/ubuntu/+source/linux- raspi/commit/?h=applied/ubuntu/devel&id=0d02ca7853f4e487ff8b912b0d1d43ceb31a528b) The support for EFI in the kernel config was disabled with no mention of why: """ - [Config] raspi: Set EFI=n """ This disables support for CONFIG_EFI_STUB which means that the kernel cannot be loaded via EFI directly. Any reasons for this? We are booting RPI by setting u-boot to launch in EFI mode, which runs grub.efi and then we load our entries from there, but this totally breaks support for that. This worked until the previous kernel version with no issues that we could find. Is there anything we can do to revert this and re-enable this option int he kernel? [Fix] Re-enable CONFIG_EFI. [Test Case] - Boot kernel via EFI. + Check that EFI configs are enabled: + + $ modprobe configs + $ zgrep ^CONFIG_EFI /proc/configs.gz + CONFIG_EFI_STUB=y + CONFIG_EFI=y + CONFIG_EFI_PARTITION=y + CONFIG_EFI_ESRT=y + CONFIG_EFI_VARS_PSTORE=m + CONFIG_EFI_PARAMS_FROM_FDT=y + CONFIG_EFI_RUNTIME_WRAPPERS=y + CONFIG_EFI_GENERIC_STUB=y + CONFIG_EFI_BOOTLOADER_CONTROL=m + CONFIG_EFI_CAPSULE_LOADER=m + CONFIG_EFI_TEST=m + CONFIG_EFI_EARLYCON=y + CONFIG_EFIVAR_FS=m + [Where Problems Could Occur] Boot issues with the official non-EFI Raspberry Pi firmware/bootloader. Additional interference due to new and/or changed config options. [Notes] Booting via EFI is not officially supported by Canonical. We're re- enabling this option as a courtesy to our users. We will turn it back off if it introduces problems. ** Tags removed: verification-needed-noble-linux-raspi ** Tags added: verification-done-noble-linux-raspi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2053147 Title: CONFIG_EFI_STUB support disabled since 6.5.0-1002.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2053147/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
