From 7a58b59d72c14071881ec01e7495fa1405d0501a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Mon, 24 Aug 2026 15:45:52 -0300 Subject: [PATCH] fix(genesis): boot the riscv64 image on firmware that describes hardware through ACPI The riscv64 kernel was built without ACPI. Firmware that publishes ACPI tables and no device tree - server-class RISC-V boards, and edk2 with acpi=on - therefore left the kernel with no hardware description: it died before console initialisation, so a node handed the image by grub2 went silent at ExitBootServices and never reached the discovery action. Enable ACPI, its error interfaces and the EFI stub the image is already booted through. Rebuilt with these options, the same image on the same firmware parses the RSDP, XSDT, FACP, DSDT, APIC, RHCT and SPCR tables, reaches multi-user and starts discovering, and the kernel now also sees the SMBIOS entry point the firmware exports. --- .../linux/linux-yocto/xcat-genesis-riscv64.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-genesis-builder/oe/meta-xcat-genesis/recipes-kernel/linux/linux-yocto/xcat-genesis-riscv64.cfg b/xCAT-genesis-builder/oe/meta-xcat-genesis/recipes-kernel/linux/linux-yocto/xcat-genesis-riscv64.cfg index 46012a843..91f988126 100644 --- a/xCAT-genesis-builder/oe/meta-xcat-genesis/recipes-kernel/linux/linux-yocto/xcat-genesis-riscv64.cfg +++ b/xCAT-genesis-builder/oe/meta-xcat-genesis/recipes-kernel/linux/linux-yocto/xcat-genesis-riscv64.cfg @@ -7,6 +7,13 @@ CONFIG_RISCV_SBI=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y +# Firmware description +CONFIG_ACPI=y +CONFIG_ACPI_APEI=y +CONFIG_ACPI_APEI_GHES=y +CONFIG_EFI=y +CONFIG_EFI_STUB=y + # Loadable service drivers CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y