Open hrw opened 2 days ago
Dropped second entry in MCFG and it worked a bit better.
ACPI tables are in terrible state. Without MCFG entries for segment 1 (pcie30x2 which is not present on NanoPC-T6) BSA ACS starts and do the job.
Still weird to see 1032 PCIe devices (8 existing ones + 1024 not existing root ports).
RK3588 not ECAM compliant, this is common hardware bug with Designware PCIE IP.
I think that https://github.com/ARM-software/bsa-acs/issues/397 belongs here rather than to bsa-acs project.
Decided to run BSA ACS on something other than usual. Took RK3588 SBC, put EDK2 on it and ran bsa.efi:
And it hangs here. Added some 'val_print()' calls into code and it goes to
val_pcie_enumerate()
and then toval_pcie_create_device_bdf_table()
and ends there.All PCIe devices work fine when I boot Linux in ACPI mode.
ACPI tables printed with 'acpiview' command
OK, got to the point when it hangs on reading 0x40100000 address in pal_mmio_read().
Next step: check ACPI tables again.