2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-16 16:50:35 +00:00

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.
This commit is contained in:
Vinícius Ferrão
2026-08-24 15:45:52 -03:00
parent 1e4242174f
commit 7a58b59d72
@@ -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