IRC log of #cubox of Thu 30 Jun 2016. All times are in CEST < Back to index

13:12 xobs On a Hummingboard, should the root controller show up even without a PCIe card inserted?
13:14 xobs On this board, running "lspci -v" shows nothing, and "dmesg" shows "probe of 1ffc000.pcie failed with error -22". This is on 3.14.60-fslc-imx6-sr, on a fresh install. Though it looks like a dist-upgrade installs a new kernel, so I'll give that a shot first.
13:26 jnettlet xobs, nope it shuts itself off to save power
13:26 xobs jnettlet, anyway to disable that, and have it stay on? I'd like "rescan" to work.
13:27 jnettlet xobs, should be trivial to patch into it, but the interface doesn't support hotplugging
13:27 jnettlet I have tried and the SOC resets
13:29 xobs Oh? I wonder why it's different from Novena. I know in the past, I have a SATA card here that only comes up on Novena if you continuously rescan while shorting out Rx+ and Rx-. Eventually it enumerates.
13:37 jnettlet xobs, the behaviour is caused by a patch introduced by NXP. This has been done more sane in the mainline driver. It is an easy fix
13:38 jnettlet it is in drivers/pci/host/pci-imx6.c in imx6_pcie_host_init()
13:38 jnettlet just don't return the ret value
13:52 xobs Thanks. I'll rebuild and give it a shot.