Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCIe doesn't seem to initialize on Fedora 40 or OpenSUSE Tumbleweed #256

Open
BlamKiwi opened this issue May 6, 2024 · 1 comment
Open

Comments

@BlamKiwi
Copy link

BlamKiwi commented May 6, 2024

I've managed to deploy a Raspberry Pi CM4 with Fedora 40 and OpenSUSE Tumbleweed. I can get access to most hardware peripherals I care about, however the PCIe Root Bridge doesn't seem to initialize correctly. The only symptom I get is a message saying the bridge is not in the PCI namespace. Curiously if I set the RAM limit to 3GB, I can't get Fedora to boot at all.

I'm just wondering if anyone's encountered anything similar or if I've overlooked something obvious.

Relevant dmesg output:

Apr 11 06:37:36 rescue kernel: ACPI: Added _OSI(Module Device)
Apr 11 06:37:36 rescue kernel: ACPI: Added _OSI(Processor Device)
Apr 11 06:37:36 rescue kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
Apr 11 06:37:36 rescue kernel: ACPI: Added _OSI(Processor Aggregator Device)
Apr 11 06:37:36 rescue kernel: ACPI: 3 ACPI AML tables successfully acquired and loaded
Apr 11 06:37:36 rescue kernel: ACPI: Interpreter enabled
Apr 11 06:37:36 rescue kernel: ACPI: Using GIC for interrupt routing
Apr 11 06:37:36 rescue kernel: BCM2837:00: ttyAMA0 at MMIO 0xfe201000 (irq = 22, base_baud = 0) is a SBSA
Apr 11 06:37:36 rescue kernel: ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
Apr 11 06:37:36 rescue kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
Apr 11 06:37:36 rescue kernel: acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug SHPCHotplug LTR DPC]
Apr 11 06:37:36 rescue kernel: acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]
Apr 11 06:37:36 rescue kernel: acpi PNP0A08:00: 0000:[bus 00-ff] ECAM region not found
Apr 11 06:37:36 rescue kernel: acpi PNP0A08:00: Bus 0000:00 not present in PCI namespace

dmesg.log

System Setup:

  • Raspberry Pi CM4 8GB 32GB eMMC No Wifi/BT
  • Fedora 40 Server or OpenSUSE Tumbleweed.
  • Firmware v1.37
@BlamKiwi
Copy link
Author

So setting otg_mode=1 and enforcing Devicetree works as expected. Unfortunately this disables USB while in the UEFI firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant