The device can’t detect the pcie SSD, it always stop at bash4.4 as the pictures
it’s random issue and please help
thanks
I tried to change kernel pci.c driver file and compile image then flashed in Nano , but it still get the same error
Try with this patch.
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c
index 60958d5..385ae3f1 100644
--- a/drivers/pci/host/pci-tegra.c
+++ b/drivers/pci/host/pci-tegra.c
@@ -5,7 +5,7 @@
* Author: Mike Rapoport <mike@compulab.co.il>
*
* Based on NVIDIA PCIe driver
- * Copyright (c) 2008-2018, NVIDIA Corporation. All rights reserved.
+ * Copyright (c) 2008-2022, NVIDIA Corporation. All rights reserved.
*
* Bits taken from arch/arm/mach-dove/pcie.c
*
@@ -635,6 +635,7 @@
(PCI_FUNC(devfn) << 8) | (where & 0xff);
addr = (val & (SZ_4K - 1)) + addr;
val = val & ~(SZ_4K - 1);
+ afi_writel(pcie, SZ_4K >> 12, AFI_AXI_BAR0_SZ);
afi_writel(pcie, pcie->cs->start - val, AFI_AXI_BAR0_START);
afi_writel(pcie, (val + SZ_4K) >> 12, AFI_AXI_BAR0_SZ);
}
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.