Hi!
I’ve been a user of an Espressobin for a few years now, first time posting. I have mine built into a NAS enclosure, using a 4-port SATA card in the mini PCIe slot to do RAID. It’s running Gentoo, with a (mostly) mainline kernel 5.4.156. This is working just fine, but that kernel is getting old, by Gentoo standards anyway ;P
I’ve tried building newer kernels – including actual mainline sources – my latest attempt was 5.15.16 – but each time I run into the same issue: the PCIe card isn’t being recognized. For example, I see this output in the boot log for the working kernel, which is absent in the non-working one:
[ 1.753820] advk-pcie d0070000.pcie: host bridge /soc/pcie@d0070000 ranges:
[ 1.760986] advk-pcie d0070000.pcie: MEM 0xe8000000..0xefefffff -> 0xe8000000
[ 1.768467] advk-pcie d0070000.pcie: IO 0xefff0000..0xefffffff -> 0xefff0000
[ 1.876008] advk-pcie d0070000.pcie: link up
[ 1.880475] advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
Aside from not being able to access the disks, the system will otherwise boot from SD card. I understand some things have changed in the kernel for Espressobin since 5.4, and there are new device trees available for newer Espressobin models, but I’m not sure how to get things working again. Perhaps there’s a config option I overlooked?
Thanks!