<DC-IRC>
<vitekst> Hi there, has anybody had luck getting the PCIe interface to work on the Banana Pi CM4 with the A311D SoC?
<DC-IRC>
<vitekst> I am using the said module with the supplied IO board, which exposes a miniPCIe connector, into which I inserted a SATA controller card based on the ASmedia ASM1064 chipset. The device is somehow registered by the PCIe controller (`lspci` shows it up with `01:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02)`), but `ahci.ko`'s probe (`CONFIG_SATA_AHCI`) fails.
<DC-IRC>
<vitekst> I am pretty sure that the card itself isn't the culprit, as it works just fine in a regular x86-64 PC and even on a couple of Freescale i.MX boards that I have, for which I've built Buildroot and enabled the aforementioned Kconfig item.
<DC-IRC>
<vitekst> I am using the latest version of Armbian for this board - 23.5.1, with the `6.1.30-meson64` kernel. I've also managed to rule out a hardware problem, as the controller card seems to work just fine while running a Debian image supplied by Sinovoip (https://wiki.banana-pi.org/Banana_Pi_BPI-CM4#Linux, `2023-01-12-debian-10-buster-bpi-cm4-aarch64-sd-emmc.img`).
<DC-IRC>
<vitekst> What can I do to get this to work? Is there any other piece of information that I can acquire or a patch/kernel/DT/... that I could try?
<DC-IRC>
<vitekst> Thanks a lot!
<DC-IRC>
<vitekst> Attaching two kernel log fragments below:
<DC-IRC>
<vitekst> [ 2.563441] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0000:00:00.0 (capable of 7.876 Gb/s with 8.0 GT/s PCIe x1 link)
<DC-IRC>
<vitekst> [ 3.073677] libata version 3.00 loaded.
<DC-IRC>
<vitekst> [ 3.118384] usb 1-1: new high-speed USB device number 2 using xhci-hcd
<DC-IRC>
<vitekst> [ 3.121496] ahci 0000:01:00.0: version 3.0
<DC-IRC>
<vitekst> [ 3.121538] ahci: probe of 0000:01:00.0 failed with error -22
<DC-IRC>
<vitekst> ```
<DC-IRC>
<vitekst> Hi there, has anybody had luck while getting the PCIe interface to work on the Banana Pi CM4 with the A311D SoC?
<DC-IRC>
<vitekst> I am using the said module with the supplied IO board, which exposes a miniPCIe connector, into which I inserted a SATA controller card based on the ASmedia ASM1064 chipset. The device is somehow registered by the PCIe controller (`lspci` shows it up with `01:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02)`), but `ahci.ko`'s probe (`CONFIG_SATA_AHCI`) fails.
<DC-IRC>
<vitekst> I am pretty sure that the card itself isn't the culprit, as it works just fine in a regular x86-64 PC and even on a couple of Freescale i.MX boards that I have, for which I've built Buildroot and enabled the aforementioned Kconfig item.
<DC-IRC>
<vitekst> I am using the latest version of Armbian for this board - 23.5.1, with the `6.1.30-meson64` kernel. I've also managed to rule out a hardware problem, as the controller card seems to work just fine while running a Debian image supplied by Sinovoip (https://wiki.banana-pi.org/Banana_Pi_BPI-CM4#Linux, `2023-01-12-debian-10-buster-bpi-cm4-aarch64-sd-emmc.img`).
<DC-IRC>
<vitekst> What can I do to get this to work? Is there any other piece of information that I can acquire or a patch/kernel/DT/... that I could try?
<DC-IRC>
<vitekst> Thanks a lot!
<DC-IRC>
<vitekst> Attaching two kernel log fragments below:
<DC-IRC>
<vitekst> Hi there, has anybody had luck while getting the PCIe interface to work on the Banana Pi CM4 with the A311D SoC?
<DC-IRC>
<vitekst> I am using the said module with the supplied IO board, which exposes a miniPCIe connector, into which I inserted a SATA controller card based on the ASmedia ASM1064 chipset. The device is somehow registered by the PCIe controller (`lspci` shows it up with `01:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02)`), but `ahci.ko`'s probe (`CONFIG_SATA_AHCI`) fails.
<DC-IRC>
<vitekst> I am pretty sure that the card itself isn't the culprit, as it works just fine in a regular x86-64 PC and even on a couple of Freescale i.MX boards that I have, for which I've built Buildroot and enabled the aforementioned Kconfig item.
<DC-IRC>
<vitekst> I am using the latest version of Armbian for this board - 23.5.1, with the `6.1.30-meson64` kernel. I've also managed to rule out a hardware problem, as the controller card seems to work just fine while running a Debian image supplied by Sinovoip (https://wiki.banana-pi.org/Banana_Pi_BPI-CM4#Linux, `2023-01-12-debian-10-buster-bpi-cm4-aarch64-sd-emmc.img`).
<DC-IRC>
<vitekst> What can I do to get this to work? Is there any other piece of information that I can provide or a patch/kernel/DT/... that I could try?
<DC-IRC>
<vitekst> Thanks a lot!
<DC-IRC>
<vitekst> Attaching two kernel log fragments below:
<DC-IRC>
<c0rnelius77> I've also watched there vids, but have yet to get any interesting external storage to work on the mPCIE. It's listed as a PCIE & USB2. Connecting external storage isn't really its jam.
<DC-IRC>
<c0rnelius77> I have tested it with a mpcie to usb adapter converter. That works, but of course the speeds aren't any better than just using the usb ports on the carrier board.
<DC-IRC>
<c0rnelius77> I've also watched the vids, but have yet to get any interesting external storage to work on the mPCIE. It's listed as a PCIE & USB2. Connecting external storage isn't really its jam.