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

Issue booting with PCIE SATA switches (ASMedia ASM1184e) #2

Open
Archfx opened this issue Jun 28, 2024 · 1 comment
Open

Issue booting with PCIE SATA switches (ASMedia ASM1184e) #2

Archfx opened this issue Jun 28, 2024 · 1 comment
Assignees

Comments

@Archfx
Copy link

Archfx commented Jun 28, 2024

Is the latest image tested with PCIe switches?

My CM5 boots with no issues on the RPI-CM4 carrier board. However, does not boot on a NAS board that has "ASMedia ASM1184e" PCIE SATA switch. The blue LED is always stuck in weak solid mode.

These are the DMSEG when the board is booted on RPI-CM4 board.

[    4.188914] reg-fixed-voltage vcc3v3-pcie2x1l0: Looking up vin-supply from device tree

[    4.188917] vcc3v3_pcie2x1l0: supplied by vcc5v0_sys

[    4.246665] vcc3v3_pcie2x1l0: 3300 mV, enabled

[    4.246733] reg-fixed-voltage vcc3v3-pcie2x1l0: vcc3v3_pcie2x1l0 supplying 3300000uV

[    4.821900] rk-pcie fe190000.pcie: invalid prsnt-gpios property in node

[    4.821911] rk-pcie fe190000.pcie: Looking up vpcie3v3-supply from device tree

[    4.822445] rk-pcie fe190000.pcie: missing legacy IRQ resource

[    4.822461] rk-pcie fe190000.pcie: IRQ msi not found

[    4.822496] rk-pcie fe190000.pcie: use outband MSI support

[    4.822503] rk-pcie fe190000.pcie: Missing *config* reg space

[    4.822528] rk-pcie fe190000.pcie: host bridge /pcie@fe190000 ranges:

[    4.822552] rk-pcie fe190000.pcie:      err 0x00f4000000..0x00f40fffff -> 0x00f4000000

[    4.822576] rk-pcie fe190000.pcie:       IO 0x00f4100000..0x00f41fffff -> 0x00f4100000

[    4.822597] rk-pcie fe190000.pcie:      MEM 0x00f4200000..0x00f4ffffff -> 0x00f4200000

[    4.822610] rk-pcie fe190000.pcie:      MEM 0x0a00000000..0x0a3fffffff -> 0x0a00000000

[    4.822639] rk-pcie fe190000.pcie: Missing *config* reg space

[    4.822679] rk-pcie fe190000.pcie: invalid resource

[    5.027583] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.047417] ehci-pci: EHCI PCI platform driver

[    5.053116] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.079780] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.106441] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.133098] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.159790] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.186550] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.197037] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up pcie-supply from device tree

[    5.197046] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up pcie-supply property in node /power-management@fd8d8000/power-controller failed

[    5.213287] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.239947] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    5.266600] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3

[    7.753096] rk-pcie fe190000.pcie: PCIe Link Fail

[    7.753122] rk-pcie fe190000.pcie: failed to initialize host

This issue was there in the RPI kernel as well. Adding a delay into the BCM2711 driver fixed the RPI CM4 issue.

However, I tried compiling my kernel with the above changes using bsp, but stil the issue is there.

Any pointer?

@Archfx
Copy link
Author

Archfx commented Jul 2, 2024

If it helps, the schematic of the NAS Board can be found here

@Archfx Archfx closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
@RadxaYuntian RadxaYuntian reopened this Jul 10, 2024
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

3 participants